Function at 0x1001fe30
Capabilities:
Create thread

Disassembly:
push 0xffffffffffffffff
push 0x10161ae9
mov eax, dword fs:[0]
push eax
sub esp, 0x50
mov eax, dword [0x101b7324]
xor eax, esp
mov dword [esp + 0x4c], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x101b7324]
xor eax, esp
push eax
lea eax, [esp + 0x64]
mov dword fs:[0], eax
mov edi, dword [esp + 0x74]
mov ebp, dword [esp + 0x7c]
xor esi, esi
mov dword [esp + 0x20], esi
mov ebx, 0xf
mov dword [esp + 0x28], edi
mov dword [esp + 0x5c], ebx
mov dword [esp + 0x58], esi
mov byte [esp + 0x48], 0
mov dword [esp + 0x6c], 1
cmp dword [esp + 0x88], esi
jg 0x1001fee3
push 0xffffffffffffffff
push esi
lea eax, [esp + 0x4c]
mov dword [edi + 0x18], ebx
mov dword [edi + 0x14], esi
push eax
mov ecx, edi
mov byte [edi + 4], 0
call fcn.10009790
mov dword [esp + 0x20], 1
mov byte [esp + 0x6c], 0
cmp dword [esp + 0x5c], 0x10
jb 0x1001fed1
mov ecx, dword [esp + 0x48]
push ecx
call fcn.100ee438
add esp, 4
mov dword [esp + 0x5c], ebx
mov dword [esp + 0x58], esi
mov byte [esp + 0x48], 0
jmp 0x100202a8
lea ecx, [esp + 0x30]
call fcn.100f17a1
mov byte [esp + 0x6c], 2
push esi
lea edx, [esp + 0x34]
push edx
push 0x1016b5b4
push ebp
call fcn.1004a8a0
mov ebp, eax
add esp, 0x10
cmp ebp, esi
mov dword [esp + 0x1c], ebp
je 0x1001ff2a
lea edx, [ebp*4]
push edx
call fcn.100ff4c8
mov ebx, eax
add esp, 4
cmp ebx, esi
jne 0x1001ff88
mov ebx, 0xf
push 0xffffffffffffffff
push esi
lea eax, [esp + 0x4c]
mov dword [edi + 0x18], ebx
mov dword [edi + 0x14], esi
push eax
mov ecx, edi
mov byte [edi + 4], 0
call fcn.10009790
mov dword [esp + 0x20], 1
mov byte [esp + 0x6c], 1
lea ecx, [esp + 0x30]
call fcn.100f1ae9
mov byte [esp + 0x6c], 0
cmp dword [esp + 0x5c], 0x10
jb 0x1001fed1
mov ecx, dword [esp + 0x48]
push ecx
call fcn.100ee438
add esp, 4
mov dword [esp + 0x5c], ebx
mov dword [esp + 0x58], esi
mov byte [esp + 0x48], 0
jmp 0x100202a8
mov edx, ebp
imul edx, edx, 0x510
push edx
call fcn.100ff4c8
add esp, 4
cmp eax, esi
mov dword [esp + 0x24], eax
jne 0x1001ffdf
push ebx
call fcn.100ff58b
add esp, 4
lea eax, [esp + 0x44]
push eax
mov ecx, edi
call fcn.10009a70
mov dword [esp + 0x20], 1
mov byte [esp + 0x6c], 1
lea ecx, [esp + 0x30]
call fcn.100f1ae9
mov byte [esp + 0x6c], 0
lea ecx, [esp + 0x44]
call fcn.10006120
jmp 0x100202a8
test ebp, ebp
jle 0x10020011
mov dword [esp + 0x14], eax
mov ecx, dword [esp + 0x14]
push 0x510
push 0
push ecx
mov dword [ebx + esi*4], 0
call fcn.101004d0
add dword [esp + 0x20], 0x510
add esi, 1
add esp, 0xc
cmp esi, ebp
jl 0x1001ffe7
xor eax, eax
cmp ebp, eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], eax
jle 0x1002018e
mov esi, dword [esp + 0x24]
add esi, 0x100
jmp 0x10020034
mov eax, dword [esp + 0x18]
test eax, eax
jl 0x1002015b
cmp eax, dword [esp + 0x38]
jge 0x1002015b
mov edx, dword [esp + 0x34]
mov ecx, dword [edx + eax*4]
lea ebp, [esi - 0x100]
mov edx, ebp
mov al, byte [ecx]
mov byte [edx], al
add ecx, 1
add edx, 1
test al, al
jne 0x10020055
mov eax, dword [esp + 0x84]
mov ecx, dword [esp + 0x80]
mov edx, dword [esp + 0x88]
mov dword [esi + 4], eax
mov dword [esi], ecx
mov dword [esi + 8], edx
call fcn.1002d8d0
push 0
push 0
push ebp
push 0x1001f460
push 0
push 0
mov edi, eax
call fcn.10101c4f
mov ebp, dword [esp + 0x2c]
push edi
mov dword [ebx + ebp*4], eax
call fcn.1002d970
add esp, 0x1c
cmp dword [ebx + ebp*4], 0
je 0x100200b7
add ebp, 1
mov dword [esp + 0x14], ebp
mov eax, dword [esp + 0x18]
add eax, 1
add esi, 0x510
cmp eax, dword [esp + 0x1c]
mov dword [esp + 0x18], eax
jl 0x10020030
cmp dword [esp + 0x14], 0
jle 0x10020186
mov esi, dword [esp + 0x14]
add esi, 0xffffffff
mov dword [esp + 0x18], esi
mov eax, dword [esp + 0x14]
push 0xffffffffffffffff
push 0
push ebx
push eax
call dword [sym.imp.KERNEL32.DLL_WaitForMultipleObjects]
mov ebp, eax
cmp ebp, 0xffffffff
je 0x10020186
mov edx, dword [ebx + ebp*4]
lea ecx, [esp + 0x2c]
lea edi, [ebx + ebp*4]
push ecx
push edx
mov dword [esp + 0x34], 0
call dword [sym.imp.KERNEL32.DLL_GetExitCodeThread]
mov eax, dword [edi]
push eax
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
cmp ebp, esi
mov dword [edi], 0
jge 0x1002013f
mov ecx, esi
lea eax, [edi + 4]
sub ecx, ebp
mov esi, eax
rep movsd dword es:[edi], dword [esi]
mov esi, dword [esp + 0x18]
mov eax, dword [esp + 0x2c]
sub dword [esp + 0x14], 1
sub esi, 1
test eax, eax
mov dword [esp + 0x18], esi
jne 0x10020160
cmp dword [esp + 0x14], eax
jg 0x100200e8
jmp 0x10020186
jmp fcn.100ee536
lea edx, [eax + 0x10c]
mov eax, edx
lea esi, [eax + 1]
jmp 0x10020170
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x10020170
sub eax, esi
push eax
push edx
lea ecx, [esp + 0x4c]
call fcn.100099a0
mov edi, dword [esp + 0x28]
mov ebp, dword [esp + 0x1c]
test ebp, ebp
jle 0x100201b0
mov eax, dword [esp + 0x24]
add eax, 0x50c
mov ecx, ebp
lea ecx, [ecx]
mov dword [eax], 1
add eax, 0x510
sub ecx, 1
jne 0x100201a0
xor esi, esi
cmp dword [esp + 0x14], esi
jle 0x100201e2
mov eax, dword [ebx + esi*4]
test eax, eax
je 0x100201d9
push eax
call fcn.10051e70
mov ecx, dword [ebx + esi*4]
add esp, 4
push ecx
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
mov dword [ebx + esi*4], 0
add esi, 1
cmp esi, dword [esp + 0x14]
jl 0x100201b8
cmp dword [esp + 0x58], 0
jne 0x1002023c
xor eax, eax
test ebp, ebp
jle 0x1002023c
mov edx, dword [esp + 0x24]
lea ecx, [edx + 0x10c]
lea esp, [esp]
cmp byte [ecx], 0
jne 0x10020214
add eax, 1
add ecx, 0x510
cmp eax, ebp
jl 0x10020200
jmp 0x1002023c
imul eax, eax, 0x510
lea edx, [eax + edx + 0x10c]
mov eax, edx
lea esi, [eax + 1]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x10020226
sub eax, esi
push eax
push edx
lea ecx, [esp + 0x4c]
call fcn.100099a0
push ebx
call fcn.100ff58b
mov edx, dword [esp + 0x28]
push edx
call fcn.100ff58b
add esp, 8
xor ebx, ebx
push 0xffffffffffffffff
push ebx
lea eax, [esp + 0x4c]
mov esi, 0xf
mov dword [edi + 0x18], esi
mov dword [edi + 0x14], ebx
push eax
mov ecx, edi
mov byte [edi + 4], bl
call fcn.10009790
mov dword [esp + 0x20], 1
mov byte [esp + 0x6c], 1
lea ecx, [esp + 0x30]
call fcn.100f1ae9
mov byte [esp + 0x6c], bl
cmp dword [esp + 0x5c], 0x10
jb 0x1002029c
mov ecx, dword [esp + 0x48]
push ecx
call fcn.100ee438
add esp, 4
mov dword [esp + 0x5c], esi
mov dword [esp + 0x58], ebx
mov byte [esp + 0x48], bl
mov eax, edi
mov ecx, dword [esp + 0x64]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x4c]
xor ecx, esp
call fcn.100ffa66
add esp, 0x5c
ret