Function at 0x140003790
Capabilities:
Execute command

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
lea rbp, [rsp - 0x190]
sub rsp, 0x290
mov rax, qword [0x1400a96f0]
xor rax, rsp
mov qword [rbp + 0x180], rax
mov rbx, rcx
xor edi, edi
xor edx, edx
mov r8d, pe_nt_image_headers64
lea rcx, [rbp + 0x70]
call sub.VCRUNTIME140.dll_memset
mov rdx, rbx
lea rcx, [rbp + 0x70]
call fcn.140008c20
nop
mov qword [rbp - 0x58], rdi
mov qword [rbp - 0x48], rdi
mov qword [rbp - 0x40], reloc.WS2_32.dll_ntohs
mov byte [rbp - 0x58], dil
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp + 0x40], xmm0
movups xmmword [rbp + 0x50], xmm0
mov qword [rbp + 0x60], rax
lea rcx, [rbp + 0x40]
call fcn.140007e60
nop
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x68], xmm1
lea ecx, [rdi + 0x40]
call fcn.140083ed0
mov qword [rax], rax
mov qword [rax + 8], rax
mov qword [rax + 0x10], rax
mov word [rax + 0x18], 0x101
mov qword [rbp - 0x68], rax
mov rax, qword [rbp + 0x70]
movsxd rcx, dword [rax + 4]
lea rax, [rbp + 0x70]
add rcx, rax
mov dl, 0xa
call qword [sym.imp.MSVCP140.dll_public:_char___cdecl_std::basic_ios_char__struct_std::char_traits_char__::widen_char_const___ptr64]
movzx r8d, al
lea rdx, [rbp - 0x58]
lea rcx, [rbp + 0x70]
call fcn.140013c70
mov rcx, qword [rax]
movsxd rdx, dword [rcx + 4]
test byte [rdx + rax + 0x10], 6
jne 0x140003abd
movabs rbx, 0x2aaaaaaaaaaaaaab
nop dword [rax + rax]
xorps xmm0, xmm0
movups xmmword [rbp - 0x30], xmm0
movups xmmword [rbp], xmm0
movups xmmword [rbp + 0x20], xmm0
movups xmmword [rbp + 0x30], xmm0
mov qword [rbp - 0x30], rdi
mov byte [rbp - 0x28], 0
movdqa xmmword [rbp - 0x20], xmm0
xorps xmm1, xmm1
movdqa xmmword [rbp - 0x10], xmm1
mov qword [rbp], rdi
mov byte [rbp + 8], 0
movdqa xmmword [rbp + 0x10], xmm0
mov byte [rbp + 0x20], 0
mov qword [rbp + 0x28], rdi
mov qword [rbp + 0x30], rdi
mov byte [rbp + 0x38], 0
lea rcx, [rbp - 0x58]
cmp qword [rbp - 0x40], 0x10
jb 0x1400038e0
mov rcx, qword [rbp - 0x58]
mov r10, rcx
mov rdx, qword [rbp - 0x48]
add rdx, rcx
jmp 0x1400038ec
lea rdx, [rbp - 0x58]
add rdx, qword [rbp - 0x48]
lea r10, [rbp - 0x58]
mov qword [rsp + 0x28], rcx
lea r9, [rbp + 0x40]
lea r8, [rbp - 0x30]
mov rcx, r10
call fcn.140013e10
test al, al
je 0x140003a7a
mov rcx, qword [rbp - 0x18]
mov r8, qword [rbp - 0x20]
sub rcx, r8
mov rax, rbx
imul rcx
sar rdx, 2
mov rax, rdx
shr rax, 0x3f
add rdx, rax
cmp rdx, 1
lea rax, [rbp + 0x28]
jbe 0x140003936
lea rax, [r8 + 0x18]
cmp byte [rax + 0x10], 0
je 0x1400039b3
cmp rdx, 1
ja 0x140003948
lea r8, [rbp + 0x28]
jmp 0x14000394c
add r8, 0x18
cmp byte [r8 + 0x10], 0
je 0x14000395e
movups xmm0, xmmword [r8]
movups xmmword [rsp + 0x40], xmm0
jmp 0x140003967
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x40], xmm0
mov qword [rsp + 0x78], rdi
mov qword [rbp - 0x78], rdi
mov qword [rbp - 0x70], reloc.WS2_32.dll_ntohs
mov byte [rsp + 0x78], 0
mov rdx, qword [rsp + 0x40]
mov r8, qword [rsp + 0x48]
cmp rdx, r8
je 0x14000399a
sub r8, rdx
lea rcx, [rsp + 0x78]
call fcn.14000b880
nop
lea r8, [rsp + 0x78]
lea rdx, [rsp + 0x58]
lea rcx, [rbp - 0x68]
call fcn.140014010
nop
jmp 0x140003a3d
cmp rdx, 2
lea rax, [rbp + 0x28]
jbe 0x1400039c1
lea rax, [r8 + 0x30]
cmp byte [rax + 0x10], 0
je 0x140003a7a
cmp rdx, 2
ja 0x1400039d7
lea r8, [rbp + 0x28]
jmp 0x1400039db
add r8, 0x30
cmp byte [r8 + 0x10], 0
je 0x1400039ed
movups xmm0, xmmword [r8]
movups xmmword [rsp + 0x40], xmm0
jmp 0x1400039f6
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x40], xmm0
mov qword [rsp + 0x78], rdi
mov qword [rbp - 0x78], rdi
mov qword [rbp - 0x70], reloc.WS2_32.dll_ntohs
mov byte [rsp + 0x78], 0
mov rdx, qword [rsp + 0x40]
mov r8, qword [rsp + 0x48]
cmp rdx, r8
je 0x140003a29
sub r8, rdx
lea rcx, [rsp + 0x78]
call fcn.14000b880
nop
lea r8, [rsp + 0x78]
lea rdx, [rsp + 0x68]
lea rcx, [rbp - 0x68]
call fcn.140014010
nop
mov rdx, qword [rbp - 0x70]
cmp rdx, 0x10
jb 0x140003a7a
inc rdx
mov rcx, qword [rsp + 0x78]
cmp rdx, 0x1000
mov rax, rcx
jb 0x140003a74
mov rcx, qword [rcx - 8]
sub rax, rcx
add rdx, 0x27
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140003ba8
call fcn.140083fe4
nop
lea rcx, [rbp - 0x20]
call fcn.140007da0
mov rax, qword [rbp + 0x70]
movsxd rcx, dword [rax + 4]
lea rax, [rbp + 0x70]
add rcx, rax
mov dl, 0xa
call qword [sym.imp.MSVCP140.dll_public:_char___cdecl_std::basic_ios_char__struct_std::char_traits_char__::widen_char_const___ptr64]
movzx r8d, al
lea rdx, [rbp - 0x58]
lea rcx, [rbp + 0x70]
call fcn.140013c70
mov rcx, qword [rax]
movsxd rdx, dword [rcx + 4]
test byte [rdx + rax + 0x10], 6
je 0x140003880
mov r8, qword [rbp - 0x68]
mov rbx, qword [r8]
cmp byte [rbx + 0x19], 0
jne 0x140003bdd
movabs rsi, 0x7fffffffffffffff
nop dword [rax + rax]
lea rcx, [rbx + 0x20]
mov rdx, qword [rcx + 0x10]
mov rax, rsi
sub rax, rdx
cmp rax, 0xc
jb 0x140003cf5
cmp qword [rcx + 0x18], 0x10
jb 0x140003b02
mov rcx, qword [rcx]
mov qword [rsp + 0x30], rdx
mov qword [rsp + 0x28], rcx
mov qword [rsp + 0x20], ntohs
lea r9, str.pip_install
lea rcx, [rsp + 0x78]
call fcn.140010080
lea rcx, [rsp + 0x78]
cmp qword [rbp - 0x70], 0x10
cmovae rcx, qword [rsp + 0x78]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
mov rdx, qword [rbp - 0x70]
cmp rdx, 0x10
jb 0x140003b78
inc rdx
mov rcx, qword [rsp + 0x78]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140003b73
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140003c65
call fcn.140083fe4
mov rax, qword [rbx + 0x10]
cmp byte [rax + 0x19], 0
je 0x140003baf
mov rax, qword [rbx + 8]
cmp byte [rax + 0x19], 0
jne 0x140003ba3
nop dword [rax]
cmp rbx, qword [rax + 0x10]
jne 0x140003ba3
mov rbx, rax
mov rax, qword [rax + 8]
cmp byte [rax + 0x19], 0
je 0x140003b90
mov rbx, rax
jmp 0x140003bcf
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
mov rbx, rax
mov rcx, qword [rax]
cmp byte [rcx + 0x19], 0
jne 0x140003bcf
nop dword [rax + rax]
mov rbx, rcx
mov rax, qword [rcx]
mov rcx, rax
cmp byte [rax + 0x19], 0
je 0x140003bc0
cmp byte [rbx + 0x19], 0
je 0x140003ae0
mov r8, qword [rbp - 0x68]
mov r8, qword [r8 + 8]
lea rdx, [rbp - 0x68]
lea rcx, [rbp - 0x68]
call fcn.1400146b0
mov edx, 0x40
mov rcx, qword [rbp - 0x68]
call fcn.140083fe4
nop
lea rcx, [rbp + 0x40]
call fcn.14000b1c0
mov rcx, qword [rbp + 0x60]
test rcx, rcx
je 0x140003c2c
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
test rax, rax
je 0x140003c2c
mov rcx, qword [rax]
mov r8, qword [rcx]
mov edx, 1
mov rcx, rax
call r8
nop
mov rdx, qword [rbp - 0x40]
cmp rdx, 0x10
jb 0x140003c71
inc rdx
mov rcx, qword [rbp - 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140003c6c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140003c6c
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call fcn.140083fe4
mov qword [rbp - 0x48], rdi
mov qword [rbp - 0x40], reloc.WS2_32.dll_ntohs
mov byte [rbp - 0x58], 0
mov rax, qword [rbp + 0x70]
movsxd rcx, dword [rax + 4]
lea rax, vtable.std::basic_ifstream_char__struct_std::char_traits_char__.0
mov qword [rbp + rcx + 0x70], rax
mov rax, qword [rbp + 0x70]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xb0]
mov dword [rbp + rcx + 0x6c], edx
lea rcx, [rbp + 0x80]
call fcn.140008bb0
lea rcx, [rbp + 0x88]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_istream_char__struct_std::char_traits_char__::destructor_void____ptr64]
lea rcx, [rbp + 0x120]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::destructor_void____ptr64]
mov rcx, qword [rbp + 0x180]
xor rcx, rsp
call fcn.140083eb0
lea r11, [rsp + 0x290]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret
call fcn.140001220
nop
int3