GetSystemTime

; Attributes: bp-based frame

sub_402F50 proc near

SystemTime= _SYSTEMTIME ptr -18h

push ebp
mov ebp, esp
add esp, 0FFFFFFE8h
lea eax, [ebp+SystemTime]
push eax ; lpSystemTime
call GetSystemTime
movzx eax, [ebp+SystemTime.wHour]
imul eax, 3Ch
add ax, [ebp+SystemTime.wMinute]
imul eax, 3Ch
xor edx, edx
mov dx, [ebp+SystemTime.wSecond]
add eax, edx
imul eax, 3E8h
mov dx, [ebp+SystemTime.wMilliseconds]
add eax, edx
mov ds:dword_889044, eax
mov esp, ebp
pop ebp
retn
sub_402F50 endp

你可能感兴趣的:(GetSystemTime)