Function at 0x140076650
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 [0x140134bf8]
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 [0x14013bd68], eax
jle 0x1400766e4
lea rcx, [0x14013bd68]
call fcn.1400ae1c0
cmp dword [0x14013bd68], 0xffffffff
jne 0x1400766e4
lea rcx, [0x1400d50e0]
call fcn.1400ae614
nop
lea rcx, [0x14013bd68]
call fcn.1400ae160
mov rax, qword [r15]
mov r12, r13
test rax, rax
je 0x1400766fb
mov ecx, 0x5a4d
cmp cx, word [rax]
sete r12b
lea r14, str..exe
movzx ebx, byte [rsp + 0x34]
test r12, r12
je 0x140076730
mov rax, r14
cmp qword [r14 + 0x18], 0x10
jb 0x140076719
mov rax, qword [r14]
cmp qword [r14 + 0x10], 4
jne 0x140076d98
cmp dword [rax], 0x6578652e
jne 0x140076d98
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], socket
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.140097a64
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 0x1400767ce
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 0x1400767e1
movzx r8d, bl
mov edx, 1
lea rcx, [rsp + 0x38]
call fcn.140047870
sub rsi, 1
jne 0x140076772
mov r15, qword [rbp - 0x48]
xor r13d, r13d
mov rdx, r14
cmp qword [r14 + 0x18], 0x10
jb 0x1400767fb
mov rdx, qword [r14]
mov r8, qword [r14 + 0x10]
lea rcx, [rsp + 0x38]
call fcn.140042e80
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], recv
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.14004e120
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.140041a20
lea rcx, [rsp + 0x58]
cmp qword [rsp + 0x70], 8
cmovae rcx, qword [rsp + 0x58]
call fcn.1400bbb6c
mov qword [rbp + 0x60], rax
xor r8d, r8d
mov edx, eax
lea rcx, [rsp + 0x58]
call fcn.140041a20
mov eax, dword [rbp + 0x64]
cmp eax, 0xffffffff
jne 0x14007690b
mov dword [rbp + 0x10], socket
lea rax, [0x140134d70]
mov qword [rbp + 0x18], rax
movaps xmm0, xmmword [rbp + 0x10]
mov eax, socket
jmp 0x14007691d
mov dword [rbp - 0x40], eax
lea rcx, [0x140134d80]
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 0x140076de2
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.14002f5f0
nop
and edi, 0xfffffff7
mov dword [rsp + 0x30], edi
mov rdx, qword [rsp + 0x70]
cmp rdx, 8
jb 0x1400769a2
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14007699d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140076df8
call fcn.1400ae030
mov qword [rsp + 0x68], r13
mov qword [rsp + 0x70], 7
mov word [rsp + 0x58], r13w
mov rdx, qword [rbp - 0x18]
cmp rdx, 8
jb 0x1400769f6
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400769f1
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140076dfe
call fcn.1400ae030
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 0x140076a4a
inc rdx
mov rcx, qword [rsp + 0x78]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140076a45
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140076e04
call fcn.1400ae030
mov qword [rbp - 0x78], r13
mov qword [rbp - 0x70], recv
mov byte [rsp + 0x78], 0
and edi, 0xfffffffe
mov dword [rsp + 0x30], edi
mov rdx, qword [rsp + 0x50]
cmp rdx, 0x10
jb 0x140076a9f
inc rdx
mov rcx, qword [rsp + 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140076a9a
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140076e0a
call fcn.1400ae030
mov qword [rsp + 0x48], r13
mov qword [rsp + 0x50], socket
mov byte [rsp + 0x38], 0
xor edx, edx
mov r8d, 0x108
lea rcx, [rbp + 0x90]
call fcn.1400b09c0
lea rdx, [rbp + 0x70]
lea rcx, [rbp + 0x90]
call fcn.1400772d0
nop
cmp qword [rbp + 0x118], 0
je 0x140076c95
mov rdx, qword [r15]
mov r8, qword [r15 + 8]
sub r8, rdx
lea rcx, [rbp + 0x90]
call fcn.140077100
lea rcx, [rbp + 0x90]
call fcn.140048db0
lea rcx, [rbp + 0x98]
call fcn.140054130
test rax, rax
jne 0x140076b57
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 0x140076e10
call fcn.14007a880
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 word [rax + rax]
inc r8
cmp word [rdx + r8*2], 0
jne 0x140076b90
lea rcx, [rbp + 0x38]
call fcn.140036ca0
nop
lea rdx, [rbp + 0x70]
lea rcx, [rbp - 0x68]
call fcn.140036f20
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 0x140076c33
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140076c2e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140076e5f
call fcn.1400ae030
mov qword [rbp - 0x58], r13
mov qword [rbp - 0x50], 7
mov word [rbp - 0x68], r13w
mov rdx, qword [rbp + 0x50]
cmp rdx, 8
jb 0x140076c84
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140076c7f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140076e65
call fcn.1400ae030
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.1400538d0
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.1400bc8f0
nop
mov rdx, qword [rbp + 0x88]
cmp rdx, 8
jb 0x140076d81
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140076d7c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140076ddc
call fcn.1400ae030
mov qword [rbp + 0x80], r13
mov qword [rbp + 0x88], 7
mov word [rbp + 0x70], r13w
add r14, 0x20
lea rax, [0x140134e10]
cmp r14, rax
jne 0x140076707
mov rcx, qword [rbp + 0x1a0]
xor rcx, rsp
call fcn.1400ae010
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.140091028
nop
lea r8, [rsp + 0x58]
lea rdx, [rbp + 0x60]
lea rcx, str.temp_directory_path
call fcn.14002feb0
nop
call fcn.140091028
nop
call fcn.140091028
nop
call fcn.140091028
nop
call fcn.140091028
nop
test al, 4
je 0x140076e1d
lea rbx, str.ios_base::badbit_set
jmp 0x140076e31
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.14002d930
mov r8, rax
mov rdx, rbx
lea rcx, [rbp - 0x30]
call fcn.14002eb40
lea rdx, [0x1401317d0]
lea rcx, [rbp - 0x30]
call fcn.1400b11d8
nop
call fcn.140091028
nop
call fcn.140091028
int3