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

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x7f0]
sub rsp, 0x8f0
mov rax, qword [0x180077010]
xor rax, rsp
mov qword [rbp + 0x7e0], rax
mov r15, rcx
mov qword [rbp - 0x80], rcx
xor ebx, ebx
mov dword [rsp + 0x30], ebx
mov qword [rcx], rbx
mov qword [rcx + 0x10], rbx
mov qword [rcx + 0x18], 0xf
mov byte [rcx], bl
mov dword [rsp + 0x30], 1
movabs rax, 0x6c8fb5d628b36bb6
mov qword [rbp - 0x70], rax
movabs rax, 0xee86c40dbbbb3f4b
mov qword [rbp - 0x68], rax
movabs rax, 0x6ca8255872bb0a38
mov qword [rbp - 0x60], rax
movabs rax, 0x8485f61f711b8285
mov qword [rbp - 0x58], rax
movabs rax, 0x29a64425ecf5f9a
mov qword [rbp - 0x50], rax
movabs rax, 0xe0b5fe29c33b92cf
mov qword [rbp - 0x48], rax
movabs rax, 0x192221d42dca0dfc
mov qword [rbp - 0x40], rax
movabs rcx, 0xc1fed83b0f0c0229
mov qword [rbp - 0x38], rcx
movabs rax, 0x43a08fa558c71fde
mov qword [rsp + 0x40], rax
movabs rax, 0x8fe3b07e95cc483c
mov qword [rsp + 0x48], rax
movabs rax, 0x43c646761fd46955
mov qword [rsp + 0x50], rax
movabs rax, 0xf6e0a06b107eeac6
mov qword [rsp + 0x58], rax
movabs rax, 0x6df5236d30a036e9
mov qword [rsp + 0x60], rax
movabs rax, 0xa4d08d46ac7cf7bc
mov qword [rsp + 0x68], rax
movabs rax, 0x194b4fbd03a16e89
mov qword [rsp + 0x70], rax
mov qword [rsp + 0x78], rcx
movdqa xmm0, xmmword [rsp + 0x40]
pxor xmm0, xmmword [rbp - 0x70]
movdqa xmmword [rsp + 0x40], xmm0
movdqa xmm1, xmmword [rsp + 0x50]
pxor xmm1, xmmword [rbp - 0x60]
movdqa xmmword [rsp + 0x50], xmm1
movdqa xmm0, xmmword [rsp + 0x60]
pxor xmm0, xmmword [rbp - 0x50]
movdqa xmmword [rsp + 0x60], xmm0
movdqa xmm1, xmmword [rsp + 0x70]
pxor xmm1, xmmword [rbp - 0x40]
movdqa xmmword [rsp + 0x70], xmm1
mov qword [rbp - 0x70], rbx
mov qword [rbp - 0x60], rbx
mov qword [rbp - 0x58], 0xf
mov byte [rbp - 0x70], bl
lea rax, [rsp + 0x40]
mov r8, 0xffffffffffffffff
nop
inc r8
cmp byte [rax + r8], 0
jne 0x180015b10
lea rdx, [rsp + 0x40]
lea rcx, [rbp - 0x70]
call fcn.18001d030
nop
mov dword [rsp + 0x20], ebx
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.WININET.dll_InternetOpenA]
mov r13, rax
test rax, rax
je 0x180015cc6
lea rdx, [rbp - 0x70]
cmp qword [rbp - 0x58], 0x10
cmovae rdx, qword [rbp - 0x70]
mov qword [rsp + 0x28], rbx
mov dword [rsp + 0x20], 0x4000000
xor r9d, r9d
xor r8d, r8d
mov rcx, rax
call qword [sym.imp.WININET.dll_InternetOpenUrlA]
mov r12, rax
test rax, rax
je 0x180015cbc
mov dword [rbp - 0x78], ebx
lea r9, [rbp - 0x78]
mov r8d, 0x800
lea rdx, [rbp - 0x30]
mov rcx, r12
call qword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
je 0x180015cb3
mov eax, dword [rbp - 0x78]
test eax, eax
je 0x180015cb3
cmp rax, 0x801
jae 0x180015d37
mov byte [rbp + rax - 0x30], 0
mov qword [rsp + 0x40], rbx
mov qword [rsp + 0x50], rbx
mov qword [rsp + 0x58], 0xf
mov byte [rsp + 0x40], 0
lea rax, [rbp - 0x30]
mov r8, 0xffffffffffffffff
inc r8
cmp byte [rax + r8], 0
jne 0x180015be0
lea rdx, [rbp - 0x30]
lea rcx, [rsp + 0x40]
call fcn.18001d030
nop
lea r9, [rsp + 0x40]
mov rdi, qword [rsp + 0x40]
mov r14, qword [rsp + 0x58]
cmp r14, 0x10
cmovae r9, rdi
mov rcx, qword [r15 + 0x10]
mov rdx, qword [r15 + 0x18]
mov rax, rdx
sub rax, rcx
mov rsi, qword [rsp + 0x50]
cmp rsi, rax
ja 0x180015c56
lea rax, [rsi + rcx]
mov qword [r15 + 0x10], rax
mov rax, r15
cmp rdx, 0x10
jb 0x180015c3c
mov rax, qword [r15]
lea rbx, [rax + rcx]
mov r8, rsi
mov rdx, r9
mov rcx, rbx
call sub.VCRUNTIME140.dll_memmove
mov byte [rsi + rbx], 0
xor ebx, ebx
jmp 0x180015c70
mov qword [rsp + 0x20], rsi
mov rdx, rsi
mov rcx, r15
call fcn.18001db90
mov r14, qword [rsp + 0x58]
mov rdi, qword [rsp + 0x40]
cmp r14, 0x10
jb 0x180015b82
lea rdx, [r14 + 1]
mov rax, rdi
cmp rdx, 0x1000
jb 0x180015c9f
add rdx, 0x27
mov rdi, qword [rdi - 8]
sub rax, rdi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180015cac
mov rcx, rdi
call fcn.180060c48
jmp 0x180015b82
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, r12
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov rcx, r13
call qword [sym.imp.WININET.dll_InternetCloseHandle]
nop
mov rdx, qword [rbp - 0x58]
cmp rdx, 0x10
jb 0x180015d04
inc rdx
mov rcx, qword [rbp - 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180015cff
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180015cff
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.180060c48
mov rax, r15
mov rcx, qword [rbp + 0x7e0]
xor rcx, rsp
call fcn.1800605d0
lea r11, [rsp + 0x8f0]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
call fcn.1800606f8
int3