Function at 0x10056050
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10064e59
mov eax, dword fs:[0]
push eax
sub esp, 0x140
mov eax, dword [0x100a00e8]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
lea ecx, [ebp - 0xe4]
mov dword [ebp - 0x44], 0
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x14c], 0x10088e58
mov dword [ebp - 0x13c], 0x10088e60
call dword [sym.imp.MSVCP140.dll_protected:_void___thiscall_std::basic_ios_char__struct_std::char_traits_char__::constructor_void_]
push 0
lea eax, [ebp - 0x134]
mov dword [ebp - 4], 0
push eax
lea ecx, [ebp - 0x14c]
mov dword [ebp - 0x44], 1
call dword [sym.imp.MSVCP140.dll_public:_void___thiscall_std::basic_iostream_char__struct_std::char_traits_char__::constructor_class_std::basic_streambuf_char__struct_std::char_traits_char____]
mov eax, dword [ebp - 0x14c]
mov dword [ebp - 4], 1
mov eax, dword [eax + 4]
mov dword [ebp + eax - method.std::basic_stringstream_char__struct_std::char_traits_char___class_std::allocator_char__.virtual_0], vtable.std::basic_stringstream_char__struct_std::char_traits_char___class_std::allocator_char__.0
mov eax, dword [ebp - 0x14c]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x68]
mov dword [ebp + ecx - 0x150], eax
lea ecx, [ebp - 0x134]
call dword [sym.imp.MSVCP140.dll_protected:_void___thiscall_std::basic_streambuf_char__struct_std::char_traits_char__::constructor_void_]
mov dword [ebp - method.std::basic_stringbuf_char__struct_std::char_traits_char___class_std::allocator_char__.virtual_0], vtable.std::basic_stringbuf_char__struct_std::char_traits_char___class_std::allocator_char__.0
mov dword [ebp - 0xfc], 0
mov dword [ebp - 0xf8], 0
mov edi, dword [ebp + 0xc]
mov dword [ebp - 4], 2
mov eax, dword [edi]
cmp dword [eax + 0x14], 0x10
mov ecx, dword [eax + 0x10]
jb 0x1005613c
mov eax, dword [eax]
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x13c]
mov dword [ebp - 0x18], ecx
push eax
mov word [ebp - 0x14], 0x5c22
call fcn.10055a90
mov esi, dword [edi]
add esp, 8
add esi, 0x18
cmp esi, dword [edi + 4]
je 0x100561b2
nop word [eax + eax]
lea eax, [ebp - 0x13c]
push 0x10089a38
push eax
call fcn.10055cf0
mov edx, dword [esi + 0x10]
add esp, 8
cmp dword [esi + 0x14], 0x10
mov ecx, esi
jb 0x10056191
mov ecx, dword [esi]
mov dword [ebp - 0x1c], ecx
lea ecx, [ebp - 0x1c]
push ecx
push eax
mov dword [ebp - 0x18], edx
mov word [ebp - 0x14], 0x5c22
call fcn.10055a90
add esi, 0x18
add esp, 8
cmp esi, dword [edi + 4]
jne 0x10056170
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x14c]
call fcn.10055f00
push eax
lea eax, [ebp - 0x40]
mov byte [ebp - 4], 3
push eax
call fcn.100530b0
add esp, 8
mov edx, dword [ebp - 0x14]
mov byte [ebp - 4], 5
cmp edx, 0x10
jb 0x1005620c
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x10056202
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x10056202
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.1005c099
add esp, 8
mov esi, dword [sym.imp.KERNEL32.dll_GetStdHandle]
xorps xmm0, xmm0
push 0xfffffffffffffff6
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
movlpd qword [ebp - 0x98], xmm0
movlpd qword [ebp - 0x90], xmm0
movlpd qword [ebp - 0x88], xmm0
movlpd qword [ebp - 0x80], xmm0
movlpd qword [ebp - 0x78], xmm0
movlpd qword [ebp - 0x70], xmm0
mov dword [ebp - 0x68], 0
mov dword [ebp - 0x9c], 0x44
call esi
push 0xfffffffffffffff5
mov dword [ebp - 0x64], eax
call esi
push 0xfffffffffffffff4
mov dword [ebp - 0x60], eax
call esi
cmp dword [ebp - 0x2c], 8
lea ecx, [ebp - 0x58]
push ecx
lea ecx, [ebp - 0x9c]
mov dword [ebp - 0x5c], eax
push ecx
push 0
push 0
push 0x8000000
push 1
push 0
lea eax, [ebp - 0x40]
xorps xmm0, xmm0
cmovae eax, dword [ebp - 0x40]
push 0
push eax
push 0
movups xmmword [ebp - 0x58], xmm0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
jne 0x10056314
call fcn.10055480
push 0
push dword [0x100a00cc]
mov eax, dword [eax]
call eax
mov edi, dword [sym.imp.KERNEL32.dll_GetLastError]
add esp, 8
test eax, eax
je 0x10056305
call fcn.10055480
mov esi, dword [eax + 4]
call edi
cmp dword [ebp - 0x2c], 8
lea ecx, [ebp - 0x40]
push eax
cmovae ecx, dword [ebp - 0x40]
push ecx
push str.xprocCreate_basic
push str._s:_CreateProcessW_failed:_cmdline__ls_GetLastError____d
push 0x47
push str.xprocCreate_basic
push str.C:code_app_playerhdSourcexplXprocWinnt.cpp
push dword [0x100a00cc]
push 0
call esi
add esp, 0x24
call edi
push eax
call fcn.10057750
add esp, 4
mov esi, eax
jmp 0x10056334
mov ecx, dword [ebp - 0x48]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
test ecx, ecx
je 0x10056328
mov eax, dword [ebp - 0x58]
mov dword [ecx], eax
jmp 0x1005632d
push dword [ebp - 0x58]
call esi
push dword [ebp - 0x54]
call esi
xor esi, esi
mov edx, dword [ebp - 0x2c]
cmp edx, 8
jb 0x10056370
mov ecx, dword [ebp - 0x40]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x10056366
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x10056366
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.1005c099
add esp, 8
xor eax, eax
mov dword [ebp - 0x30], 0
mov word [ebp - 0x40], ax
mov eax, dword [ebp - 0x14c]
mov dword [ebp - 0x2c], 7
mov eax, dword [eax + 4]
mov dword [ebp + eax - method.std::basic_stringstream_char__struct_std::char_traits_char___class_std::allocator_char__.virtual_0], vtable.std::basic_stringstream_char__struct_std::char_traits_char___class_std::allocator_char__.0
mov eax, dword [ebp - 0x14c]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x68]
mov dword [ebp + ecx - 0x150], eax
lea ecx, [ebp - 0x134]
call fcn.10046970
lea ecx, [ebp - 0x12c]
call dword [sym.imp.MSVCP140.dll_public_virtual:_void___thiscall_std::basic_iostream_char__struct_std::char_traits_char__::destructor_void_]
lea ecx, [ebp - 0xe4]
call dword [sym.imp.MSVCP140.dll_public_virtual:_void___thiscall_std::basic_ios_char__struct_std::char_traits_char__::destructor_void_]
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1005c0a7
mov esp, ebp
pop ebp
ret