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

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x810]
sub rsp, 0x910
mov rax, qword [0x140007008]
xor rax, rsp
mov qword [rbp + 0x800], rax
mov rsi, rdx
mov r12, rcx
mov qword [rsp + 0x30], rcx
mov qword [rbp - 0x30], rdx
mov dword [rsp + 0x30], 1
movabs rax, 0xe32e9be83911ff4e
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x60], rax
movabs rax, 0x35b32e21754af27d
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x68], rax
movabs rax, 0xcc4ff784506b9003
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rbp + 0x20], rax
movabs r15, 0x35b32e21757adc48
mov qword [rsp + 0x30], r15
mov rax, qword [rsp + 0x30]
mov qword [rbp + 0x28], rax
movdqa xmm0, xmmword [rsp + 0x60]
xorps xmm0, xmmword [rbp + 0x20]
movdqa xmmword [rsp + 0x60], xmm0
xor edi, edi
mov dword [rsp + 0x20], edi
xor r9d, r9d
xor r8d, r8d
lea edx, [rdi + 1]
lea rcx, [rsp + 0x60]
call qword [sym.imp.WININET.dll_InternetOpenA]
mov r13, rax
xorps xmm0, xmm0
movups xmmword [rbp - 0x20], xmm0
mov ebx, edi
mov qword [rbp - 0x10], rbx
mov r14d, 0xf
mov qword [rbp - 8], r14
mov byte [rbp - 0x20], bl
test rax, rax
je 0x1400016fc
mov rdx, rsi
cmp qword [rsi + 0x18], 0x10
jb 0x140001426
mov rdx, qword [rsi]
mov qword [rsp + 0x28], rdi
mov dword [rsp + 0x20], edi
xor r9d, r9d
xor r8d, r8d
mov rcx, r13
call qword [sym.imp.WININET.dll_InternetOpenUrlA]
mov r15, rax
test rax, rax
je 0x1400016f2
nop word [rax + rax]
lea r9, [rbp - 0x28]
mov r8d, 0x7d0
lea rdx, [rbp + 0x30]
mov rcx, r15
call qword [sym.imp.WININET.dll_InternetReadFile]
mov edi, dword [rbp - 0x28]
mov rax, r14
sub rax, rbx
cmp rdi, rax
ja 0x1400014a2
lea rax, [rbx + rdi]
mov qword [rbp - 0x10], rax
lea rax, [rbp - 0x20]
cmp r14, 0x10
cmovae rax, qword [rbp - 0x20]
add rbx, rax
mov r8d, edi
lea rdx, [rbp + 0x30]
mov rcx, rbx
call sub.VCRUNTIME140.dll_memmove
mov byte [rbx + rdi], 0
jmp 0x1400014b7
mov qword [rsp + 0x20], rdi
lea r9, [rbp + 0x30]
mov rdx, rdi
lea rcx, [rbp - 0x20]
call fcn.140002e10
xor edx, edx
mov r8d, 0x7d0
lea rcx, [rbp + 0x30]
call sub.VCRUNTIME140.dll_memset
cmp dword [rbp - 0x28], 0
je 0x1400014db
mov r14, qword [rbp - 8]
mov rbx, qword [rbp - 0x10]
jmp 0x140001450
mov rcx, r13
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov rcx, r15
call qword [sym.imp.WININET.dll_InternetCloseHandle]
movabs rax, 0xcc4ff784506b9a0e
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x40], rax
movabs rbx, 0x35b32e21757adc48
mov qword [rsp + 0x30], rbx
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x48], rax
movabs r14, 0xcc4ff784506b9003
mov qword [rsp + 0x30], r14
mov rax, qword [rsp + 0x30]
mov qword [rbp], rax
mov qword [rsp + 0x30], rbx
mov rax, qword [rsp + 0x30]
mov qword [rbp + 8], rax
movdqa xmm0, xmmword [rsp + 0x40]
xorps xmm0, xmmword [rbp]
movdqa xmmword [rsp + 0x40], xmm0
lea rdx, [rsp + 0x40]
lea rcx, [rbp - 0x70]
call fcn.1400022d0
nop
movabs rax, 0xcc4ff784506bfe7f
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x30], rbx
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x30], r14
mov rax, qword [rsp + 0x30]
mov qword [rbp + 0x10], rax
mov qword [rsp + 0x30], rbx
mov rax, qword [rsp + 0x30]
mov qword [rbp + 0x18], rax
movdqa xmm0, xmmword [rsp + 0x50]
xorps xmm0, xmmword [rbp + 0x10]
movdqa xmmword [rsp + 0x50], xmm0
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x70]
call fcn.1400022d0
nop
lea rdx, [rbp - 0x20]
lea rcx, [rbp - 0x50]
call fcn.1400023f0
lea r9, [rbp - 0x70]
lea r8, [rsp + 0x70]
mov rdx, rax
mov rcx, r12
call fcn.1400011c0
nop
mov rdx, qword [rbp - 0x78]
cmp rdx, 0x10
jb 0x14000162a
inc rdx
mov rcx, qword [rsp + 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140001624
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140001624
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14000389c
nop
mov rdx, qword [rbp - 0x58]
cmp rdx, 0x10
jb 0x140001669
inc rdx
mov rcx, qword [rbp - 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140001663
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140001663
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14000389c
nop
mov rdx, qword [rbp - 8]
cmp rdx, 0x10
jb 0x1400016a8
inc rdx
mov rcx, qword [rbp - 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400016a2
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400016a2
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14000389c
nop
mov rdx, qword [rsi + 0x18]
cmp rdx, 0x10
jb 0x1400016de
inc rdx
mov rcx, qword [rsi]
cmp rdx, 0x1000
jb 0x1400016d9
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x1400016eb
mov rcx, r8
call fcn.14000389c
mov qword [rsi + 0x10], 0
jmp 0x1400018f0
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
movabs r15, 0x35b32e21757adc48
mov rcx, r13
call qword [sym.imp.WININET.dll_InternetCloseHandle]
movabs rax, 0xcc4ff784506b9a0e
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x30], r15
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x58], rax
movabs r14, 0xcc4ff784506b9003
mov qword [rsp + 0x30], r14
mov rax, qword [rsp + 0x30]
mov qword [rbp + 0x10], rax
mov qword [rsp + 0x30], r15
mov rax, qword [rsp + 0x30]
mov qword [rbp + 0x18], rax
movdqa xmm0, xmmword [rsp + 0x50]
xorps xmm0, xmmword [rbp + 0x10]
movdqa xmmword [rsp + 0x50], xmm0
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x70]
call fcn.1400022d0
nop
movabs rax, 0xcc4ff784506bfe7f
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x30], r15
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x48], rax
mov qword [rsp + 0x30], r14
mov rax, qword [rsp + 0x30]
mov qword [rbp], rax
mov qword [rsp + 0x30], r15
mov rax, qword [rsp + 0x30]
mov qword [rbp + 8], rax
movdqa xmm0, xmmword [rsp + 0x40]
xorps xmm0, xmmword [rbp]
movdqa xmmword [rsp + 0x40], xmm0
lea rdx, [rsp + 0x40]
lea rcx, [rbp - 0x70]
call fcn.1400022d0
nop
lea rdx, [rbp - 0x20]
lea rcx, [rbp - 0x50]
call fcn.1400023f0
lea r9, [rsp + 0x70]
lea r8, [rbp - 0x70]
mov rdx, rax
mov rcx, r12
call fcn.1400011c0
nop
mov rdx, qword [rbp - 0x58]
cmp rdx, 0x10
jb 0x140001837
inc rdx
mov rcx, qword [rbp - 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140001831
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140001831
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14000389c
nop
mov rdx, qword [rbp - 0x78]
cmp rdx, 0x10
jb 0x140001877
inc rdx
mov rcx, qword [rsp + 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140001871
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140001871
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14000389c
nop
mov rdx, qword [rbp - 8]
cmp rdx, 0x10
jb 0x1400018b6
inc rdx
mov rcx, qword [rbp - 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400018b0
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400018b0
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14000389c
nop
mov rdx, qword [rsi + 0x18]
cmp rdx, 0x10
jb 0x1400018ec
inc rdx
mov rcx, qword [rsi]
cmp rdx, 0x1000
jb 0x1400018e7
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140001928
mov rcx, r8
call fcn.14000389c
mov qword [rsi + 0x10], rdi
mov rax, r12
mov byte [rsi], 0
mov qword [rsi + 0x18], 0xf
mov rcx, qword [rbp + 0x800]
xor rcx, rsp
call fcn.140003840
mov rbx, qword [rsp + 0x960]
add rsp, 0x910
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3