Function at 0x4328ed
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 0x432ac2
cmp eax, dword [esi + 0x50]
jge 0x432ac2
mov edx, dword [ebp + 0x10]
cmp edx, edi
jl 0x432ac2
mov ebx, dword [ebp + 0xc]
jg 0x432930
cmp ebx, edi
jb 0x432ac2
cmp edx, edi
jl 0x43293e
jg 0x432930
cmp ebx, edi
jbe 0x43293e
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.00434c24
test al, al
je 0x432ac2
push edi
push edi
push ebx
push 5
push dword [esi + 0xa0]
push dword [ebp + 8]
call fcn.004350a2
mov eax, dword [esi + 0x54]
or dword [ebp + 0x14], 0xffffffff
or dword [ebp + 0x18], 0xffffffff
cmp eax, edi
je 0x4329ab
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 0x432ac2
cmp dword [ebp + 0x18], edi
jl 0x432ac2
jg 0x4329c8
cmp dword [ebp + 0x14], edi
jbe 0x432ac2
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [esi + 0xac]
add ecx, 0x64
cmp eax, ecx
jbe 0x432ac2
mov dword [ebp - 8], edi
mov dword [ebp - 4], edi
mov dword [ebp + 0x10], edi
cmp dword [esi + 0x50], edi
jle 0x432a2e
mov dword [ebp + 8], edi
mov eax, dword [esi + 0x58]
add eax, dword [ebp + 8]
call fcn.0043784e
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.004378e2
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 0x4329f0
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.004d5f1a
pop ecx
cmp eax, edi
je 0x432a5c
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 0x432ac2
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 0x432a8f
and dword [edi + 0x18], eax
jmp 0x432aa6
push 0
push eax
push dword [ebp - 0xc]
push dword [ebp - 0x10]
call fcn.004dca40
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.004350a2
call ebx
mov dword [esi + 0xac], eax
pop edi
pop esi
pop ebx
leave
ret 0x14