Function at 0x1400b3a80
Capabilities:
Create http request
Query remote server for available data
Read data from internet
Receive data

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
mov qword [rsp + 8], rcx
push rbp
push r12
push r13
push r14
push r15
sub rsp, 0x170
lea rbp, [rsp + 0x50]
and rbp, 0xffffffffffffffe0
mov rax, qword gs:[0x58]
lea rsi, [0x140112580]
mov rbx, rdx
mov r13, rcx
mov edx, dword [0x140113040]
mov ecx, 4
mov rax, qword [rax + rdx*8]
mov eax, dword [rcx + rax]
cmp dword [0x1401125a0], eax
jg 0x1400b3eb2
xor r12d, r12d
xor r9d, r9d
xor r8d, r8d
mov dword [rsp + 0x20], r12d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.WININET.dll_InternetOpenA]
mov rdi, rax
test rax, rax
jne 0x1400b3b30
xorps xmm0, xmm0
mov eax, send
movups xmmword [r13], xmm0
mov qword [r13 + 0x10], r12
mov qword [r13 + 0x18], rax
mov byte [r13], r12b
jmp 0x1400b3e59
inc r8
cmp byte [rax + r8], 0
je 0x1400b3e83
jmp 0x1400b3b20
cmp qword [0x140112598], 0x10
cmovae rsi, qword [0x140112580]
cmp qword [rbx + 0x18], 0x10
jb 0x1400b3b4a
mov rbx, qword [rbx]
mov r9d, dword [0x140112590]
mov r8, rsi
mov qword [rsp + 0x28], r12
mov rdx, rbx
mov rcx, rdi
mov dword [rsp + 0x20], 0x84880100
call qword [sym.imp.WININET.dll_InternetOpenUrlA]
mov rbx, rax
test rax, rax
jne 0x1400b3b93
xorps xmm0, xmm0
mov eax, send
movups xmmword [r13], xmm0
mov qword [r13 + 0x10], r12
mov qword [r13 + 0x18], rax
mov byte [r13], r12b
jmp 0x1400b3e4d
lea r9, [rbp + 0x18]
mov qword [rbp + 0x48], r12
lea r8, [rbp + 0x48]
mov dword [rbp + 0x18], 8
mov edx, reloc.WS2_32.dll_send
mov qword [rsp + 0x20], r12
mov rcx, rbx
call qword [sym.imp.WININET.dll_HttpQueryInfoW]
xorps xmm0, xmm0
test eax, eax
jne 0x1400b3bdb
movups xmmword [r13], xmm0
mov eax, send
mov qword [r13 + 0x10], r12
mov qword [r13 + 0x18], rax
mov byte [r13], r12b
jmp 0x1400b3e41
mov rcx, r12
mov dword [rbp + 0x1c], 0x40
mov r14d, send
mov qword [rbp + 0x10], rcx
movups xmmword [rbp + 0x28], xmm0
mov qword [rbp + 0x38], rcx
lea r9, [rbp + 0x1c]
mov byte [rbp + 0x28], cl
lea r8, [rbp + 0xe0]
lea edx, [r14 - 0xa]
mov qword [rbp], r14
mov rcx, rbx
mov qword [rbp + 0x40], r14
movups xmmword [rbp + 0xe0], xmm0
mov qword [rsp + 0x20], r12
movups xmmword [rbp + 0xf0], xmm0
movups xmmword [rbp + 0x100], xmm0
movups xmmword [rbp + 0x110], xmm0
call qword [sym.imp.WININET.dll_HttpQueryInfoW]
test eax, eax
je 0x1400b3c79
xor edx, edx
lea r8d, [r14 - 5]
lea rcx, [rbp + 0xe0]
call fcn.1400ca61c
mov edx, eax
cmp eax, r14d
jbe 0x1400b3c79
movzx r8d, byte [rbp + 8]
lea rcx, [rbp + 0x28]
call fcn.140023890
mov rax, qword [rbp + 0x40]
mov rcx, r12
mov qword [rbp + 0x10], rcx
mov qword [rbp + 0x38], rcx
mov qword [rbp], rax
xor r9d, r9d
lea rdx, [rbp + 0xc]
xor r8d, r8d
mov rcx, rbx
call qword [sym.imp.WININET.dll_InternetQueryDataAvailable]
test eax, eax
je 0x1400b3e2f
movzx esi, byte [rbp + 8]
nop dword [rax + rax]
mov r8d, dword [rbp + 0xc]
test r8d, r8d
je 0x1400b3e27
mov r15d, r8d
mov r14, r12
cmp r8, 0x1000
jb 0x1400b3ce5
lea rcx, [r8 + 0x27]
cmp rcx, r8
jbe 0x1400b3e7d
call fcn.1400e2c9c
test rax, rax
je 0x1400b3eac
lea r14, [rax + 0x27]
and r14, 0xffffffffffffffe0
mov qword [r14 - 8], rax
jmp 0x1400b3cf0
mov rcx, r15
call fcn.1400e2c9c
mov r14, rax
mov r8, r15
lea r12, [r14 + r15]
xor edx, edx
mov rcx, r14
call fcn.1400e5330
mov r8d, dword [rbp + 0xc]
lea r9, [rbp + 0x20]
mov rdx, r14
mov rcx, rbx
call qword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
je 0x1400b3def
mov eax, dword [rbp + 0x20]
test eax, eax
je 0x1400b3def
mov rcx, qword [rbp]
mov r13d, eax
mov rdx, qword [rbp + 0x10]
mov rax, rcx
sub rax, rdx
cmp r13, rax
ja 0x1400b3d70
cmp rcx, 0x10
lea rax, [rdx + r13]
lea r15, [rbp + 0x28]
mov qword [rbp + 0x38], rax
cmovae r15, qword [rbp + 0x28]
mov r8d, r13d
lea rcx, [r15 + rdx]
mov rdx, r14
call fcn.1400e4c90
mov rcx, qword [rbp + 0x10]
lea rax, [r15 + r13]
mov byte [rax + rcx], 0
jmp 0x1400b3d88
mov r9, r14
mov qword [rsp + 0x20], r13
movzx r8d, sil
lea rcx, [rbp + 0x28]
mov rdx, r13
call fcn.140023160
test r14, r14
je 0x1400b3dc0
sub r12, r14
cmp r12, 0x1000
jb 0x1400b3db5
mov rax, qword [r14 - 8]
add r12, 0x27
sub r14, rax
add r14, 0xfffffffffffffff8
cmp r14, 0x1f
ja 0x1400b3eac
mov r14, rax
mov rdx, r12
mov rcx, r14
call fcn.1400e2cd8
xor r9d, r9d
lea rdx, [rbp + 0xc]
xor r8d, r8d
mov rcx, rbx
call qword [sym.imp.WININET.dll_InternetQueryDataAvailable]
test eax, eax
je 0x1400b3e27
mov r14, qword [rbp + 0x40]
xor r12d, r12d
mov rcx, qword [rbp + 0x38]
mov qword [rbp], r14
mov qword [rbp + 0x10], rcx
jmp 0x1400b3ca0
test r14, r14
je 0x1400b3e27
sub r12, r14
cmp r12, 0x1000
jb 0x1400b3e1c
mov rax, qword [r14 - 8]
add r12, 0x27
sub r14, rax
add r14, 0xfffffffffffffff8
cmp r14, 0x1f
ja 0x1400b3eac
mov r14, rax
mov rdx, r12
mov rcx, r14
call fcn.1400e2cd8
mov r13, qword [rsp + 0x1a0]
movups xmm0, xmmword [rbp + 0x28]
movups xmm1, xmmword [rbp + 0x38]
movups xmmword [r13], xmm0
movups xmmword [r13 + 0x10], xmm1
mov rax, qword [0x1400f1ea8]
mov rcx, rbx
call rax
mov rax, qword [0x1400f1ea8]
mov rcx, rdi
call rax
mov rax, r13
lea r11, [rsp + 0x170]
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.140027860
int3
lea rdx, [rbp + 0x60]
mov rcx, rsi
call fcn.1400221f0
lea rcx, [0x1400ef7f0]
call fcn.1400e2f18
lea rcx, [0x1401125a0]
call fcn.1400e2f30
jmp 0x1400b3ae1
call fcn.1400c4dc4
int3
lea rcx, [0x1401125a0]
call fcn.1400e2f9c
cmp dword [0x1401125a0], 0xffffffff
jne 0x1400b3ae1
movabs rax, 0x1989663398e8d4c0
movabs rcx, 0xa8ee12226a27f23a
mov qword [rbp], rax
mov r8, 0xffffffffffffffff
mov rax, qword [rbp]
mov qword [rbp + 0x60], rax
movabs rax, 0x852d63313c6b1cc2
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x68], rax
movabs rax, 0x7f3e87006e6cb5cf
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x70], rax
movabs rax, 0x79b53ffe4e70c7a8
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x78], rax
movabs rax, 0xf30ab9279aa57b2a
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x80], rax
mov qword [rbp], rcx
mov rax, qword [rbp]
mov qword [rbp + 0x88], rax
movabs rax, 0x39b31243fd8bb781
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0xa0], rax
movabs rax, 0xe8590b1e481379b6
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0xa8], rax
movabs rax, 0x504aff651a4c8ea3
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0xb0], rax
movabs rax, 0x539504902711abd8
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0xb8], rax
movabs rax, 0xf30ab9279aa55105
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0xc0], rax
mov qword [rbp], rcx
mov rax, qword [rbp]
vmovdqu ymm0, ymmword [rbp + 0xa0]
vpxor ymm1, ymm0, ymmword [rbp + 0x60]
vmovdqa xmm2, xmmword [rbp + 0x80]
vxorps xmm0, xmm0, xmm0
vmovdqa ymmword [rbp + 0x60], ymm1
mov qword [rbp + 0xc8], rax
vxorps xmm1, xmm1, xmm1
vxorps xmm2, xmm2, xmmword [rbp + 0xc0]
lea rax, [rbp + 0x60]
vmovdqu xmmword [0x140112590], xmm1
vmovdqa xmmword [rbp + 0x80], xmm2
vmovups xmmword [0x140112580], xmm0
vzeroupper
jmp 0x1400b3b20