Function at 0x140008810
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 - 0xfb0]
mov eax, 0x10b0
call fcn.140020c40
sub rsp, rax
mov rax, qword [0x14006c180]
xor rax, rsp
mov qword [rbp + 0xfa0], rax
mov rsi, rdx
mov r14, rcx
mov qword [rsp + 0x58], rcx
mov qword [rsp + 0x60], rdx
xor r13d, r13d
mov dword [rsp + 0x20], r13d
xor r9d, r9d
xor r8d, r8d
lea edx, [r13 + 1]
lea rcx, str.HTTPGET
call qword [sym.imp.WININET.dll_InternetOpenW]
mov rdi, rax
test rax, rax
jne 0x14000893d
lea rdx, str.InternetOpen_failed.
lea rcx, [0x140070010]
call fcn.1400050b0
mov rcx, rax
call fcn.140005360
xorps xmm0, xmm0
movups xmmword [r14], xmm0
mov qword [r14 + 0x10], r13
mov qword [r14 + 0x18], r13
mov r8, 0xffffffffffffffff
inc r8
cmp byte [r8 + r13], 0
jne 0x1400088b2
xor edx, edx
mov rcx, r14
call fcn.1400053f0
nop
mov rdx, qword [rsi + 0x18]
cmp rdx, 0xf
jbe 0x140008901
inc rdx
mov rcx, qword [rsi]
cmp rdx, 0x1000
jb 0x1400088fc
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140008bad
mov rcx, r8
call fcn.140020360
mov byte [rsi], 0
mov qword [rsi + 0x18], 0xf
mov qword [rsi + 0x10], r13
mov rax, r14
mov rcx, qword [rbp + 0xfa0]
xor rcx, rsp
call fcn.140020340
mov rbx, qword [rsp + 0x1100]
add rsp, 0x10b0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
mov r8, rsi
cmp qword [rsi + 0x18], 0xf
jbe 0x14000894a
mov r8, qword [rsi]
mov dword [rsp + 0x28], r13d
mov qword [rsp + 0x20], r13
mov r9d, dword [rsi + 0x10]
xor edx, edx
mov ecx, 0xfde9
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
movsxd rbx, eax
xorps xmm0, xmm0
movups xmmword [rsp + 0x30], xmm0
mov qword [rsp + 0x40], r13
mov qword [rsp + 0x48], r13
mov r8, rbx
xor edx, edx
lea rcx, [rsp + 0x30]
call fcn.140008bc0
lea rdx, [rsp + 0x30]
cmp qword [rsp + 0x48], 7
cmova rdx, qword [rsp + 0x30]
mov r8, rsi
cmp qword [rsi + 0x18], 0xf
jbe 0x1400089a7
mov r8, qword [rsi]
mov dword [rsp + 0x28], ebx
mov qword [rsp + 0x20], rdx
mov r9d, dword [rsi + 0x10]
xor edx, edx
mov ecx, 0xfde9
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
lea rdx, [rsp + 0x30]
cmp qword [rsp + 0x48], 7
cmova rdx, qword [rsp + 0x30]
mov qword [rsp + 0x28], r13
mov dword [rsp + 0x20], 0x80000000
xor r9d, r9d
xor r8d, r8d
mov rcx, rdi
call qword [sym.imp.WININET.dll_InternetOpenUrlW]
mov rbx, rax
mov rdx, qword [rsp + 0x48]
cmp rdx, 7
jbe 0x140008a33
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140008a2e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140008bb3
call fcn.140020360
mov qword [rsp + 0x40], r13
mov qword [rsp + 0x48], 7
mov word [rsp + 0x30], r13w
test rbx, rbx
jne 0x140008a95
lea rdx, str.InternetOpenUrl_failed.
lea rcx, [0x140070010]
call fcn.1400050b0
mov rcx, rax
call fcn.140005360
mov rcx, rdi
call qword [sym.imp.WININET.dll_InternetCloseHandle]
xorps xmm0, xmm0
movups xmmword [r14], xmm0
mov qword [r14 + 0x10], r13
mov qword [r14 + 0x18], r13
mov r8, 0xffffffffffffffff
inc r8
cmp byte [r8 + r13], 0
jne 0x140008a86
jmp 0x1400088bc
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x68], xmm1
mov r15, r13
mov qword [rsp + 0x78], r13
lea r9, [rsp + 0x58]
mov r8d, 0x1000
lea rdx, [rbp - 0x60]
mov rcx, rbx
call qword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
je 0x140008b01
mov eax, dword [rsp + 0x58]
test eax, eax
je 0x140008afc
mov r9d, eax
lea r8, [rbp - 0x60]
mov rdx, qword [rsp + 0x70]
lea rcx, [rsp + 0x68]
call fcn.140005e90
lea r9, [rsp + 0x58]
mov r8d, 0x1000
lea rdx, [rbp - 0x60]
mov rcx, rbx
call qword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
jne 0x140008ac2
mov r15, qword [rsp + 0x78]
mov rcx, rbx
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov rcx, rdi
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov rdi, qword [rsp + 0x70]
mov r12, qword [rsp + 0x68]
sub rdi, r12
mov rcx, rdi
call fcn.1400203b4
mov rbx, rax
mov r8, rdi
mov rdx, r12
mov rcx, rax
call fcn.14004b1c0
mov r8, rdi
mov rdx, rbx
lea rcx, [rbp - 0x80]
call fcn.140008ff0
movups xmm0, xmmword [rbp - 0x80]
movups xmmword [r14], xmm0
movups xmm1, xmmword [rbp - 0x70]
movups xmmword [r14 + 0x10], xmm1
mov qword [rbp - 0x70], r13
mov qword [rbp - 0x68], 0xf
mov byte [rbp - 0x80], 0
test r12, r12
je 0x1400088c7
sub r15, r12
mov rax, r12
cmp r15, 0x1000
jb 0x140008b97
add r15, 0x27
mov r12, qword [r12 - 8]
sub rax, r12
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140008ba7
mov rdx, r15
mov rcx, r12
call fcn.140020360
jmp 0x1400088c7
call fcn.14002fcd0
nop
call fcn.14002fcd0
nop
call fcn.14002fcd0
int3