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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push esi
push edi
mov esi, eax
mov eax, dword [ebp + 8]
xor edi, edi
cmp eax, edi
jl 0x433180
cmp eax, dword [esi + 0x50]
jge 0x433180
mov edx, dword [ebp + 0x10]
cmp edx, edi
jl 0x433180
mov ebx, dword [ebp + 0xc]
jg 0x432fee
cmp ebx, edi
jb 0x433180
cmp edx, edi
jl 0x432ffc
jg 0x432fee
cmp ebx, edi
jbe 0x432ffc
mov ecx, dword [esi + 0x60]
imul eax, eax, 0x18
mov dword [ecx + eax + 0x10], ebx
mov dword [ecx + eax + 0x14], edx
lea eax, [esi + 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [ebp + 0x14]
add dword [esi + 0x10], eax
mov eax, dword [ebp + 0x18]
adc dword [esi + 0x14], eax
mov eax, dword [esi + 0x10]
mov dword [ebp - 0x10], eax
mov eax, dword [esi + 0x14]
mov dword [ebp - 0xc], eax
lea eax, [esi + 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
call fcn.004352e2
test al, al
je 0x433180
push edi
push edi
push ebx
push 5
push dword [esi + 0xa0]
push dword [ebp + 8]
call fcn.00435760
mov eax, dword [esi + 0x54]
or dword [ebp + 0x14], 0xffffffff
or dword [ebp + 0x18], 0xffffffff
cmp eax, edi
je 0x433069
mov ecx, dword [eax + 0x80]
mov eax, dword [eax + 0x84]
mov dword [ebp + 0x14], ecx
mov dword [ebp + 0x18], eax
cmp dword [esi + 0x58], edi
je 0x433180
cmp dword [ebp + 0x18], edi
jl 0x433180
jg 0x433086
cmp dword [ebp + 0x14], edi
jbe 0x433180
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [esi + 0xac]
add ecx, 0x64
cmp eax, ecx
jbe 0x433180
mov dword [ebp - 8], edi
mov dword [ebp - 4], edi
mov dword [ebp + 0x10], edi
cmp dword [esi + 0x50], edi
jle 0x4330ec
mov dword [ebp + 8], edi
mov eax, dword [esi + 0x58]
add eax, dword [ebp + 8]
call fcn.00437e67
mov ebx, dword [ebp - 8]
mov edi, dword [ebp - 4]
sub ebx, eax
mov eax, dword [esi + 0x58]
sbb edi, edx
add eax, dword [ebp + 8]
call fcn.00437efb
add eax, ebx
adc edx, edi
inc dword [ebp + 0x10]
add dword [ebp + 8], 0x118
mov dword [ebp - 8], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 4], edx
cmp eax, dword [esi + 0x50]
jl 0x4330ae
xor edi, edi
mov ebx, dword [ebp + 0x14]
sub ebx, dword [ebp - 8]
mov eax, dword [ebp + 0x18]
sbb eax, dword [ebp - 4]
push 0x20
mov dword [ebp + 0x10], eax
call fcn.004d65da
pop ecx
cmp eax, edi
je 0x43311a
mov dword [eax + 0x18], edi
mov dword [eax], edi
mov dword [eax + 0x10], edi
mov dword [eax + 0x14], edi
mov dword [eax + 8], edi
mov dword [eax + 0xc], edi
mov edi, eax
test edi, edi
je 0x433180
mov eax, dword [esi + 0xa0]
mov dword [edi], eax
mov eax, dword [ebp + 0x10]
mov dword [edi + 0x14], eax
mov eax, dword [ebp + 0x14]
mov dword [edi + 8], eax
mov eax, dword [ebp + 0x18]
mov dword [edi + 0x10], ebx
mov ebx, dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [edi + 0xc], eax
call ebx
sub eax, dword [esi + 0x38]
jne 0x43314d
and dword [edi + 0x18], eax
jmp 0x433164
push 0
push eax
push dword [ebp - 0xc]
push dword [ebp - 0x10]
call fcn.004dd100
imul eax, eax, 0x3e8
mov dword [edi + 0x18], eax
push 0
push 0
push edi
push 3
push dword [esi + 0xa0]
push 0xffffffffffffffff
call fcn.00435760
call ebx
mov dword [esi + 0xac], eax
pop edi
pop esi
pop ebx
leave
ret 0x14