Function at 0x459f49
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.004265d5
add esp, 0xc
test eax, eax
jne 0x45a260
mov eax, dword [ebp + 0xc]
push eax
call fcn.00426a12
add esp, 4
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], 0xffffffff
mov dword [ebp - 4], 0
cmp dword [ebp - 0xc], 0x2733
je 0x459fa7
cmp dword [ebp - 0xc], 0x2734
je 0x459fa7
mov eax, 0xfffffff1
jmp 0x45a262
mov ecx, dword [ebp + 0xc]
push ecx
call fcn.004269f9
add esp, 4
mov dword [ebp - 8], eax
mov edx, dword [ebp + 0x10]
push edx
call fcn.00429883
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 0x45a253
mov dword [ebp - 0x320], 0
cmp dword [ebp - 0x320], 0x40
jae 0x45a02c
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 0x45a004
mov dword [ebp - 0x110], 0
mov dword [ebp - 0x21c], 0
cmp dword [ebp - 0x21c], 0x40
jae 0x45a06e
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 0x45a046
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.004279b6
mov dword [ebp - 0x328], eax
cmp dword [ebp - 0x328], 0
jle 0x45a147
lea ecx, [ebp - 0x21c]
push ecx
mov edx, dword [ebp - 8]
push edx
call fcn.00427914
test eax, eax
je 0x45a127
mov eax, dword [ebp + 8]
cmp dword [eax + 0x80], 0
je 0x45a0e4
mov ecx, 1
test ecx, ecx
je 0x45a0e4
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x80]
mov dword [ebp - 0x32c], eax
jmp 0x45a0ee
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.00419110
add esp, 0x1c
mov eax, 0xfffffff1
jmp 0x45a262
lea edx, [ebp - 0x320]
push edx
mov eax, dword [ebp - 8]
push eax
call fcn.00427914
test eax, eax
je 0x45a142
xor eax, eax
jmp 0x45a262
jmp 0x45a24e
cmp dword [ebp - 0x328], 0
jne 0x45a1e4
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 0x45a1e2
mov edx, dword [ebp + 8]
cmp dword [edx + 0x80], 0
je 0x45a199
xor eax, eax
test eax, eax
je 0x45a199
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x80]
mov dword [ebp - 0x330], edx
jmp 0x45a1a3
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.004af5a9
mov eax, dword [eax]
push eax
push 0x1eb
push 0xffffffffffffffa0
mov ecx, dword [ebp + 8]
push ecx
call fcn.00419110
add esp, 0x1c
mov eax, 0xffffffa0
jmp 0x45a262
jmp 0x45a24e
mov edx, dword [ebp + 8]
cmp dword [edx + 0x80], 0
je 0x45a20a
mov eax, 1
test eax, eax
je 0x45a20a
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x80]
mov dword [ebp - 0x334], edx
jmp 0x45a214
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.004278f6
push eax
push 0x2730
push 0xfffffffffffffff1
mov eax, dword [ebp + 8]
push eax
call fcn.00419110
add esp, 0x1c
mov eax, 0xfffffff1
jmp 0x45a262
jmp 0x459fed
cmp dword [ebp - 8], 0xffffffff
jne 0x45a260
mov eax, 0xffffffc7
jmp 0x45a262
xor eax, eax
mov esp, ebp
pop ebp
ret