Function at 0x1002e84c
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10067712
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x74
push esi
mov dword [ebp - 0x24], 0x1bde
cmp dword [ebp - 0x24], 0x5de
jge 0x1002ea1e
mov dword [ebp - 0x20], 0xd
lea ecx, [ebp - 0x68]
call fcn.10015ed2
and dword [ebp - 4], 0
push 0x10007751
lea ecx, [ebp - 0x80]
call fcn.10015ee3
mov byte [ebp - 4], 1
lea edx, [ebp - 0x68]
mov ecx, 0x10657dd0
call fcn.1001b06e
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
mov eax, dword [eax]
mov ecx, dword [ebp - 0x18]
add ecx, dword [eax + 4]
call fcn.1001c6ca
movzx eax, al
test eax, eax
je 0x1002ea06
lea ecx, [ebp - 0x80]
call fcn.10038826
and dword [ebp - 0x10], 0
jmp 0x1002e8e0
mov eax, dword [ebp - 0x10]
inc eax
mov dword [ebp - 0x10], eax
lea ecx, [ebp - 0x68]
call fcn.10015f53
dec eax
cmp dword [ebp - 0x10], eax
ja 0x1002e9e8
push dword [ebp - 0x10]
lea ecx, [ebp - 0x68]
call fcn.10015f3f
movsx eax, byte [eax]
push eax
call fcn.10050302
pop ecx
test eax, eax
jne 0x1002e929
push dword [ebp - 0x10]
lea ecx, [ebp - 0x68]
call fcn.10015f3f
mov al, byte [eax]
movzx eax, al
push eax
lea ecx, [ebp - 0x80]
call fcn.10018699
jmp 0x1002e9e3
push 0
push dword [ebp - 0x10]
lea ecx, [ebp - 0x68]
call fcn.10015f3f
movsx eax, byte [eax]
push eax
call fcn.1004ff80
pop ecx
push eax
mov ecx, 0x16e30478
call fcn.10038836
mov dword [ebp - 0x1c], eax
push dword [ebp - 0x10]
lea ecx, [ebp - 0x68]
call fcn.10015f3f
movsx esi, byte [eax]
push dword [ebp - 0x10]
lea ecx, [ebp - 0x68]
call fcn.10015f3f
movsx eax, byte [eax]
push eax
call fcn.1004ff80
pop ecx
cmp esi, eax
jne 0x1002e9ad
mov esi, dword [ebp - 0x1c]
add esi, dword [ebp - 0x20]
mov ecx, 0x16e30478
call fcn.10015f53
mov ecx, eax
mov eax, esi
xor edx, edx
div ecx
push edx
mov ecx, 0x16e30478
call fcn.10015f3f
movsx eax, byte [eax]
push eax
call fcn.1004ff80
pop ecx
push eax
lea ecx, [ebp - 0x80]
call fcn.10018699
jmp 0x1002e9e3
mov esi, dword [ebp - 0x1c]
add esi, dword [ebp - 0x20]
mov ecx, 0x16e30478
call fcn.10015f53
mov ecx, eax
mov eax, esi
xor edx, edx
div ecx
push edx
mov ecx, 0x16e30478
call fcn.10015f3f
movsx eax, byte [eax]
push eax
call fcn.1005065e
pop ecx
push eax
lea ecx, [ebp - 0x80]
call fcn.10018699
jmp 0x1002e8d9
push fcn.1001aff1
lea edx, [ebp - 0x80]
mov ecx, 0x10657d18
call fcn.10038e14
mov ecx, eax
call fcn.1001617d
jmp 0x1002e8a0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x80]
call fcn.10015f35
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x68]
call fcn.10015f35
movzx eax, byte [ebp + 0xc]
test eax, eax
je 0x1002eac9
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x3c], eax
lea eax, [ebp + 0x18]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x28]
movzx eax, byte [eax]
test eax, eax
je 0x1002ea7c
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x34]
movzx eax, byte [eax]
test eax, eax
je 0x1002ea7a
push 0
push 0x7d5
push 0
push 0
push 0x55c
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
jmp 0x1002eac7
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0x14]
mov dword [eax], 0
jmp 0x1002eaaa
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 0x14]
mov dword [ecx], eax
mov eax, dword [ebp - 0x14]
cmp dword [eax], 2
jge 0x1002eac7
mov eax, dword [ebp - 0x14]
push dword [eax]
mov ecx, dword [ebp - 0x48]
call fcn.100166d5
mov dword [eax], 7
jmp 0x1002ea9f
jmp 0x1002eaea
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0x50], eax
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x4c], eax
push 0
push dword [ebp - 0x4c]
push dword [ebp - 0x50]
push 0x5e08
call fcn.1002e827
add esp, 0x10
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop esi
mov esp, ebp
pop ebp
ret