Function at 0x1000ce23
Capabilities:
Create process on windows

Disassembly:
jmp 0x104f5e30
push ebp
lea ebp, [esp - 0x118]
sub esp, 0x118
push 0xffffffffffffffff
push 0x105820b2
mov eax, dword fs:[0]
push eax
sub esp, 0x7c
mov eax, dword [0x107b3de0]
xor eax, ebp
mov dword [ebp + 0x114], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 0x128]
mov ebx, dword [ebp + 0x120]
mov ecx, dword [ebp + 0x12c]
mov esi, dword [ebp + 0x124]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp + 0x130]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp + 0x134]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 0x138]
mov dword [ebp - 0x18], eax
lea eax, [ebp + 0x9c]
push ebx
push eax
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x1c], ecx
call fcn.100096d3
pop ecx
pop ecx
mov edi, dword [esi]
and dword [ebp - 4], 0
mov esi, dword [esi + 4]
jmp 0x104f5f19
push 0x1058fb9c
call fcn.10027093
pop ecx
push eax
push 0x1058fb9c
lea ecx, [ebp + 0x9c]
call sym.WsidClient.dll_public:_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char______thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::append_char_const__const__unsigned_int_
lea eax, [ebp + 0xb4]
push edi
push eax
call fcn.100096d3
pop ecx
pop ecx
cmp dword [eax + 0x14], 0x10
mov ecx, eax
mov byte [ebp - 4], 1
jb 0x104f5ef8
mov ecx, dword [eax]
push dword [eax + 0x10]
push ecx
lea ecx, [ebp + 0x9c]
call sym.WsidClient.dll_public:_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char______thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::append_char_const__const__unsigned_int_
lea ecx, [ebp + 0xb4]
mov byte [ebp - 4], 0
call sym.WsidClient.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Tidy_deallocate_void_
add edi, 0x18
cmp edi, esi
jne 0x104f5ebf
and dword [ebp + 0xdc], 0
xor eax, eax
mov dword [ebp + 0xe0], 7
mov word [ebp + 0xcc], ax
lea eax, [ebp + 0xcc]
mov byte [ebp - 4], 2
push eax
lea eax, [ebp + 0x9c]
push eax
call fcn.1000b61d
and dword [ebp - 0x20], 0
xor eax, eax
and dword [ebp + 0xf4], 0
pop ecx
pop ecx
mov dword [ebp + 0xf8], 7
mov word [ebp + 0xe4], ax
cmp dword [ebx + 0x10], 0x104
mov byte [ebp - 4], 3
jbe 0x104f5ffa
push ebx
lea ecx, [ebp]
call fcn.1001934e
cmp byte [ebp + 0x6c], 0
mov byte [ebp - 4], 4
je 0x104f5fee
lea eax, [ebp + 0xe4]
push eax
push ebx
call fcn.1000b61d
pop ecx
pop ecx
lea eax, [ebp + 0xb4]
push eax
lea ecx, [ebp]
call fcn.10009ce1
lea ecx, [ebp + 0xb4]
mov esi, dword [eax + 0x10]
call sym.WsidClient.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Tidy_deallocate_void_
test esi, esi
jne 0x104f5fd7
mov esi, str..EXE
push esi
call fcn.1001df5c
pop ecx
push eax
push esi
lea ecx, [ebp + 0xe4]
call fcn.10007a9f
cmp dword [ebp + 0xf8], 8
lea esi, [ebp + 0xe4]
cmovae esi, dword [ebp + 0xe4]
mov dword [ebp - 0x20], esi
lea ecx, [ebp]
mov byte [ebp - 4], 3
call fcn.10013570
lea eax, [ebp - 0x78]
push eax
call dword [sym.imp.KERNEL32.dll_GetStartupInfoW]
xor ebx, ebx
mov dword [ebp - 0x78], 0x44
xor eax, eax
mov dword [ebp - 0x74], ebx
mov dword [ebp - 0x70], ebx
mov dword [ebp - 0x6c], ebx
mov dword [ebp - 0x4c], 0x80
mov word [ebp - 0x46], ax
mov dword [ebp - 0x44], ebx
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edi, dword [sym.imp.KERNEL32.dll_GetStdHandle]
mov esi, eax
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x104f6062
push 2
push 1
push ebx
lea ecx, [ebp - 0x40]
push ecx
mov ecx, dword [eax]
push esi
call fcn.10016cde
push eax
push esi
call dword [sym.imp.KERNEL32.dll_DuplicateHandle]
mov ecx, dword [ebp - 0x1c]
mov bl, 1
push 1
call fcn.1002a086
jmp 0x104f6088
push 0xfffffffffffffff6
call edi
test eax, eax
je 0x104f6085
push 2
push 1
push 0
lea eax, [ebp - 0x40]
push eax
push esi
push 0xfffffffffffffff6
call edi
push eax
push esi
call dword [sym.imp.KERNEL32.dll_DuplicateHandle]
mov bl, 1
jmp 0x104f6088
and dword [ebp - 0x40], ebx
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x104f60a3
push 2
push 1
push 0
lea ecx, [ebp - 0x3c]
push ecx
mov ecx, dword [eax]
push esi
call fcn.1000f083
jmp 0x104f60ba
push 0xfffffffffffffff5
call edi
test eax, eax
je 0x104f60c6
push 2
push 1
push 0
lea eax, [ebp - 0x3c]
push eax
push esi
push 0xfffffffffffffff5
call edi
push eax
push esi
call dword [sym.imp.KERNEL32.dll_DuplicateHandle]
mov bl, 1
jmp 0x104f60ca
and dword [ebp - 0x3c], 0
cmp dword [ebp - 0x10], 0
je 0x104f60f1
mov edi, dword [ebp - 0x10]
lea eax, [ebp - 0x38]
push 2
push 1
push 0
mov ecx, dword [edi]
push eax
push esi
call fcn.1000f083
push eax
push esi
call dword [sym.imp.KERNEL32.dll_DuplicateHandle]
mov bl, 1
jmp 0x104f611b
push 0xfffffffffffffff4
call edi
test eax, eax
je 0x104f6114
push 2
push 1
push 0
lea eax, [ebp - 0x38]
push eax
push esi
push 0xfffffffffffffff4
call edi
push eax
push esi
call dword [sym.imp.KERNEL32.dll_DuplicateHandle]
mov bl, 1
jmp 0x104f6118
and dword [ebp - 0x38], 0
mov edi, dword [ebp - 0x10]
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x104f612b
push 2
mov ecx, eax
call fcn.1002a086
test edi, edi
je 0x104f6138
push 2
mov ecx, edi
call fcn.1002a086
test bl, bl
je 0x104f6143
or dword [ebp - 0x4c], 0x100
and dword [ebp + 0x10c], 0
xor eax, eax
mov dword [ebp + 0x110], 7
mov word [ebp + 0xfc], ax
lea eax, [ebp + 0xfc]
mov byte [ebp - 4], 5
push eax
push dword [ebp - 0x34]
call fcn.1000b61d
cmp dword [ebp + 0x10c], 0
pop ecx
pop ecx
jne 0x104f6181
and dword [ebp - 0x14], 0
jmp 0x104f6198
cmp dword [ebp + 0x110], 8
lea eax, [ebp + 0xfc]
cmovae eax, dword [ebp + 0xfc]
mov dword [ebp - 0x14], eax
and dword [ebp - 0x10], 0
xor edi, edi
and dword [ebp - 0x2c], edi
xor esi, esi
mov dword [ebp - 0x30], edi
mov dword [ebp - 0x28], esi
mov eax, dword [ebp - 0x18]
mov byte [ebp - 4], 6
cmp dword [eax + 4], esi
je 0x104f61ec
push eax
lea eax, [ebp + 0xc0]
push eax
call fcn.104f5576
pop ecx
pop ecx
lea ecx, [ebp - 0x30]
cmp ecx, eax
je 0x104f61de
mov byte [ebp - 0x18], 0
push dword [ebp - 0x18]
push eax
call fcn.10026e72
mov esi, dword [ebp - 0x28]
mov edi, dword [ebp - 0x30]
lea ecx, [ebp + 0xc0]
call fcn.1001bb03
mov dword [ebp - 0x10], edi
call dword [sym.imp.KERNEL32.dll_GetConsoleWindow]
neg eax
lea ecx, [ebp + 0xcc]
sbb eax, eax
and eax, 0xf8000000
add eax, 0x8000000
mov edx, eax
or edx, 0x400
cmp dword [ebp - 0x10], 0
cmove edx, eax
cmp dword [ebp + 0xe0], 8
lea eax, [ebp - 0x88]
cmovae ecx, dword [ebp + 0xcc]
push eax
lea eax, [ebp - 0x78]
push eax
push dword [ebp - 0x14]
movzx eax, bl
push dword [ebp - 0x10]
push edx
push eax
push 0
push 0
push ecx
push dword [ebp - 0x20]
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
cmp dword [ebp - 0x40], 0
mov ebx, dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 0x18], eax
je 0x104f625b
push dword [ebp - 0x40]
call ebx
cmp dword [ebp - 0x3c], 0
je 0x104f6266
push dword [ebp - 0x3c]
call ebx
cmp dword [ebp - 0x38], 0
je 0x104f6271
push dword [ebp - 0x38]
call ebx
cmp dword [ebp - 0x18], 0
je 0x104f639c
push dword [ebp - 0x84]
call ebx
push 0x10
call fcn.1000abe1
pop ecx
mov dword [ebp - 0x24], eax
mov byte [ebp - 4], 7
test eax, eax
je 0x104f62aa
push dword [ebp - 0x80]
mov ecx, eax
push dword [ebp - 0x88]
call fcn.100258a6
mov ebx, eax
jmp 0x104f62ac
xor ebx, ebx
test edi, edi
je 0x104f62be
sub esi, edi
and esi, 0xfffffffe
push esi
push edi
call sym.WsidClient.dll_void___cdecl_std::_Deallocate_8__0__void___unsigned_int_
pop ecx
pop ecx
mov eax, dword [ebp + 0x110]
cmp eax, 8
jb 0x104f62de
lea eax, [eax*2 + 2]
push eax
push dword [ebp + 0xfc]
call sym.WsidClient.dll_void___cdecl_std::_Deallocate_8__0__void___unsigned_int_
pop ecx
pop ecx
and dword [ebp + 0x10c], 0
xor eax, eax
mov word [ebp + 0xfc], ax
mov eax, dword [ebp + 0xf8]
mov dword [ebp + 0x110], 7
cmp eax, 8
jb 0x104f6318
lea eax, [eax*2 + 2]
push eax
push dword [ebp + 0xe4]
call sym.WsidClient.dll_void___cdecl_std::_Deallocate_8__0__void___unsigned_int_
pop ecx
pop ecx
and dword [ebp + 0xf4], 0
xor eax, eax
mov word [ebp + 0xe4], ax
mov eax, dword [ebp + 0xe0]
mov dword [ebp + 0xf8], 7
cmp eax, 8
jb 0x104f6352
lea eax, [eax*2 + 2]
push eax
push dword [ebp + 0xcc]
call sym.WsidClient.dll_void___cdecl_std::_Deallocate_8__0__void___unsigned_int_
pop ecx
pop ecx
and dword [ebp + 0xdc], 0
lea ecx, [ebp + 0x9c]
xor eax, eax
mov dword [ebp + 0xe0], 7
mov word [ebp + 0xcc], ax
call sym.WsidClient.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Tidy_deallocate_void_
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x114]
xor ecx, ebp
call fcn.10010069
add ebp, 0x118
leave
ret
push str.Cannot_launch_process
lea ecx, [ebp + 0xb4]
call sym.WsidClient.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_char_const__const_
push 0
push dword [ebp - 0x24]
lea eax, [ebp + 0xb4]
mov byte [ebp - 4], 8
push eax
lea ecx, [ebp + 0x70]
call fcn.1002a356
push 0x1067bdc4
lea eax, [ebp + 0x70]
push eax
call fcn.10029a3c
int3