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

Disassembly:
push ebp
mov edx, 0x8000
mov ebp, esp
push edi
mov edi, 0x41c180
push esi
push ebx
sub esp, 0xcc
mov eax, dword [ebp + 8]
mov esi, dword [ebp + 0x14]
cmp dword [ebp + 0x10], 0
cmovne edi, dword [ebp + 0x10]
cmovne edx, esi
test eax, eax
mov dword [ebp - 0xac], edx
js 0x404469
add eax, dword [0x418178]
mov dword [esp], eax
call fcn.004043fd
push ecx
lea eax, [ebp - 0x9c]
mov dword [esp + 4], 4
mov dword [esp], eax
call fcn.004043d5
push edx
test eax, eax
push edx
je 0x404683
mov ebx, dword [ebp - 0x9c]
test ebx, ebx
jns 0x404691
call dword [sym.imp.KERNEL32.dll_GetTickCount]
xor ebx, ebx
mov dword [0x42c1c8], ebx
xor ebx, ebx
mov byte [0x42c1b0], 0xb
mov dword [ebp - 0xb4], eax
mov eax, dword [ebp - 0x9c]
and eax, 0x7fffffff
mov dword [ebp - 0xb0], eax
mov dword [ebp - 0x9c], eax
mov esi, dword [ebp - 0x9c]
test esi, esi
jle 0x4046bc
mov dword [esp], 0x418180
mov eax, 0x4000
cmp esi, eax
cmovg esi, eax
mov dword [esp + 4], esi
call fcn.004043d5
push ecx
test eax, eax
push ecx
je 0x404683
sub dword [ebp - 0x9c], esi
mov dword [0x42c1a0], 0x418180
mov dword [0x42c1a4], esi
mov dword [0x42c1a8], edi
mov eax, dword [ebp - 0xac]
mov dword [0x42c1ac], eax
mov dword [esp], 0x42c1a0
call fcn.00409b1c
push edx
test eax, eax
mov dword [ebp - 0xb8], eax
js 0x40468a
mov esi, dword [0x42c1a8]
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub esi, edi
test byte [0x40e054], 1
mov edx, eax
je 0x4045e2
mov eax, dword [ebp - 0x9c]
mov ecx, edx
mov dword [ebp - 0xbc], eax
mov eax, dword [ebp - 0xb4]
sub ecx, eax
cmp ecx, 0xc8
ja 0x404583
cmp dword [ebp - 0xbc], 0
jne 0x4045e2
mov dword [ebp - 0xb4], edx
mov eax, dword [ebp - 0xb0]
mov dword [esp + 4], 0x64
mov dword [esp + 8], eax
mov ecx, eax
mov eax, dword [ebp - 0xbc]
sub ecx, eax
mov dword [esp], ecx
call dword [sym.imp.KERNEL32.dll_MulDiv]
lea ecx, [ebp - 0x98]
sub esp, 0xc
mov dword [esp], ecx
mov dword [esp + 8], eax
mov dword [esp + 4], str....__d__
call dword [sym.imp.USER32.dll_wsprintfW]
lea ecx, [ebp - 0x98]
xor eax, eax
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.00407ae4
push eax
push eax
test esi, esi
je 0x4044cb
cmp dword [ebp + 0x10], 0
jne 0x404612
mov dword [esp + 8], esi
mov dword [esp + 4], edi
mov eax, dword [ebp + 0xc]
mov dword [esp], eax
call fcn.004086c9
sub esp, 0xc
test eax, eax
je 0x4046b7
add ebx, esi
jmp 0x404620
sub dword [ebp - 0xac], esi
add ebx, esi
mov edi, dword [0x42c1a8]
cmp dword [ebp - 0xb8], 4
jne 0x404513
jmp 0x4046bc
mov dword [esp + 8], esi
mov dword [esp + 4], 0x418180
mov eax, dword [ebp + 0xc]
mov dword [esp], eax
call fcn.004086c9
sub esp, 0xc
test eax, eax
je 0x4046b7
sub dword [ebp - 0x9c], esi
add ebx, esi
mov esi, dword [ebp - 0x9c]
test esi, esi
jle 0x4046bc
mov eax, dword [ebp - 0xac]
mov dword [esp], 0x418180
cmp esi, eax
cmovg esi, eax
mov dword [esp + 4], esi
call fcn.004043d5
push ecx
test eax, eax
push ecx
jne 0x404632
mov ebx, 0xfffffffd
jmp 0x4046bc
mov ebx, 0xfffffffc
jmp 0x4046bc
cmp dword [ebp + 0x10], 0
jne 0x40469b
xor ebx, ebx
jmp 0x404658
cmp ebx, esi
cmovg ebx, esi
mov dword [esp + 4], ebx
mov eax, dword [ebp + 0x10]
mov dword [esp], eax
call fcn.004043d5
push edx
test eax, eax
push edx
jne 0x4046bc
jmp 0x404683
mov ebx, 0xfffffffe
lea esp, [ebp - 0xc]
mov eax, ebx
pop ebx
pop esi
pop edi
pop ebp
ret 0x10