Function at 0x14005ca60
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 - 0x7c0]
sub rsp, 0x8c0
mov rax, qword [0x1400cc040]
xor rax, rsp
mov qword [rbp + 0x7b0], rax
mov rdi, rdx
mov qword [rsp + 0x48], rdx
mov qword [rsp + 0x40], rcx
mov qword [rsp + 0x30], rcx
mov qword [rsp + 0x70], rdx
mov dword [rsp + 0x30], 1
xor r12d, r12d
mov dword [rsp + 0x20], r12d
xor r9d, r9d
xor r8d, r8d
lea edx, [r12 + 1]
lea rcx, str.Mozilla_5.0
call qword [sym.imp.WININET.dll_InternetOpenA]
mov r15, rax
xorps xmm0, xmm0
movups xmmword [rbp - 0x68], xmm0
mov ebx, r12d
mov qword [rbp - 0x58], rbx
mov esi, 0xf
mov qword [rbp - 0x50], rsi
mov byte [rbp - 0x68], bl
test rax, rax
je 0x14005cdfa
mov rdx, rdi
cmp qword [rdi + 0x18], rsi
jbe 0x14005cb01
mov rdx, qword [rdi]
mov qword [rsp + 0x28], r12
mov dword [rsp + 0x20], r12d
xor r9d, r9d
xor r8d, r8d
mov rcx, r15
call qword [sym.imp.WININET.dll_InternetOpenUrlA]
mov r14, rax
test rax, rax
je 0x14005cdf2
nop word [rax + rax]
lea r9, [rsp + 0x30]
mov r8d, 0x7d0
lea rdx, [rbp - 0x20]
mov rcx, r14
call qword [sym.imp.WININET.dll_InternetReadFile]
mov edi, dword [rsp + 0x30]
mov rax, rsi
sub rax, rbx
cmp rdi, rax
ja 0x14005cb84
lea rax, [rbx + rdi]
mov qword [rbp - 0x58], rax
lea rax, [rbp - 0x68]
cmp rsi, 0xf
cmova rax, qword [rbp - 0x68]
add rbx, rax
mov r8d, edi
lea rdx, [rbp - 0x20]
mov rcx, rbx
call sub.VCRUNTIME140.dll_memmove
mov byte [rbx + rdi], 0
jmp 0x14005cb99
mov qword [rsp + 0x20], rdi
lea r9, [rbp - 0x20]
mov rdx, rdi
lea rcx, [rbp - 0x68]
call fcn.14002e080
xor edx, edx
mov r8d, 0x7d0
lea rcx, [rbp - 0x20]
call sub.VCRUNTIME140.dll_memset
cmp dword [rsp + 0x30], 0
je 0x14005cbbe
mov rsi, qword [rbp - 0x50]
mov rbx, qword [rbp - 0x58]
jmp 0x14005cb30
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 + 0x78], xmm0
mov qword [rbp - 0x78], 2
mov r13d, 0xf
mov qword [rbp - 0x70], r13
mov eax, 0xa0d
mov word [rsp + 0x78], ax
mov byte [rsp + 0x7a], 0
movups xmmword [rbp - 0x48], xmm0
mov qword [rbp - 0x38], 2
mov qword [rbp - 0x30], r13
mov eax, 0x6e7c
mov word [rbp - 0x48], ax
mov byte [rbp - 0x46], 0
lea rdx, [rbp - 0x68]
lea rcx, [rsp + 0x50]
call fcn.14009af40
mov rdi, rax
mov qword [rsp + 0x38], rax
mov rcx, r12
movzx r15d, byte [rbp - 0x47]
movzx r12d, byte [rbp - 0x48]
nop dword [rax]
mov r14, rdi
cmp qword [rdi + 0x18], 0xf
jbe 0x14005cc4d
mov r14, qword [rdi]
mov rax, qword [rdi + 0x10]
cmp rax, 2
jb 0x14005ccbb
add rax, 0xfffffffffffffffe
cmp rcx, rax
ja 0x14005ccbb
lea rsi, [r14 + rax]
add rcx, r14
lea r8, [rsi + 1]
sub r8, rcx
mov edx, 0x7c
call sub.VCRUNTIME140.dll_memchr
mov rbx, rax
test rax, rax
je 0x14005ccbb
cmp byte [rbx], r12b
jne 0x14005cc8f
cmp byte [rbx + 1], r15b
jne 0x14005cc8f
xor eax, eax
jmp 0x14005cc94
sbb eax, eax
or eax, 1
test eax, eax
je 0x14005cd25
inc rbx
lea r8, [rsi + 1]
sub r8, rbx
mov edx, 0x7c
mov rcx, rbx
call sub.VCRUNTIME140.dll_memchr
mov rbx, rax
test rax, rax
jne 0x14005cc80
xorps xmm0, xmm0
mov rsi, qword [rsp + 0x40]
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 qword [rdi + 0x10], r14
mov qword [rdi + 0x18], 0xf
mov byte [rdi], r14b
cmp r13, 0xf
jbe 0x14005cd6d
lea rdx, [r13 + 1]
mov rcx, qword [rsp + 0x78]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14005cd67
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14005cd67
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
sub rbx, r14
cmp rbx, 0xffffffffffffffff
je 0x14005ccbb
lea r9, [rsp + 0x78]
cmp r13, 0xf
cmova r9, qword [rsp + 0x78]
mov rax, qword [rbp - 0x78]
mov qword [rsp + 0x20], rax
mov r8d, 2
mov rdx, rbx
mov rcx, rdi
call fcn.14009bc90
mov rcx, qword [rbp - 0x78]
add rcx, rbx
mov r13, qword [rbp - 0x70]
jmp 0x14005cc40
call fcn.1400a55d0
nop
mov rdx, qword [rbp - 0x50]
cmp rdx, 0xf
jbe 0x14005cdac
inc rdx
mov rcx, qword [rbp - 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14005cda6
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14005cda6
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400a55d0
nop
mov rbx, qword [rsp + 0x48]
mov rdx, qword [rbx + 0x18]
cmp rdx, 0xf
jbe 0x14005d017
inc rdx
mov rcx, qword [rbx]
cmp rdx, 0x1000
jb 0x14005d012
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
jbe 0x14005d00f
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
xor ecx, ecx
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov rcx, r15
call qword [sym.imp.WININET.dll_InternetCloseHandle]
xorps xmm0, xmm0
movups xmmword [rsp + 0x78], xmm0
mov qword [rbp - 0x78], 2
mov r13d, 0xf
mov qword [rbp - 0x70], r13
mov eax, 0xa0d
mov word [rsp + 0x78], ax
mov byte [rsp + 0x7a], 0
movups xmmword [rbp - 0x48], xmm0
mov qword [rbp - 0x38], 2
mov qword [rbp - 0x30], r13
mov eax, 0x6e7c
mov word [rbp - 0x48], ax
mov byte [rbp - 0x46], 0
lea rdx, [rbp - 0x68]
lea rcx, [rsp + 0x50]
call fcn.14009af40
mov rdi, rax
mov qword [rsp + 0x38], rax
mov rcx, r12
movzx r15d, byte [rbp - 0x47]
movzx r12d, byte [rbp - 0x48]
nop dword [rax]
mov r14, rdi
cmp qword [rdi + 0x18], 0xf
jbe 0x14005ce7d
mov r14, qword [rdi]
mov rax, qword [rdi + 0x10]
cmp rax, 2
jb 0x14005ceeb
add rax, 0xfffffffffffffffe
cmp rcx, rax
ja 0x14005ceeb
lea rsi, [r14 + rax]
add rcx, r14
lea r8, [rsi + 1]
sub r8, rcx
mov edx, 0x7c
call sub.VCRUNTIME140.dll_memchr
mov rbx, rax
test rax, rax
je 0x14005ceeb
cmp byte [rbx], r12b
jne 0x14005cebf
cmp byte [rbx + 1], r15b
jne 0x14005cebf
xor eax, eax
jmp 0x14005cec4
sbb eax, eax
or eax, 1
test eax, eax
je 0x14005cf55
inc rbx
lea r8, [rsi + 1]
sub r8, rbx
mov edx, 0x7c
mov rcx, rbx
call sub.VCRUNTIME140.dll_memchr
mov rbx, rax
test rax, rax
jne 0x14005ceb0
xorps xmm0, xmm0
mov rsi, qword [rsp + 0x40]
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 qword [rdi + 0x10], r14
mov qword [rdi + 0x18], 0xf
mov byte [rdi], r14b
cmp r13, 0xf
jbe 0x14005cf9d
lea rdx, [r13 + 1]
mov rcx, qword [rsp + 0x78]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14005cf97
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14005cf97
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
sub rbx, r14
cmp rbx, 0xffffffffffffffff
je 0x14005ceeb
lea r9, [rsp + 0x78]
cmp r13, 0xf
cmova r9, qword [rsp + 0x78]
mov rax, qword [rbp - 0x78]
mov qword [rsp + 0x20], rax
mov r8d, 2
mov rdx, rbx
mov rcx, rdi
call fcn.14009bc90
mov rcx, qword [rbp - 0x78]
add rcx, rbx
mov r13, qword [rbp - 0x70]
jmp 0x14005ce70
call fcn.1400a55d0
nop
mov rdx, qword [rbp - 0x50]
cmp rdx, 0xf
jbe 0x14005cfdc
inc rdx
mov rcx, qword [rbp - 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14005cfd6
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14005cfd6
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400a55d0
nop
mov rbx, qword [rsp + 0x48]
mov rdx, qword [rbx + 0x18]
cmp rdx, 0xf
jbe 0x14005d017
inc rdx
mov rcx, qword [rbx]
cmp rdx, 0x1000
jb 0x14005d012
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x14005d053
mov rcx, r8
call fcn.1400a55d0
mov rax, rsi
mov byte [rbx], 0
mov qword [rbx + 0x18], 0xf
mov qword [rbx + 0x10], r14
mov rcx, qword [rbp + 0x7b0]
xor rcx, rsp
call fcn.1400a55b0
mov rbx, qword [rsp + 0x910]
add rsp, 0x8c0
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