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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x490738
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push ebx
push esi
mov eax, dword [0x4b04dc]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [ebp + 8]
xor ebx, ebx
cmp eax, ebx
je 0x40342e
mov ecx, dword [eax]
lea edx, [ebp - 0x10]
push edx
push 0x498180
push eax
mov eax, dword [ecx]
mov dword [ebp - 0x10], ebx
call eax
mov dword [ebp - 4], ebx
cmp dword [ebp - 0x10], ebx
je 0x40342e
mov ecx, dword [ebp + 0xc]
push ecx
lea edx, [ebp - 0x18]
push edx
call fcn.00406110
mov dword [ebp - 0x14], ebx
mov dword [ebp + 8], ebx
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x24], ebx
mov byte [ebp - 4], 5
cmp byte [esi + 0x91], bl
je 0x403335
cmp byte [esi + 0x92], bl
jne 0x4032c9
mov byte [esi + 0x92], 1
call dword [sym.imp.KERNEL32.dll_GetTickCount]
lea ecx, [esi - 0x230]
mov dword [esi + 0x4c], eax
mov dword [esi + 0x50], ebx
call fcn.00404ab0
test al, al
jne 0x4033d0
cmp dword [esi + 0x28], 0x10
lea eax, [esi + 0x14]
jb 0x4032b7
mov eax, dword [eax]
mov esi, dword [esi + 0x94]
mov ecx, eax
call fcn.00434720
jmp 0x4033d0
cmp dword [esi + 0x88], 0x10
lea eax, [esi + 0x74]
jb 0x4032d7
mov eax, dword [eax]
xor ecx, ecx
cmp eax, ebx
setne cl
cmp ecx, ebx
jne 0x4032ec
push 0x80004005
call fcn.00402500
push eax
mov eax, dword [ebp - 0x18]
push eax
call fcn.0047687c
add esp, 8
cmp eax, ebx
sete al
cmp al, bl
je 0x403335
mov byte [ebp - 4], 2
mov eax, dword [ebp + 8]
cmp eax, ebx
je 0x403315
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x14]
cmp eax, ebx
je 0x403328
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
lea eax, [ebp - 0x18]
call fcn.00405770
jmp 0x403418
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [esi + 0x4c], eax
mov eax, dword [esi + 0x50]
inc eax
mov dword [esi + 0x50], eax
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax]
lea edx, [ebp - 0x14]
push edx
push eax
mov eax, dword [ecx + 0x48]
call eax
cmp eax, ebx
jl 0x4033d0
mov eax, dword [ebp - 0x14]
cmp eax, ebx
je 0x4033d0
mov ecx, dword [eax]
lea edx, [ebp + 8]
push edx
push 0x49471c
push eax
mov eax, dword [ecx]
call eax
cmp eax, ebx
jl 0x4033d0
cmp dword [ebp + 8], ebx
je 0x4033d0
mov edx, dword [0x4b1374]
mov eax, dword [edx + 0xc]
mov ecx, 0x4b1374
call eax
add eax, 0x10
mov dword [ebp + 0xc], eax
mov byte [ebp - 4], 6
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
lea edx, [ebp - 0x1c]
push edx
push eax
mov eax, dword [ecx + 0xa0]
call eax
cmp eax, ebx
je 0x4033b5
lea eax, [ebp + 0xc]
call fcn.00405770
jmp 0x403302
mov edx, dword [ebp - 0x1c]
lea ecx, [ebp - 0x18]
call fcn.00405560
test al, al
je 0x4033c8
mov byte [esi + 0x54], 1
lea eax, [ebp + 0xc]
call fcn.00405770
mov byte [ebp - 4], 2
mov eax, dword [ebp + 8]
cmp eax, ebx
je 0x4033e3
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x14]
cmp eax, ebx
je 0x4033f6
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov byte [ebp - 4], bl
mov eax, dword [ebp - 0x18]
add eax, 0xfffffff0
or edx, 0xffffffff
lea ecx, [eax + 0xc]
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x403418
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x10]
cmp eax, ebx
je 0x40342e
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8