Function at 0x14004e640
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 [0x140071040]
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 0x14004e9dd
mov rdx, r15
cmp qword [r15 + 0x18], r14
jbe 0x14004e6d5
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 0x14004e9dd
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 0x14004e752
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 0x14004e767
mov qword [rsp + 0x20], rsi
lea r9, [rbp - 0x30]
mov rdx, rsi
lea rcx, [rbp - 0x50]
call fcn.14005a2f0
xor edx, edx
mov r8d, 0x7d0
lea rcx, [rbp - 0x30]
call sub.VCRUNTIME140.dll_memset
cmp dword [rbp - 0x58], 0
je 0x14004e78b
mov r14, qword [rbp - 0x38]
mov rbx, qword [rbp - 0x40]
jmp 0x14004e700
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, [0x14005ec0e]
lea rcx, [rsp + 0x58]
call fcn.14005a480
nop
xorps xmm0, xmm0
movups xmmword [rsp + 0x38], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x48], xmm1
mov r8d, 2
lea rdx, [0x1400658bc]
lea rcx, [rsp + 0x38]
call fcn.14005a480
nop
lea rdx, [rbp - 0x50]
lea rcx, [rbp - 0x80]
call fcn.1400591a0
lea r9, [rsp + 0x58]
lea r8, [rsp + 0x38]
mov rdx, rax
mov rcx, rdi
call fcn.14004e390
nop
mov dword [rsp + 0x30], 1
mov rdx, qword [rsp + 0x50]
cmp rdx, 0xf
jbe 0x14004e858
inc rdx
mov rcx, qword [rsp + 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14004e852
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14004e852
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14005b774
nop
mov rdx, qword [rsp + 0x70]
cmp rdx, 0xf
jbe 0x14004e898
inc rdx
mov rcx, qword [rsp + 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14004e893
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14004e893
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14005b774
cmp qword [rdi + 0x18], 0xf
jbe 0x14004e8b2
mov r12, qword [rdi]
mov r14, r12
mov rbx, r12
add r14, qword [rdi + 0x10]
add r12, qword [rdi + 0x10]
jmp 0x14004e8c1
mov rax, qword [rdi + 0x10]
mov rbx, rdi
lea r14, [rax + rdi]
lea r12, [rax + rdi]
cmp rbx, r14
je 0x14004e90d
movsx ecx, byte [rbx]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_isspace]
test eax, eax
jne 0x14004e8db
inc rbx
cmp rbx, r14
jne 0x14004e8c6
cmp rbx, r14
je 0x14004e90d
lea rsi, [rbx + 1]
cmp rsi, r14
je 0x14004e90d
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 0x14004e905
movzx eax, byte [rsi]
mov byte [rbx], al
inc rbx
inc rsi
cmp rsi, r14
jne 0x14004e8f0
sub r12, rbx
mov rsi, qword [rdi + 0x10]
mov rax, rsi
cmp qword [rdi + 0x18], 0xf
jbe 0x14004e930
sub rbx, qword [rdi]
sub rax, rbx
cmp rax, r12
cmovb r12, rax
mov rax, qword [rdi]
jmp 0x14004e940
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 0x14004e99c
inc rdx
mov rcx, qword [rbp - 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14004e996
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14004e996
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14005b774
nop
mov rdx, qword [r15 + 0x18]
cmp rdx, 0xf
jbe 0x14004ec15
inc rdx
mov rcx, qword [r15]
cmp rdx, 0x1000
jb 0x14004ec10
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
jbe 0x14004ec0d
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, [0x14005ec0e]
lea rcx, [rsp + 0x38]
call fcn.14005a480
nop
xorps xmm0, xmm0
movups xmmword [rsp + 0x58], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x68], xmm1
mov r8d, 2
lea rdx, [0x1400658bc]
lea rcx, [rsp + 0x58]
call fcn.14005a480
nop
lea rdx, [rbp - 0x50]
lea rcx, [rbp - 0x80]
call fcn.1400591a0
lea r9, [rsp + 0x38]
lea r8, [rsp + 0x58]
mov rdx, rax
mov rcx, rdi
call fcn.14004e390
nop
mov dword [rsp + 0x30], 3
mov rdx, qword [rsp + 0x70]
cmp rdx, 0xf
jbe 0x14004eaa1
inc rdx
mov rcx, qword [rsp + 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14004ea9b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14004ea9b
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14005b774
nop
mov rdx, qword [rsp + 0x50]
cmp rdx, 0xf
jbe 0x14004eae1
inc rdx
mov rcx, qword [rsp + 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14004eadc
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14004eadc
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14005b774
cmp qword [rdi + 0x18], 0xf
jbe 0x14004eafb
mov r12, qword [rdi]
mov r14, r12
mov rbx, r12
add r14, qword [rdi + 0x10]
add r12, qword [rdi + 0x10]
jmp 0x14004eb0a
mov rax, qword [rdi + 0x10]
mov rbx, rdi
lea r14, [rdi + rax]
lea r12, [rax + rdi]
cmp rbx, r14
je 0x14004eb50
nop
movsx ecx, byte [rbx]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_isspace]
test eax, eax
jne 0x14004eb25
inc rbx
cmp rbx, r14
jne 0x14004eb10
cmp rbx, r14
je 0x14004eb50
lea rsi, [rbx + 1]
cmp rsi, r14
je 0x14004eb50
movsx ecx, byte [rsi]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_isspace]
test eax, eax
jne 0x14004eb48
movzx eax, byte [rsi]
mov byte [rbx], al
inc rbx
inc rsi
cmp rsi, r14
jne 0x14004eb33
sub r12, rbx
mov rsi, qword [rdi + 0x10]
mov rax, rsi
cmp qword [rdi + 0x18], 0xf
jbe 0x14004eb73
sub rbx, qword [rdi]
sub rax, rbx
cmp rax, r12
cmovb r12, rax
mov rax, qword [rdi]
jmp 0x14004eb83
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 0x14004ebdf
inc rdx
mov rcx, qword [rbp - 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14004ebd9
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14004ebd9
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14005b774
nop
mov rdx, qword [r15 + 0x18]
cmp rdx, 0xf
jbe 0x14004ec15
inc rdx
mov rcx, qword [r15]
cmp rdx, 0x1000
jb 0x14004ec10
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x14004ec56
mov rcx, r8
call fcn.14005b774
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.14005b360
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