Function at 0x140074600
Capabilities:
Create process on windows

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x1b0]
sub rsp, 0x2b0
mov rax, qword [0x140104bf0]
xor rax, rsp
mov qword [rbp + 0x1a0], rax
mov r15, rcx
mov qword [rbp - 0x48], rcx
xor r13d, r13d
mov edi, r13d
mov dword [rsp + 0x30], r13d
mov ecx, 4
mov rax, qword gs:[0x58]
mov rdx, qword [rax]
mov eax, dword [rcx + rdx]
cmp dword [0x14010c458], eax
jle 0x140074694
lea rcx, [0x14010c458]
call fcn.1400b4d10
cmp dword [0x14010c458], 0xffffffff
jne 0x140074694
lea rcx, [0x1400d6d40]
call fcn.1400b5164
nop
lea rcx, [0x14010c458]
call fcn.1400b4cb0
mov rax, qword [r15]
mov r12, r13
test rax, rax
je 0x1400746ab
mov ecx, 0x5a4d
cmp cx, word [rax]
sete r12b
lea r14, str..exe
movzx ebx, byte [rsp + 0x34]
test r12, r12
je 0x1400746e0
mov rax, r14
cmp qword [r14 + 0x18], 0x10
jb 0x1400746c9
mov rax, qword [r14]
cmp qword [r14 + 0x10], 4
jne 0x140074d48
cmp dword [rax], 0x6578652e
jne 0x140074d48
xorps xmm0, xmm0
movups xmmword [rsp + 0x38], xmm0
mov qword [rsp + 0x48], r13
mov qword [rsp + 0x50], r13
mov qword [rsp + 0x48], r13
mov qword [rsp + 0x50], send
mov byte [rsp + 0x38], 0
or edi, 1
mov dword [rsp + 0x30], edi
mov esi, reloc.SHLWAPI.dll_SHCreateMemStream
movabs r13, 0x948b0fcd6e9e0653
lea r15, str.abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789_________._
call fcn.14009efd4
movsxd rcx, eax
mov rax, r13
mul rcx
mov rax, rcx
sub rax, rdx
shr rax, 1
add rax, rdx
shr rax, 6
imul rax, rax, 0x51
sub rcx, rax
movzx r9d, byte [rcx + r15]
mov rcx, qword [rsp + 0x48]
mov rdx, qword [rsp + 0x50]
cmp rcx, rdx
jae 0x14007477e
lea rax, [rcx + 1]
mov qword [rsp + 0x48], rax
lea rax, [rsp + 0x38]
cmp rdx, 0x10
cmovae rax, qword [rsp + 0x38]
mov byte [rax + rcx], r9b
mov byte [rax + rcx + 1], 0
jmp 0x140074791
movzx r8d, bl
mov edx, 1
lea rcx, [rsp + 0x38]
call fcn.140047540
sub rsi, 1
jne 0x140074722
mov r15, qword [rbp - 0x48]
xor r13d, r13d
mov rdx, r14
cmp qword [r14 + 0x18], 0x10
jb 0x1400747ab
mov rdx, qword [r14]
mov r8, qword [r14 + 0x10]
lea rcx, [rsp + 0x38]
call fcn.140042c10
xorps xmm0, xmm0
movups xmmword [rsp + 0x78], xmm0
mov qword [rbp - 0x78], r13
mov qword [rbp - 0x70], r13
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x78], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x78], xmm1
mov qword [rax + 0x10], r13
mov qword [rax + 0x18], send
mov byte [rax], 0
or edi, 2
mov dword [rsp + 0x30], edi
lea rax, [rbp - 0x30]
mov qword [rbp + 0x20], rax
lea rax, [rsp + 0x78]
cmp qword [rbp - 0x70], 0x10
cmovae rax, qword [rsp + 0x78]
mov qword [rbp], rax
mov rax, qword [rbp - 0x78]
mov qword [rbp + 8], rax
lea rdx, [rbp]
lea rcx, [rbp - 0x30]
call fcn.14004de60
or edi, 4
mov dword [rsp + 0x30], edi
and edi, 0xfffffffb
mov dword [rsp + 0x30], edi
xorps xmm0, xmm0
movups xmmword [rsp + 0x58], xmm0
mov qword [rsp + 0x68], r13
mov qword [rsp + 0x70], r13
mov qword [rsp + 0x68], r13
mov qword [rsp + 0x70], 7
mov word [rsp + 0x58], r13w
or edi, 0x20
mov dword [rsp + 0x30], edi
xor r8d, r8d
mov edx, 0x105
lea rcx, [rsp + 0x58]
call fcn.140041620
lea rcx, [rsp + 0x58]
cmp qword [rsp + 0x70], 8
cmovae rcx, qword [rsp + 0x58]
call fcn.1400bbda8
mov qword [rbp + 0x60], rax
xor r8d, r8d
mov edx, eax
lea rcx, [rsp + 0x58]
call fcn.140041620
mov eax, dword [rbp + 0x64]
cmp eax, 0xffffffff
jne 0x1400748bb
mov dword [rbp + 0x10], socket
lea rax, [0x140104d00]
mov qword [rbp + 0x18], rax
movaps xmm0, xmmword [rbp + 0x10]
mov eax, socket
jmp 0x1400748cd
mov dword [rbp - 0x40], eax
lea rcx, [0x140104d10]
mov qword [rbp - 0x38], rcx
movaps xmm0, xmmword [rbp - 0x40]
movdqa xmmword [rbp + 0x60], xmm0
and edi, 0xffffffdf
mov dword [rsp + 0x30], edi
or edi, 0x10
mov dword [rsp + 0x30], edi
test eax, eax
jne 0x140074d92
and edi, 0xffffffef
mov dword [rsp + 0x30], edi
or edi, 8
mov dword [rsp + 0x30], edi
lea r8, [rbp - 0x30]
lea rdx, [rsp + 0x58]
lea rcx, [rbp + 0x70]
call fcn.14002f320
nop
and edi, 0xfffffff7
mov dword [rsp + 0x30], edi
mov rdx, qword [rsp + 0x70]
cmp rdx, 8
jb 0x140074952
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14007494d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140074da8
call fcn.1400b4b80
mov qword [rsp + 0x68], r13
mov qword [rsp + 0x70], 7
mov word [rsp + 0x58], r13w
mov rdx, qword [rbp - 0x18]
cmp rdx, 8
jb 0x1400749a6
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400749a1
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140074dae
call fcn.1400b4b80
mov qword [rbp - 0x20], r13
mov qword [rbp - 0x18], 7
mov word [rbp - 0x30], r13w
and edi, 0xfffffffd
mov dword [rsp + 0x30], edi
mov rdx, qword [rbp - 0x70]
cmp rdx, 0x10
jb 0x1400749fa
inc rdx
mov rcx, qword [rsp + 0x78]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400749f5
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140074db4
call fcn.1400b4b80
mov qword [rbp - 0x78], r13
mov qword [rbp - 0x70], send
mov byte [rsp + 0x78], 0
and edi, 0xfffffffe
mov dword [rsp + 0x30], edi
mov rdx, qword [rsp + 0x50]
cmp rdx, 0x10
jb 0x140074a4f
inc rdx
mov rcx, qword [rsp + 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140074a4a
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140074dba
call fcn.1400b4b80
mov qword [rsp + 0x48], r13
mov qword [rsp + 0x50], send
mov byte [rsp + 0x38], 0
xor edx, edx
mov r8d, 0x108
lea rcx, [rbp + 0x90]
call fcn.1400b7530
mov r8d, 0x22
lea rdx, [rbp + 0x70]
lea rcx, [rbp + 0x90]
call fcn.140064cb0
nop
cmp qword [rbp + 0x118], 0
je 0x140074c45
mov rdx, qword [r15]
mov r8, qword [r15 + 8]
sub r8, rdx
lea rcx, [rbp + 0x90]
call fcn.1400647b0
lea rcx, [rbp + 0x90]
call fcn.140048af0
lea rcx, [rbp + 0x98]
call fcn.140053e70
test rax, rax
jne 0x140074b0d
mov rax, qword [rbp + 0x90]
movsxd rcx, dword [rax + 4]
mov eax, 6
cmp qword [rbp + rcx + 0xd8], 0
mov edx, 2
cmovne eax, edx
or eax, dword [rbp + rcx + 0xa0]
and eax, 0x17
mov dword [rbp + rcx + 0xa0], eax
and eax, dword [rbp + rcx + 0xa4]
jne 0x140074dc0
call fcn.140083dc0
lea rdx, str.open
test eax, eax
lea rax, str.runas
cmovne rdx, rax
xorps xmm0, xmm0
movups xmmword [rbp + 0x38], xmm0
mov qword [rbp + 0x48], r13
mov qword [rbp + 0x50], r13
mov r8, 0xffffffffffffffff
nop dword [rax]
inc r8
cmp word [rdx + r8*2], 0
jne 0x140074b40
lea rcx, [rbp + 0x38]
call fcn.140036990
nop
lea rdx, [rbp + 0x70]
lea rcx, [rbp - 0x68]
call fcn.140036c10
bts edi, 7
mov dword [rsp + 0x30], edi
lea r8, [rbp - 0x68]
cmp qword [rbp - 0x50], 8
cmovae r8, qword [rbp - 0x68]
lea rdx, [rbp + 0x38]
cmp qword [rbp + 0x50], 8
cmovae rdx, qword [rbp + 0x38]
mov dword [rsp + 0x28], r13d
mov qword [rsp + 0x20], r13
xor r9d, r9d
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_ShellExecuteW]
btr edi, 7
mov dword [rsp + 0x30], edi
mov rdx, qword [rbp - 0x50]
cmp rdx, 8
jb 0x140074be3
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140074bde
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140074e0f
call fcn.1400b4b80
mov qword [rbp - 0x58], r13
mov qword [rbp - 0x50], 7
mov word [rbp - 0x68], r13w
mov rdx, qword [rbp + 0x50]
cmp rdx, 8
jb 0x140074c34
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140074c2f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140074e15
call fcn.1400b4b80
mov qword [rbp + 0x48], r13
mov qword [rbp + 0x50], 7
mov word [rbp + 0x38], r13w
lea rax, [rbp + 0x138]
mov qword [rbp + 0x28], rax
mov rax, qword [rbp + 0x90]
movsxd rcx, dword [rax + 4]
lea rax, vtable.std::basic_ofstream_char__struct_std::char_traits_char__.0
mov qword [rbp + rcx + 0x90], rax
mov rax, qword [rbp + 0x90]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xa8]
mov dword [rbp + rcx + 0x8c], edx
lea rcx, [rbp + 0x98]
call fcn.140053610
nop
mov rax, qword [rbp + 0x90]
movsxd rcx, dword [rax + 4]
lea rax, vtable.std::basic_ostream_char__struct_std::char_traits_char__.0
mov qword [rbp + rcx + 0x90], rax
mov rax, qword [rbp + 0x90]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x10]
mov dword [rbp + rcx + 0x8c], edx
lea rax, [rbp + 0x138]
mov qword [rbp + 0x30], rax
lea rax, vtable.std::basic_ios_char__struct_std::char_traits_char__.0
mov qword [rbp + 0x138], rax
lea rax, vtable.std::ios_base.0
mov qword [rbp + 0x138], rax
lea rcx, [rbp + 0x138]
call fcn.1400bcd14
nop
mov rdx, qword [rbp + 0x88]
cmp rdx, 8
jb 0x140074d31
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140074d2c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140074d8c
call fcn.1400b4b80
mov qword [rbp + 0x80], r13
mov qword [rbp + 0x88], 7
mov word [rbp + 0x70], r13w
add r14, 0x20
lea rax, [0x140104da0]
cmp r14, rax
jne 0x1400746b7
mov rcx, qword [rbp + 0x1a0]
xor rcx, rsp
call fcn.1400b4b60
lea r11, [rsp + 0x2b0]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
call fcn.140098678
nop
lea r8, [rsp + 0x58]
lea rdx, [rbp + 0x60]
lea rcx, str.temp_directory_path
call fcn.14002fbe0
nop
call fcn.140098678
nop
call fcn.140098678
nop
call fcn.140098678
nop
call fcn.140098678
nop
test al, 4
je 0x140074dcd
lea rbx, str.ios_base::badbit_set
jmp 0x140074de1
test dl, al
lea rbx, str.ios_base::failbit_set
lea rax, str.ios_base::eofbit_set
cmove rbx, rax
mov edx, 1
lea rcx, [rbp - 0x40]
call fcn.14002d660
mov r8, rax
mov rdx, rbx
lea rcx, [rbp - 0x30]
call fcn.14002e870
lea rdx, [0x1401018a0]
lea rcx, [rbp - 0x30]
call fcn.1400b7d44
nop
call fcn.140098678
nop
call fcn.140098678
int3