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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x12c
mov dword [ebp - 0x78], 0
push 4
push 0x2d64ca8
call fcn.10003990
test eax, eax
jne 0x1000eb08
mov eax, dword [0x2d64ca8]
mov dword [ebp - 0x78], eax
mov ecx, dword [ebp - 0x78]
mov dword [ebp - 4], ecx
cmp dword [ebp - 4], 0
jbe 0x1000f4a5
mov edx, dword [ebp - 4]
add edx, 0x1c
mov dword [ebp - 0x7c], edx
mov dword [ebp - 0x80], 0
push 4
mov eax, dword [ebp - 0x7c]
push eax
call fcn.10003990
test eax, eax
jne 0x1000eb3f
mov ecx, dword [ebp - 0x7c]
mov edx, dword [ecx]
mov dword [ebp - 0x80], edx
mov eax, dword [ebp - 0x80]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jbe 0x1000f4a5
cmp dword [0x1006bdb0], 1
jne 0x1000eb6b
mov ecx, dword [ebp - 4]
mov dword [0x1006bd64], ecx
mov dword [0x1006bdb0], 2
mov edx, dword [0x1006bd64]
cmp edx, dword [ebp - 4]
je 0x1000eb89
cmp dword [0x1006bdb0], 2
jne 0x1000eb89
mov dword [0x1006bdb0], 0
call fcn.10005e00
mov eax, dword [ebp - 4]
mov dword [ebp - 0x24], eax
mov ecx, dword [ebp - 0x24]
add ecx, 0x640c
mov dword [ebp - 0x84], ecx
mov dword [ebp - 0x88], 0
push 4
mov edx, dword [ebp - 0x84]
push edx
call fcn.10003990
test eax, eax
jne 0x1000ebcd
mov eax, dword [ebp - 0x84]
mov ecx, dword [eax]
mov dword [ebp - 0x88], ecx
cmp dword [ebp - 0x88], 0
jbe 0x1000edf1
mov edx, dword [ebp - 0x24]
add edx, 0x6414
mov dword [ebp - 0x8c], edx
mov dword [ebp - 0x90], 0
push 1
mov eax, dword [ebp - 0x8c]
push eax
call fcn.10003990
test eax, eax
jne 0x1000ec41
lea ecx, [ebp - 0x90]
mov dword [ebp - 0xfc], ecx
mov dword [ebp - 0x18], 0
jmp 0x1000ec23
mov edx, dword [ebp - 0x18]
add edx, 1
mov dword [ebp - 0x18], edx
cmp dword [ebp - 0x18], 1
jge 0x1000ec41
mov eax, dword [ebp - 0xfc]
add eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x8c]
add ecx, dword [ebp - 0x18]
mov dl, byte [ecx]
mov byte [eax], dl
jmp 0x1000ec1a
cmp dword [ebp - 0x90], 0xff
jne 0x1000edf1
movzx eax, byte [ebp + 0xc]
cmp eax, 1
jne 0x1000edf1
mov ecx, dword [ebp - 0x24]
add ecx, 0x6410
mov dword [ebp - 0x94], ecx
mov dword [ebp - 0x98], 0
push 2
mov edx, dword [ebp - 0x94]
push edx
call fcn.10003990
test eax, eax
jne 0x1000ecc5
lea eax, [ebp - 0x98]
mov dword [ebp - 0x100], eax
mov dword [ebp - 0x1c], 0
jmp 0x1000eca7
mov ecx, dword [ebp - 0x1c]
add ecx, 1
mov dword [ebp - 0x1c], ecx
cmp dword [ebp - 0x1c], 2
jge 0x1000ecc5
mov edx, dword [ebp - 0x100]
add edx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x94]
add eax, dword [ebp - 0x1c]
mov cl, byte [eax]
mov byte [edx], cl
jmp 0x1000ec9e
cmp dword [ebp - 0x98], 7
jae 0x1000edf1
mov edx, dword [ebp - 0x24]
add edx, 0x6410
mov dword [ebp - 0x50], edx
push 2
mov eax, dword [ebp - 0x50]
push eax
call fcn.10003a80
test eax, eax
jne 0x1000ede3
mov dword [ebp - 0x9c], 0
push 2
mov ecx, dword [ebp - 0x50]
push ecx
call fcn.10003990
test eax, eax
jne 0x1000ed43
lea edx, [ebp - 0x9c]
mov dword [ebp - 0x104], edx
mov dword [ebp - 0x20], 0
jmp 0x1000ed28
mov eax, dword [ebp - 0x20]
add eax, 1
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 2
jge 0x1000ed43
mov ecx, dword [ebp - 0x104]
add ecx, dword [ebp - 0x20]
mov edx, dword [ebp - 0x50]
add edx, dword [ebp - 0x20]
mov al, byte [edx]
mov byte [ecx], al
jmp 0x1000ed1f
cmp dword [ebp - 0x9c], 3
je 0x1000ede3
mov dword [ebp - 0x10], 0
mov ecx, 3
and ecx, 0xff
mov edx, 1
imul eax, edx, 0
mov byte [ebp + eax - 0x54], cl
mov ecx, 3
shr ecx, 8
and ecx, 0xff
mov edx, 1
shl edx, 0
mov byte [ebp + edx - 0x54], cl
mov eax, 3
shr eax, 0x10
and eax, 0xff
mov ecx, 1
shl ecx, 1
mov byte [ebp + ecx - 0x54], al
mov edx, 3
shr edx, 0x18
and edx, 0xff
mov eax, 1
imul ecx, eax, 3
mov byte [ebp + ecx - 0x54], dl
mov dword [ebp - 0x10], 0
jmp 0x1000edcc
mov edx, dword [ebp - 0x10]
add edx, 1
mov dword [ebp - 0x10], edx
cmp dword [ebp - 0x10], 2
jge 0x1000ede3
mov eax, dword [ebp - 0x50]
add eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x10]
mov dl, byte [ebp + ecx - 0x54]
mov byte [eax], dl
jmp 0x1000edc3
push 5
push 0
push 0x39
call fcn.10006590
add esp, 0xc
mov eax, dword [ebp - 4]
add eax, 0x63f8
mov dword [ebp - 0xa0], eax
mov dword [ebp - 0xa4], 0
push 4
mov ecx, dword [ebp - 0xa0]
push ecx
call fcn.10003990
test eax, eax
jne 0x1000ee29
mov edx, dword [ebp - 0xa0]
mov eax, dword [edx]
mov dword [ebp - 0xa4], eax
mov ecx, dword [ebp - 0xa4]
mov dword [ebp - 4], ecx
cmp dword [ebp - 4], 0
jbe 0x1000f4a5
mov dword [ebp - 0x6c], 0
mov dword [ebp - 0x70], 0
mov dword [ebp - 0xc], 0
mov edx, dword [ebp + 8]
mov dword [ebp - 0x68], edx
cmp dword [ebp - 0x68], 2
je 0x1000ee6b
cmp dword [ebp - 0x68], 3
je 0x1000ee74
cmp dword [ebp - 0x68], 4
je 0x1000ee7d
jmp 0x1000ee84
mov dword [ebp - 0xc], 0xa
jmp 0x1000ee84
mov dword [ebp - 0xc], 0x14
jmp 0x1000ee84
mov dword [ebp - 0xc], 0x1e
mov eax, dword [ebp - 0x24]
add eax, 0x6498
mov dword [ebp - 0xa8], eax
mov dword [ebp - 0xac], 0
push 1
mov ecx, dword [ebp - 0xa8]
push ecx
call fcn.10003990
test eax, eax
jne 0x1000eeea
lea edx, [ebp - 0xac]
mov dword [ebp - 0x108], edx
mov dword [ebp - 0x28], 0
jmp 0x1000eecc
mov eax, dword [ebp - 0x28]
add eax, 1
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 1
jge 0x1000eeea
mov ecx, dword [ebp - 0x108]
add ecx, dword [ebp - 0x28]
mov edx, dword [ebp - 0xa8]
add edx, dword [ebp - 0x28]
mov al, byte [edx]
mov byte [ecx], al
jmp 0x1000eec3
cmp dword [ebp - 0xac], 1
jne 0x1000ef0c
mov ecx, 0x3b
sub ecx, dword [ebp - 0xc]
mov dword [ebp - 0x6c], ecx
mov edx, dword [ebp - 0xc]
add edx, 0xc4
mov dword [ebp - 0x70], edx
jmp 0x1000ef20
mov eax, 0x8e
sub eax, dword [ebp - 0xc]
mov dword [ebp - 0x6c], eax
mov ecx, dword [ebp - 0xc]
add ecx, 0x71
mov dword [ebp - 0x70], ecx
mov dword [ebp - 0x58], 0
jmp 0x1000ef32
mov edx, dword [ebp - 0x58]
add edx, 1
mov dword [ebp - 0x58], edx
cmp dword [ebp - 0x58], 0x18
jae 0x1000f4a5
mov eax, dword [ebp - 0x58]
mov ecx, dword [ebp - 4]
lea edx, [ecx + eax*4]
mov dword [ebp - 0xb0], edx
mov dword [ebp - 0xb4], 0
push 4
mov eax, dword [ebp - 0xb0]
push eax
call fcn.10003990
test eax, eax
jne 0x1000ef75
mov ecx, dword [ebp - 0xb0]
mov edx, dword [ecx]
mov dword [ebp - 0xb4], edx
mov eax, dword [ebp - 0xb4]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jbe case.0x1000f28e.1
mov ecx, dword [ebp - 8]
add ecx, 0x18
mov dword [ebp - 0xb8], ecx
mov dword [ebp - 0xbc], 0
push 1
mov edx, dword [ebp - 0xb8]
push edx
call fcn.10003990
test eax, eax
jne 0x1000efec
lea eax, [ebp - 0xbc]
mov dword [ebp - 0x10c], eax
mov dword [ebp - 0x2c], 0
jmp 0x1000efce
mov ecx, dword [ebp - 0x2c]
add ecx, 1
mov dword [ebp - 0x2c], ecx
cmp dword [ebp - 0x2c], 1
jge 0x1000efec
mov edx, dword [ebp - 0x10c]
add edx, dword [ebp - 0x2c]
mov eax, dword [ebp - 0xb8]
add eax, dword [ebp - 0x2c]
mov cl, byte [eax]
mov byte [edx], cl
jmp 0x1000efc5
cmp dword [ebp - 0xbc], 1
jne case.0x1000f28e.1
mov edx, dword [ebp - 8]
add edx, 0x20
mov dword [ebp - 0xc0], edx
mov dword [ebp - 0xc4], 0
push 1
mov eax, dword [ebp - 0xc0]
push eax
call fcn.10003990
test eax, eax
jne 0x1000f05d
lea ecx, [ebp - 0xc4]
mov dword [ebp - 0x110], ecx
mov dword [ebp - 0x30], 0
jmp 0x1000f03f
mov edx, dword [ebp - 0x30]
add edx, 1
mov dword [ebp - 0x30], edx
cmp dword [ebp - 0x30], 1
jge 0x1000f05d
mov eax, dword [ebp - 0x110]
add eax, dword [ebp - 0x30]
mov ecx, dword [ebp - 0xc0]
add ecx, dword [ebp - 0x30]
mov dl, byte [ecx]
mov byte [eax], dl
jmp 0x1000f036
cmp dword [ebp - 0xc4], 0xff
jne case.0x1000f28e.1
cmp dword [0x1006bdb0], 2
jne 0x1000f18d
mov eax, dword [ebp - 8]
add eax, 0x1c
mov dword [ebp - 0x5c], eax
push 1
mov ecx, dword [ebp - 0x5c]
push ecx
call fcn.10003a80
test eax, eax
jne 0x1000f188
mov dword [ebp - 0xc8], 0
push 1
mov edx, dword [ebp - 0x5c]
push edx
call fcn.10003990
test eax, eax
jne 0x1000f0e8
lea eax, [ebp - 0xc8]
mov dword [ebp - 0x114], eax
mov dword [ebp - 0x34], 0
jmp 0x1000f0cd
mov ecx, dword [ebp - 0x34]
add ecx, 1
mov dword [ebp - 0x34], ecx
cmp dword [ebp - 0x34], 1
jge 0x1000f0e8
mov edx, dword [ebp - 0x114]
add edx, dword [ebp - 0x34]
mov eax, dword [ebp - 0x5c]
add eax, dword [ebp - 0x34]
mov cl, byte [eax]
mov byte [edx], cl
jmp 0x1000f0c4
cmp dword [ebp - 0xc8], 1
je 0x1000f188
mov dword [ebp - 0x14], 0
mov edx, 1
and edx, 0xff
mov eax, 1
imul ecx, eax, 0
mov byte [ebp + ecx - 0x60], dl
mov edx, 1
shr edx, 8
and edx, 0xff
mov eax, 1
shl eax, 0
mov byte [ebp + eax - 0x60], dl
mov ecx, 1
shr ecx, 0x10
and ecx, 0xff
mov edx, 1
shl edx, 1
mov byte [ebp + edx - 0x60], cl
mov eax, 1
shr eax, 0x18
and eax, 0xff
mov ecx, 1
imul edx, ecx, 3
mov byte [ebp + edx - 0x60], al
mov dword [ebp - 0x14], 0
jmp 0x1000f171
mov eax, dword [ebp - 0x14]
add eax, 1
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 1
jge 0x1000f188
mov ecx, dword [ebp - 0x5c]
add ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x14]
mov al, byte [ebp + edx - 0x60]
mov byte [ecx], al
jmp 0x1000f168
jmp case.0x1000f28e.1
mov ecx, dword [ebp - 8]
add ecx, 0x1c
mov dword [ebp - 0xcc], ecx
mov dword [ebp - 0xd0], 0
push 1
mov edx, dword [ebp - 0xcc]
push edx
call fcn.10003990
test eax, eax
jne 0x1000f1f1
lea eax, [ebp - 0xd0]
mov dword [ebp - 0x118], eax
mov dword [ebp - 0x38], 0
jmp 0x1000f1d3
mov ecx, dword [ebp - 0x38]
add ecx, 1
mov dword [ebp - 0x38], ecx
cmp dword [ebp - 0x38], 1
jge 0x1000f1f1
mov edx, dword [ebp - 0x118]
add edx, dword [ebp - 0x38]
mov eax, dword [ebp - 0xcc]
add eax, dword [ebp - 0x38]
mov cl, byte [eax]
mov byte [edx], cl
jmp 0x1000f1ca
cmp dword [ebp - 0xd0], 1
je case.0x1000f28e.1
mov edx, dword [ebp - 8]
add edx, 8
mov dword [ebp - 0xd4], edx
mov dword [ebp - 0xd8], 0
push 1
mov eax, dword [ebp - 0xd4]
push eax
call fcn.10003990
test eax, eax
jne 0x1000f262
lea ecx, [ebp - 0xd8]
mov dword [ebp - 0x11c], ecx
mov dword [ebp - 0x3c], 0
jmp 0x1000f244
mov edx, dword [ebp - 0x3c]
add edx, 1
mov dword [ebp - 0x3c], edx
cmp dword [ebp - 0x3c], 1
jge 0x1000f262
mov eax, dword [ebp - 0x11c]
add eax, dword [ebp - 0x3c]
mov ecx, dword [ebp - 0xd4]
add ecx, dword [ebp - 0x3c]
mov dl, byte [ecx]
mov byte [eax], dl
jmp 0x1000f23b
mov eax, dword [ebp - 0xd8]
mov dword [ebp - 0x74], eax
mov ecx, dword [ebp - 0x74]
mov dword [ebp - 0x64], ecx
mov edx, dword [ebp - 0x64]
sub edx, 1
mov dword [ebp - 0x64], edx
cmp dword [ebp - 0x64], 8
ja case.0x1000f28e.1
mov eax, dword [ebp - 0x64]
movzx ecx, byte [eax + 0x1000f4c8]
jmp dword [ecx*4 + 0x1000f4bc]
mov edx, dword [ebp - 8]
add edx, 0x15
mov dword [ebp - 0xdc], edx
mov dword [ebp - 0xe0], 0
push 1
mov eax, dword [ebp - 0xdc]
push eax
call fcn.10003990
test eax, eax
jne 0x1000f2f9
lea ecx, [ebp - 0xe0]
mov dword [ebp - 0x120], ecx
mov dword [ebp - 0x40], 0
jmp 0x1000f2db
mov edx, dword [ebp - 0x40]
add edx, 1
mov dword [ebp - 0x40], edx
cmp dword [ebp - 0x40], 1
jge 0x1000f2f9
mov eax, dword [ebp - 0x120]
add eax, dword [ebp - 0x40]
mov ecx, dword [ebp - 0xdc]
add ecx, dword [ebp - 0x40]
mov dl, byte [ecx]
mov byte [eax], dl
jmp 0x1000f2d2
cmp dword [ebp - 0xe0], 1
jne 0x1000f398
mov eax, dword [ebp - 8]
add eax, 0x14
mov dword [ebp - 0xe4], eax
mov dword [ebp - 0xe8], 0
push 1
mov ecx, dword [ebp - 0xe4]
push ecx
call fcn.10003990
test eax, eax
jne 0x1000f36a
lea edx, [ebp - 0xe8]
mov dword [ebp - 0x124], edx
mov dword [ebp - 0x44], 0
jmp 0x1000f34c
mov eax, dword [ebp - 0x44]
add eax, 1
mov dword [ebp - 0x44], eax
cmp dword [ebp - 0x44], 1
jge 0x1000f36a
mov ecx, dword [ebp - 0x124]
add ecx, dword [ebp - 0x44]
mov edx, dword [ebp - 0xe4]
add edx, dword [ebp - 0x44]
mov al, byte [edx]
mov byte [ecx], al
jmp 0x1000f343
mov ecx, dword [ebp - 0xe8]
cmp ecx, dword [ebp - 0x6c]
jbe 0x1000f398
cmp dword [ebp + 8], 0xffffffff
jle 0x1000f386
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [0x1006bdcc], eax
push 5
push 0
push 0
mov edx, dword [ebp - 0x74]
push edx
call fcn.100067d0
add esp, 0x10
jmp case.0x1000f28e.1
mov eax, dword [ebp - 8]
add eax, 0x15
mov dword [ebp - 0xec], eax
mov dword [ebp - 0xf0], 0
push 1
mov ecx, dword [ebp - 0xec]
push ecx
call fcn.10003990
test eax, eax
jne 0x1000f401
lea edx, [ebp - 0xf0]
mov dword [ebp - 0x128], edx
mov dword [ebp - 0x48], 0
jmp 0x1000f3e3
mov eax, dword [ebp - 0x48]
add eax, 1
mov dword [ebp - 0x48], eax
cmp dword [ebp - 0x48], 1
jge 0x1000f401
mov ecx, dword [ebp - 0x128]
add ecx, dword [ebp - 0x48]
mov edx, dword [ebp - 0xec]
add edx, dword [ebp - 0x48]
mov al, byte [edx]
mov byte [ecx], al
jmp 0x1000f3da
cmp dword [ebp - 0xf0], 2
jne case.0x1000f28e.1
mov ecx, dword [ebp - 8]
add ecx, 0x14
mov dword [ebp - 0xf4], ecx
mov dword [ebp - 0xf8], 0
push 1
mov edx, dword [ebp - 0xf4]
push edx
call fcn.10003990
test eax, eax
jne 0x1000f472
lea eax, [ebp - 0xf8]
mov dword [ebp - 0x12c], eax
mov dword [ebp - 0x4c], 0
jmp 0x1000f454
mov ecx, dword [ebp - 0x4c]
add ecx, 1
mov dword [ebp - 0x4c], ecx
cmp dword [ebp - 0x4c], 1
jge 0x1000f472
mov edx, dword [ebp - 0x12c]
add edx, dword [ebp - 0x4c]
mov eax, dword [ebp - 0xf4]
add eax, dword [ebp - 0x4c]
mov cl, byte [eax]
mov byte [edx], cl
jmp 0x1000f44b
mov edx, dword [ebp - 0xf8]
cmp edx, dword [ebp - 0x70]
jae case.0x1000f28e.1
cmp dword [ebp + 8], 0xffffffff
jle 0x1000f48e
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [0x1006bdcc], eax
push 5
push 0
push 0
mov eax, dword [ebp - 0x74]
push eax
call fcn.100067d0
add esp, 0x10
jmp 0x1000ef29
cmp dword [0x1006bdb0], 1
jne 0x1000f4b8
mov dword [0x1006bdb0], 0
mov esp, ebp
pop ebp
ret