Function at 0x4032b2
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 0x4032d4
mov dword [ebp - 0xc], 0x8000
mov dword [ebp - 4], ebx
mov dword [ebp - 8], ebx
mov dword [ebp - 0x10], edi
cmp edi, ebx
jne 0x4032e8
mov dword [ebp - 0x10], 0x419968
push dword [ebp + 8]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
call fcn.00403271
push dword [ebp + 8]
lea eax, [ebp + 0x1c]
push 4
push eax
call fcn.0040323c
add esp, 0x18
test eax, eax
jne 0x403313
push 0xfffffffffffffffd
pop eax
jmp 0x40357f
test dword [ebp + 0x1c], 0x80000000
je 0x4034a6
call dword [sym.imp.KERNEL32.dll_GetTickCount]
and dword [ebp + 0x1c], 0x7fffffff
mov dword [ebp - 0x14], eax
mov eax, 0x433520
mov dword [0x43b528], eax
mov dword [0x43b524], eax
mov eax, dword [ebp + 0x1c]
mov dword [0x431980], 8
mov dword [0x431e9c], ebx
mov dword [0x431e98], ebx
mov dword [0x43b520], 0x43b520
mov dword [ebp + 0x10], eax
jle 0x403559
mov ebx, 0x415968
mov esi, 0x4000
cmp dword [ebp + 0x1c], esi
jge 0x40337d
mov esi, dword [ebp + 0x1c]
push dword [ebp + 8]
push esi
push ebx
call fcn.0040323c
add esp, 0xc
test eax, eax
je 0x40330b
xor eax, eax
cmp dword [ebp + 8], eax
jne 0x4033b6
cmp dword [0x445a9c], eax
je 0x4033b6
cmp dword [0x445a90], eax
jne 0x4033b6
push esi
push ebx
push dword [ebp - 8]
call fcn.00406d88
mov dword [ebp - 8], eax
sub dword [ebp + 0x1c], esi
mov dword [0x431970], ebx
mov dword [0x431974], esi
mov eax, dword [ebp - 0xc]
mov edi, dword [ebp - 0x10]
push 0x431970
mov dword [0x431978], edi
mov dword [0x43197c], eax
call fcn.004076f1
mov dword [ebp - 0x18], eax
test eax, eax
jl 0x403498
mov esi, dword [0x431978]
sub esi, edi
call dword [sym.imp.KERNEL32.dll_GetTickCount]
test byte [0x445b34], 1
mov edi, eax
je 0x40344d
sub eax, dword [ebp - 0x14]
cmp eax, 0xc8
ja 0x403414
cmp dword [ebp + 0x1c], 0
jne 0x40344d
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.0040511f
mov dword [ebp - 0x14], edi
test esi, esi
je 0x403489
cmp dword [ebp + 0x18], 0
jne 0x40346c
push esi
push dword [ebp - 0x10]
push dword [ebp + 0x14]
call fcn.00406106
test eax, eax
je 0x40349f
add dword [ebp - 4], esi
jmp 0x40347a
mov eax, dword [0x431978]
add dword [ebp - 4], esi
sub dword [ebp - 0xc], esi
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x18], 1
jne 0x4033c5
jmp 0x403559
cmp dword [ebp + 0x1c], 0
jg 0x403370
jmp 0x403559
push 0xfffffffffffffffc
jmp 0x40330d
push 0xfffffffffffffffe
jmp 0x40330d
cmp edi, ebx
jne 0x403517
cmp dword [ebp + 0x1c], ebx
jle 0x403559
mov ebx, 0x415968
mov esi, dword [ebp - 0xc]
cmp dword [ebp + 0x1c], esi
jge 0x4034c3
mov esi, dword [ebp + 0x1c]
push dword [ebp + 8]
push esi
push ebx
call fcn.0040323c
add esp, 0xc
test eax, eax
je 0x40330b
xor edi, edi
cmp dword [ebp + 8], edi
jne 0x4034fc
cmp dword [0x445a9c], edi
je 0x4034fc
cmp dword [0x445a90], edi
jne 0x4034fc
push esi
push ebx
push dword [ebp - 8]
call fcn.00406d88
mov dword [ebp - 8], eax
push esi
push ebx
push dword [ebp + 0x14]
call fcn.00406106
test eax, eax
je 0x40349f
add dword [ebp - 4], esi
sub dword [ebp + 0x1c], esi
cmp dword [ebp + 0x1c], edi
jg 0x4034b8
jmp 0x403559
cmp dword [ebp + 0x1c], esi
jge 0x40351f
mov esi, dword [ebp + 0x1c]
push dword [ebp + 8]
push esi
push edi
call fcn.0040323c
add esp, 0xc
test eax, eax
je 0x40330b
xor eax, eax
cmp dword [ebp + 8], eax
jne 0x403556
cmp dword [0x445a9c], eax
je 0x403556
cmp dword [0x445a90], eax
jne 0x403556
push esi
push edi
push eax
call fcn.00406d88
mov dword [ebp - 8], eax
mov dword [ebp - 4], esi
xor eax, eax
cmp dword [ebp + 8], eax
jne 0x40357c
cmp dword [0x445a9c], eax
je 0x40357c
cmp dword [0x445a90], eax
jne 0x40357c
mov eax, dword [ebp - 8]
cmp eax, dword [ebp + 0x20]
jne 0x40330b
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
leave
ret 0x1c