Function at 0x14004e510
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 - 0x7b0]
sub rsp, 0x8b0
mov rax, qword [0x14006e040]
xor rax, rsp
mov qword [rbp + 0x7a0], rax
mov r15, rdx
mov rdi, rcx
mov qword [rsp + 0x78], rcx
mov qword [rbp - 0x60], rdx
mov dword [rsp + 0x30], 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 r13, rax
xorps xmm0, xmm0
movups xmmword [rbp - 0x50], xmm0
mov ebx, esi
mov qword [rbp - 0x40], rbx
mov r14d, 0xf
mov qword [rbp - 0x38], r14
mov byte [rbp - 0x50], bl
test rax, rax
je 0x14004e8ad
mov rdx, r15
cmp qword [r15 + 0x18], r14
jbe 0x14004e5a5
mov rdx, qword [r15]
mov qword [rsp + 0x28], rsi
mov dword [rsp + 0x20], esi
xor r9d, r9d
xor r8d, r8d
mov rcx, r13
call qword [sym.imp.WININET.dll_InternetOpenUrlA]
mov r12, rax
test rax, rax
je 0x14004e8ad
nop dword [rax]
lea r9, [rbp - 0x58]
mov r8d, 0x7d0
lea rdx, [rbp - 0x30]
mov rcx, r12
call qword [sym.imp.WININET.dll_InternetReadFile]
mov esi, dword [rbp - 0x58]
mov rax, r14
sub rax, rbx
cmp rsi, rax
ja 0x14004e622
lea rax, [rsi + rbx]
mov qword [rbp - 0x40], rax
lea rax, [rbp - 0x50]
cmp r14, 0xf
cmova rax, qword [rbp - 0x50]
add rbx, rax
mov r8d, esi
lea rdx, [rbp - 0x30]
mov rcx, rbx
call sub.VCRUNTIME140.dll_memmove
mov byte [rbx + rsi], 0
jmp 0x14004e637
mov qword [rsp + 0x20], rsi
lea r9, [rbp - 0x30]
mov rdx, rsi
lea rcx, [rbp - 0x50]
call fcn.140057f30
xor edx, edx
mov r8d, 0x7d0
lea rcx, [rbp - 0x30]
call sub.VCRUNTIME140.dll_memset
cmp dword [rbp - 0x58], 0
je 0x14004e65b
mov r14, qword [rbp - 0x38]
mov rbx, qword [rbp - 0x40]
jmp 0x14004e5d0
mov rcx, r13
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov rcx, r12
call qword [sym.imp.WININET.dll_InternetCloseHandle]
xorps xmm0, xmm0
movups xmmword [rsp + 0x58], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x68], xmm1
xor r8d, r8d
lea rdx, [0x14005cade]
lea rcx, [rsp + 0x58]
call fcn.1400580c0
nop
xorps xmm0, xmm0
movups xmmword [rsp + 0x38], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x48], xmm1
mov r8d, 2
lea rdx, [0x14006378c]
lea rcx, [rsp + 0x38]
call fcn.1400580c0
nop
lea rdx, [rbp - 0x50]
lea rcx, [rbp - 0x80]
call fcn.1400571e0
lea r9, [rsp + 0x58]
lea r8, [rsp + 0x38]
mov rdx, rax
mov rcx, rdi
call fcn.14004e370
nop
mov dword [rsp + 0x30], 1
mov rdx, qword [rsp + 0x50]
cmp rdx, 0xf
jbe 0x14004e728
inc rdx
mov rcx, qword [rsp + 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14004e722
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14004e722
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140058f44
nop
mov rdx, qword [rsp + 0x70]
cmp rdx, 0xf
jbe 0x14004e768
inc rdx
mov rcx, qword [rsp + 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14004e763
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14004e763
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140058f44
cmp qword [rdi + 0x18], 0xf
jbe 0x14004e782
mov r12, qword [rdi]
mov r14, r12
mov rbx, r12
add r14, qword [rdi + 0x10]
add r12, qword [rdi + 0x10]
jmp 0x14004e791
mov rax, qword [rdi + 0x10]
mov rbx, rdi
lea r14, [rax + rdi]
lea r12, [rax + rdi]
cmp rbx, r14
je 0x14004e7dd
movsx ecx, byte [rbx]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_isspace]
test eax, eax
jne 0x14004e7ab
inc rbx
cmp rbx, r14
jne 0x14004e796
cmp rbx, r14
je 0x14004e7dd
lea rsi, [rbx + 1]
cmp rsi, r14
je 0x14004e7dd
nop dword [rax]
movsx ecx, byte [rsi]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_isspace]
test eax, eax
jne 0x14004e7d5
movzx eax, byte [rsi]
mov byte [rbx], al
inc rbx
inc rsi
cmp rsi, r14
jne 0x14004e7c0
sub r12, rbx
mov rsi, qword [rdi + 0x10]
mov rax, rsi
cmp qword [rdi + 0x18], 0xf
jbe 0x14004e800
sub rbx, qword [rdi]
sub rax, rbx
cmp rax, r12
cmovb r12, rax
mov rax, qword [rdi]
jmp 0x14004e810
sub rbx, rdi
sub rax, rbx
cmp rax, r12
cmovb r12, rax
mov rax, rdi
lea rcx, [rax + rbx]
sub rsi, r12
mov r8, rsi
sub r8, rbx
inc r8
lea rdx, [rcx + r12]
call sub.VCRUNTIME140.dll_memmove
mov qword [rdi + 0x10], rsi
mov rdx, qword [rbp - 0x38]
cmp rdx, 0xf
jbe 0x14004e86c
inc rdx
mov rcx, qword [rbp - 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14004e866
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14004e866
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140058f44
nop
mov rdx, qword [r15 + 0x18]
cmp rdx, 0xf
jbe 0x14004eae5
inc rdx
mov rcx, qword [r15]
cmp rdx, 0x1000
jb 0x14004eae0
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
jbe 0x14004eadd
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]
xorps xmm0, xmm0
movups xmmword [rsp + 0x38], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x48], xmm1
xor r8d, r8d
lea rdx, [0x14005cade]
lea rcx, [rsp + 0x38]
call fcn.1400580c0
nop
xorps xmm0, xmm0
movups xmmword [rsp + 0x58], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x68], xmm1
mov r8d, 2
lea rdx, [0x14006378c]
lea rcx, [rsp + 0x58]
call fcn.1400580c0
nop
lea rdx, [rbp - 0x50]
lea rcx, [rbp - 0x80]
call fcn.1400571e0
lea r9, [rsp + 0x38]
lea r8, [rsp + 0x58]
mov rdx, rax
mov rcx, rdi
call fcn.14004e370
nop
mov dword [rsp + 0x30], 3
mov rdx, qword [rsp + 0x70]
cmp rdx, 0xf
jbe 0x14004e971
inc rdx
mov rcx, qword [rsp + 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14004e96b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14004e96b
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140058f44
nop
mov rdx, qword [rsp + 0x50]
cmp rdx, 0xf
jbe 0x14004e9b1
inc rdx
mov rcx, qword [rsp + 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14004e9ac
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14004e9ac
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140058f44
cmp qword [rdi + 0x18], 0xf
jbe 0x14004e9cb
mov r12, qword [rdi]
mov r14, r12
mov rbx, r12
add r14, qword [rdi + 0x10]
add r12, qword [rdi + 0x10]
jmp 0x14004e9da
mov rax, qword [rdi + 0x10]
mov rbx, rdi
lea r14, [rdi + rax]
lea r12, [rax + rdi]
cmp rbx, r14
je 0x14004ea20
nop
movsx ecx, byte [rbx]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_isspace]
test eax, eax
jne 0x14004e9f5
inc rbx
cmp rbx, r14
jne 0x14004e9e0
cmp rbx, r14
je 0x14004ea20
lea rsi, [rbx + 1]
cmp rsi, r14
je 0x14004ea20
movsx ecx, byte [rsi]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_isspace]
test eax, eax
jne 0x14004ea18
movzx eax, byte [rsi]
mov byte [rbx], al
inc rbx
inc rsi
cmp rsi, r14
jne 0x14004ea03
sub r12, rbx
mov rsi, qword [rdi + 0x10]
mov rax, rsi
cmp qword [rdi + 0x18], 0xf
jbe 0x14004ea43
sub rbx, qword [rdi]
sub rax, rbx
cmp rax, r12
cmovb r12, rax
mov rax, qword [rdi]
jmp 0x14004ea53
sub rbx, rdi
sub rax, rbx
cmp rax, r12
cmovb r12, rax
mov rax, rdi
lea rcx, [rax + rbx]
sub rsi, r12
mov r8, rsi
sub r8, rbx
inc r8
lea rdx, [rcx + r12]
call sub.VCRUNTIME140.dll_memmove
mov qword [rdi + 0x10], rsi
mov rdx, qword [rbp - 0x38]
cmp rdx, 0xf
jbe 0x14004eaaf
inc rdx
mov rcx, qword [rbp - 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14004eaa9
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14004eaa9
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140058f44
nop
mov rdx, qword [r15 + 0x18]
cmp rdx, 0xf
jbe 0x14004eae5
inc rdx
mov rcx, qword [r15]
cmp rdx, 0x1000
jb 0x14004eae0
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x14004eb26
mov rcx, r8
call fcn.140058f44
mov rax, rdi
mov byte [r15], 0
mov qword [r15 + 0x18], 0xf
mov qword [r15 + 0x10], 0
mov rcx, qword [rbp + 0x7a0]
xor rcx, rsp
call fcn.140058b30
mov rbx, qword [rsp + 0x900]
add rsp, 0x8b0
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