Function at 0x432823
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 0x4329f8
cmp eax, dword [esi + 0x50]
jge 0x4329f8
mov edx, dword [ebp + 0x10]
cmp edx, edi
jl 0x4329f8
mov ebx, dword [ebp + 0xc]
jg 0x432866
cmp ebx, edi
jb 0x4329f8
cmp edx, edi
jl 0x432874
jg 0x432866
cmp ebx, edi
jbe 0x432874
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.00434b5a
test al, al
je 0x4329f8
push edi
push edi
push ebx
push 5
push dword [esi + 0xa0]
push dword [ebp + 8]
call fcn.00434fd8
mov eax, dword [esi + 0x54]
or dword [ebp + 0x14], 0xffffffff
or dword [ebp + 0x18], 0xffffffff
cmp eax, edi
je 0x4328e1
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 0x4329f8
cmp dword [ebp + 0x18], edi
jl 0x4329f8
jg 0x4328fe
cmp dword [ebp + 0x14], edi
jbe 0x4329f8
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [esi + 0xac]
add ecx, 0x64
cmp eax, ecx
jbe 0x4329f8
mov dword [ebp - 8], edi
mov dword [ebp - 4], edi
mov dword [ebp + 0x10], edi
cmp dword [esi + 0x50], edi
jle 0x432964
mov dword [ebp + 8], edi
mov eax, dword [esi + 0x58]
add eax, dword [ebp + 8]
call fcn.004378ed
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.00437981
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 0x432926
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.004d5fab
pop ecx
cmp eax, edi
je 0x432992
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 0x4329f8
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 0x4329c5
and dword [edi + 0x18], eax
jmp 0x4329dc
push 0
push eax
push dword [ebp - 0xc]
push dword [ebp - 0x10]
call fcn.004dcae0
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.00434fd8
call ebx
mov dword [esi + 0xac], eax
pop edi
pop esi
pop ebx
leave
ret 0x14