Function at 0x140060190
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 [0x14014d080]
xor rax, rsp
mov qword [rbp + 0x7d0], rax
mov rbx, rdx
mov qword [rbp - 0x78], rdx
mov qword [rbp - 0x80], rcx
mov qword [rbp - 0x28], rcx
mov qword [rbp - 0x30], rdx
mov dword [rbp - 0x28], 1
xor r13d, r13d
mov dword [rsp + 0x20], r13d
xor r9d, r9d
xor r8d, r8d
lea edx, [r13 + 1]
lea rcx, str.Mozilla_5.0
call qword [sym.imp.WININET.dll_InternetOpenA]
mov r12, rax
xorps xmm0, xmm0
movups xmmword [rbp - 0x20], xmm0
mov edi, r13d
mov qword [rbp - 0x10], r13
mov r14d, reloc.WS2_32.dll_ntohs
mov qword [rbp - 8], r14
mov byte [rbp - 0x20], dil
test rax, rax
je 0x140060487
mov rdx, rbx
cmp qword [rbx + 0x18], r14
jbe 0x14006022d
mov rdx, qword [rbx]
mov qword [rsp + 0x28], r13
mov dword [rsp + 0x20], r13d
xor r9d, r9d
xor r8d, r8d
mov rcx, r12
call qword [sym.imp.WININET.dll_InternetOpenUrlA]
mov r15, rax
test rax, rax
je 0x140060487
movzx ebx, byte [rsp + 0x30]
nop word [rax + rax]
lea r9, [rbp - 0x28]
mov r8d, 0x7d0
lea rdx, [rbp]
mov rcx, r15
call qword [sym.imp.WININET.dll_InternetReadFile]
mov esi, dword [rbp - 0x28]
mov rax, r14
sub rax, rdi
cmp rsi, rax
ja 0x1400602b2
lea rax, [rdi + rsi]
mov qword [rbp - 0x10], rax
lea rax, [rbp - 0x20]
cmp r14, 0xf
cmova rax, qword [rbp - 0x20]
add rdi, rax
mov r8d, esi
lea rdx, [rbp]
mov rcx, rdi
call sub.VCRUNTIME140.dll_memmove
mov byte [rdi + rsi], 0
jmp 0x1400602cb
mov qword [rsp + 0x20], rsi
lea r9, [rbp]
movzx r8d, bl
mov rdx, rsi
lea rcx, [rbp - 0x20]
call fcn.140006c30
xor edx, edx
mov r8d, 0x7d0
lea rcx, [rbp]
call sub.VCRUNTIME140.dll_memset
cmp dword [rbp - 0x28], 0
je 0x1400602ef
mov r14, qword [rbp - 8]
mov rdi, qword [rbp - 0x10]
jmp 0x140060260
mov rcx, r12
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov rcx, r15
call qword [sym.imp.WININET.dll_InternetCloseHandle]
xorps xmm0, xmm0
movups xmmword [rsp + 0x38], xmm0
mov qword [rsp + 0x48], r13
mov qword [rsp + 0x50], r13
mov r8d, 2
lea rdx, [0x14012d4ac]
lea rcx, [rsp + 0x38]
call fcn.140002770
nop
xorps xmm0, xmm0
movups xmmword [rsp + 0x58], xmm0
mov qword [rsp + 0x68], r13
mov qword [rsp + 0x70], r13
mov r8d, 2
lea rdx, [0x14012d4b0]
lea rcx, [rsp + 0x58]
call fcn.140002770
nop
lea rdx, [rbp - 0x20]
lea rcx, [rbp - 0x70]
call fcn.1400059e0
mov r14, rax
mov qword [rsp + 0x78], rax
mov rbx, r13
mov rdi, qword [rsp + 0x68]
lea rsi, [rsp + 0x58]
cmp qword [rsp + 0x70], 0xf
cmova rsi, qword [rsp + 0x58]
mov rax, qword [r14 + 0x10]
mov r13, r14
cmp qword [r14 + 0x18], 0xf
jbe 0x140060394
mov r13, qword [r14]
cmp rdi, rax
ja 0x1400603ff
sub rax, rdi
cmp rbx, rax
ja 0x1400603ff
test rdi, rdi
je 0x14006044e
lea r15, [rax + r13]
lea rcx, [rbx + r13]
movsx r12d, byte [rsi]
lea r8, [r15 + 1]
sub r8, rcx
mov edx, r12d
call sub.VCRUNTIME140.dll_memchr
mov rbx, rax
test rax, rax
je 0x1400603ff
nop dword [rax]
mov r8, rdi
mov rdx, rsi
mov rcx, rbx
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
je 0x14006044b
inc rbx
lea r8, [r15 + 1]
sub r8, rbx
mov edx, r12d
mov rcx, rbx
call sub.VCRUNTIME140.dll_memchr
mov rbx, rax
test rax, rax
jne 0x1400603d0
xorps xmm0, xmm0
mov rbx, qword [rbp - 0x80]
movups xmmword [rbx], xmm0
xor eax, eax
mov qword [rbx + 0x10], rax
mov qword [rbx + 0x18], rax
movups xmm0, xmmword [r14]
movups xmmword [rbx], xmm0
movups xmm1, xmmword [r14 + 0x10]
movups xmmword [rbx + 0x10], xmm1
mov qword [r14 + 0x10], rax
mov qword [r14 + 0x18], reloc.WS2_32.dll_ntohs
mov byte [r14], al
mov rcx, r14
call fcn.140005e10
nop
lea rcx, [rsp + 0x58]
call fcn.140005e10
nop
jmp 0x1400605da
sub rbx, r13
cmp rbx, 0xffffffffffffffff
je 0x1400603ff
lea r9, [rsp + 0x38]
cmp qword [rsp + 0x50], 0xf
cmova r9, qword [rsp + 0x38]
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0x20], rax
mov r8, rdi
mov rdx, rbx
mov rcx, r14
call fcn.1400056e0
add rbx, qword [rsp + 0x48]
jmp 0x140060372
mov rcx, r12
call qword [sym.imp.WININET.dll_InternetCloseHandle]
xorps xmm0, xmm0
movups xmmword [rsp + 0x38], xmm0
mov qword [rsp + 0x48], r13
mov qword [rsp + 0x50], r13
mov r8d, 2
lea rdx, [0x14012d4ac]
lea rcx, [rsp + 0x38]
call fcn.140002770
nop
xorps xmm0, xmm0
movups xmmword [rsp + 0x58], xmm0
mov qword [rsp + 0x68], r13
mov qword [rsp + 0x70], r13
mov r8d, 2
lea rdx, [0x14012d4b0]
lea rcx, [rsp + 0x58]
call fcn.140002770
nop
lea rdx, [rbp - 0x20]
lea rcx, [rbp - 0x50]
call fcn.1400059e0
mov r14, rax
mov qword [rsp + 0x78], rax
mov rbx, r13
mov rdi, qword [rsp + 0x68]
lea rsi, [rsp + 0x58]
cmp qword [rsp + 0x70], 0xf
cmova rsi, qword [rsp + 0x58]
mov rax, qword [r14 + 0x10]
mov r13, r14
cmp qword [r14 + 0x18], 0xf
jbe 0x140060523
mov r13, qword [r14]
cmp rdi, rax
ja 0x140060593
sub rax, rdi
cmp rbx, rax
ja 0x140060593
test rdi, rdi
je 0x140060628
lea r15, [rax + r13]
lea rcx, [rbx + r13]
movsx r12d, byte [rsi]
lea r8, [r15 + 1]
sub r8, rcx
mov edx, r12d
call sub.VCRUNTIME140.dll_memchr
mov rbx, rax
test rax, rax
je 0x140060593
nop dword [rax]
mov r8, rdi
mov rdx, rsi
mov rcx, rbx
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
je 0x140060625
inc rbx
lea r8, [r15 + 1]
sub r8, rbx
mov edx, r12d
mov rcx, rbx
call sub.VCRUNTIME140.dll_memchr
mov rbx, rax
test rax, rax
jne 0x140060560
xorps xmm0, xmm0
mov rbx, qword [rbp - 0x80]
movups xmmword [rbx], xmm0
xor eax, eax
mov qword [rbx + 0x10], rax
mov qword [rbx + 0x18], rax
movups xmm0, xmmword [r14]
movups xmmword [rbx], xmm0
movups xmm1, xmmword [r14 + 0x10]
movups xmmword [rbx + 0x10], xmm1
mov qword [r14 + 0x10], rax
mov qword [r14 + 0x18], reloc.WS2_32.dll_ntohs
mov byte [r14], al
mov rcx, r14
call fcn.140005e10
nop
lea rcx, [rsp + 0x58]
call fcn.140005e10
nop
lea rcx, [rsp + 0x38]
call fcn.140005e10
nop
lea rcx, [rbp - 0x20]
call fcn.140005e10
nop
mov rcx, qword [rbp - 0x78]
call fcn.140005e10
mov rax, rbx
mov rcx, qword [rbp + 0x7d0]
xor rcx, rsp
call fcn.140107110
mov rbx, qword [rsp + 0x930]
add rsp, 0x8e0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
sub rbx, r13
cmp rbx, 0xffffffffffffffff
je 0x140060593
lea r9, [rsp + 0x38]
cmp qword [rsp + 0x50], 0xf
cmova r9, qword [rsp + 0x38]
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0x20], rax
mov r8, rdi
mov rdx, rbx
mov rcx, r14
call fcn.1400056e0
add rbx, qword [rsp + 0x48]
jmp 0x140060501