Function at 0x432f18
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 0x4330ed
cmp eax, dword [esi + 0x50]
jge 0x4330ed
mov edx, dword [ebp + 0x10]
cmp edx, edi
jl 0x4330ed
mov ebx, dword [ebp + 0xc]
jg 0x432f5b
cmp ebx, edi
jb 0x4330ed
cmp edx, edi
jl 0x432f69
jg 0x432f5b
cmp ebx, edi
jbe 0x432f69
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.00435226
test al, al
je 0x4330ed
push edi
push edi
push ebx
push 5
push dword [esi + 0xa0]
push dword [ebp + 8]
call fcn.004356a4
mov eax, dword [esi + 0x54]
or dword [ebp + 0x14], 0xffffffff
or dword [ebp + 0x18], 0xffffffff
cmp eax, edi
je 0x432fd6
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 0x4330ed
cmp dword [ebp + 0x18], edi
jl 0x4330ed
jg 0x432ff3
cmp dword [ebp + 0x14], edi
jbe 0x4330ed
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [esi + 0xac]
add ecx, 0x64
cmp eax, ecx
jbe 0x4330ed
mov dword [ebp - 8], edi
mov dword [ebp - 4], edi
mov dword [ebp + 0x10], edi
cmp dword [esi + 0x50], edi
jle 0x433059
mov dword [ebp + 8], edi
mov eax, dword [esi + 0x58]
add eax, dword [ebp + 8]
call fcn.00437efd
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.00437f91
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 0x43301b
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.004d65aa
pop ecx
cmp eax, edi
je 0x433087
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 0x4330ed
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 0x4330ba
and dword [edi + 0x18], eax
jmp 0x4330d1
push 0
push eax
push dword [ebp - 0xc]
push dword [ebp - 0x10]
call fcn.004dd0d0
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.004356a4
call ebx
mov dword [esi + 0xac], eax
pop edi
pop esi
pop ebx
leave
ret 0x14