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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x334
mov eax, dword [ebp + 0x14]
push eax
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp + 0xc]
push edx
call fcn.0047e515
add esp, 0xc
test eax, eax
jne 0x4534f0
mov eax, dword [ebp + 0xc]
push eax
call fcn.0047e952
add esp, 4
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], 0xffffffff
mov dword [ebp - 4], 0
cmp dword [ebp - 0xc], 0x2733
je 0x453237
cmp dword [ebp - 0xc], 0x2734
je 0x453237
mov eax, 0xfffffff1
jmp 0x4534f2
mov ecx, dword [ebp + 0xc]
push ecx
call fcn.0047e939
add esp, 4
mov dword [ebp - 8], eax
mov edx, dword [ebp + 0x10]
push edx
call fcn.0045d403
add esp, 4
mov dword [ebp - 4], eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0x324], eax
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0xd0]
mov edx, dword [ecx + 0x1c]
mov dword [ebp - 0x118], edx
mov dword [ebp - 0x114], 0
mov eax, 1
test eax, eax
je 0x4534e3
mov dword [ebp - 0x320], 0
cmp dword [ebp - 0x320], 0x40
jae 0x4532bc
mov ecx, dword [ebp - 0x320]
mov edx, dword [ebp - 8]
mov dword [ebp + ecx*4 - 0x31c], edx
mov eax, dword [ebp - 0x320]
add eax, 1
mov dword [ebp - 0x320], eax
xor ecx, ecx
test ecx, ecx
jne 0x453294
mov dword [ebp - 0x110], 0
mov dword [ebp - 0x21c], 0
cmp dword [ebp - 0x21c], 0x40
jae 0x4532fe
mov edx, dword [ebp - 0x21c]
mov eax, dword [ebp - 8]
mov dword [ebp + edx*4 - 0x218], eax
mov ecx, dword [ebp - 0x21c]
add ecx, 1
mov dword [ebp - 0x21c], ecx
xor edx, edx
test edx, edx
jne 0x4532d6
lea eax, [ebp - 0x118]
push eax
lea ecx, [ebp - 0x21c]
push ecx
lea edx, [ebp - 0x320]
push edx
lea eax, [ebp - 0x110]
push eax
push 0
call fcn.0043f526
mov dword [ebp - 0x328], eax
cmp dword [ebp - 0x328], 0
jle 0x4533d7
lea ecx, [ebp - 0x21c]
push ecx
mov edx, dword [ebp - 8]
push edx
call fcn.0043f484
test eax, eax
je 0x4533b7
mov eax, dword [ebp + 8]
cmp dword [eax + 0x80], 0
je 0x453374
mov ecx, 1
test ecx, ecx
je 0x453374
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x80]
mov dword [ebp - 0x32c], eax
jmp 0x45337e
mov dword [ebp - 0x32c], 0xfffffff1
mov ecx, dword [ebp + 8]
mov edx, dword [ebp - 0x32c]
mov dword [ecx + 0x80], edx
push 0
push 0xff
mov eax, dword [ebp - 4]
push eax
push 0x274d
push 0xa
push 0xfffffffffffffff1
mov ecx, dword [ebp + 8]
push ecx
call fcn.0041bbe0
add esp, 0x1c
mov eax, 0xfffffff1
jmp 0x4534f2
lea edx, [ebp - 0x320]
push edx
mov eax, dword [ebp - 8]
push eax
call fcn.0043f484
test eax, eax
je 0x4533d2
xor eax, eax
jmp 0x4534f2
jmp 0x4534de
cmp dword [ebp - 0x328], 0
jne 0x453474
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [ebp - 0x324]
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0xd0]
mov ecx, dword [edx + 0x1c]
imul ecx, ecx, 0x3cf
cmp eax, ecx
jbe 0x453472
mov edx, dword [ebp + 8]
cmp dword [edx + 0x80], 0
je 0x453429
xor eax, eax
test eax, eax
je 0x453429
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x80]
mov dword [ebp - 0x330], edx
jmp 0x453433
mov dword [ebp - 0x330], 0xffffffa0
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0x330]
mov dword [eax + 0x80], ecx
push 0
push 0xff
mov edx, dword [ebp - 4]
push edx
call fcn.004980c9
mov eax, dword [eax]
push eax
push 0x1eb
push 0xffffffffffffffa0
mov ecx, dword [ebp + 8]
push ecx
call fcn.0041bbe0
add esp, 0x1c
mov eax, 0xffffffa0
jmp 0x4534f2
jmp 0x4534de
mov edx, dword [ebp + 8]
cmp dword [edx + 0x80], 0
je 0x45349a
mov eax, 1
test eax, eax
je 0x45349a
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x80]
mov dword [ebp - 0x334], edx
jmp 0x4534a4
mov dword [ebp - 0x334], 0xfffffff1
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0x334]
mov dword [eax + 0x80], ecx
push 0
push 0xff
mov edx, dword [ebp - 4]
push edx
call fcn.0043f466
push eax
push 0x2730
push 0xfffffffffffffff1
mov eax, dword [ebp + 8]
push eax
call fcn.0041bbe0
add esp, 0x1c
mov eax, 0xfffffff1
jmp 0x4534f2
jmp 0x45327d
cmp dword [ebp - 8], 0xffffffff
jne 0x4534f0
mov eax, 0xffffffc7
jmp 0x4534f2
xor eax, eax
mov esp, ebp
pop ebp
ret