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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x71c
mov eax, dword [0x1004f220]
xor eax, ebp
mov dword [ebp - 8], eax
push 0
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp + 8]
push ecx
mov edx, dword [ebp + 8]
mov eax, dword [edx]
mov ecx, dword [eax + 0x2a4]
call ecx
mov dword [ebp - 0x708], eax
mov edx, dword [ebp - 0x708]
push edx
lea eax, [ebp - 0x6f8]
push eax
call fcn.10013e10
add esp, 8
mov ecx, dword [ebp - 0x708]
push ecx
mov edx, dword [ebp + 0x10]
push edx
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp + 8]
mov edx, dword [ecx]
mov eax, dword [edx + 0x2a8]
call eax
mov ecx, dword [ebp + 8]
push ecx
mov edx, dword [ebp + 8]
mov eax, dword [edx]
mov ecx, dword [eax + 0x3c]
call ecx
test eax, eax
je 0x100583bb
xor eax, eax
jmp 0x100586fd
push 0
mov edx, dword [ebp + 0x14]
push edx
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp + 8]
mov edx, dword [ecx]
mov eax, dword [edx + 0x2a4]
call eax
mov dword [ebp - 0x70c], eax
mov ecx, dword [ebp - 0x70c]
push ecx
lea edx, [ebp - 0x3f0]
push edx
call fcn.10013e10
add esp, 8
mov eax, dword [ebp - 0x70c]
push eax
mov ecx, dword [ebp + 0x14]
push ecx
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x2a8]
call edx
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp + 8]
mov edx, dword [ecx]
mov eax, dword [edx + 0x3c]
call eax
test eax, eax
je 0x10058423
xor eax, eax
jmp 0x100586fd
push 0x100303fc
mov ecx, dword [ebp + 8]
push ecx
mov edx, dword [ebp + 8]
mov eax, dword [edx]
mov ecx, dword [eax + 0x18]
call ecx
mov dword [ebp - 4], eax
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x3c]
call edx
test eax, eax
je 0x10058452
xor eax, eax
jmp 0x100586fd
lea eax, [ebp - 0x4f0]
push eax
mov ecx, dword [ebp + 0x18]
push ecx
movzx edx, byte [ebp + 0x20]
push edx
push 0x7d0
lea eax, [ebp - 0x6f8]
push eax
call fcn.10003220
add esp, 0x14
mov dword [ebp - 0x704], eax
cmp dword [ebp - 0x704], 0
jne 0x100584a5
lea ecx, [ebp - 0x4f0]
push ecx
mov edx, dword [ebp - 4]
push edx
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp + 8]
mov edx, dword [ecx]
mov eax, dword [edx + 0x38]
call eax
xor eax, eax
jmp 0x100586fd
push 0
push 0
lea ecx, [ebp - 0x3f0]
push ecx
lea edx, [ebp - 0x700]
push edx
mov eax, dword [ebp - 0x704]
push eax
call fcn.10003540
add esp, 0x14
test eax, eax
jge 0x10058502
mov ecx, dword [ebp - 0x704]
push ecx
call fcn.10003350
add esp, 4
mov edx, dword [ebp - 0x704]
push edx
call fcn.10003860
add esp, 4
push eax
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [ebp + 8]
push ecx
mov edx, dword [ebp + 8]
mov eax, dword [edx]
mov ecx, dword [eax + 0x38]
call ecx
xor eax, eax
jmp 0x100586fd
lea edx, [ebp - 0x700]
push edx
mov eax, dword [ebp - 0x704]
push eax
call fcn.10003810
add esp, 8
test eax, eax
jge 0x10058563
lea ecx, [ebp - 0x700]
push ecx
call fcn.10003850
add esp, 4
mov edx, dword [ebp - 0x704]
push edx
call fcn.10003350
add esp, 4
mov eax, dword [ebp - 0x704]
push eax
call fcn.10003860
add esp, 4
push eax
mov ecx, dword [ebp - 4]
push ecx
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x38]
call edx
xor eax, eax
jmp 0x100586fd
lea eax, [ebp - 0x700]
push eax
call fcn.10003850
add esp, 4
call fcn.100020e0
mov dword [ebp - 0x4fc], eax
mov ecx, dword [ebp - 0x4fc]
mov dword [ecx], 0
mov edx, dword [ebp - 0x4fc]
mov dword [edx + 8], 0
mov eax, dword [ebp - 0x4fc]
mov dword [eax + 4], 0
push 1
mov ecx, dword [ebp + 8]
push ecx
call fcn.10002070
add esp, 8
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0x714], eax
mov edx, dword [ebp - 0x714]
add edx, dword [ebp + 0x18]
mov dword [ebp - 0x71c], edx
lea eax, [ebp - 0x4f0]
push eax
push 0xffffffffffffffff
mov ecx, dword [ebp - 0x704]
push ecx
call fcn.10003870
add esp, 0xc
mov dword [ebp - 0x718], 0
mov edx, dword [ebp - 0x718]
cmp edx, dword [ebp + 0x1c]
jge 0x100586b2
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [ebp - 0x71c]
sub ecx, eax
mov dword [ebp - 0x710], ecx
push 0x32
call dword [sym.imp.KERNEL32.dll_Sleep]
mov edx, dword [ebp - 0x4fc]
push edx
push 0x100027f0
mov eax, dword [ebp + 0x1c]
push eax
mov ecx, dword [ebp - 0x704]
push ecx
call fcn.10003410
add esp, 0x10
mov dword [ebp - 0x4f8], eax
cmp dword [ebp - 0x4f8], 0
jge 0x1005868b
mov edx, dword [ebp - 0x704]
push edx
call fcn.10003350
add esp, 4
mov eax, dword [ebp - 0x4fc]
push eax
call fcn.10002000
add esp, 4
mov ecx, dword [ebp - 0x704]
push ecx
call fcn.10003860
add esp, 4
push eax
mov edx, dword [ebp - 4]
push edx
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp + 8]
mov edx, dword [ecx]
mov eax, dword [edx + 0x38]
call eax
xor eax, eax
jmp 0x100586fd
mov ecx, dword [ebp - 0x718]
add ecx, dword [ebp - 0x4f8]
mov dword [ebp - 0x718], ecx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
cmp eax, dword [ebp - 0x71c]
jb 0x100586ad
jmp 0x100586b2
jmp 0x100585ee
push 0
mov edx, dword [ebp + 8]
push edx
call fcn.10002070
add esp, 8
mov eax, dword [ebp - 0x704]
push eax
call fcn.10003350
add esp, 4
mov ecx, dword [ebp - 0x4fc]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.10002220
add esp, 8
mov dword [ebp - 0x4f4], eax
mov eax, dword [ebp - 0x4fc]
push eax
call fcn.10002000
add esp, 4
mov eax, dword [ebp - 0x4f4]
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.100140b8
mov esp, ebp
pop ebp
ret 0x1c