Function at 0x10001500
Capabilities:
Create process on windows
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1000f8bb
mov eax, dword fs:[0]
push eax
mov eax, 0x10a8
call fcn.1000f5b0
mov eax, dword [0x10017008]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
cmp dword [ebp + 8], 0
jne 0x1000153c
xor eax, eax
jmp 0x10001861
lea ecx, [ebp - 0x102c]
call fcn.10001e70
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x102c]
call fcn.100011b0
test eax, eax
jne 0x1000158b
mov dword [ebp - 0x109c], 0
mov dword [ebp - 4], 1
lea ecx, [ebp - 0x102c]
call fcn.10002080
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x109c]
jmp 0x10001861
lea eax, [ebp - 0x102c]
mov dword [ebp - 0x10a0], eax
mov ecx, dword [ebp - 0x10a0]
mov dword [ebp - 0x1084], ecx
mov edx, dword [ebp - 0x1084]
mov dword [ebp - 0x1090], edx
mov eax, dword [ebp - 0x1084]
cmp dword [eax + 0x14], 8
jb 0x100015c7
mov dword [ebp - 0x108c], 1
jmp 0x100015d1
mov dword [ebp - 0x108c], 0
movzx ecx, byte [ebp - 0x108c]
test ecx, ecx
je 0x100015ea
mov edx, dword [ebp - 0x1084]
mov eax, dword [edx]
mov dword [ebp - 0x1090], eax
mov ecx, dword [ebp - 0x1090]
mov dword [ebp - 0x10a4], ecx
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
mov edx, dword [ebp - 0x10a4]
mov ecx, str.Success_Call_GetCorePath
call fcn.10001130
add esp, 4
xor edx, edx
mov dword [ebp - 0x1080], edx
mov dword [ebp - 0x107c], edx
mov dword [ebp - 0x1078], edx
mov dword [ebp - 0x1074], edx
push 0x44
push 0
lea eax, [ebp - 0x1070]
push eax
call fcn.10005760
add esp, 0xc
mov dword [ebp - 0x1070], 0x44
push 0x800
push 0
lea ecx, [ebp - 0x1010]
push ecx
call fcn.10005760
add esp, 0xc
lea edx, [ebp - 0x102c]
mov dword [ebp - 0x10a8], edx
mov eax, dword [ebp - 0x10a8]
mov dword [ebp - 0x1088], eax
mov ecx, dword [ebp - 0x1088]
mov dword [ebp - 0x1098], ecx
mov edx, dword [ebp - 0x1088]
cmp dword [edx + 0x14], 8
jb 0x10001699
mov dword [ebp - 0x1094], 1
jmp 0x100016a3
mov dword [ebp - 0x1094], 0
movzx eax, byte [ebp - 0x1094]
test eax, eax
je 0x100016bc
mov ecx, dword [ebp - 0x1088]
mov edx, dword [ecx]
mov dword [ebp - 0x1098], edx
mov eax, dword [ebp - 0x1098]
mov dword [ebp - 0x10ac], eax
mov ecx, dword [ebp - 0x10ac]
push ecx
push 0x10014d54
lea edx, [ebp - 0x1010]
push edx
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0xc
push 0x800
push 0
lea eax, [ebp - 0x810]
push eax
call fcn.10005760
add esp, 0xc
mov ecx, dword [ebp + 8]
push ecx
lea edx, [ebp - 0x1010]
push edx
push str.__s___s
lea eax, [ebp - 0x810]
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x10
lea ecx, [ebp - 0x810]
push ecx
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
lea edx, [ebp - 0x1080]
push edx
lea eax, [ebp - 0x1070]
push eax
push 0
push 0
push 0
push 0
push 0
push 0
lea ecx, [ebp - 0x810]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x1000181e
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea edx, [ebp - 0x810]
mov ecx, str.Success_Call_CreateProcessW
call fcn.10001130
add esp, 4
push 0xffffffffffffffff
mov edx, dword [ebp - 0x1080]
push edx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov dword [ebp - 0x1014], 0xffffffff
lea eax, [ebp - 0x1014]
push eax
mov ecx, dword [ebp - 0x1080]
push ecx
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
test eax, eax
je 0x100017bf
mov edx, dword [ebp - 0x1014]
push edx
lea edx, [ebp - 0x810]
mov ecx, str.Success_Get_Process_Exit_Code
call fcn.10001130
add esp, 4
jmp 0x100017d9
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea edx, [ebp - 0x810]
mov ecx, str.Failed_Get_Process_Exit_Code
call fcn.10001130
add esp, 4
mov eax, dword [ebp - 0x1080]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 0x107c]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 0x10b0], 0
mov dword [ebp - 4], 2
lea ecx, [ebp - 0x102c]
call fcn.10002080
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x10b0]
jmp 0x10001861
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea edx, [ebp - 0x810]
mov ecx, str.Failed_Call_CreateProcessW
call fcn.10001130
add esp, 4
mov dword [ebp - 0x10b4], 0
mov dword [ebp - 4], 3
lea ecx, [ebp - 0x102c]
call fcn.10002080
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x10b4]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10004267
mov esp, ebp
pop ebp
ret