Function at 0x1000b3a0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x5c
push esi
push edi
mov dword [ebp - 0x10], 0
push 0xc
push 0
lea eax, [ebp - 0xc]
push eax
call fcn.100170d0
add esp, 0xc
cmp dword [ebp + 0xc], 0
jne 0x1000b3db
lea ecx, [ebp - 0xc]
push ecx
call fcn.1000aef0
add esp, 4
test eax, eax
je 0x1000b3db
lea edx, [ebp - 0xc]
mov dword [ebp + 0xc], edx
call fcn.1000b050
mov eax, dword [ebp + 0x20]
push eax
mov ecx, dword [ebp + 0x1c]
push ecx
mov edx, dword [ebp + 0x18]
push edx
mov eax, dword [ebp + 0x14]
push eax
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_CreateRemoteThread]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x1000b566
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
call fcn.1000a580
mov esi, eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.1000a850
push eax
call fcn.1000a580
cmp esi, eax
je 0x1000b566
movzx edx, byte [ebp + 0x24]
test edx, edx
jne 0x1000b566
push 0
push 0x10027b80
call fcn.10006650
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x1000b566
mov dword [ebp - 0x18], 0
cmp dword [ebp + 0xc], 0
je 0x1000b46f
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax + 4]
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x20], 0
cmp dword [ebp + 0x10], 0
je 0x1000b49c
mov edx, dword [ebp + 0x1c]
and edx, 0x10000
je 0x1000b496
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x1c], eax
jmp 0x1000b49c
mov ecx, dword [ebp + 0x10]
mov dword [ebp - 0x20], ecx
mov edx, dword [ebp + 8]
push edx
push 0x25
call fcn.1000a1d0
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0
je 0x1000b4ea
mov ecx, 9
mov esi, 0x10027cc0
lea edi, [ebp - 0x4c]
rep movsd dword es:[edi], dword [esi]
movsb byte es:[edi], byte [esi]
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x47], eax
mov ecx, dword [ebp - 0x24]
mov dword [ebp - 0x37], ecx
push 1
push 0x10027c84
call fcn.100065e0
mov dword [ebp - 0x32], eax
push 1
push 0x10027c14
call fcn.100065e0
mov dword [ebp - 0x2d], eax
cmp dword [ebp - 0x24], 0
je 0x1000b566
lea edx, [ebp - 0x50]
push edx
push 0x25
lea eax, [ebp - 0x4c]
push eax
mov ecx, dword [ebp - 0x24]
push ecx
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
je 0x1000b560
lea eax, [ebp - 0x5c]
push eax
lea ecx, [ebp - 0x10]
push ecx
mov edx, dword [ebp + 0x18]
push edx
mov eax, dword [ebp - 0x24]
push eax
mov ecx, dword [ebp - 0x20]
push ecx
mov edx, dword [ebp - 0x1c]
push edx
push 0
mov eax, dword [ebp + 0x1c]
and eax, 4
neg eax
sbb eax, eax
neg eax
push eax
mov ecx, dword [ebp - 0x18]
push ecx
mov edx, dword [ebp + 8]
push edx
call dword [ebp - 0x14]
mov dword [ebp - 0x54], eax
cmp dword [ebp - 0x54], 0
jl 0x1000b551
mov eax, dword [ebp + 0x20]
mov ecx, dword [ebp - 0x58]
mov dword [eax], ecx
jmp 0x1000b55e
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp - 0x24]
push eax
call fcn.1000a2f0
jmp 0x1000b566
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp dword [ebp - 8], 0
je 0x1000b57f
mov ecx, dword [ebp - 8]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
mov eax, dword [ebp - 0x10]
pop edi
pop esi
mov esp, ebp
pop ebp
ret