Function at 0x140008200
Capabilities:
Execute command

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
push r14
push r15
lea rbp, [rsp - 0xf0]
sub rsp, 0x1f0
mov rax, qword [0x140015010]
xor rax, rsp
mov qword [rbp + 0xe0], rax
mov rsi, rcx
xor r15d, r15d
mov r14d, r15d
mov dword [rsp + 0x30], r15d
xorps xmm0, xmm0
movups xmmword [rbp - 0x60], xmm0
mov qword [rbp - 0x50], r15
mov qword [rbp - 0x48], 0xf
lea ecx, [r15 + 0x60]
call fcn.14000b8d0
mov rcx, rax
mov qword [rbp - 0x60], rax
mov qword [rbp - 0x50], 0x5f
mov qword [rbp - 0x48], 0x5f
movaps xmm0, xmmword [str.cmd__c_curl__o__userprofile_AppDataLocalTempipp.txt_https:__myexternalip.com_raw___nul_2_1]
movups xmmword [rax], xmm0
movaps xmm1, xmmword [0x14000f1c0]
movups xmmword [rax + 0x10], xmm1
movaps xmm0, xmmword [0x14000f1d0]
movups xmmword [rax + 0x20], xmm0
movaps xmm1, xmmword [0x14000f1e0]
movups xmmword [rax + 0x30], xmm1
movaps xmm0, xmmword [0x14000f1f0]
movups xmmword [rax + 0x40], xmm0
movsd xmm0, qword [0x14000f200]
movsd qword [rax + 0x50], xmm0
mov eax, dword [0x14000f208]
mov dword [rcx + 0x58], eax
movzx eax, word [0x14000f20c]
mov word [rcx + 0x5c], ax
movzx eax, byte [0x14000f20e]
mov byte [rcx + 0x5e], al
mov byte [rcx + 0x5f], r14b
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
lea r8, str.USERPROFILE
lea rdx, [rbp - 0x40]
lea rcx, [rsp + 0x40]
call qword [sym.imp.api_ms_win_crt_environment_l1_1_0.dll__dupenv_s]
mov rdx, qword [rsp + 0x40]
test rdx, rdx
je 0x14000865e
lea rcx, [rsp + 0x60]
call fcn.140001c00
mov rdi, rax
mov rcx, qword [rax + 0x10]
mov rdx, qword [rax + 0x18]
mov rax, rdx
sub rax, rcx
cmp rax, 0x1b
jb 0x140008358
lea rax, [rcx + 0x1b]
mov qword [rdi + 0x10], rax
mov rax, rdi
cmp rdx, 0x10
jb 0x140008339
mov rax, qword [rdi]
lea rbx, [rax + rcx]
mov r8d, 0x1b
lea rdx, str.AppDataLocalTempipp.txt
mov rcx, rbx
call sub.VCRUNTIME140.dll_memmove
mov byte [rbx + 0x1b], 0
jmp 0x140008378
mov qword [rsp + 0x20], 0x1b
lea r9, str.AppDataLocalTempipp.txt
mov edx, 0x1b
mov rcx, rdi
call fcn.1400063d0
mov rdi, rax
xorps xmm0, xmm0
movups xmmword [rbp - 0x80], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x70], xmm1
movups xmm0, xmmword [rdi]
movups xmmword [rbp - 0x80], xmm0
movups xmm1, xmmword [rdi + 0x10]
movups xmmword [rbp - 0x70], xmm1
mov qword [rdi + 0x10], r15
mov qword [rdi + 0x18], 0xf
mov byte [rdi], 0
or r14d, 1
mov rdx, qword [rsp + 0x78]
cmp rdx, 0x10
jb 0x1400083e9
inc rdx
mov rcx, qword [rsp + 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400083e4
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400083e4
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14000b914
movdqa xmm0, xmmword [0x14000f9b0]
movdqu xmmword [rsp + 0x70], xmm0
mov byte [rsp + 0x60], 0
xor edx, edx
mov r8d, 0x110
lea rcx, [rbp - 0x30]
call sub.VCRUNTIME140.dll_memset
lea rbx, [rbp - 0x80]
cmp qword [rbp - 0x68], 0x10
cmovae rbx, qword [rbp - 0x80]
lea rax, [0x14000ee90]
mov qword [rbp - 0x30], rax
lea rcx, [rbp + 0x80]
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::constructor_void____ptr64]
nop
or r14d, 2
mov dword [rsp + 0x30], r14d
xor r9d, r9d
xor r8d, r8d
lea rdx, [rbp - 0x20]
lea rcx, [rbp - 0x30]
call qword [sym.imp.MSVCP140.dll_public:_void___cdecl_std::basic_istream_char__struct_std::char_traits_char__::constructor_class_std::basic_streambuf_char__struct_std::char_traits_char______ptr64__bool____ptr64]
nop
mov rax, qword [rbp - 0x30]
movsxd rcx, dword [rax + 4]
lea rdi, vtable.std::basic_ifstream_char__struct_std::char_traits_char__.0
mov qword [rbp + rcx - 0x30], rdi
mov rax, qword [rbp - 0x30]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xb0]
mov dword [rbp + rcx - 0x34], edx
lea rcx, [rbp - 0x20]
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::constructor_void____ptr64]
lea rax, vtable.std::basic_filebuf_char__struct_std::char_traits_char__.0
mov qword [rbp - 0x20], rax
mov byte [rbp + 0x5c], 0
mov byte [rbp + 0x51], 0
lea rcx, [rbp - 0x20]
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::_Init_void____ptr64]
mov qword [rbp + 0x60], r15
mov rax, qword [0x140015bc8]
mov qword [rbp + 0x54], rax
mov qword [rbp + 0x48], r15
mov r8d, 1
mov rdx, rbx
lea rcx, [rbp - 0x20]
call fcn.140005ec0
test rax, rax
jne 0x1400084e6
mov rax, qword [rbp - 0x30]
movsxd rcx, dword [rax + 4]
lea rax, [rbp - 0x30]
add rcx, rax
xor r8d, r8d
lea edx, [r8 + 2]
call qword [sym.imp.MSVCP140.dll_public:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::setstate_int__bool____ptr64]
nop
mov rax, qword [rbp - 0x30]
movsxd rcx, dword [rax + 4]
mov qword [rbp + rcx - 0x30], rdi
mov rax, qword [rbp - 0x30]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xb0]
mov dword [rbp + rcx - 0x34], edx
cmp qword [rbp + 0x60], 0
je 0x14000860a
xorps xmm0, xmm0
movups xmmword [rsp + 0x60], xmm0
mov qword [rsp + 0x70], r15
mov qword [rsp + 0x78], 0xf
mov byte [rsp + 0x60], 0
mov rax, qword [rbp - 0x30]
movsxd rcx, dword [rax + 4]
lea rax, [rbp - 0x30]
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, [rsp + 0x60]
lea rcx, [rbp - 0x30]
call fcn.140008b70
lea rdx, str._n_n:satellite:____Network____n
mov rcx, rsi
call fcn.140001eb0
lea rdx, str.IP_Address:
mov rcx, rsi
call fcn.140001eb0
lea rdx, [rsp + 0x60]
cmp qword [rsp + 0x78], 0x10
cmovae rdx, qword [rsp + 0x60]
mov r8, qword [rsp + 0x70]
mov rcx, rax
call fcn.140002370
mov rcx, rax
lea rdx, [0x14000ed2c]
call fcn.140001eb0
lea rcx, [rbp - 0x20]
call fcn.140005e00
test rax, rax
jne 0x1400085ca
mov rax, qword [rbp - 0x30]
movsxd rcx, dword [rax + 4]
lea rax, [rbp - 0x30]
add rcx, rax
xor r8d, r8d
lea edx, [r8 + 2]
call qword [sym.imp.MSVCP140.dll_public:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::setstate_int__bool____ptr64]
nop
mov rdx, qword [rsp + 0x78]
cmp rdx, 0x10
jb 0x14000860a
inc rdx
mov rcx, qword [rsp + 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140008605
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140008605
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14000b914
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
nop
lea rcx, [rbp - 0x30]
call fcn.140008860
nop
mov rdx, qword [rbp - 0x68]
cmp rdx, 0x10
jb 0x14000865e
inc rdx
mov rcx, qword [rbp - 0x80]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140008659
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140008659
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14000b914
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rsp + 0x48], xmm0
mov qword [rsp + 0x58], rax
lea rcx, [rsp + 0x48]
call fcn.140007d30
nop
mov rax, qword [rsp + 0x50]
cmp qword [rsp + 0x48], rax
jne 0x1400086ac
lea rdx, str.Unable_to_retrieve_IP_addresses.
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140001eb0
lea rdx, [0x140002080]
mov rcx, rax
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___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
jmp 0x14000878f
lea rdx, str.IPv4_List_n
mov rcx, rsi
call fcn.140001eb0
mov rdi, qword [rsp + 0x50]
mov rbx, qword [rsp + 0x48]
cmp rbx, rdi
je 0x14000871f
nop word [rax + rax]
mov rcx, rbx
call fcn.140008990
cmp rax, 0xffffffffffffffff
jne 0x140008716
lea rdx, str.IPv4:
mov rcx, rsi
call fcn.140001eb0
mov rdx, rbx
cmp qword [rbx + 0x18], 0x10
jb 0x1400086fa
mov rdx, qword [rbx]
mov r8, qword [rbx + 0x10]
mov rcx, rax
call fcn.140002370
lea rdx, [0x140002080]
mov rcx, rax
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___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
add rbx, 0x20
cmp rbx, rdi
jne 0x1400086d0
lea rdx, str._nIPv6_List_n
mov rcx, rsi
call fcn.140001eb0
mov rdi, qword [rsp + 0x50]
mov rbx, qword [rsp + 0x48]
cmp rbx, rdi
je 0x140008794
nop dword [rax]
mov rcx, rbx
call fcn.140008990
cmp rax, 0xffffffffffffffff
je 0x140008786
lea rdx, str.IPv6:
mov rcx, rsi
call fcn.140001eb0
mov rdx, rbx
cmp qword [rbx + 0x18], 0x10
jb 0x14000876a
mov rdx, qword [rbx]
mov r8, qword [rbx + 0x10]
mov rcx, rax
call fcn.140002370
lea rdx, [0x140002080]
mov rcx, rax
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___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
add rbx, 0x20
cmp rbx, rdi
jne 0x140008740
mov rbx, qword [rsp + 0x48]
test rbx, rbx
je 0x1400087f2
mov rdx, qword [rsp + 0x50]
mov rcx, rbx
call fcn.140008ae0
mov rdx, qword [rsp + 0x58]
mov rcx, qword [rsp + 0x48]
sub rdx, rcx
and rdx, 0xffffffffffffffe0
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400087df
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400087df
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14000b914
mov qword [rsp + 0x48], r15
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x50], xmm0
mov rdx, qword [rbp - 0x48]
cmp rdx, 0x10
jb 0x140008830
inc rdx
mov rcx, qword [rbp - 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000882b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000882b
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14000b914
mov rcx, qword [rbp + 0xe0]
xor rcx, rsp
call fcn.14000b8b0
lea r11, [rsp + 0x1f0]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret