Function at 0x140008d40
Capabilities:
Create process on windows

Disassembly:
push rdi
sub rsp, 0x350
mov rax, qword [0x140048028]
xor rax, rsp
mov qword [rsp + 0x340], rax
mov dword [rsp + 0xc0], 0
lea rdx, [0x14003e899]
lea rcx, [rsp + 0x290]
call fcn.140002120
nop
lea rax, str.abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ
mov qword [rsp + 0xc8], rax
call qword [sym.imp.api_ms_win_crt_utility_l1_1_0.dll_rand]
cdq
mov ecx, shutdown
idiv ecx
mov eax, edx
add eax, 0xa
mov dword [rsp + 0x64], eax
mov dword [rsp + 0x54], 0
jmp 0x140008db5
mov eax, dword [rsp + 0x54]
inc eax
mov dword [rsp + 0x54], eax
mov eax, dword [rsp + 0x64]
cmp dword [rsp + 0x54], eax
jge 0x140008dec
call qword [sym.imp.api_ms_win_crt_utility_l1_1_0.dll_rand]
cdq
mov ecx, 0x34
idiv ecx
mov eax, edx
cdqe
mov rcx, qword [rsp + 0xc8]
movzx edx, byte [rcx + rax]
lea rcx, [rsp + 0x290]
call fcn.14000de70
jmp 0x140008dab
lea rcx, str..exe
call fcn.140002180
mov rcx, rax
call fcn.1400013e0
mov r8, rax
lea rdx, str..exe
lea rcx, [rsp + 0x290]
call fcn.14000e2c0
lea rax, [rsp + 0x180]
mov rdi, rax
xor eax, eax
mov ecx, 0x108
rep stosb byte [rdi], al
lea rax, [rsp + 0x290]
mov qword [rsp + 0x80], rax
mov rax, qword [rsp + 0x80]
mov qword [rsp + 0x98], rax
mov rax, qword [rsp + 0x80]
cmp qword [rax + 0x18], 0x10
jb 0x140008e64
mov dword [rsp + 0x58], 1
jmp 0x140008e6c
mov dword [rsp + 0x58], 0
movzx eax, byte [rsp + 0x58]
mov byte [rsp + 0x50], al
movzx eax, byte [rsp + 0x50]
test eax, eax
je 0x140008ea1
mov rax, qword [rsp + 0x80]
mov rax, qword [rax]
mov qword [rsp + 0xd0], rax
mov rax, qword [rsp + 0xd0]
mov qword [rsp + 0x98], rax
mov rax, qword [rsp + 0x98]
mov qword [rsp + 0xd8], rax
mov rax, qword [rsp + 0xd8]
mov qword [rsp + 0xe0], rax
mov dword [rsp + 0x20], 1
mov r9d, 0x40
mov r8d, 0x22
mov rdx, qword [rsp + 0xe0]
lea rcx, [rsp + 0x180]
call fcn.14000a0b0
nop
mov rax, qword [rsp + 0x180]
movsxd rax, dword [rax + 4]
lea rax, [rsp + rax + 0x180]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_bool___cdecl_std::ios_base::good_void_const___ptr64]
movzx eax, al
test eax, eax
je 0x140008fcf
mov r8d, 0x600
lea rdx, [0x140048090]
lea rcx, [rsp + 0x180]
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::write_char_const____ptr64__long_long___int64_____ptr64]
mov qword [rsp + 0xa0], rax
mov rax, qword [rsp + 0xa0]
mov rax, qword [rax]
movsxd rax, dword [rax + 4]
mov rcx, qword [rsp + 0xa0]
add rcx, rax
mov rax, rcx
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_bool___cdecl_std::ios_base::operator__void_const___ptr64]
movzx eax, al
test eax, eax
je 0x140008fc0
lea rcx, [rsp + 0x180]
call fcn.140009fc0
mov dword [rsp + 0x68], 0
lea rax, [rsp + 0x228]
mov rcx, rax
call fcn.14000a020
lea rax, [rsp + 0x228]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::destructor_void____ptr64]
nop
lea rcx, [rsp + 0x290]
call fcn.140010aa0
lea rax, [rsp + 0x290]
mov rcx, rax
call fcn.140002310
mov eax, dword [rsp + 0x68]
jmp 0x140009352
lea rcx, [rsp + 0x180]
call fcn.140009fc0
jmp 0x14000903f
lea rdx, str.error_n
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140013580
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_istream_char__struct_std::char_traits_char___std::cin]
call qword [sym.imp.MSVCP140.dll_public:_int___cdecl_std::basic_istream_char__struct_std::char_traits_char__::get_void____ptr64]
mov dword [rsp + 0x6c], 0
lea rax, [rsp + 0x228]
mov rcx, rax
call fcn.14000a020
lea rax, [rsp + 0x228]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::destructor_void____ptr64]
nop
lea rcx, [rsp + 0x290]
call fcn.140010aa0
lea rax, [rsp + 0x290]
mov rcx, rax
call fcn.140002310
mov eax, dword [rsp + 0x6c]
jmp 0x140009352
lea rax, [rsp + 0x2d0]
mov rdi, rax
xor eax, eax
mov ecx, 0x68
rep stosb byte [rdi], al
mov dword [rsp + 0x2d0], WSAGetLastError
mov rax, qword [rsp + 0x130]
mov qword [rsp + 0xb0], rax
lea rax, [rsp + 0x2b0]
mov qword [rsp + 0xb0], rax
mov rax, qword [rsp + 0x138]
mov qword [rsp + 0xb8], rax
lea rax, [rsp + 0x2d0]
mov qword [rsp + 0xb8], rax
lea rax, [rsp + 0x53]
mov qword [rsp + 0xf8], rax
lea rdx, [rsp + 0x140]
lea rcx, [rsp + 0x290]
call fcn.14000e040
mov rax, qword [rax]
mov qword [rsp + 0xe8], rax
mov rax, qword [rsp + 0xe8]
mov qword [rsp + 0x100], rax
lea rdx, [rsp + 0x148]
lea rcx, [rsp + 0x290]
call fcn.14000e130
mov rax, qword [rax]
mov qword [rsp + 0xf0], rax
mov rax, qword [rsp + 0xf0]
mov qword [rsp + 0x108], rax
mov r9, qword [rsp + 0xf8]
mov r8, qword [rsp + 0x100]
mov rdx, qword [rsp + 0x108]
lea rcx, [rsp + 0x158]
call fcn.140017630
mov qword [rsp + 0x110], rax
mov rax, qword [rsp + 0x150]
mov qword [rsp + 0x90], rax
mov rax, qword [rsp + 0x110]
mov qword [rsp + 0x88], rax
mov rax, qword [rsp + 0x88]
mov qword [rsp + 0xa8], rax
mov rax, qword [rsp + 0x88]
cmp qword [rax + 0x18], 8
jb 0x140009181
mov dword [rsp + 0x5c], 1
jmp 0x140009189
mov dword [rsp + 0x5c], 0
movzx eax, byte [rsp + 0x5c]
mov byte [rsp + 0x51], al
movzx eax, byte [rsp + 0x51]
test eax, eax
je 0x1400091be
mov rax, qword [rsp + 0x88]
mov rax, qword [rax]
mov qword [rsp + 0x118], rax
mov rax, qword [rsp + 0x118]
mov qword [rsp + 0xa8], rax
mov rax, qword [rsp + 0xa8]
mov qword [rsp + 0x120], rax
mov rax, qword [rsp + 0x120]
mov qword [rsp + 0x90], rax
mov rax, qword [rsp + 0xb0]
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0xb8]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], 0
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0x230
mov dword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, qword [rsp + 0x90]
call qword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
jne 0x14000923e
mov dword [rsp + 0x60], 1
jmp 0x140009246
mov dword [rsp + 0x60], 0
movzx eax, byte [rsp + 0x60]
mov byte [rsp + 0x52], al
lea rcx, [rsp + 0x158]
call fcn.140010940
movzx eax, byte [rsp + 0x52]
test eax, eax
je 0x140009304
lea rdx, str.CreateProcess_failed_
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
call fcn.140013580
mov qword [rsp + 0x128], rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x70], eax
mov edx, dword [rsp + 0x70]
mov rcx, qword [rsp + 0x128]
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___unsigned_long_int____ptr64]
mov dl, 0xa
mov rcx, rax
call fcn.140013a10
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_istream_char__struct_std::char_traits_char___std::cin]
call qword [sym.imp.MSVCP140.dll_public:_int___cdecl_std::basic_istream_char__struct_std::char_traits_char__::get_void____ptr64]
mov dword [rsp + 0x74], 0
lea rax, [rsp + 0x228]
mov rcx, rax
call fcn.14000a020
lea rax, [rsp + 0x228]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::destructor_void____ptr64]
nop
lea rcx, [rsp + 0x290]
call fcn.140010aa0
lea rax, [rsp + 0x290]
mov rcx, rax
call fcn.140002310
mov eax, dword [rsp + 0x74]
jmp 0x140009352
mov eax, dword [rsp + 0x2c0]
mov dword [rsp + 0x78], eax
lea rax, [rsp + 0x228]
mov rcx, rax
call fcn.14000a020
lea rax, [rsp + 0x228]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::destructor_void____ptr64]
nop
lea rcx, [rsp + 0x290]
call fcn.140010aa0
lea rax, [rsp + 0x290]
mov rcx, rax
call fcn.140002310
mov eax, dword [rsp + 0x78]
mov rcx, qword [rsp + 0x340]
xor rcx, rsp
call fcn.14003a630
add rsp, 0x350
pop rdi
ret