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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x98
push ebx
push esi
mov esi, dword [ebp + 0x1c]
push edi
mov edi, dword [ebp + 0x18]
xor ebx, ebx
mov dword [ebp - 0xc], esi
cmp edi, ebx
jne 0x40326c
mov dword [ebp - 0xc], 0x8000
mov dword [ebp - 4], ebx
mov dword [ebp - 8], ebx
mov dword [ebp - 0x10], edi
cmp edi, ebx
jne 0x403280
mov dword [ebp - 0x10], 0x418928
push dword [ebp + 8]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
call fcn.00403209
push dword [ebp + 8]
lea eax, [ebp + 0x1c]
push 4
push eax
call fcn.004031d4
add esp, 0x18
test eax, eax
jne 0x4032ab
push 0xfffffffffffffffd
pop eax
jmp 0x4034ee
test dword [ebp + 0x1c], 0x80000000
je 0x403415
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, 0x420930
mov dword [ebp - 0x14], eax
call fcn.004072dd
and dword [ebp + 0x1c], 0x7fffffff
mov eax, dword [ebp + 0x1c]
mov dword [ebp + 0x10], eax
jle 0x4034c8
mov ebx, 0x414928
mov esi, 0x4000
cmp dword [ebp + 0x1c], esi
jge 0x4032f0
mov esi, dword [ebp + 0x1c]
push dword [ebp + 8]
push esi
push ebx
call fcn.004031d4
add esp, 0xc
test eax, eax
je 0x4032a3
xor eax, eax
cmp dword [ebp + 8], eax
jne 0x403325
cmp dword [0x439d9c], eax
je 0x403325
cmp dword [0x439d90], eax
jne 0x403325
push esi
push ebx
push dword [ebp - 8]
call fcn.00406cfc
mov dword [ebp - 8], eax
sub dword [ebp + 0x1c], esi
mov dword [0x420948], ebx
mov dword [0x42094c], esi
mov eax, dword [ebp - 0xc]
mov edi, dword [ebp - 0x10]
mov ecx, 0x420930
mov dword [0x420950], edi
mov dword [0x420954], eax
call fcn.004072fd
mov dword [ebp - 0x18], eax
test eax, eax
jl 0x403407
mov esi, dword [0x420950]
sub esi, edi
call dword [sym.imp.KERNEL32.dll_GetTickCount]
test byte [0x439e34], 1
mov edi, eax
je 0x4033bc
sub eax, dword [ebp - 0x14]
cmp eax, 0xc8
ja 0x403383
cmp dword [ebp + 0x1c], 0
jne 0x4033bc
push dword [ebp + 0x10]
mov eax, dword [ebp + 0x10]
sub eax, dword [ebp + 0x1c]
push 0x64
push eax
call dword [sym.imp.KERNEL32.dll_MulDiv]
push eax
lea eax, [ebp - 0x98]
push str....__d__
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0xc
lea eax, [ebp - 0x98]
push eax
push 0
call fcn.00405093
mov dword [ebp - 0x14], edi
test esi, esi
je 0x4033f8
cmp dword [ebp + 0x18], 0
jne 0x4033db
push esi
push dword [ebp - 0x10]
push dword [ebp + 0x14]
call fcn.0040607a
test eax, eax
je 0x40340e
add dword [ebp - 4], esi
jmp 0x4033e9
mov eax, dword [0x420950]
add dword [ebp - 4], esi
sub dword [ebp - 0xc], esi
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x18], 1
jne 0x403334
jmp 0x4034c8
cmp dword [ebp + 0x1c], 0
jg 0x4032e3
jmp 0x4034c8
push 0xfffffffffffffffc
jmp 0x4032a5
push 0xfffffffffffffffe
jmp 0x4032a5
cmp edi, ebx
jne 0x403486
cmp dword [ebp + 0x1c], ebx
jle 0x4034c8
mov ebx, 0x414928
mov esi, dword [ebp - 0xc]
cmp dword [ebp + 0x1c], esi
jge 0x403432
mov esi, dword [ebp + 0x1c]
push dword [ebp + 8]
push esi
push ebx
call fcn.004031d4
add esp, 0xc
test eax, eax
je 0x4032a3
xor edi, edi
cmp dword [ebp + 8], edi
jne 0x40346b
cmp dword [0x439d9c], edi
je 0x40346b
cmp dword [0x439d90], edi
jne 0x40346b
push esi
push ebx
push dword [ebp - 8]
call fcn.00406cfc
mov dword [ebp - 8], eax
push esi
push ebx
push dword [ebp + 0x14]
call fcn.0040607a
test eax, eax
je 0x40340e
add dword [ebp - 4], esi
sub dword [ebp + 0x1c], esi
cmp dword [ebp + 0x1c], edi
jg 0x403427
jmp 0x4034c8
cmp dword [ebp + 0x1c], esi
jge 0x40348e
mov esi, dword [ebp + 0x1c]
push dword [ebp + 8]
push esi
push edi
call fcn.004031d4
add esp, 0xc
test eax, eax
je 0x4032a3
xor eax, eax
cmp dword [ebp + 8], eax
jne 0x4034c5
cmp dword [0x439d9c], eax
je 0x4034c5
cmp dword [0x439d90], eax
jne 0x4034c5
push esi
push edi
push eax
call fcn.00406cfc
mov dword [ebp - 8], eax
mov dword [ebp - 4], esi
xor eax, eax
cmp dword [ebp + 8], eax
jne 0x4034eb
cmp dword [0x439d9c], eax
je 0x4034eb
cmp dword [0x439d90], eax
jne 0x4034eb
mov eax, dword [ebp - 8]
cmp eax, dword [ebp + 0x20]
jne 0x4032a3
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
leave
ret 0x1c