Function at 0x180003060
Capabilities:
Create http request
Read data from internet
Receive data

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rbp
push rdi
push r12
push r14
push r15
lea rbp, [rsp - 0x370]
sub rsp, 0x470
mov rax, qword [0x18000b040]
xor rax, rsp
mov qword [rbp + 0x360], rax
mov rbx, rdx
mov r14, rcx
mov qword [rsp + 0x58], rcx
xor r12d, r12d
xorps xmm0, xmm0
movups xmmword [rsp + 0x38], xmm0
mov qword [rsp + 0x48], r12
mov qword [rsp + 0x50], 0xf
mov byte [rsp + 0x38], r12b
mov dword [rsp + 0x20], r12d
xor r9d, r9d
xor r8d, r8d
lea edx, [r12 + 1]
lea rcx, str.HTTPGET
call qword [sym.imp.WININET.dll_InternetOpenW]
mov r15, rax
mov qword [rsp + 0x28], r12
mov dword [rsp + 0x20], 0x80000000
xor r9d, r9d
xor r8d, r8d
mov rdx, rbx
mov rcx, rax
call qword [sym.imp.WININET.dll_InternetOpenUrlW]
mov rsi, rax
test rax, rax
jne 0x18000310b
mov rcx, r15
call qword [sym.imp.WININET.dll_InternetCloseHandle]
lea r9, [rsp + 0x58]
mov r8d, 0x400
lea rdx, [rsp + 0x60]
mov rcx, rsi
call qword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
je 0x1800031bc
nop dword [rax]
mov eax, dword [rsp + 0x58]
test eax, eax
je 0x1800031bc
mov ebx, eax
mov rcx, qword [rsp + 0x48]
mov rdx, qword [rsp + 0x50]
mov rax, rdx
sub rax, rcx
cmp rbx, rax
ja 0x180003184
lea rax, [rcx + rbx]
mov qword [rsp + 0x48], rax
lea rdi, [rsp + 0x38]
cmp rdx, 0xf
cmova rdi, qword [rsp + 0x38]
add rdi, rcx
mov r8d, ebx
lea rdx, [rsp + 0x60]
mov rcx, rdi
call sub.VCRUNTIME140.dll_memmove
mov byte [rdi + rbx], 0
jmp 0x18000319b
mov qword [rsp + 0x20], rbx
lea r9, [rsp + 0x60]
mov rdx, rbx
lea rcx, [rsp + 0x38]
call fcn.180005460
lea r9, [rsp + 0x58]
mov r8d, 0x400
lea rdx, [rsp + 0x60]
mov rcx, rsi
call qword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
jne 0x180003130
mov rcx, rsi
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov rcx, r15
call qword [sym.imp.WININET.dll_InternetCloseHandle]
xorps xmm0, xmm0
movups xmmword [r14], xmm0
lea rcx, [rsp + 0x38]
mov r8, qword [rsp + 0x38]
mov rdx, qword [rsp + 0x50]
cmp rdx, 0xf
cmova rcx, r8
mov rdi, qword [rsp + 0x48]
add rdi, rcx
lea rsi, [rsp + 0x38]
cmp rdx, 0xf
cmova rsi, r8
mov qword [r14], r12
mov qword [r14 + 8], r12
mov qword [r14 + 0x10], r12
sub rdi, rsi
je 0x180003297
movabs rax, 0x7fffffffffffffff
cmp rdi, rax
ja 0x180003304
cmp rdi, 0x1000
jb 0x18000325d
lea rcx, [rdi + 0x27]
cmp rcx, rdi
jbe 0x1800032fe
call fcn.180005844
test rax, rax
je 0x180003256
lea rbx, [rax + 0x27]
and rbx, 0xffffffffffffffe0
mov qword [rbx - 8], rax
jmp 0x180003268
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, rdi
call fcn.180005844
mov rbx, rax
mov qword [r14], rbx
mov qword [r14 + 8], rbx
lea rax, [rbx + rdi]
mov qword [r14 + 0x10], rax
mov r8, rdi
mov rdx, rsi
mov rcx, rbx
call sub.VCRUNTIME140.dll_memmove
lea rax, [rdi + rbx]
mov qword [r14 + 8], rax
mov rdx, qword [rsp + 0x50]
mov r8, qword [rsp + 0x38]
cmp rdx, 0xf
jbe 0x1800032d0
inc rdx
mov rax, r8
cmp rdx, 0x1000
jb 0x1800032c8
add rdx, 0x27
mov r8, qword [r8 - 8]
sub rax, r8
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1800032c8
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, r8
call fcn.180005810
mov rax, r14
mov rcx, qword [rbp + 0x360]
xor rcx, rsp
call fcn.1800057f0
lea r11, [rsp + 0x470]
mov rbx, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret
call fcn.180001180
nop
call fcn.180005770
int3