Function at 0x402d77
Capabilities:
Check for time delay via gettickcount

Disassembly:
sub esp, 0x11c
push ebx
push ebp
push esi
push edi
mov edi, dword [sym.imp.GDI32.dll_GetStockObject]
push 4
call edi
mov ebx, dword [esp + 0x130]
mov esi, dword [sym.imp.GDI32.dll_SelectObject]
push eax
push ebx
call esi
push 7
call edi
push eax
push ebx
call esi
mov edi, dword [esp + 0x134]
push dword [edi + 0xc]
push dword [edi + 8]
push dword [edi + 4]
push dword [edi]
push ebx
call dword [sym.imp.GDI32.dll_Rectangle]
push 0xffffff
push ebx
call dword [sym.imp.GDI32.dll_SetTextColor]
push 1
push ebx
call dword [sym.imp.GDI32.dll_SetBkMode]
mov eax, dword [edi + 8]
sub eax, dword [edi]
mov dword [esp + 0x24], eax
mov eax, dword [edi + 0xc]
sub eax, dword [edi + 4]
mov dword [esp + 0x20], eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
xor ebp, ebp
mov dword [esp + 0x1c], eax
cmp dword [esp + 0x24], ebp
mov dword [esp + 0x18], ebp
jle 0x402e4c
cmp dword [esp + 0x20], ebp
mov dword [esp + 0x10], ebp
jle 0x402e3e
mov dword [esp + 0x14], ebp
fild dword [esp + 0x14]
fmul qword [0x401220]
call sub.MSVCRT.dll__ftol
push eax
push dword [esp + 0x14]
push dword [esp + 0x20]
push ebx
call dword [sym.imp.GDI32.dll_SetPixel]
mov eax, dword [esp + 0x18]
inc dword [esp + 0x10]
add dword [esp + 0x14], eax
mov eax, dword [esp + 0x10]
cmp eax, dword [esp + 0x20]
jl 0x402e09
inc dword [esp + 0x18]
mov eax, dword [esp + 0x18]
cmp eax, dword [esp + 0x24]
jl 0x402dfb
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push 0x402154
push 0x10
push ebp
sub eax, dword [esp + 0x28]
push ebp
push ebp
push 1
push ebp
push ebp
push ebp
push 0x384
push ebp
push ebp
push 0x15
push 0x2a
mov dword [esp + 0x54], eax
call dword [sym.imp.GDI32.dll_CreateFontA]
push eax
push ebx
mov dword [esp + 0x18], eax
call esi
push 0x25
push edi
push 0x402144
mov dword [esp + 0x20], eax
call sub.MSVCRT.dll_strlen
pop ecx
push eax
push 0x402144
push ebx
call dword [sym.imp.USER32.dll_DrawTextA]
push dword [esp + 0x14]
push ebx
call esi
push dword [esp + 0x10]
call dword [sym.imp.GDI32.dll_DeleteObject]
push 0x402154
push 0x10
push ebp
push ebp
push ebp
push 1
push ebp
push ebp
push ebp
push 0x384
push ebp
push ebp
push 0xa
push 0x14
call dword [sym.imp.GDI32.dll_CreateFontA]
push eax
push ebx
mov dword [esp + 0x18], eax
call esi
push 0xffffff
push ebx
mov dword [esp + 0x1c], eax
call dword [sym.imp.GDI32.dll_SetTextColor]
push 0x2a
push edi
mov edi, 0x402120
push edi
call sub.MSVCRT.dll_strlen
pop ecx
push eax
push edi
push ebx
call dword [sym.imp.USER32.dll_DrawTextA]
push dword [esp + 0x14]
push ebx
call esi
push dword [esp + 0x10]
call dword [sym.imp.GDI32.dll_DeleteObject]
mov al, byte [0x40551c]
push 0x40
mov byte [esp + 0x2c], al
pop ecx
xor eax, eax
lea edi, [esp + 0x29]
rep stosd dword es:[edi], eax
push dword [esp + 0x1c]
stosw word es:[edi], ax
stosb byte es:[edi], al
push 0x402108
lea eax, [esp + 0x30]
push 0x104
push eax
call dword [sym.imp.MSVCRT.dll__snprintf]
add esp, 0x10
push 0x402154
push 0x10
push ebp
push ebp
push ebp
push 1
push ebp
push ebp
push ebp
push 0x384
push ebp
push ebp
push 6
push 0x12
call dword [sym.imp.GDI32.dll_CreateFontA]
mov edi, eax
push edi
push ebx
call esi
push 0xc0ffc0
push ebx
mov ebp, eax
call dword [sym.imp.GDI32.dll_SetTextColor]
push 0x20
lea eax, [esp + 0x2c]
push dword [esp + 0x138]
push eax
call sub.MSVCRT.dll_strlen
pop ecx
push eax
lea eax, [esp + 0x34]
push eax
push ebx
call dword [sym.imp.USER32.dll_DrawTextA]
push ebp
push ebx
call esi
push edi
call dword [sym.imp.GDI32.dll_DeleteObject]
push 1
pop eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x11c
ret