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

Disassembly:
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x780]
sub rsp, 0x880
mov qword [rsp + 0x60], 0xfffffffffffffffe
mov qword [rsp + 0x8d0], rbx
mov rax, qword [0x14001c010]
xor rax, rsp
mov qword [rbp + 0x770], rax
mov rdi, rdx
mov r14, rcx
mov qword [rbp - 0x70], rcx
movabs rsi, 0x3f5ec2d8f2badfb7
mov qword [rbp - 0x70], rsi
movabs r15, 0x53891fa58af208f8
mov qword [rbp - 0x68], r15
movabs rax, 0x103faeb49bc0b0fa
mov qword [rsp + 0x30], rax
movabs rax, 0x53891fa58ac226cd
mov qword [rsp + 0x38], rax
movdqa xmm0, xmmword [rsp + 0x30]
pxor xmm0, xmmword [rbp - 0x70]
movdqa xmmword [rsp + 0x30], xmm0
movdqa xmm0, xmmword [0x1400150e0]
movdqu xmmword [rsp + 0x50], xmm0
mov byte [rsp + 0x40], 0
lea rax, [rsp + 0x30]
mov rbx, 0xffffffffffffffff
mov r8, rbx
inc r8
cmp byte [rax + r8], 0
jne 0x140003644
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x40]
call fcn.14000d550
lea rcx, [rsp + 0x40]
cmp qword [rsp + 0x58], 0x10
cmovae rcx, qword [rsp + 0x40]
xor r13d, r13d
mov dword [rsp + 0x20], r13d
xor r9d, r9d
xor r8d, r8d
lea edx, [r13 + 1]
call qword [sym.imp.WININET.dll_InternetOpenA]
mov r12, rax
mov rdx, qword [rsp + 0x58]
cmp rdx, 0x10
jb 0x1400036c9
inc rdx
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400036c4
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400036c4
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140011a3c
movdqa xmm0, xmmword [0x1400150e0]
movdqu xmmword [rsp + 0x50], xmm0
mov byte [rsp + 0x40], r13b
test r12, r12
jne 0x1400037bf
mov qword [rsp + 0x70], rsi
mov qword [rsp + 0x78], r15
mov qword [rsp + 0x30], rsi
mov qword [rsp + 0x38], r15
movdqa xmm0, xmmword [rsp + 0x30]
pxor xmm0, xmmword [rsp + 0x70]
movdqa xmmword [rsp + 0x30], xmm0
movdqa xmm0, xmmword [0x1400150e0]
movdqu xmmword [rsp + 0x50], xmm0
mov byte [rsp + 0x40], r13b
lea rax, [rsp + 0x30]
mov r8, rbx
inc r8
cmp byte [rax + r8], r13b
jne 0x140003726
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x40]
call fcn.14000d550
nop
lea rdx, [rsp + 0x40]
cmp qword [rsp + 0x58], 0x10
cmovae rdx, qword [rsp + 0x40]
mov qword [r14 + 0x10], r13
mov esi, 0xf
mov qword [r14 + 0x18], rsi
mov byte [r14], 0
inc rbx
cmp byte [rdx + rbx], 0
jne 0x140003761
mov r8, rbx
mov rcx, r14
call fcn.14000d550
nop
mov rdx, qword [rsp + 0x58]
cmp rdx, 0x10
jb 0x1400039a2
inc rdx
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400037b5
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400037b5
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140011a3c
jmp 0x1400039a2
cmp qword [rdi + 0x18], 0x10
jb 0x1400037c9
mov rdi, qword [rdi]
mov qword [rsp + 0x28], r13
mov dword [rsp + 0x20], r13d
xor r9d, r9d
xor r8d, r8d
mov rdx, rdi
mov rcx, r12
call qword [sym.imp.WININET.dll_InternetOpenUrlA]
mov r15, rax
test rax, rax
jne 0x1400038dc
mov rcx, r12
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov qword [rsp + 0x70], rsi
movabs rax, 0x53891fa58af208f8
mov qword [rsp + 0x78], rax
mov qword [rsp + 0x30], rsi
mov qword [rsp + 0x38], rax
movdqa xmm0, xmmword [rsp + 0x30]
pxor xmm0, xmmword [rsp + 0x70]
movdqa xmmword [rsp + 0x30], xmm0
movdqa xmm0, xmmword [0x1400150e0]
movdqu xmmword [rsp + 0x50], xmm0
mov byte [rsp + 0x40], r13b
lea rax, [rsp + 0x30]
mov r8, rbx
inc r8
cmp byte [rax + r8], r13b
jne 0x140003845
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x40]
call fcn.14000d550
nop
lea rdx, [rsp + 0x40]
cmp qword [rsp + 0x58], 0x10
cmovae rdx, qword [rsp + 0x40]
mov qword [r14 + 0x10], r13
mov esi, 0xf
mov qword [r14 + 0x18], rsi
mov byte [r14], 0
inc rbx
cmp byte [rdx + rbx], 0
jne 0x140003880
mov r8, rbx
mov rcx, r14
call fcn.14000d550
nop
mov rdx, qword [rsp + 0x58]
cmp rdx, 0x10
jb 0x1400039a2
inc rdx
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400037b5
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400037b5
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rbx, r13
mov qword [rbp - 0x80], rbx
mov esi, 0xf
mov qword [rbp - 0x78], rsi
mov byte [rsp + 0x70], bl
lea r9, [rbp - 0x70]
mov r8d, 0x7d0
lea rdx, [rbp - 0x60]
mov rcx, r15
call qword [sym.imp.WININET.dll_InternetReadFile]
mov edi, dword [rbp - 0x70]
mov rax, rsi
sub rax, rbx
cmp rdi, rax
ja 0x140003944
lea rax, [rbx + rdi]
mov qword [rbp - 0x80], rax
lea rax, [rsp + 0x70]
cmp rsi, 0x10
cmovae rax, qword [rsp + 0x70]
add rbx, rax
mov r8d, edi
lea rdx, [rbp - 0x60]
mov rcx, rbx
call sub.VCRUNTIME140.dll_memmove
mov byte [rbx + rdi], 0
jmp 0x14000395a
mov qword [rsp + 0x20], rdi
lea r9, [rbp - 0x60]
mov rdx, rdi
lea rcx, [rsp + 0x70]
call fcn.14000ede0
xor edx, edx
mov r8d, 0x7d0
lea rcx, [rbp - 0x60]
call sub.VCRUNTIME140.dll_memset
cmp dword [rbp - 0x70], 0
je 0x14000397e
mov rsi, qword [rbp - 0x78]
mov rbx, qword [rbp - 0x80]
jmp 0x1400038f0
mov rcx, r15
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov rcx, r12
call qword [sym.imp.WININET.dll_InternetCloseHandle]
movups xmm0, xmmword [rsp + 0x70]
movups xmmword [r14], xmm0
movups xmm1, xmmword [rbp - 0x80]
movups xmmword [r14 + 0x10], xmm1
mov rax, r14
mov rcx, qword [rbp + 0x770]
xor rcx, rsp
call fcn.1400113e0
mov rbx, qword [rsp + 0x8d0]
add rsp, 0x880
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret