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

Disassembly:
push ebp
sub esp, 0x3c
lea ebp, [esp - 4]
mov eax, dword [0x49c250]
xor eax, ebp
mov dword [ebp + 0x3c], eax
push 0x58
mov eax, 0x47655c
call fcn.0045eba3
mov esi, ecx
lea ecx, [ebp + 0xc]
call fcn.00421ea0
xor ebx, ebx
push 0x34
lea eax, [ebp - 0x40]
push ebx
push eax
mov dword [ebp - 4], ebx
mov dword [ebp - 0x48], ebx
mov dword [ebp - 0x44], ebx
call fcn.0045df50
add esp, 0xc
cmp dword [0x4a5304], ebx
je 0x42b6fa
push ebx
push ebx
push ebx
push ebx
lea eax, [ebp - 0x64]
push eax
call dword [sym.imp.USER32.dll_PeekMessageA]
lea eax, [ebp - 0x64]
push eax
call dword [sym.imp.USER32.dll_TranslateMessage]
lea eax, [ebp - 0x64]
push eax
call dword [sym.imp.USER32.dll_DispatchMessageA]
push ebx
call dword [sym.imp.KERNEL32.dll_Sleep]
cmp dword [0x4a5304], ebx
jne 0x42b6b4
mov edi, dword [sym.imp.KERNEL32.dll_GetTickCount]
call edi
mov dword [esi + 0xdc], eax
call edi
jmp 0x42b85f
call fcn.0042b4ca
mov dword [ebp + 0x18], ebx
cmp dword [esi + 0x40], ebx
je 0x42b710
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp + 0x18], eax
cmp dword [esi + 0x5c], ebx
je 0x42b72a
mov eax, dword [esi + 0x40]
cmp eax, ebx
je 0x42b72a
mov ecx, dword [ebp + 0x18]
sub ecx, dword [esi + 0x44]
cmp ecx, eax
jb 0x42b862
lea edi, [esi + 0x4c]
mov eax, dword [edi]
mov dword [edi + 4], ebx
mov byte [eax], bl
lea eax, [ebp - 0x48]
push eax
push 1
mov ecx, esi
call fcn.0042b065
mov ecx, esi
call fcn.0042b40d
push edi
lea ecx, [esi + 0xc0]
call fcn.00421f6a
mov eax, dword [esi + 0x20]
mov ecx, dword [esi + 0x24]
mov edx, eax
or edx, ecx
je 0x42b798
lea edx, [ebp + 0x1c]
push edx
push ecx
push eax
call fcn.0042188e
mov eax, dword [edi + 8]
add esp, 0xc
cmp eax, dword [edi + 4]
jne 0x42b77d
mov ecx, edi
call fcn.00421df8
mov eax, dword [edi + 4]
mov ecx, dword [edi]
mov byte [ecx + eax], 0x20
inc eax
mov byte [ecx + eax], bl
mov dword [edi + 4], eax
lea eax, [ebp + 0x1c]
push eax
mov ecx, edi
call fcn.00421fb3
cmp dword [esi + 0x2c], ebx
je 0x42b7c7
mov eax, dword [edi + 8]
cmp eax, dword [edi + 4]
jne 0x42b7ac
mov ecx, edi
call fcn.00421df8
mov eax, dword [edi + 4]
mov ecx, dword [edi]
mov byte [ecx + eax], 0x20
inc eax
mov byte [ecx + eax], bl
mov dword [edi + 4], eax
lea eax, [esi + 0x28]
push eax
mov ecx, edi
call fcn.00421fe9
lea eax, [esi + 0x58]
push edi
push eax
call fcn.0042aff3
pop ecx
pop ecx
test al, al
je 0x42b84b
push dword [esi + 0x34]
lea eax, [ebp]
push eax
call fcn.00422813
pop ecx
pop ecx
push eax
lea ecx, [ebp + 0xc]
mov byte [ebp - 4], 1
call fcn.00421f6a
push dword [ebp]
mov byte [ebp - 4], bl
call fcn.0043f924
mov eax, dword [0x4a52ec]
pop ecx
cmp eax, ebx
je 0x42b842
mov edx, dword [esi + 8]
mov ecx, dword [esi + 0xc]
and edx, ecx
cmp edx, 0xffffffff
je 0x42b842
cmp dword [esi + 4], ecx
ja 0x42b842
jb 0x42b822
mov ecx, dword [esi]
cmp ecx, dword [esi + 8]
jae 0x42b842
mov ecx, dword [esi]
mov dword [ebp - 0x48], ecx
mov ecx, dword [esi + 4]
mov dword [ebp - 0x44], ecx
mov ecx, dword [esi + 8]
mov dword [ebp - 0x40], ecx
mov ecx, dword [esi + 0xc]
mov dword [ebp - 0x3c], ecx
lea ecx, [ebp - 0x48]
push ebx
push ecx
call eax
pop ecx
pop ecx
push edi
lea ecx, [esi + 0x58]
call fcn.00421f6a
push esi
lea ecx, [esi + 0x80]
call fcn.0042b518
cmp dword [esi + 0x40], ebx
je 0x42b862
mov eax, dword [ebp + 0x18]
mov dword [esi + 0x44], eax
push dword [ebp + 0xc]
or dword [ebp - 4], 0xffffffff
call fcn.0043f924
pop ecx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x3c]
xor ecx, ebp
call fcn.0045dfca
add ebp, 0x40
leave
ret