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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x94
mov dword [ebp - 0x2c], 0
push 4
push 0x2e0a868
call fcn.10003990
test eax, eax
jne 0x100185e8
mov eax, dword [0x2e0a868]
mov dword [ebp - 0x2c], eax
mov ecx, dword [ebp - 0x2c]
mov dword [ebp - 0x18], ecx
cmp dword [ebp - 0x18], 0
jbe 0x100189f1
mov dword [ebp - 0x30], 0
push 4
push 0x2e0a86c
call fcn.10003990
test eax, eax
jne 0x10018618
mov edx, dword [0x2e0a86c]
mov dword [ebp - 0x30], edx
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x6c], eax
mov ecx, dword [ebp - 0x6c]
sub ecx, dword [ebp - 0x18]
mov dword [ebp - 0x34], ecx
jns 0x1001862e
jmp 0x100189f1
mov eax, dword [ebp - 0x34]
cdq
mov ecx, 0x1c
idiv ecx
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0
jne 0x10018647
jmp 0x100189f1
mov dword [ebp - 0xc], 0
jmp 0x10018659
mov edx, dword [ebp - 0xc]
add edx, 1
mov dword [ebp - 0xc], edx
mov eax, dword [ebp - 0xc]
cmp eax, dword [ebp - 0x24]
jae 0x100189f1
imul ecx, dword [ebp - 0xc], 0x1c
add ecx, dword [ebp - 0x18]
mov dword [ebp - 0x20], ecx
mov edx, dword [ebp - 0x20]
add edx, 1
mov dword [ebp - 0x38], edx
mov dword [ebp - 0x3c], 0
push 1
mov eax, dword [ebp - 0x38]
push eax
call fcn.10003990
test eax, eax
jne 0x100186c4
lea ecx, [ebp - 0x3c]
mov dword [ebp - 0x84], ecx
mov dword [ebp - 8], 0
jmp 0x100186a9
mov edx, dword [ebp - 8]
add edx, 1
mov dword [ebp - 8], edx
cmp dword [ebp - 8], 1
jge 0x100186c4
mov eax, dword [ebp - 0x84]
add eax, dword [ebp - 8]
mov ecx, dword [ebp - 0x38]
add ecx, dword [ebp - 8]
mov dl, byte [ecx]
mov byte [eax], dl
jmp 0x100186a0
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
jl 0x100189ec
cmp dword [ebp - 0x1c], 3
jg 0x100189ec
movzx ecx, byte [ebp + 8]
test ecx, ecx
jne 0x100186f6
cmp dword [ebp - 0x1c], 1
jne 0x100186f6
jmp 0x100189ec
mov edx, dword [ebp - 0x20]
add edx, 4
mov dword [ebp - 0x40], edx
mov dword [ebp - 0x44], 0
push 4
mov eax, dword [ebp - 0x40]
push eax
call fcn.10003990
test eax, eax
jne 0x1001871d
mov ecx, dword [ebp - 0x40]
mov edx, dword [ecx]
mov dword [ebp - 0x44], edx
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x78], eax
mov ecx, dword [ebp - 0x20]
add ecx, 8
mov dword [ebp - 0x48], ecx
mov dword [ebp - 0x4c], 0
push 4
mov edx, dword [ebp - 0x48]
push edx
call fcn.10003990
test eax, eax
jne 0x1001874a
mov eax, dword [ebp - 0x48]
mov ecx, dword [eax]
mov dword [ebp - 0x4c], ecx
mov edx, dword [ebp - 0x4c]
mov dword [ebp - 0x74], edx
mov byte [ebp - 1], 0
movzx eax, byte [ebp + 8]
test eax, eax
jne 0x1001887a
mov ecx, dword [ebp - 0xc]
add ecx, 1
mov dword [ebp - 0x14], ecx
jmp 0x10018774
mov edx, dword [ebp - 0x14]
add edx, 1
mov dword [ebp - 0x14], edx
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0x24]
jae 0x1001887a
imul ecx, dword [ebp - 0x14], 0x1c
add ecx, dword [ebp - 0x18]
mov dword [ebp - 0x28], ecx
mov edx, dword [ebp - 0x28]
add edx, 1
mov dword [ebp - 0x50], edx
mov dword [ebp - 0x54], 0
push 1
mov eax, dword [ebp - 0x50]
push eax
call fcn.10003990
test eax, eax
jne 0x100187df
lea ecx, [ebp - 0x54]
mov dword [ebp - 0x88], ecx
mov dword [ebp - 0x10], 0
jmp 0x100187c4
mov edx, dword [ebp - 0x10]
add edx, 1
mov dword [ebp - 0x10], edx
cmp dword [ebp - 0x10], 1
jge 0x100187df
mov eax, dword [ebp - 0x88]
add eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x50]
add ecx, dword [ebp - 0x10]
mov dl, byte [ecx]
mov byte [eax], dl
jmp 0x100187bb
cmp dword [ebp - 0x54], 1
jne 0x10018875
mov eax, dword [ebp - 0x28]
add eax, 4
mov dword [ebp - 0x58], eax
mov dword [ebp - 0x5c], 0
push 4
mov ecx, dword [ebp - 0x58]
push ecx
call fcn.10003990
test eax, eax
jne 0x10018810
mov edx, dword [ebp - 0x58]
mov eax, dword [edx]
mov dword [ebp - 0x5c], eax
mov ecx, dword [ebp - 0x5c]
mov dword [ebp - 0x8c], ecx
mov edx, dword [ebp - 0x28]
add edx, 8
mov dword [ebp - 0x60], edx
mov dword [ebp - 0x64], 0
push 4
mov eax, dword [ebp - 0x60]
push eax
call fcn.10003990
test eax, eax
jne 0x10018840
mov ecx, dword [ebp - 0x60]
mov edx, dword [ecx]
mov dword [ebp - 0x64], edx
mov eax, dword [ebp - 0x64]
mov dword [ebp - 0x90], eax
mov eax, dword [ebp - 0x78]
sub eax, dword [ebp - 0x8c]
cdq
xor eax, edx
sub eax, edx
cmp eax, 0x26
jge 0x10018875
mov eax, dword [ebp - 0x74]
sub eax, dword [ebp - 0x90]
cdq
xor eax, edx
sub eax, edx
cmp eax, 0x26
jge 0x10018875
mov byte [ebp - 1], 1
jmp 0x1001887a
jmp 0x1001876b
movzx ecx, byte [ebp - 1]
test ecx, ecx
jne 0x100189ec
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0x94], eax
mov edx, 1
test edx, edx
je 0x100189ea
call fcn.100183a0
push 0
call fcn.100184e0
add esp, 4
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [ebp - 0x94]
cmp eax, 0x14
jbe 0x100188c4
jmp 0x100189f1
mov dword [ebp - 0x68], 0
push 4
push 0x2e0a86c
call fcn.10003990
test eax, eax
jne 0x100188e3
mov eax, dword [0x2e0a86c]
mov dword [ebp - 0x68], eax
mov ecx, dword [ebp - 0x68]
cmp ecx, dword [ebp - 0x6c]
je 0x100188f0
jmp 0x100189f1
push 4
push 0x2e0a82c
call fcn.10003a80
test eax, eax
jne 0x10018930
mov dword [ebp - 0x70], 0
push 4
push 0x2e0a82c
call fcn.10003990
test eax, eax
jne 0x10018920
mov edx, dword [0x2e0a82c]
mov dword [ebp - 0x70], edx
cmp dword [ebp - 0x70], 0
je 0x10018930
mov dword [0x2e0a82c], 0
mov eax, dword [ebp - 0x74]
add eax, 0x22
push eax
mov ecx, dword [ebp - 0x78]
add ecx, 0x1a
push ecx
call fcn.10005ab0
add esp, 8
push 2
call dword [sym.imp.KERNEL32.dll_Sleep]
call fcn.10010780
push 4
push 0x2d0a0e4
call fcn.10003a80
test eax, eax
jne 0x10018996
mov dword [ebp - 0x7c], 0
push 4
push 0x2d0a0e4
call fcn.10003990
test eax, eax
jne 0x10018983
mov edx, dword [0x2d0a0e4]
mov dword [ebp - 0x7c], edx
cmp dword [ebp - 0x7c], 0x80
je 0x10018996
mov dword [0x2d0a0e4], 0x80
push 2
call dword [sym.imp.KERNEL32.dll_Sleep]
push 4
push 0x2d0a0e4
call fcn.10003a80
test eax, eax
jne 0x100189dd
mov dword [ebp - 0x80], 0
push 4
push 0x2d0a0e4
call fcn.10003990
test eax, eax
jne 0x100189cd
mov eax, dword [0x2d0a0e4]
mov dword [ebp - 0x80], eax
cmp dword [ebp - 0x80], 0
je 0x100189dd
mov dword [0x2d0a0e4], 0
push 1
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x10018892
jmp 0x100189f1
jmp 0x10018650
mov esp, ebp
pop ebp
ret