Function at 0x14007eb80
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 - 0x7d0]
sub rsp, 0x8d0
mov rax, qword [0x1401d12b0]
xor rax, rsp
mov qword [rbp + 0x7c0], rax
mov rsi, rdx
mov qword [rbp - 0x60], rdx
mov r15, rcx
mov qword [rbp - 0x58], rcx
mov qword [rbp - 0x20], rcx
mov qword [rbp - 0x50], rdx
xor edi, edi
mov dword [rsp + 0x20], edi
xor r9d, r9d
xor r8d, r8d
lea edx, [rdi + 1]
lea rcx, str.Mozilla_5.0
call qword [sym.imp.WININET.dll_InternetOpenW]
mov r13, rax
mov qword [rbp - 0x40], rdi
mov ebx, edi
mov qword [rbp - 0x30], rbx
mov r14d, reloc.WS2_32.dll_ntohs
mov qword [rbp - 0x28], r14
mov byte [rbp - 0x40], bl
test rax, rax
je 0x14007efce
mov rdx, rsi
cmp qword [rsi + 0x18], 0x10
jb 0x14007ec12
mov rdx, qword [rsi]
mov qword [rsp + 0x28], rdi
mov dword [rsp + 0x20], edi
xor r9d, r9d
xor r8d, r8d
mov rcx, r13
call qword [sym.imp.WININET.dll_InternetOpenUrlA]
mov r12, rax
test rax, rax
je 0x14007efce
nop word [rax + rax]
lea r9, [rbp - 0x20]
mov r8d, 0x7d0
lea rdx, [rbp - 0x10]
mov rcx, r12
call qword [sym.imp.WININET.dll_InternetReadFile]
mov edi, dword [rbp - 0x20]
mov rax, r14
sub rax, rbx
cmp rdi, rax
ja 0x14007ec92
lea rax, [rdi + rbx]
mov qword [rbp - 0x30], rax
lea rax, [rbp - 0x40]
cmp r14, 0x10
cmovae rax, qword [rbp - 0x40]
add rbx, rax
mov r8d, edi
lea rdx, [rbp - 0x10]
mov rcx, rbx
call sub.VCRUNTIME140.dll_memmove
mov byte [rbx + rdi], 0
jmp 0x14007ecaa
mov qword [rsp + 0x20], rdi
lea r9, [rbp - 0x10]
xor r8d, r8d
mov rdx, rdi
lea rcx, [rbp - 0x40]
call fcn.14000d420
xor edx, edx
mov r8d, 0x7d0
lea rcx, [rbp - 0x10]
call sub.VCRUNTIME140.dll_memset
cmp dword [rbp - 0x20], 0
je 0x14007ecce
mov r14, qword [rbp - 0x28]
mov rbx, qword [rbp - 0x30]
jmp 0x14007ec40
mov rcx, r13
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov rcx, r12
call qword [sym.imp.WININET.dll_InternetCloseHandle]
xor r14d, r14d
mov qword [rsp + 0x50], r14
mov qword [rsp + 0x60], r14
mov qword [rsp + 0x68], reloc.WS2_32.dll_ntohs
mov byte [rsp + 0x50], r14b
lea r8d, [r14 + 2]
lea rdx, [0x1401afce8]
lea rcx, [rsp + 0x50]
call fcn.140008610
nop
mov qword [rsp + 0x70], r14
mov qword [rbp - 0x80], r14
mov qword [rbp - 0x78], reloc.WS2_32.dll_ntohs
mov byte [rsp + 0x70], r14b
lea r8d, [r14 + 2]
lea rdx, [0x1401b1350]
lea rcx, [rsp + 0x70]
call fcn.140008610
nop
mov qword [rsp + 0x30], r14
mov qword [rsp + 0x40], r14
mov qword [rsp + 0x48], r14
lea rdi, [rbp - 0x40]
cmp qword [rbp - 0x28], 0x10
cmovae rdi, qword [rbp - 0x40]
mov r13, qword [rbp - 0x30]
cmp r13, 0x10
jae 0x14007ed72
movups xmm0, xmmword [rdi]
movups xmmword [rsp + 0x30], xmm0
lea ebx, [r14 + 0xf]
jmp 0x14007edec
mov rbx, r13
or rbx, 0xf
movabs rax, 0x7fffffffffffffff
cmp rbx, rax
cmova rbx, rax
lea rcx, [rbx + 1]
cmp rcx, 0x1000
jb 0x14007edc9
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x14007f207
mov rcx, rax
call fcn.14012e828
mov rcx, rax
test rax, rax
je 0x14007edc2
add rax, 0x27
and rax, 0xffffffffffffffe0
mov qword [rax - 8], rcx
jmp 0x14007edd8
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
test rcx, rcx
je 0x14007edd5
call fcn.14012e828
jmp 0x14007edd8
mov rax, r14
mov qword [rsp + 0x30], rax
lea r8, [r13 + 1]
mov rdx, rdi
mov rcx, rax
call sub.VCRUNTIME140.dll_memcpy
mov qword [rsp + 0x40], r13
mov qword [rsp + 0x48], rbx
lea rax, [rsp + 0x30]
mov qword [rbp - 0x70], rax
mov rdi, r14
mov r14, qword [rsp + 0x70]
mov r12, qword [rsp + 0x60]
mov r15, qword [rbp - 0x80]
mov rsi, qword [rbp - 0x78]
nop dword [rax]
nop dword [rax + rax]
lea r9, [rsp + 0x70]
cmp rsi, 0x10
cmovae r9, r14
lea rcx, [rsp + 0x30]
cmp rbx, 0x10
cmovae rcx, qword [rsp + 0x30]
mov qword [rsp + 0x20], r15
mov r8, rdi
mov rdx, r13
call fcn.14000d350
mov rdi, rax
cmp rax, 0xffffffffffffffff
je 0x14007ee8f
lea r9, [rsp + 0x50]
cmp qword [rsp + 0x68], 0x10
cmovae r9, qword [rsp + 0x50]
mov qword [rsp + 0x20], r12
mov r8, r15
mov rdx, rax
lea rcx, [rsp + 0x30]
call fcn.1400833e0
mov r12, qword [rsp + 0x60]
add rdi, r12
mov rbx, qword [rsp + 0x48]
mov r13, qword [rsp + 0x40]
jmp 0x14007ee20
movups xmm0, xmmword [rsp + 0x30]
movups xmmword [rbp - 0x70], xmm0
movups xmm0, xmmword [rsp + 0x40]
movups xmmword [rbp - 0x50], xmm0
xor ebx, ebx
mov qword [rsp + 0x40], rbx
mov qword [rsp + 0x48], reloc.WS2_32.dll_ntohs
mov byte [rsp + 0x30], bl
mov rax, qword [rbp - 0x78]
cmp rax, 0x10
mov rsi, qword [rbp - 0x60]
mov r15, qword [rbp - 0x58]
jb 0x14007eefc
lea rdx, [rax + 1]
mov rax, r14
cmp rdx, 0x1000
jb 0x14007eef3
add rdx, 0x27
mov r14, qword [r14 - 8]
sub rax, r14
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14007eef3
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, r14
call fcn.14012eab4
nop
mov rdx, qword [rsp + 0x68]
cmp rdx, 0x10
jb 0x14007ef3c
inc rdx
mov rcx, qword [rsp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14007ef37
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14007ef37
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14012eab4
movups xmm0, xmmword [rbp - 0x70]
movups xmmword [r15], xmm0
movups xmm1, xmmword [rbp - 0x50]
movups xmmword [r15 + 0x10], xmm1
mov rax, qword [rbp - 0x28]
cmp rax, 0x10
jb 0x14007ef8d
lea rdx, [rax + 1]
mov rcx, qword [rbp - 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14007ef87
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14007ef87
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14012eab4
nop
mov rdx, qword [rsi + 0x18]
cmp rdx, 0x10
jb 0x14007f1c4
inc rdx
mov rcx, qword [rsi]
cmp rdx, 0x1000
jb 0x14007f1bf
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
jbe 0x14007f1bc
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
mov rcx, r13
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov qword [rsp + 0x50], rdi
mov qword [rsp + 0x60], rdi
mov qword [rsp + 0x68], reloc.WS2_32.dll_ntohs
mov byte [rsp + 0x50], 0
mov r8d, 2
lea rdx, [0x1401afce8]
lea rcx, [rsp + 0x50]
call fcn.140008610
nop
mov qword [rsp + 0x70], rdi
mov qword [rbp - 0x80], rdi
mov qword [rbp - 0x78], reloc.WS2_32.dll_ntohs
mov byte [rsp + 0x70], 0
mov r8d, 2
lea rdx, [0x1401b1350]
lea rcx, [rsp + 0x70]
call fcn.140008610
nop
movups xmm0, xmmword [rbp - 0x40]
movups xmmword [rsp + 0x30], xmm0
mov rdx, rdi
mov qword [rsp + 0x40], rdx
mov eax, reloc.WS2_32.dll_ntohs
mov qword [rsp + 0x48], rax
lea rcx, [rsp + 0x30]
mov qword [rbp - 0x70], rcx
mov rbx, rdi
mov r13, qword [rbp - 0x78]
mov r12, qword [rbp - 0x80]
mov r14, qword [rsp + 0x70]
mov rdi, qword [rsp + 0x60]
nop
lea r9, [rsp + 0x70]
cmp r13, 0x10
cmovae r9, r14
lea rcx, [rsp + 0x30]
cmp rax, 0x10
cmovae rcx, qword [rsp + 0x30]
mov qword [rsp + 0x20], r12
mov r8, rbx
call fcn.14000d350
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x14007f0dc
lea r9, [rsp + 0x50]
cmp qword [rsp + 0x68], 0x10
cmovae r9, qword [rsp + 0x50]
mov qword [rsp + 0x20], rdi
mov r8, r12
mov rdx, rax
lea rcx, [rsp + 0x30]
call fcn.1400833e0
mov rdi, qword [rsp + 0x60]
add rbx, rdi
mov rax, qword [rsp + 0x48]
mov rdx, qword [rsp + 0x40]
jmp 0x14007f070
movups xmm0, xmmword [rsp + 0x30]
movups xmmword [rbp - 0x70], xmm0
movups xmm0, xmmword [rsp + 0x40]
movups xmmword [rbp - 0x50], xmm0
xor ebx, ebx
mov qword [rsp + 0x40], rbx
mov qword [rsp + 0x48], reloc.WS2_32.dll_ntohs
mov byte [rsp + 0x30], bl
cmp r13, 0x10
jb 0x14007f13d
lea rdx, [r13 + 1]
mov rax, r14
cmp rdx, 0x1000
jb 0x14007f134
add rdx, 0x27
mov r14, qword [r14 - 8]
sub rax, r14
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14007f134
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, r14
call fcn.14012eab4
nop
mov rdx, qword [rsp + 0x68]
cmp rdx, 0x10
jb 0x14007f17d
inc rdx
mov rcx, qword [rsp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14007f178
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14007f178
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14012eab4
movups xmm0, xmmword [rbp - 0x70]
movups xmmword [r15], xmm0
movups xmm1, xmmword [rbp - 0x50]
movups xmmword [r15 + 0x10], xmm1
mov rdx, qword [rsi + 0x18]
cmp rdx, 0x10
jb 0x14007f1c4
inc rdx
mov rcx, qword [rsi]
cmp rdx, 0x1000
jb 0x14007f1bf
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x14007f200
mov rcx, r8
call fcn.14012eab4
mov qword [rsi + 0x10], rbx
mov qword [rsi + 0x18], reloc.WS2_32.dll_ntohs
mov rax, r15
mov byte [rsi], 0
mov rcx, qword [rbp + 0x7c0]
xor rcx, rsp
call fcn.14012e570
mov rbx, qword [rsp + 0x920]
add rsp, 0x8d0
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]
nop
call fcn.140004440
nop
int3