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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x330
mov eax, dword [ebp + 0x18]
push eax
mov ecx, dword [ebp + 0x14]
push ecx
mov edx, dword [ebp + 0xc]
push edx
call fcn.0046905d
test eax, eax
je 0x47b88e
call fcn.0046901b
mov dword [ebp - 0x310], eax
lea eax, [ebp - 0x30c]
mov dword [ebp - 0x314], eax
lea ecx, [ebp - 0x208]
mov dword [ebp - 0x324], ecx
lea edx, [ebp - 0x104]
mov dword [ebp - 0x320], edx
cmp dword [ebp - 0x310], 0x2733
je 0x47b667
cmp dword [ebp - 0x310], 0x2734
je 0x47b667
mov eax, dword [ebp + 0xc]
push eax
call fcn.0046904d
or eax, 0xffffffff
jmp 0x47b890
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0x328], eax
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x6c]
mov eax, dword [edx + 0x1c]
mov dword [ebp - 0x31c], eax
mov dword [ebp - 0x318], 0
mov ecx, 1
test ecx, ecx
je 0x47b883
mov edx, dword [ebp - 0x324]
mov dword [edx], 0
mov eax, dword [ebp - 0x324]
cmp dword [eax], 0x40
jae 0x47b6d8
mov ecx, dword [ebp - 0x324]
mov edx, dword [ecx]
mov eax, dword [ebp - 0x324]
mov ecx, dword [ebp + 0xc]
mov dword [eax + edx*4 + 4], ecx
mov edx, dword [ebp - 0x324]
mov eax, dword [edx]
add eax, 1
mov ecx, dword [ebp - 0x324]
mov dword [ecx], eax
xor edx, edx
test edx, edx
jne 0x47b6a5
mov eax, dword [ebp - 0x314]
mov dword [eax], 0
mov ecx, dword [ebp - 0x320]
mov dword [ecx], 0
mov edx, dword [ebp - 0x320]
mov dword [edx], 0
mov eax, dword [ebp - 0x320]
cmp dword [eax], 0x40
jae 0x47b735
mov ecx, dword [ebp - 0x320]
mov edx, dword [ecx]
mov eax, dword [ebp - 0x320]
mov ecx, dword [ebp + 0xc]
mov dword [eax + edx*4 + 4], ecx
mov edx, dword [ebp - 0x320]
mov eax, dword [edx]
add eax, 1
mov ecx, dword [ebp - 0x320]
mov dword [ecx], eax
xor edx, edx
test edx, edx
jne 0x47b702
lea eax, [ebp - 0x31c]
push eax
mov ecx, dword [ebp - 0x320]
push ecx
mov edx, dword [ebp - 0x324]
push edx
mov eax, dword [ebp - 0x314]
push eax
push 0
call fcn.0048ee10
add esp, 0x14
mov ecx, dword [ebp - 0x320]
push ecx
mov edx, dword [ebp + 0xc]
push edx
call fcn.00469039
test eax, eax
je 0x47b7dc
mov eax, dword [ebp + 8]
cmp dword [eax + 0x14], 0
je 0x47b795
mov ecx, 1
test ecx, ecx
je 0x47b795
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x14]
mov dword [ebp - 0x32c], eax
jmp 0x47b79f
mov dword [ebp - 0x32c], 0xfffffff1
mov ecx, dword [ebp + 8]
mov edx, dword [ebp - 0x32c]
mov dword [ecx + 0x14], edx
push 0
push 0xff
mov eax, dword [ebp + 0x10]
push eax
push 0x274d
push 0xa
push 0xfffffffffffffff1
mov ecx, dword [ebp + 8]
push ecx
call fcn.00463180
add esp, 0x1c
mov edx, dword [ebp + 0xc]
push edx
call fcn.0046904d
or eax, 0xffffffff
jmp 0x47b890
mov eax, dword [ebp - 0x324]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
call fcn.00469039
test eax, eax
je 0x47b7f7
xor eax, eax
jmp 0x47b890
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [ebp - 0x328]
mov edx, dword [ebp + 8]
mov ecx, dword [edx + 0x6c]
mov edx, dword [ecx + 0x1c]
imul edx, edx, 0x3cf
cmp eax, edx
jbe 0x47b87e
mov eax, dword [ebp + 0xc]
push eax
call fcn.0046904d
mov ecx, dword [ebp + 8]
cmp dword [ecx + 0x14], 0
je 0x47b83c
xor edx, edx
test edx, edx
je 0x47b83c
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x14]
mov dword [ebp - 0x330], ecx
jmp 0x47b846
mov dword [ebp - 0x330], 0xffffffa0
mov edx, dword [ebp + 8]
mov eax, dword [ebp - 0x330]
mov dword [edx + 0x14], eax
push 0
push 0xff
mov ecx, dword [ebp + 0x10]
push ecx
call dword [sym.imp.MSVCRT.dll__errno]
mov edx, dword [eax]
push edx
push 0x1eb
push 0xffffffffffffffa0
mov eax, dword [ebp + 8]
push eax
call fcn.00463180
add esp, 0x1c
or eax, 0xffffffff
jmp 0x47b890
jmp 0x47b68c
cmp dword [ebp + 0xc], 0xffffffff
jne 0x47b88e
or eax, 0xffffffff
jmp 0x47b890
xor eax, eax
mov esp, ebp
pop ebp
ret