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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov dword [ebp - 0x18], ecx
cmp dword [ebp + 8], 0
je 0x10017376
mov eax, dword [ebp - 0x18]
cmp dword [eax + 0x1c], 0
jne 0x1001737d
xor eax, eax
jmp 0x10017555
mov ecx, dword [ebp - 0x18]
call fcn.10017c86
mov ecx, dword [ebp - 0x18]
mov dword [ecx + 0x20], 0
push 1
mov edx, dword [ebp - 0x18]
add edx, 4
push edx
mov ecx, dword [ebp - 0x18]
call fcn.1001798c
lea eax, [ebp - 0x14]
push eax
call dword [0x1000757c]
push 8
lea ecx, [ebp - 0x14]
push ecx
mov ecx, dword [ebp - 0x18]
call fcn.1001798c
mov ecx, dword [ebp - 0x18]
add ecx, 0x88
call fcn.10017f40
mov byte [ebp - 8], al
push 1
lea edx, [ebp - 8]
push edx
mov ecx, dword [ebp - 0x18]
call fcn.1001798c
mov eax, dword [ebp - 0x18]
xor ecx, ecx
mov cl, byte [eax + 4]
cmp ecx, 2
jne 0x10017456
mov edx, dword [ebp - 0x18]
mov eax, dword [edx + 0x68]
mov ecx, dword [eax + 8]
push ecx
mov edx, dword [ebp - 0x18]
mov eax, dword [edx + 0x68]
mov ecx, dword [eax + 4]
push ecx
mov edx, dword [ebp - 0x18]
mov eax, dword [edx + 0x44]
push eax
mov ecx, dword [ebp - 0x18]
mov edx, dword [ecx + 0x80]
push edx
mov ecx, dword [ebp - 0x18]
call fcn.10017cef
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax + 0x68]
mov edx, dword [ecx + 0x14]
push edx
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax + 0x1c]
mov edx, dword [ebp - 0x18]
add ecx, dword [edx + 0x20]
push ecx
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax + 0x60]
push ecx
mov edx, dword [ebp - 0x18]
mov eax, dword [edx + 0x78]
push eax
mov ecx, dword [ebp - 0x18]
call fcn.10017da5
mov ecx, dword [ebp - 0x18]
mov edx, dword [ecx + 0x20]
add edx, eax
mov eax, dword [ebp + 8]
mov dword [eax], edx
mov ecx, dword [ebp - 0x18]
mov eax, dword [ecx + 0x1c]
jmp 0x10017555
mov edx, dword [ebp - 0x10]
sub edx, 0x13
test edx, edx
jge 0x10017469
mov dword [ebp - 0x1c], 0
jmp 0x10017472
mov eax, dword [ebp - 0x10]
sub eax, 0x13
mov dword [ebp - 0x1c], eax
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 0xc], ecx
mov edx, dword [ebp - 0x10]
cmp edx, dword [0x1002fdb8]
je 0x100174a3
mov eax, dword [ebp - 0xc]
push eax
mov ecx, dword [ebp - 0x18]
call fcn.1001755b
and eax, 0xff
test eax, eax
je 0x100174a3
mov ecx, dword [ebp - 0xc]
add ecx, 0x13
mov dword [ebp - 0x20], ecx
jmp 0x100174ac
mov edx, dword [ebp - 0x18]
mov eax, dword [edx + 0x30]
mov dword [ebp - 0x20], eax
mov ecx, dword [ebp - 0x20]
mov dword [ebp - 4], ecx
jmp 0x100174bd
mov edx, dword [ebp - 4]
add edx, 0x13
mov dword [ebp - 4], edx
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 4]
cmp ecx, dword [eax + 0x2c]
jge 0x100174e8
mov edx, dword [ebp - 4]
push edx
mov ecx, dword [ebp - 0x18]
call fcn.1001755b
and eax, 0xff
test eax, eax
je 0x100174e6
mov eax, dword [ebp - 4]
add eax, 0x13
mov dword [ebp - 4], eax
jmp 0x100174b4
mov ecx, dword [ebp - 0x10]
mov dword [0x1002fdb8], ecx
mov edx, dword [ebp - 0x18]
mov eax, dword [edx + 0x30]
add eax, 3
cdq
mov ecx, 0x13
idiv ecx
mov eax, dword [ebp - 0x18]
mov dword [eax + 0x30], edx
mov ecx, dword [ebp + 8]
mov edx, dword [ebp - 0x18]
mov eax, dword [edx + 0x20]
mov dword [ecx], eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [ebp - 0x18]
sub eax, dword [ecx + 0x14]
mov edx, dword [ebp - 0x18]
cmp eax, dword [edx + 0x18]
jae 0x10017531
push 1
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x10017513
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push eax
mov eax, dword [ebp - 0x18]
add eax, 0x14
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
push 0x30
call fcn.10023a17
add esp, 4
mov ecx, dword [ebp - 0x18]
mov eax, dword [ecx + 0x1c]
mov esp, ebp
pop ebp
ret 4