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

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x7b8]
sub rsp, 0x8b8
mov rbx, rdx
mov qword [rbp + 0x818], rdx
mov dword [rbp + 0x810], 1
xor esi, esi
mov dword [rsp + 0x20], esi
xor r9d, r9d
xor r8d, r8d
lea edx, [rsi + 1]
lea rcx, str.Mozilla_5.0
call qword [sym.imp.WININET.dll_InternetOpenA]
mov r12, rax
xorps xmm0, xmm0
movups xmmword [rsp + 0x50], xmm0
mov edi, esi
mov qword [rsp + 0x60], rsi
mov r13d, 0xf
mov r14d, r13d
mov qword [rsp + 0x68], r13
mov byte [rsp + 0x50], sil
test rax, rax
je 0x14004140c
mov rdx, rbx
cmp qword [rbx + 0x18], 0x10
jb 0x140041110
mov rdx, qword [rbx]
mov qword [rsp + 0x28], rsi
mov dword [rsp + 0x20], esi
xor r9d, r9d
xor r8d, r8d
mov rcx, r12
call qword [sym.imp.WININET.dll_InternetOpenUrlA]
mov r15, rax
test rax, rax
je 0x14004140c
movzx ebx, byte [rbp + 0x810]
nop dword [rax + rax]
lea r9, [rbp + 0x810]
mov r8d, 0x7d0
lea rdx, [rbp - 0x20]
mov rcx, r15
call qword [sym.imp.WININET.dll_InternetReadFile]
mov esi, dword [rbp + 0x810]
mov rax, r14
sub rax, rdi
cmp rsi, rax
ja 0x14004119b
lea rax, [rdi + rsi]
mov qword [rsp + 0x60], rax
lea rax, [rsp + 0x50]
cmp r14, 0x10
cmovae rax, qword [rsp + 0x50]
add rdi, rax
mov r8d, esi
lea rdx, [rbp - 0x20]
mov rcx, rdi
call fcn.140050f40
mov byte [rdi + rsi], 0
jmp 0x1400411b5
mov qword [rsp + 0x20], rsi
lea r9, [rbp - 0x20]
movzx r8d, bl
mov rdx, rsi
lea rcx, [rsp + 0x50]
call fcn.14004a090
xor edx, edx
mov r8d, 0x7d0
lea rcx, [rbp - 0x20]
call fcn.140050ac0
cmp dword [rbp + 0x810], 0
je 0x1400411de
mov r14, qword [rsp + 0x68]
mov rdi, qword [rsp + 0x60]
jmp 0x140041140
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 + 0x30], xmm0
mov qword [rsp + 0x40], 2
mov qword [rsp + 0x48], r13
mov eax, 0xa0d
mov word [rsp + 0x30], ax
mov byte [rsp + 0x32], 0
movups xmmword [rsp + 0x70], xmm0
mov qword [rbp - 0x80], 2
mov eax, 0xf
mov qword [rbp - 0x78], rax
mov eax, 0x6e7c
mov word [rsp + 0x70], ax
mov byte [rsp + 0x72], 0
lea rdx, [rsp + 0x50]
lea rcx, [rbp - 0x68]
call fcn.1400466d0
mov rdi, rax
mov qword [rbp - 0x70], rax
xor ecx, ecx
movzx r15d, byte [rsp + 0x71]
movzx r12d, byte [rsp + 0x70]
nop dword [rax]
mov rax, qword [rdi + 0x10]
mov r14, rdi
cmp qword [rdi + 0x18], 0x10
jb 0x140041271
mov r14, qword [rdi]
cmp rax, 2
jb 0x140041314
add rax, 0xfffffffffffffffe
cmp rcx, rax
ja 0x140041314
lea rsi, [r14 + rax]
add rcx, r14
lea r8, [rsi + 1]
sub r8, rcx
mov edx, 0x7c
call fcn.1400515f0
test rax, rax
mov rbx, rax
je 0x140041314
cmp byte [rax], r12b
jne 0x1400412b7
cmp byte [rax + 1], r15b
jne 0x1400412b7
xor eax, eax
jmp 0x1400412bc
sbb eax, eax
or eax, 1
test eax, eax
je 0x1400412cf
inc rbx
lea r8, [rsi + 1]
sub r8, rbx
mov rcx, rbx
jmp 0x140041296
sub rbx, r14
cmp rbx, 0xffffffffffffffff
je 0x140041314
lea r9, [rsp + 0x30]
cmp r13, 0x10
cmovae r9, qword [rsp + 0x30]
mov rax, qword [rsp + 0x40]
mov qword [rsp + 0x20], rax
mov r8d, 2
mov rdx, rbx
mov rcx, rdi
call fcn.140047dd0
mov rcx, qword [rsp + 0x40]
add rcx, rbx
mov r13, qword [rsp + 0x48]
jmp 0x140041260
xorps xmm0, xmm0
mov rsi, qword [rbp + 0x800]
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, 0xf
mov byte [rdi], r14b
mov qword [rdi + 0x10], r14
mov qword [rdi + 0x18], r15
mov byte [rdi], r14b
cmp r13, 0x10
jb 0x140041388
lea rdx, [r13 + 1]
mov rcx, qword [rsp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140041382
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140041663
call fcn.14004cd1c
nop
mov rdx, qword [rsp + 0x68]
cmp rdx, 0x10
jb 0x1400413c6
inc rdx
mov rcx, qword [rsp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400413c0
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140041669
call fcn.14004cd1c
nop
mov rbx, qword [rbp + 0x818]
mov rdx, qword [rbx + 0x18]
cmp rdx, 0x10
jb 0x14004162f
inc rdx
mov rcx, qword [rbx]
cmp rdx, 0x1000
jb 0x14004162a
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140041657
jmp 0x140041627
mov rcx, r12
call qword [sym.imp.WININET.dll_InternetCloseHandle]
xorps xmm0, xmm0
movups xmmword [rsp + 0x30], xmm0
mov qword [rsp + 0x40], 2
mov qword [rsp + 0x48], r13
mov eax, 0xa0d
mov word [rsp + 0x30], ax
mov byte [rsp + 0x32], 0
movups xmmword [rsp + 0x70], xmm0
mov qword [rbp - 0x80], 2
mov eax, 0xf
mov qword [rbp - 0x78], rax
mov eax, 0x6e7c
mov word [rsp + 0x70], ax
mov byte [rsp + 0x72], 0
lea rdx, [rsp + 0x50]
lea rcx, [rbp - 0x48]
call fcn.1400466d0
mov rdi, rax
mov qword [rbp + 0x810], rax
mov rcx, rsi
movzx r15d, byte [rsp + 0x71]
movzx r12d, byte [rsp + 0x70]
nop word [rax + rax]
mov rax, qword [rdi + 0x10]
mov r14, rdi
cmp qword [rdi + 0x18], 0x10
jb 0x1400414a1
mov r14, qword [rdi]
cmp rax, 2
jb 0x140041544
add rax, 0xfffffffffffffffe
cmp rcx, rax
ja 0x140041544
lea rsi, [rax + r14]
add rcx, r14
lea r8, [rsi + 1]
sub r8, rcx
mov edx, 0x7c
call fcn.1400515f0
test rax, rax
mov rbx, rax
je 0x140041544
cmp byte [rax], r12b
jne 0x1400414e7
cmp byte [rax + 1], r15b
jne 0x1400414e7
xor eax, eax
jmp 0x1400414ec
sbb eax, eax
or eax, 1
test eax, eax
je 0x1400414ff
inc rbx
lea r8, [rsi + 1]
sub r8, rbx
mov rcx, rbx
jmp 0x1400414c6
sub rbx, r14
cmp rbx, 0xffffffffffffffff
je 0x140041544
lea r9, [rsp + 0x30]
cmp r13, 0x10
cmovae r9, qword [rsp + 0x30]
mov rax, qword [rsp + 0x40]
mov qword [rsp + 0x20], rax
mov r8d, 2
mov rdx, rbx
mov rcx, rdi
call fcn.140047dd0
mov rcx, qword [rsp + 0x40]
add rcx, rbx
mov r13, qword [rsp + 0x48]
jmp 0x140041490
xorps xmm0, xmm0
mov rsi, qword [rbp + 0x800]
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, 0xf
mov byte [rdi], r14b
mov qword [rdi + 0x10], r14
mov qword [rdi + 0x18], r15
mov byte [rdi], r14b
cmp r13, 0x10
jb 0x1400415b8
lea rdx, [r13 + 1]
mov rcx, qword [rsp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400415b2
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14004166f
call fcn.14004cd1c
nop
mov rdx, qword [rsp + 0x68]
cmp rdx, 0x10
jb 0x1400415f2
inc rdx
mov rcx, qword [rsp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400415ec
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140041651
call fcn.14004cd1c
nop
mov rbx, qword [rbp + 0x818]
mov rdx, qword [rbx + 0x18]
cmp rdx, 0x10
jb 0x14004162f
inc rdx
mov rcx, qword [rbx]
cmp rdx, 0x1000
jb 0x14004162a
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x14004165d
mov rcx, r8
call fcn.14004cd1c
mov rax, rsi
mov byte [rbx], 0
mov qword [rbx + 0x18], r15
mov qword [rbx + 0x10], r14
add rsp, 0x8b8
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
call fcn.1400620f8
nop
call fcn.1400620f8
int3
call fcn.1400620f8
nop
call fcn.1400620f8
nop
call fcn.1400620f8
nop
call fcn.1400620f8
int3