Function at 0x14001e370
Capabilities:
Download url
Receive data

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push rbp
push r14
push r15
lea rbp, [rax - 0x218]
sub rsp, 0x300
movaps xmmword [rax - 0x28], xmm6
mov rax, qword [0x14009f100]
xor rax, rsp
mov qword [rbp + 0x1e0], rax
mov rbx, rcx
mov qword [rsp + 0x48], rcx
xor esi, esi
mov dword [rsp + 0x40], esi
mov rcx, qword [0x14009fda8]
movabs rax, 0x7ffffffffffffffe
sub rax, rcx
cmp rax, 0xb
jb 0x14001e825
lea rax, str..crypt
cmp qword [0x14009fdb0], 7
cmova rax, qword [str..crypt]
mov qword [rsp + 0x30], rcx
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], 0xb
lea r9, str.external_ip
lea rcx, [rbp - 0x78]
call fcn.14001d3b0
nop
lea r8, [rbp - 0x78]
cmp qword [rbp - 0x60], 7
cmova r8, qword [rbp - 0x78]
mov qword [rsp + 0x20], rsi
xor r9d, r9d
lea rdx, str.https:__api.ipify.org
xor ecx, ecx
call qword [sym.imp.urlmon.dll_URLDownloadToFileW]
test eax, eax
js 0x14001e794
xor edx, edx
mov r8d, 0x110
lea rcx, [rbp + 0xd0]
call fcn.140060a10
lea rdx, [rbp - 0x78]
cmp qword [rbp - 0x60], 7
cmova rdx, qword [rbp - 0x78]
lea rcx, [rbp + 0xd0]
call fcn.140021a20
mov rax, qword [rbp + 0xd0]
movsxd rcx, dword [rax + 4]
lea r14, vtable.std::basic_ifstream_char__struct_std::char_traits_char__.0
mov qword [rbp + rcx + 0xd0], r14
mov rax, qword [rbp + 0xd0]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xb0]
mov dword [rbp + rcx + 0xcc], edx
xor edx, edx
mov r8d, 0xf8
lea rcx, [rbp - 0x30]
call fcn.140060a10
lea rcx, [0x140000000]
lea rax, [rcx + 0x8f838]
mov qword [rbp - 0x30], rax
lea rax, [rcx + 0x8f778]
mov qword [rbp - 0x20], rax
mov qword [rbp + 0x70], rsi
mov qword [rbp + 0x78], rsi
mov dword [rbp + 0x80], esi
mov qword [rbp + 0x88], rsi
xorps xmm0, xmm0
movdqa xmmword [rbp + 0x90], xmm0
xorps xmm1, xmm1
movdqa xmmword [rbp + 0xa0], xmm1
movdqa xmmword [rbp + 0xb0], xmm0
mov byte [rbp + 0xc0], sil
mov edi, 6
mov dword [rsp + 0x40], edi
lea r15, vtable.std::basic_istream_char__struct_std::char_traits_char__.0
mov qword [rbp + 0x68], r15
mov dword [rbp + 0x64], 0x80
mov qword [rbp - 0x28], rsi
lea rdx, [rbp - 0x18]
lea rcx, [rbp + 0x68]
call fcn.14001cc70
nop
mov rax, qword [rbp - 0x20]
movsxd rcx, dword [rax + 4]
lea rax, vtable.std::basic_ostream_char__struct_std::char_traits_char__.0
mov qword [rbp + rcx - 0x20], rax
mov rax, qword [rbp - 0x20]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x10]
mov dword [rbp + rcx - 0x24], edx
mov rax, qword [rbp - 0x30]
movsxd rcx, dword [rax + 4]
lea rax, vtable.std::basic_iostream_char__struct_std::char_traits_char__.0
mov qword [rbp + rcx - 0x30], rax
mov rax, qword [rbp - 0x30]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x20]
mov dword [rbp + rcx - 0x34], edx
mov rax, qword [rbp - 0x30]
movsxd rcx, dword [rax + 4]
lea rax, vtable.std::basic_stringstream_char__struct_std::char_traits_char___class_std::allocator_char__.0
mov qword [rbp + rcx - 0x30], rax
mov rax, qword [rbp - 0x30]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x98]
mov dword [rbp + rcx - 0x34], edx
lea rcx, [rbp - 0x18]
call fcn.14001cb90
lea rax, vtable.std::basic_stringbuf_char__struct_std::char_traits_char___class_std::allocator_char__.0
mov qword [rbp - 0x18], rax
mov qword [rbp + 0x50], rsi
mov dword [rbp + 0x58], esi
lea rdx, [rbp + 0xe0]
lea rcx, [rbp - 0x20]
call fcn.140020230
nop
xorps xmm0, xmm0
movups xmmword [rbp - 0x58], xmm0
movdqa xmm6, xmmword [0x140093290]
movdqu xmmword [rbp - 0x48], xmm6
mov byte [rbp - 0x58], sil
mov dword [rsp + 0x40], 0x86
xor eax, eax
movups xmmword [rsp + 0x48], xmm0
mov qword [rsp + 0x58], rax
mov ecx, dword [rbp + 0x58]
mov eax, ecx
and al, 0x22
cmp al, 2
je 0x14001e620
mov rax, qword [rbp + 0x28]
mov r8, qword [rax]
test r8, r8
je 0x14001e620
mov rax, qword [rbp + 8]
mov rdx, qword [rax]
cmp r8, qword [rbp + 0x50]
cmovb r8, qword [rbp + 0x50]
sub r8, rdx
jmp 0x14001e651
test cl, 4
jne 0x14001e647
mov rax, qword [rbp + 0x20]
mov rcx, qword [rax]
test rcx, rcx
je 0x14001e647
mov rax, qword [rbp]
mov rdx, qword [rax]
mov rax, qword [rbp + 0x38]
movsxd r8, dword [rax]
sub r8, rdx
add r8, rcx
jmp 0x14001e651
mov r8, qword [rsp + 0x50]
mov rdx, qword [rsp + 0x48]
test rdx, rdx
je 0x14001e664
lea rcx, [rbp - 0x58]
call fcn.1400173f0
movdqu xmm6, xmmword [rbp - 0x48]
lea rcx, [rbp + 0xe0]
call fcn.14001c770
test rax, rax
jne 0x14001e6b1
mov rax, qword [rbp + 0xd0]
movsxd rcx, dword [rax + 4]
mov eax, 2
cmp qword [rbp + rcx + 0x118], 0
cmovne edi, eax
or edi, dword [rbp + rcx + 0xe0]
and edi, 0x17
mov dword [rbp + rcx + 0xe0], edi
mov eax, dword [rbp + rcx + 0xe4]
and eax, edi
jne 0x14001e82b
lea rcx, [rbp - 0x78]
cmp qword [rbp - 0x60], 7
cmova rcx, qword [rbp - 0x78]
call fcn.140048100
movups xmm0, xmmword [rbp - 0x58]
movups xmmword [rbx], xmm0
movups xmmword [rbx + 0x10], xmm6
lea rcx, [rbp - 0x30]
call fcn.14001e920
nop
mov rax, qword [rbp + 0xd0]
movsxd rcx, dword [rax + 4]
mov qword [rbp + rcx + 0xd0], r14
mov rax, qword [rbp + 0xd0]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xb0]
mov dword [rbp + rcx + 0xcc], edx
lea rcx, [rbp + 0xe0]
call fcn.14001beb0
mov rax, qword [rbp + 0xd0]
movsxd rcx, dword [rax + 4]
mov qword [rbp + rcx + 0xd0], r15
mov rax, qword [rbp + 0xd0]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x18]
mov dword [rbp + rcx + 0xcc], edx
lea rax, vtable.std::ios_base.0
mov qword [rbp + 0x180], rax
lea rcx, [rbp + 0x180]
call fcn.1400357a8
nop
mov rdx, qword [rbp - 0x60]
cmp rdx, 7
jbe 0x14001e7e5
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x78]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14001e7e0
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14001e81f
jmp 0x14001e7e0
xorps xmm0, xmm0
movups xmmword [rbx], xmm0
mov qword [rbx + 0x10], rsi
mov qword [rbx + 0x18], 0xf
mov byte [rbx], 0
mov rdx, qword [rbp - 0x60]
cmp rdx, 7
jbe 0x14001e7e5
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x78]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14001e7e0
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14001e819
call fcn.140036bb4
mov rax, rbx
mov rcx, qword [rbp + 0x1e0]
xor rcx, rsp
call fcn.140036840
lea r11, [rsp + 0x300]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rdi, qword [r11 + 0x38]
movaps xmm6, xmmword [r11 - 0x10]
mov rsp, r11
pop r15
pop r14
pop rbp
ret
call fcn.140046420
int3
call fcn.140046420
int3
call fcn.140001720
nop
test al, 4
je 0x14001e838
lea rbx, str.ios_base::badbit_set
jmp 0x14001e84c
test al, 2
lea rbx, str.ios_base::failbit_set
lea rax, str.ios_base::eofbit_set
cmove rbx, rax
mov edx, 1
lea rcx, [rsp + 0x48]
call fcn.140017a30
mov r8, rax
mov rdx, rbx
lea rcx, [rsp + 0x60]
call fcn.140017fc0
lea rdx, [0x14009cf30]
lea rcx, [rsp + 0x60]
call fcn.1400387d0
int3