Function at 0x140042c00
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 [0x1400e3080]
xor rax, rsp
mov qword [rbp + 0x7a0], rax
mov r15, rdx
mov rsi, rcx
mov qword [rsp + 0x78], rcx
mov qword [rbp - 0x60], rdx
mov dword [rsp + 0x30], 1
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_InternetOpenA]
mov r13, rax
xorps xmm0, xmm0
movups xmmword [rbp - 0x50], xmm0
mov ebx, edi
mov qword [rbp - 0x40], rbx
mov r14d, reloc.WS2_32.dll_ntohs
mov qword [rbp - 0x38], r14
mov byte [rbp - 0x50], bl
test rax, rax
je 0x140042fac
mov rdx, r15
cmp qword [r15 + 0x18], 0x10
jb 0x140042c96
mov rdx, qword [r15]
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 0x140042fac
nop word [rax + rax]
lea r9, [rbp - 0x58]
mov r8d, 0x7d0
lea rdx, [rbp - 0x30]
mov rcx, r12
call qword [sym.imp.WININET.dll_InternetReadFile]
mov edi, dword [rbp - 0x58]
mov rax, r14
sub rax, rbx
cmp rdi, rax
ja 0x140042d12
lea rax, [rdi + rbx]
mov qword [rbp - 0x40], rax
lea rax, [rbp - 0x50]
cmp r14, 0x10
cmovae rax, qword [rbp - 0x50]
add rbx, rax
mov r8d, edi
lea rdx, [rbp - 0x30]
mov rcx, rbx
call sub.VCRUNTIME140.dll_memmove
mov byte [rbx + rdi], 0
jmp 0x140042d2a
mov qword [rsp + 0x20], rdi
lea r9, [rbp - 0x30]
xor r8d, r8d
mov rdx, rdi
lea rcx, [rbp - 0x50]
call fcn.14004afa0
xor edx, edx
mov r8d, 0x7d0
lea rcx, [rbp - 0x30]
call sub.VCRUNTIME140.dll_memset
cmp dword [rbp - 0x58], 0
je 0x140042d4e
mov r14, qword [rbp - 0x38]
mov rbx, qword [rbp - 0x40]
jmp 0x140042cc0
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, [0x1400c2efa]
lea rcx, [rsp + 0x58]
call fcn.14004b130
nop
xorps xmm0, xmm0
movups xmmword [rsp + 0x38], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x48], xmm1
mov r8d, 2
lea rdx, [0x1400cf75c]
lea rcx, [rsp + 0x38]
call fcn.14004b130
nop
lea rdx, [rbp - 0x50]
lea rcx, [rbp - 0x80]
call fcn.140047b30
lea r9, [rsp + 0x58]
lea r8, [rsp + 0x38]
mov rdx, rax
mov rcx, rsi
call fcn.140042aa0
nop
mov dword [rsp + 0x30], 1
mov rdx, qword [rsp + 0x50]
cmp rdx, 0x10
jb 0x140042e1b
inc rdx
mov rcx, qword [rsp + 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140042e15
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140042e15
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400afb60
nop
mov rdx, qword [rsp + 0x70]
cmp rdx, 0x10
jb 0x140042e5b
inc rdx
mov rcx, qword [rsp + 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140042e56
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140042e56
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400afb60
lea r13, [rsi + 0x10]
cmp qword [rsi + 0x18], 0x10
jb 0x140042e79
mov r12, qword [rsi]
mov r14, r12
mov rbx, r12
add r14, qword [r13]
add r12, qword [r13]
jmp 0x140042e88
mov rax, qword [r13]
mov rbx, rsi
lea r14, [rax + rsi]
lea r12, [rax + rsi]
cmp rbx, r14
je 0x140042ed0
nop dword [rax]
movsx ecx, byte [rbx]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_isspace]
test eax, eax
jne 0x140042ea5
inc rbx
cmp rbx, r14
jne 0x140042e90
cmp rbx, r14
je 0x140042ed0
lea rdi, [rbx + 1]
cmp rdi, r14
je 0x140042ed0
movsx ecx, byte [rdi]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_isspace]
test eax, eax
jne 0x140042ec8
movzx eax, byte [rdi]
mov byte [rbx], al
inc rbx
inc rdi
cmp rdi, r14
jne 0x140042eb3
mov rdx, rbx
sub r12, rbx
mov rbx, qword [r13]
mov rax, rbx
cmp qword [rsi + 0x18], 0x10
jb 0x140042ef6
sub rdx, qword [rsi]
sub rax, rdx
cmp rax, r12
cmovb r12, rax
mov rax, qword [rsi]
jmp 0x140042f06
sub rdx, rsi
sub rax, rdx
cmp rax, r12
cmovb r12, rax
mov rax, rsi
lea rcx, [rax + rdx]
sub rbx, r12
mov r8, rbx
sub r8, rdx
inc r8
lea rdx, [rcx + r12]
call sub.VCRUNTIME140.dll_memmove
mov qword [r13], rbx
mov rdx, qword [rbp - 0x38]
cmp rdx, 0x10
jb 0x140042f62
inc rdx
mov rcx, qword [rbp - 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140042f5c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140042f5c
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400afb60
nop
mov rdx, qword [r15 + 0x18]
cmp rdx, 0x10
jb 0x140042f98
inc rdx
mov rcx, qword [r15]
cmp rdx, 0x1000
jb 0x140042f93
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140042fa5
mov rcx, r8
call fcn.1400afb60
mov qword [r15 + 0x10], 0
jmp 0x1400431f0
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, [0x1400c2efa]
lea rcx, [rsp + 0x38]
call fcn.14004b130
nop
xorps xmm0, xmm0
movups xmmword [rsp + 0x58], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x68], xmm1
mov r8d, 2
lea rdx, [0x1400cf75c]
lea rcx, [rsp + 0x58]
call fcn.14004b130
nop
lea rdx, [rbp - 0x50]
lea rcx, [rbp - 0x80]
call fcn.140047b30
lea r9, [rsp + 0x38]
lea r8, [rsp + 0x58]
mov rdx, rax
mov rcx, rsi
call fcn.140042aa0
nop
mov dword [rsp + 0x30], 3
mov rdx, qword [rsp + 0x70]
cmp rdx, 0x10
jb 0x140043070
inc rdx
mov rcx, qword [rsp + 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14004306a
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14004306a
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400afb60
nop
mov rdx, qword [rsp + 0x50]
cmp rdx, 0x10
jb 0x1400430b0
inc rdx
mov rcx, qword [rsp + 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400430ab
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400430ab
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400afb60
lea r13, [rsi + 0x10]
cmp qword [rsi + 0x18], 0x10
jb 0x1400430ce
mov r12, qword [rsi]
mov r14, r12
mov rbx, r12
add r14, qword [r13]
add r12, qword [r13]
jmp 0x1400430dd
mov rax, qword [r13]
mov rbx, rsi
lea r14, [rsi + rax]
lea r12, [rax + rsi]
cmp rbx, r14
je 0x140043124
movsx ecx, byte [rbx]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_isspace]
test eax, eax
jne 0x1400430f7
inc rbx
cmp rbx, r14
jne 0x1400430e2
cmp rbx, r14
je 0x140043124
lea rdi, [rbx + 1]
cmp rdi, r14
je 0x140043122
movsx ecx, byte [rdi]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_isspace]
test eax, eax
jne 0x14004311a
movzx eax, byte [rdi]
mov byte [rbx], al
inc rbx
inc rdi
cmp rdi, r14
jne 0x140043105
xor edi, edi
mov rdx, rbx
sub r12, rbx
mov rbx, qword [r13]
mov rax, rbx
cmp qword [rsi + 0x18], 0x10
jb 0x14004314a
sub rdx, qword [rsi]
sub rax, rdx
cmp rax, r12
cmovb r12, rax
mov rax, qword [rsi]
jmp 0x14004315a
sub rdx, rsi
sub rax, rdx
cmp rax, r12
cmovb r12, rax
mov rax, rsi
lea rcx, [rax + rdx]
sub rbx, r12
mov r8, rbx
sub r8, rdx
inc r8
lea rdx, [rcx + r12]
call sub.VCRUNTIME140.dll_memmove
mov qword [r13], rbx
mov rdx, qword [rbp - 0x38]
cmp rdx, 0x10
jb 0x1400431b6
inc rdx
mov rcx, qword [rbp - 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400431b0
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400431b0
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400afb60
nop
mov rdx, qword [r15 + 0x18]
cmp rdx, 0x10
jb 0x1400431ec
inc rdx
mov rcx, qword [r15]
cmp rdx, 0x1000
jb 0x1400431e7
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140043229
mov rcx, r8
call fcn.1400afb60
mov qword [r15 + 0x10], rdi
mov rax, rsi
mov byte [r15], 0
mov qword [r15 + 0x18], reloc.WS2_32.dll_ntohs
mov rcx, qword [rbp + 0x7a0]
xor rcx, rsp
call fcn.1400afa70
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