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

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x380]
sub rsp, 0x480
mov rax, qword [0x140065010]
xor rax, rsp
mov qword [rbp + 0x370], rax
mov r14, r8
mov r15, rdx
mov rdi, rcx
mov qword [rsp + 0x38], rcx
xor ebx, ebx
mov dword [rsp + 0x34], ebx
mov dword [rsp + 0x20], ebx
xor r9d, r9d
xor r8d, r8d
lea edx, [rbx + 1]
lea rcx, str.Mozilla_7.0
call qword [sym.imp.WININET.dll_InternetOpenA]
mov qword [rsp + 0x40], rax
xorps xmm0, xmm0
movups xmmword [rdi], xmm0
mov qword [rdi], rbx
mov qword [rdi + 8], rbx
mov qword [rdi + 0x10], rbx
mov dword [rsp + 0x34], 1
test rax, rax
je 0x140011e40
mov r13, qword [r14 + 0x10]
movabs rcx, 0x7fffffffffffffff
mov rax, rcx
sub rax, r13
cmp rax, 0x16
jb 0x140011e73
cmp qword [r14 + 0x18], 0x10
jb 0x140011c3d
mov r14, qword [r14]
movups xmmword [rsp + 0x48], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x58], xmm1
lea r12, [r13 + 0x16]
mov ebx, 0xf
lea rsi, [rsp + 0x48]
cmp r12, rbx
jbe 0x140011cd8
mov rbx, r12
or rbx, 0xf
cmp rbx, rcx
jbe 0x140011c6f
mov rbx, rcx
jmp 0x140011c7b
mov eax, 0x16
cmp rbx, rax
cmovb rbx, rax
mov rcx, rbx
add rcx, 1
mov rax, 0xffffffffffffffff
cmovb rcx, rax
cmp rcx, 0x1000
jb 0x140011cc2
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x140011e6d
mov rcx, rax
call fcn.140050970
test rax, rax
je 0x140011e34
lea rsi, [rax + 0x27]
and rsi, 0xffffffffffffffe0
mov qword [rsi - 8], rax
jmp 0x140011cd3
test rcx, rcx
je 0x140011cd1
call fcn.140050970
mov rsi, rax
jmp 0x140011cd3
xor esi, esi
mov qword [rsp + 0x48], rsi
mov qword [rsp + 0x58], r12
mov qword [rsp + 0x60], rbx
movups xmm0, xmmword [str.Authorization:_Bearer]
movups xmmword [rsi], xmm0
mov eax, dword [0x14005a358]
mov dword [rsi + 0x10], eax
movzx eax, word [0x14005a35c]
mov word [rsi + 0x14], ax
lea rcx, [rsi + 0x16]
mov r8, r13
mov rdx, r14
call sub.VCRUNTIME140.dll_memcpy
mov byte [rsi + r12], 0
mov dword [rsp + 0x34], 3
lea r8, [rsp + 0x48]
cmp qword [rsp + 0x60], 0x10
cmovae r8, qword [rsp + 0x48]
cmp qword [r15 + 0x18], 0x10
jb 0x140011d37
mov r15, qword [r15]
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0x80000000
mov r9d, dword [rsp + 0x58]
mov rdx, r15
mov r14, qword [rsp + 0x40]
mov rcx, r14
call qword [sym.imp.WININET.dll_InternetOpenUrlA]
mov rsi, rax
test rax, rax
je 0x140011e00
lea r9, [rsp + 0x40]
mov r8d, 0x400
lea rdx, [rsp + 0x70]
mov rcx, rax
call qword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
je 0x140011ded
mov eax, dword [rsp + 0x40]
test eax, eax
je 0x140011ded
xor ebx, ebx
test eax, eax
je 0x140011dd0
nop word [rax + rax]
movzx ecx, byte [rsp + rbx + 0x70]
mov byte [rsp + 0x30], cl
mov rdx, qword [rdi + 8]
cmp rdx, qword [rdi + 0x10]
je 0x140011dbb
mov byte [rdx], cl
inc qword [rdi + 8]
jmp 0x140011dc8
lea r8, [rsp + 0x30]
mov rcx, rdi
call fcn.14000ce40
inc ebx
cmp ebx, dword [rsp + 0x40]
jb 0x140011da0
lea r9, [rsp + 0x40]
mov r8d, 0x400
lea rdx, [rsp + 0x70]
mov rcx, rsi
call qword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
jne 0x140011d87
mov rcx, rsi
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov rcx, r14
call qword [sym.imp.WININET.dll_InternetCloseHandle]
nop
mov rdx, qword [rsp + 0x60]
cmp rdx, 0x10
jb 0x140011e40
inc rdx
mov rcx, qword [rsp + 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140011e3b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140011e3b
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140050c04
mov rax, rdi
mov rcx, qword [rbp + 0x370]
xor rcx, rsp
call fcn.140050950
mov rbx, qword [rsp + 0x4d8]
add rsp, 0x480
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
call fcn.1400028e0
int3
call fcn.1400029f0
int3