Function at 0x140005210
Capabilities:
Create http request
Read data from internet
Receive data
Reference http user-agent string

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x7e0]
sub rsp, 0x8e0
mov rax, qword [0x1402a5080]
xor rax, rsp
mov qword [rbp + 0x7d0], rax
mov r12, rdx
mov qword [rsp + 0x60], rdx
mov qword [rsp + 0x58], rcx
mov qword [rbp - 0x30], rcx
mov qword [rbp - 0x38], rdx
mov dword [rbp - 0x30], 1
xor r14d, r14d
mov dword [rsp + 0x20], r14d
xor r9d, r9d
xor r8d, r8d
mov edx, 1
lea rcx, str.Mozilla_5.0
call qword [sym.imp.WININET.dll_InternetOpenA]
mov r15, rax
xorps xmm0, xmm0
movups xmmword [rbp - 0x28], xmm0
mov ebx, r14d
mov qword [rbp - 0x18], rbx
mov edi, reloc.WS2_32.dll_ntohs
mov esi, edi
mov qword [rbp - 0x10], rdi
mov byte [rbp - 0x28], bl
test rax, rax
je 0x1400055a9
mov rdx, r12
cmp qword [r12 + 0x18], rdi
jbe 0x1400052b2
mov rdx, qword [r12]
mov qword [rsp + 0x28], r14
mov dword [rsp + 0x20], r14d
xor r9d, r9d
xor r8d, r8d
mov rcx, r15
call qword [sym.imp.WININET.dll_InternetOpenUrlA]
mov r14, rax
test rax, rax
je 0x1400055a6
nop word [rax + rax]
lea r9, [rbp - 0x30]
mov r8d, 0x7d0
lea rdx, [rbp]
mov rcx, r14
call qword [sym.imp.WININET.dll_InternetReadFile]
mov edi, dword [rbp - 0x30]
mov rax, rsi
sub rax, rbx
cmp rdi, rax
ja 0x140005332
lea rax, [rdi + rbx]
mov qword [rbp - 0x18], rax
lea rax, [rbp - 0x28]
cmp rsi, 0xf
cmova rax, qword [rbp - 0x28]
add rbx, rax
mov r8d, edi
lea rdx, [rbp]
mov rcx, rbx
call sub.VCRUNTIME140.dll_memmove
mov byte [rbx + rdi], 0
jmp 0x140005347
mov qword [rsp + 0x20], rdi
lea r9, [rbp]
mov rdx, rdi
lea rcx, [rbp - 0x28]
call fcn.140003590
xor edx, edx
mov r8d, 0x7d0
lea rcx, [rbp]
call sub.VCRUNTIME140.dll_memset
cmp dword [rbp - 0x30], 0
je 0x14000536b
mov rsi, qword [rbp - 0x10]
mov rbx, qword [rbp - 0x18]
jmp 0x1400052e0
mov rcx, r15
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov rcx, r14
call qword [sym.imp.WININET.dll_InternetCloseHandle]
xorps xmm0, xmm0
movups xmmword [rsp + 0x30], xmm0
mov qword [rsp + 0x40], 2
mov r13d, reloc.WS2_32.dll_ntohs
mov qword [rsp + 0x48], r13
mov eax, 0xa0d
mov word [rsp + 0x30], ax
mov byte [rsp + 0x32], 0
movups xmmword [rsp + 0x68], xmm0
mov qword [rsp + 0x78], 2
mov qword [rbp - 0x80], r13
mov esi, 0x6e7c
mov word [rsp + 0x68], si
mov byte [rsp + 0x6a], 0
lea rdx, [rbp - 0x28]
lea rcx, [rbp - 0x78]
call fcn.140002c40
mov rdi, rax
mov qword [rsp + 0x50], rax
xor ecx, ecx
mov r12, qword [rsp + 0x40]
nop word [rax + rax]
mov rax, qword [rdi + 0x10]
mov r15, rdi
cmp qword [rdi + 0x18], 0xf
jbe 0x140005401
mov r15, qword [rdi]
cmp rax, 2
jb 0x140005458
add rax, 0xfffffffffffffffe
cmp rcx, rax
ja 0x140005458
lea r14, [r15 + rax]
add rcx, r15
lea r8, [r14 + 1]
sub r8, rcx
mov edx, 0x7c
call sub.VCRUNTIME140.dll_memchr
mov rbx, rax
test rax, rax
je 0x140005458
cmp word [rbx], si
je 0x1400054ca
inc rbx
lea r8, [r14 + 1]
sub r8, rbx
mov edx, 0x7c
mov rcx, rbx
call sub.VCRUNTIME140.dll_memchr
mov rbx, rax
test rax, rax
jne 0x140005430
xorps xmm0, xmm0
mov rbx, qword [rsp + 0x58]
movups xmmword [rbx], xmm0
xor esi, esi
mov qword [rbx + 0x10], rsi
mov qword [rbx + 0x18], rsi
movups xmm0, xmmword [rdi]
movups xmmword [rbx], xmm0
movups xmm1, xmmword [rdi + 0x10]
movups xmmword [rbx + 0x10], xmm1
mov r15d, reloc.WS2_32.dll_ntohs
mov byte [rdi], sil
mov qword [rdi + 0x10], rsi
mov qword [rdi + 0x18], r15
mov byte [rdi], sil
mov r12, qword [rsp + 0x60]
cmp r13, r15
jbe 0x140005511
lea rdx, [r13 + 1]
mov rcx, qword [rsp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000550b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000550b
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
sub rbx, r15
cmp rbx, 0xffffffffffffffff
je 0x140005458
lea r9, [rsp + 0x30]
cmp r13, 0xf
cmova r9, qword [rsp + 0x30]
mov qword [rsp + 0x20], r12
mov r8d, 2
mov rdx, rbx
mov rcx, rdi
call fcn.14000eb70
mov r12, qword [rsp + 0x40]
lea rcx, [rbx + r12]
mov r13, qword [rsp + 0x48]
jmp 0x1400053f0
call fcn.1400a41c4
nop
mov rdx, qword [rbp - 0x10]
cmp rdx, 0xf
jbe 0x140005550
inc rdx
mov rcx, qword [rbp - 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000554a
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000554a
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400a41c4
nop
mov rdx, qword [r12 + 0x18]
cmp rdx, 0xf
jbe 0x140005588
inc rdx
mov rcx, qword [r12]
cmp rdx, 0x1000
jb 0x140005583
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x14000559f
mov rcx, r8
call fcn.1400a41c4
mov qword [r12 + 0x10], rsi
mov qword [r12 + 0x18], r15
mov byte [r12], 0
mov rax, rbx
jmp 0x1400057b6
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
xor r14d, r14d
mov rcx, r15
call qword [sym.imp.WININET.dll_InternetCloseHandle]
xorps xmm0, xmm0
movups xmmword [rsp + 0x30], xmm0
mov r12d, 2
mov qword [rsp + 0x40], r12
mov r13, rdi
mov qword [rsp + 0x48], rdi
mov eax, 0xa0d
mov word [rsp + 0x30], ax
mov byte [rsp + 0x32], 0
movups xmmword [rsp + 0x68], xmm0
mov qword [rsp + 0x78], r12
mov qword [rbp - 0x80], rdi
mov esi, 0x6e7c
mov word [rsp + 0x68], si
mov byte [rsp + 0x6a], 0
lea rdx, [rbp - 0x28]
lea rcx, [rbp - 0x58]
call fcn.140002c40
mov rdi, rax
mov qword [rsp + 0x50], rax
mov rcx, r14
mov rax, qword [rdi + 0x10]
mov r15, rdi
cmp qword [rdi + 0x18], 0xf
jbe 0x140005622
mov r15, qword [rdi]
cmp rax, 2
jb 0x140005679
add rax, 0xfffffffffffffffe
cmp rcx, rax
ja 0x140005679
lea r14, [rax + r15]
add rcx, r15
lea r8, [r14 + 1]
sub r8, rcx
mov edx, 0x7c
call sub.VCRUNTIME140.dll_memchr
mov rbx, rax
test rax, rax
je 0x140005679
cmp word [rbx], si
je 0x1400056e7
inc rbx
lea r8, [r14 + 1]
sub r8, rbx
mov edx, 0x7c
mov rcx, rbx
call sub.VCRUNTIME140.dll_memchr
mov rbx, rax
test rax, rax
jne 0x140005651
xorps xmm0, xmm0
mov rsi, qword [rsp + 0x58]
movups xmmword [rsi], xmm0
xor r14d, r14d
mov qword [rsi + 0x10], r14
mov qword [rsi + 0x18], r14
movups xmm0, xmmword [rdi]
movups xmmword [rsi], xmm0
movups xmm1, xmmword [rdi + 0x10]
movups xmmword [rsi + 0x10], xmm1
mov r15d, reloc.WS2_32.dll_ntohs
mov byte [rdi], r14b
mov qword [rdi + 0x10], r14
mov qword [rdi + 0x18], r15
mov byte [rdi], r14b
cmp r13, r15
jbe 0x14000572e
lea rdx, [r13 + 1]
mov rcx, qword [rsp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140005728
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140005728
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
sub rbx, r15
cmp rbx, 0xffffffffffffffff
je 0x140005679
lea r9, [rsp + 0x30]
cmp r13, 0xf
cmova r9, qword [rsp + 0x30]
mov qword [rsp + 0x20], r12
mov r8d, 2
mov rdx, rbx
mov rcx, rdi
call fcn.14000eb70
mov r12, qword [rsp + 0x40]
lea rcx, [rbx + r12]
mov r13, qword [rsp + 0x48]
jmp 0x140005611
call fcn.1400a41c4
nop
mov rdx, qword [rbp - 0x10]
cmp rdx, 0xf
jbe 0x14000576d
inc rdx
mov rcx, qword [rbp - 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140005767
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140005767
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400a41c4
nop
mov rbx, qword [rsp + 0x60]
mov rdx, qword [rbx + 0x18]
cmp rdx, 0xf
jbe 0x1400057a8
inc rdx
mov rcx, qword [rbx]
cmp rdx, 0x1000
jb 0x1400057a3
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x1400057e0
mov rcx, r8
call fcn.1400a41c4
mov qword [rbx + 0x10], r14
mov qword [rbx + 0x18], r15
mov byte [rbx], 0
mov rax, rsi
mov rcx, qword [rbp + 0x7d0]
xor rcx, rsp
call fcn.1400a4160
mov rbx, qword [rsp + 0x930]
add rsp, 0x8e0
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