Function at 0x1001df5c
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x6c
movzx eax, byte [ebp + 0x18]
test eax, eax
je 0x1001e0ac
mov eax, dword [ebp + 8]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x30], 0x1ffb
cmp dword [ebp - 0x30], 0xc54
jge 0x1001e06a
push 0x1066ee6c
push 0x100077f4
call fcn.100513ab
pop ecx
pop ecx
and dword [ebp - 0x18], 0
jmp 0x1001dfac
mov eax, dword [ebp - 0x18]
inc eax
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
cmp eax, dword [0x1066ee6c]
jge 0x1001dfd0
mov eax, dword [ebp - 0x18]
lea eax, [eax*4 + 0x1069feb0]
push eax
push 0x100077f4
call fcn.100513ab
pop ecx
pop ecx
jmp 0x1001dfa5
mov dword [ebp - 0x2c], 0x3b9aca01
and dword [ebp - 8], 0
jmp 0x1001dfe4
mov eax, dword [ebp - 8]
inc eax
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
cmp eax, dword [0x1066ee6c]
jge 0x1001e053
mov eax, dword [ebp - 8]
inc eax
cdq
idiv dword [0x1066ee6c]
mov eax, dword [ebp - 8]
mov eax, dword [eax*4 + 0x1069feb0]
sub eax, dword [edx*4 + 0x1069feb0]
push eax
call fcn.100521a1
pop ecx
cmp eax, dword [ebp - 0x2c]
jge 0x1001e051
mov eax, dword [ebp - 8]
inc eax
cdq
idiv dword [0x1066ee6c]
mov eax, dword [ebp - 8]
mov eax, dword [eax*4 + 0x1069feb0]
sub eax, dword [edx*4 + 0x1069feb0]
push eax
call fcn.100521a1
pop ecx
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 8]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 8]
inc eax
cdq
idiv dword [0x1066ee6c]
mov dword [ebp - 0x34], edx
jmp 0x1001dfdd
mov eax, dword [ebp - 0x34]
inc eax
push eax
mov eax, dword [ebp - 0x38]
inc eax
push eax
push 0x10007930
call fcn.100515a0
add esp, 0xc
push 0x655
push 1
push 0x4a36
push 0x38d9
push 0x60a
push 0x98a
push dword [ebp - 0x3c]
push dword [ebp - 0x40]
push 0x4c56
push 0x1aeb
push 0x6e4d
push 0x89b
call fcn.1001e25f
add esp, 0x30
jmp 0x1001e25b
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x48], eax
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x4c], eax
lea eax, [ebp + 0x10]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x44]
movzx eax, byte [eax]
test eax, eax
je 0x1001e0e5
push 0
push 0xc99
push 0
push 0
push 0x1f5e
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
jmp 0x1001e25b
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0x60], eax
mov dword [ebp - 0x50], 0x1e0f
cmp dword [ebp - 0x50], 0x4e8
jge 0x1001e21f
lea eax, [ebp - 0x58]
push eax
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x54]
push eax
push 0x10007938
call fcn.100513ab
add esp, 0x10
mov byte [ebp - 1], 1
lea eax, [ebp - 1]
push eax
mov edx, 0x106a00f5
mov ecx, 0x106a0048
call fcn.100331a3
pop ecx
xor eax, eax
inc eax
shl eax, 0
mov byte [eax + 0x106a0048], 0
mov ecx, dword [ebp - 0x24]
call fcn.1003317c
movsd qword [ebp - 0x6c], xmm0
mov dword [ebp - 0xc], 2
jmp 0x1001e160
mov eax, dword [ebp - 0xc]
inc eax
mov dword [ebp - 0xc], eax
cvtsi2sd xmm0, dword [ebp - 0xc]
movsd xmm1, qword [ebp - 0x6c]
comisd xmm1, xmm0
jb 0x1001e1b2
cmp dword [ebp - 0xc], 0xad
jg 0x1001e1b2
mov eax, dword [ebp - 0xc]
movzx eax, byte [eax + 0x106a0048]
test eax, eax
je 0x1001e1b0
mov eax, dword [ebp - 0xc]
imul eax, dword [ebp - 0xc]
mov dword [ebp - 0x1c], eax
jmp 0x1001e19c
mov eax, dword [ebp - 0x1c]
add eax, dword [ebp - 0xc]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
cmp eax, dword [ebp - 0x24]
jg 0x1001e1b0
mov eax, dword [ebp - 0x1c]
mov byte [eax + 0x106a0048], 0
jmp 0x1001e193
jmp 0x1001e159
and dword [ebp - 0x28], 0
mov eax, dword [ebp - 0x54]
mov dword [ebp - 0x10], eax
jmp 0x1001e1c5
mov eax, dword [ebp - 0x10]
inc eax
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
cmp eax, dword [ebp - 0x24]
jg 0x1001e210
mov eax, dword [ebp - 0x10]
movzx eax, byte [eax + 0x106a0048]
test eax, eax
je 0x1001e20e
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x20], eax
jmp 0x1001e1ef
mov eax, dword [ebp - 0x20]
cdq
push 0xa
pop ecx
idiv ecx
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
je 0x1001e20e
mov eax, dword [ebp - 0x20]
cdq
push 0xa
pop ecx
idiv ecx
cmp edx, dword [ebp - 0x58]
jne 0x1001e20c
mov eax, dword [ebp - 0x28]
inc eax
mov dword [ebp - 0x28], eax
jmp 0x1001e20e
jmp 0x1001e1e3
jmp 0x1001e1be
push dword [ebp - 0x28]
push 0x1000782c
call fcn.100515a0
pop ecx
pop ecx
mov eax, dword [ebp - 0x5c]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x60]
mov dword [ebp - 0x64], eax
mov eax, dword [ebp - 0x14]
mov dword [eax], 0
jmp 0x1001e241
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], 3
jge 0x1001e25b
mov eax, dword [ebp - 0x14]
push dword [eax]
mov ecx, dword [ebp - 0x64]
call fcn.1000e49e
and dword [eax], 0
jmp 0x1001e236
mov esp, ebp
pop ebp
ret