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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x7c
call fcn.10006880
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0xcb
je 0x10017d26
cmp dword [ebp - 0x2c], 0x12c
je 0x10017e20
cmp dword [ebp - 0x2c], 0x190
je 0x10018351
jmp 0x10018390
call fcn.10006b40
cmp eax, 0x514d5245
jne 0x10017d3c
push 0
call fcn.1000cc40
add esp, 4
mov dword [ebp - 0x30], 0
push 4
push 0x2d56344
call fcn.10003990
test eax, eax
jne 0x10017d5b
mov eax, dword [0x2d56344]
mov dword [ebp - 0x30], eax
mov ecx, dword [ebp - 0x30]
mov dword [ebp - 0x34], ecx
cmp dword [ebp - 0x34], 4
je 0x10017d82
cmp dword [ebp - 0x34], 8
je 0x10017d6f
jmp 0x10017dc2
call fcn.10006b40
cmp eax, 0x515f4f4b
jne 0x10017d80
call fcn.100110f0
jmp 0x10017dc2
push 4
push 0x2d56344
call fcn.10003a80
test eax, eax
jne 0x10017dc2
mov dword [ebp - 0x38], 0
push 4
push 0x2d56344
call fcn.10003990
test eax, eax
jne 0x10017db2
mov edx, dword [0x2d56344]
mov dword [ebp - 0x38], edx
cmp dword [ebp - 0x38], 0
je 0x10017dc2
mov dword [0x2d56344], 0
call fcn.10017b90
movzx eax, al
test eax, eax
je 0x10017e1b
push 0x515f4f4b
call fcn.1000cc40
add esp, 4
push 4
push 0x2d56344
call fcn.10003a80
test eax, eax
jne 0x10017e1b
mov dword [ebp - 0x3c], 0
push 4
push 0x2d56344
call fcn.10003990
test eax, eax
jne 0x10017e0b
mov ecx, dword [0x2d56344]
mov dword [ebp - 0x3c], ecx
cmp dword [ebp - 0x3c], 8
je 0x10017e1b
mov dword [0x2d56344], 8
jmp 0x10018390
mov dword [ebp - 0x40], 0
push 4
push 0x2dc049c
call fcn.10003990
test eax, eax
jne 0x10017e40
mov edx, dword [0x2dc049c]
mov dword [ebp - 0x40], edx
cmp dword [ebp - 0x40], 0x64
jbe 0x1001834f
mov dword [ebp - 0x44], 0
push 4
push 0x2dc1fe6
call fcn.10003990
test eax, eax
jne 0x10017e69
mov eax, dword [0x2dc1fe6]
mov dword [ebp - 0x44], eax
cmp dword [ebp - 0x44], 0xad6
je 0x10018187
push 1
push 0x2dc0498
call fcn.10003a80
test eax, eax
jne 0x10017f63
mov dword [ebp - 0x48], 0
push 1
push 0x2dc0498
call fcn.10003990
test eax, eax
jne 0x10017ed2
lea ecx, [ebp - 0x48]
mov dword [ebp - 0x6c], ecx
mov dword [ebp - 0x10], 0
jmp 0x10017eb9
mov edx, dword [ebp - 0x10]
add edx, 1
mov dword [ebp - 0x10], edx
cmp dword [ebp - 0x10], 1
jge 0x10017ed2
mov eax, dword [ebp - 0x6c]
add eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x10]
mov dl, byte [ecx + 0x2dc0498]
mov byte [eax], dl
jmp 0x10017eb0
cmp dword [ebp - 0x48], 0
je 0x10017f63
mov dword [ebp - 4], 0
xor eax, eax
and eax, 0xff
mov ecx, 1
imul edx, ecx, 0
mov byte [ebp + edx - 0x20], al
xor eax, eax
shr eax, 8
and eax, 0xff
mov ecx, 1
shl ecx, 0
mov byte [ebp + ecx - 0x20], al
xor edx, edx
shr edx, 0x10
and edx, 0xff
mov eax, 1
shl eax, 1
mov byte [ebp + eax - 0x20], dl
xor ecx, ecx
shr ecx, 0x18
and ecx, 0xff
mov edx, 1
imul eax, edx, 3
mov byte [ebp + eax - 0x20], cl
mov dword [ebp - 4], 0
jmp 0x10017f4b
mov ecx, dword [ebp - 4]
add ecx, 1
mov dword [ebp - 4], ecx
cmp dword [ebp - 4], 1
jge 0x10017f63
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 4]
mov cl, byte [ebp + eax - 0x20]
mov byte [edx + 0x2dc0498], cl
jmp 0x10017f42
push 4
push 0x2dc2d20
call fcn.10003a80
test eax, eax
jne 0x10017fa3
mov dword [ebp - 0x4c], 0
push 4
push 0x2dc2d20
call fcn.10003990
test eax, eax
jne 0x10017f93
mov edx, dword [0x2dc2d20]
mov dword [ebp - 0x4c], edx
cmp dword [ebp - 0x4c], 0
je 0x10017fa3
mov dword [0x2dc2d20], 0
push 1
call fcn.100177f0
add esp, 4
push 0x5d7
call fcn.10017b10
add esp, 4
push 0x14
push 0x297
push 0x172
call fcn.10005980
add esp, 0xc
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0x70], eax
mov eax, 1
test eax, eax
je 0x1001804c
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [ebp - 0x70]
cmp eax, 0x12c
jbe 0x10017ff2
jmp 0x1001804c
call fcn.10006880
cmp eax, 0x190
jne 0x10018003
jmp 0x10018390
push 0x14
push 0x297
push 0x172
call fcn.10005850
add esp, 0xc
mov dword [ebp - 0x50], 0
push 4
push 0x2dc1fe6
call fcn.10003990
test eax, eax
jne 0x10018037
mov ecx, dword [0x2dc1fe6]
mov dword [ebp - 0x50], ecx
cmp dword [ebp - 0x50], 0xad6
jne 0x10018042
jmp 0x1001804c
push 1
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x10017fd7
mov dword [ebp - 0x54], 0
push 4
push 0x2dc1fe6
call fcn.10003990
test eax, eax
jne 0x1001806c
mov edx, dword [0x2dc1fe6]
mov dword [ebp - 0x54], edx
cmp dword [ebp - 0x54], 0xad6
je 0x10018088
push 5
push 0x14
push 1
call fcn.10006590
add esp, 0xc
jmp 0x10018182
push 1
push 0x2dc0498
call fcn.10003a80
test eax, eax
jne 0x10018182
mov dword [ebp - 0x58], 0
push 1
push 0x2dc0498
call fcn.10003990
test eax, eax
jne 0x100180e4
lea eax, [ebp - 0x58]
mov dword [ebp - 0x74], eax
mov dword [ebp - 0x14], 0
jmp 0x100180cb
mov ecx, dword [ebp - 0x14]
add ecx, 1
mov dword [ebp - 0x14], ecx
cmp dword [ebp - 0x14], 1
jge 0x100180e4
mov edx, dword [ebp - 0x74]
add edx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x14]
mov cl, byte [eax + 0x2dc0498]
mov byte [edx], cl
jmp 0x100180c2
cmp dword [ebp - 0x58], 1
je 0x10018182
mov dword [ebp - 8], 0
mov edx, 1
and edx, 0xff
mov eax, 1
imul ecx, eax, 0
mov byte [ebp + ecx - 0x24], dl
mov edx, 1
shr edx, 8
and edx, 0xff
mov eax, 1
shl eax, 0
mov byte [ebp + eax - 0x24], dl
mov ecx, 1
shr ecx, 0x10
and ecx, 0xff
mov edx, 1
shl edx, 1
mov byte [ebp + edx - 0x24], cl
mov eax, 1
shr eax, 0x18
and eax, 0xff
mov ecx, 1
imul edx, ecx, 3
mov byte [ebp + edx - 0x24], al
mov dword [ebp - 8], 0
jmp 0x1001816a
mov eax, dword [ebp - 8]
add eax, 1
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 1
jge 0x10018182
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 8]
mov al, byte [ebp + edx - 0x24]
mov byte [ecx + 0x2dc0498], al
jmp 0x10018161
jmp 0x1001834f
mov dword [ebp - 0x5c], 0
push 1
push 0x2dc2d3c
call fcn.10003990
test eax, eax
jne 0x100181cf
lea ecx, [ebp - 0x5c]
mov dword [ebp - 0x78], ecx
mov dword [ebp - 0x18], 0
jmp 0x100181b6
mov edx, dword [ebp - 0x18]
add edx, 1
mov dword [ebp - 0x18], edx
cmp dword [ebp - 0x18], 1
jge 0x100181cf
mov eax, dword [ebp - 0x78]
add eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x18]
mov dl, byte [ecx + 0x2dc2d3c]
mov byte [eax], dl
jmp 0x100181ad
cmp dword [ebp - 0x5c], 0
je 0x100181f8
push 1
call fcn.100177f0
add esp, 4
push 0
push 0xde
push 0x1f4
call fcn.10005720
add esp, 0xc
jmp 0x1001834f
push 1
push 0x2dc0498
call fcn.10003a80
test eax, eax
jne 0x100182f2
mov dword [ebp - 0x60], 0
push 1
push 0x2dc0498
call fcn.10003990
test eax, eax
jne 0x10018254
lea eax, [ebp - 0x60]
mov dword [ebp - 0x7c], eax
mov dword [ebp - 0x1c], 0
jmp 0x1001823b
mov ecx, dword [ebp - 0x1c]
add ecx, 1
mov dword [ebp - 0x1c], ecx
cmp dword [ebp - 0x1c], 1
jge 0x10018254
mov edx, dword [ebp - 0x7c]
add edx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x1c]
mov cl, byte [eax + 0x2dc0498]
mov byte [edx], cl
jmp 0x10018232
cmp dword [ebp - 0x60], 1
je 0x100182f2
mov dword [ebp - 0xc], 0
mov edx, 1
and edx, 0xff
mov eax, 1
imul ecx, eax, 0
mov byte [ebp + ecx - 0x28], dl
mov edx, 1
shr edx, 8
and edx, 0xff
mov eax, 1
shl eax, 0
mov byte [ebp + eax - 0x28], dl
mov ecx, 1
shr ecx, 0x10
and ecx, 0xff
mov edx, 1
shl edx, 1
mov byte [ebp + edx - 0x28], cl
mov eax, 1
shr eax, 0x18
and eax, 0xff
mov ecx, 1
imul edx, ecx, 3
mov byte [ebp + edx - 0x28], al
mov dword [ebp - 0xc], 0
jmp 0x100182da
mov eax, dword [ebp - 0xc]
add eax, 1
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 1
jge 0x100182f2
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 0xc]
mov al, byte [ebp + edx - 0x28]
mov byte [ecx + 0x2dc0498], al
jmp 0x100182d1
push 0
call fcn.100177f0
add esp, 4
push 4
push 0x2dd04e4
call fcn.10003a80
test eax, eax
jne 0x1001833c
mov dword [ebp - 0x64], 0
push 4
push 0x2dd04e4
call fcn.10003990
test eax, eax
jne 0x1001832c
mov ecx, dword [0x2dd04e4]
mov dword [ebp - 0x64], ecx
cmp dword [ebp - 0x64], 0
je 0x1001833c
mov dword [0x2dd04e4], 0
push 5
push 0x14
push 0x3b
call fcn.10006590
add esp, 0xc
call fcn.100110d0
jmp 0x10018390
mov dword [ebp - 0x68], 0
push 4
push 0x2dc1fe6
call fcn.10003990
test eax, eax
jne 0x10018371
mov edx, dword [0x2dc1fe6]
mov dword [ebp - 0x68], edx
cmp dword [ebp - 0x68], 0xad6
je 0x1001837f
call fcn.10006810
call fcn.100069e0
movzx eax, al
test eax, eax
je 0x10018390
call fcn.10006810
mov esp, ebp
pop ebp
ret