Function at 0x140037bb0
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 r14, rdx
mov r15, rcx
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
mov qword [rbp - 0x70], rdi
mov ebx, edi
mov qword [rbp - 0x60], rbx
mov esi, 0xf
mov qword [rbp - 0x58], rsi
mov byte [rbp - 0x70], bl
test rax, rax
je 0x140037ff5
mov rdx, r14
cmp qword [r14 + 0x18], 0x10
jb 0x140037c26
mov rdx, qword [r14]
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 0x140037ff5
nop word [rax + rax]
lea r9, [rbp + 0x818]
mov r8d, 0x7d0
lea rdx, [rbp - 0x20]
mov rcx, r12
call qword [sym.imp.WININET.dll_InternetReadFile]
mov edi, dword [rbp + 0x818]
mov rax, rsi
sub rax, rbx
cmp rdi, rax
ja 0x140037ca8
lea rax, [rbx + rdi]
mov qword [rbp - 0x60], rax
lea rax, [rbp - 0x70]
cmp rsi, 0x10
cmovae rax, qword [rbp - 0x70]
add rbx, rax
mov r8d, edi
lea rdx, [rbp - 0x20]
mov rcx, rbx
call sub.VCRUNTIME140.dll_memmove
mov byte [rbx + rdi], 0
jmp 0x140037cbd
mov qword [rsp + 0x20], rdi
lea r9, [rbp - 0x20]
mov rdx, rdi
lea rcx, [rbp - 0x70]
call fcn.140031540
xor edx, edx
mov r8d, 0x7d0
lea rcx, [rbp - 0x20]
call sub.VCRUNTIME140.dll_memset
cmp dword [rbp + 0x818], 0
je 0x140037ce4
mov rsi, qword [rbp - 0x58]
mov rbx, qword [rbp - 0x60]
jmp 0x140037c50
mov rcx, r13
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov rcx, r12
call qword [sym.imp.WININET.dll_InternetCloseHandle]
xor r12d, r12d
mov qword [rsp + 0x50], r12
mov qword [rsp + 0x60], r12
mov qword [rsp + 0x68], 0xf
mov byte [rsp + 0x50], r12b
lea r8d, [r12 + 2]
lea rdx, [0x140043730]
lea rcx, [rsp + 0x50]
call fcn.1400305a0
nop
mov qword [rsp + 0x70], r12
mov qword [rbp - 0x80], r12
mov qword [rbp - 0x78], 0xf
mov byte [rsp + 0x70], r12b
lea r8d, [r12 + 2]
lea rdx, [0x140049fec]
lea rcx, [rsp + 0x70]
call fcn.1400305a0
nop
mov qword [rsp + 0x30], r12
mov qword [rsp + 0x40], r12
mov qword [rsp + 0x48], r12
lea rdi, [rbp - 0x70]
cmp qword [rbp - 0x58], 0x10
cmovae rdi, qword [rbp - 0x70]
mov rsi, qword [rbp - 0x60]
cmp rsi, 0x10
jae 0x140037d8b
movups xmm0, xmmword [rdi]
movups xmmword [rsp + 0x30], xmm0
lea ebx, [r12 + 0xf]
jmp 0x140037e05
mov rbx, rsi
or rbx, 0xf
movabs rax, 0x7fffffffffffffff
cmp rbx, rax
cmova rbx, rax
lea rcx, [rbx + 1]
cmp rcx, 0x1000
jb 0x140037de2
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x140038227
mov rcx, rax
call fcn.14003de84
mov rcx, rax
test rax, rax
je 0x140037ddb
add rax, 0x27
and rax, 0xffffffffffffffe0
mov qword [rax - 8], rcx
jmp 0x140037df1
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
test rcx, rcx
je 0x140037dee
call fcn.14003de84
jmp 0x140037df1
mov rax, r12
mov qword [rsp + 0x30], rax
lea r8, [rsi + 1]
mov rdx, rdi
mov rcx, rax
call sub.VCRUNTIME140.dll_memcpy
mov qword [rsp + 0x40], rsi
mov qword [rsp + 0x48], rbx
lea rax, [rsp + 0x30]
mov qword [rbp - 0x50], rax
mov rdi, r12
mov r15, qword [rbp - 0x78]
cmp r15, 0x10
setae byte [rbp + 0x810]
mov r13, qword [rsp + 0x70]
mov r12, qword [rsp + 0x60]
mov r14, qword [rbp - 0x80]
nop dword [rax + rax]
lea r9, [rsp + 0x70]
cmp r15, 0x10
cmovae r9, r13
lea rcx, [rsp + 0x30]
cmp rbx, 0x10
cmovae rcx, qword [rsp + 0x30]
mov qword [rsp + 0x20], r14
mov r8, rdi
mov rdx, rsi
call fcn.14003c390
mov rdi, rax
cmp rax, 0xffffffffffffffff
je 0x140037eaf
lea r9, [rsp + 0x50]
cmp qword [rsp + 0x68], 0x10
cmovae r9, qword [rsp + 0x50]
mov qword [rsp + 0x20], r12
mov r8, r14
mov rdx, rax
lea rcx, [rsp + 0x30]
call fcn.14003bc90
mov r12, qword [rsp + 0x60]
add rdi, r12
mov rbx, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x40]
jmp 0x140037e40
movups xmm0, xmmword [rsp + 0x30]
movups xmmword [rbp - 0x50], xmm0
movups xmm0, xmmword [rsp + 0x40]
movups xmmword [rbp - 0x38], xmm0
xor ebx, ebx
mov qword [rsp + 0x40], rbx
mov qword [rsp + 0x48], 0xf
mov byte [rsp + 0x30], bl
cmp byte [rbp + 0x810], bl
mov r14, qword [rbp + 0x808]
mov r15, qword [rbp + 0x800]
je 0x140037f23
mov rdx, qword [rbp - 0x78]
inc rdx
mov rax, r13
cmp rdx, 0x1000
jb 0x140037f1a
add rdx, 0x27
mov r13, qword [r13 - 8]
sub rax, r13
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140037f1a
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, r13
call fcn.14003de0c
nop
mov rdx, qword [rsp + 0x68]
cmp rdx, 0x10
jb 0x140037f63
inc rdx
mov rcx, qword [rsp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140037f5e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140037f5e
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14003de0c
movups xmm0, xmmword [rbp - 0x50]
movups xmmword [r15], xmm0
movups xmm1, xmmword [rbp - 0x38]
movups xmmword [r15 + 0x10], xmm1
mov rax, qword [rbp - 0x58]
cmp rax, 0x10
jb 0x140037fb4
lea rdx, [rax + 1]
mov rcx, qword [rbp - 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140037fae
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140037fae
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14003de0c
nop
mov rdx, qword [r14 + 0x18]
cmp rdx, 0x10
jb 0x1400381f9
inc rdx
mov rcx, qword [r14]
cmp rdx, 0x1000
jb 0x1400381f4
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
jbe 0x1400381f1
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], 0xf
mov byte [rsp + 0x50], 0
mov r8d, 2
lea rdx, [0x140043730]
lea rcx, [rsp + 0x50]
call fcn.1400305a0
nop
mov qword [rsp + 0x70], rdi
mov qword [rbp - 0x80], rdi
mov qword [rbp - 0x78], 0xf
mov byte [rsp + 0x70], 0
mov r8d, 2
lea rdx, [0x140049fec]
lea rcx, [rsp + 0x70]
call fcn.1400305a0
nop
movups xmm0, xmmword [rbp - 0x70]
movups xmmword [rsp + 0x30], xmm0
mov rdx, rdi
mov qword [rsp + 0x40], rdx
mov eax, 0xf
mov qword [rsp + 0x48], rax
lea rcx, [rsp + 0x30]
mov qword [rbp + 0x818], rcx
mov rbx, rdi
mov r13, qword [rbp - 0x78]
cmp r13, 0x10
setae byte [rbp + 0x810]
mov r12, qword [rbp - 0x80]
mov rsi, qword [rsp + 0x70]
mov rdi, qword [rsp + 0x60]
lea r9, [rsp + 0x70]
cmp r13, 0x10
cmovae r9, rsi
lea rcx, [rsp + 0x30]
cmp rax, 0x10
cmovae rcx, qword [rsp + 0x30]
mov qword [rsp + 0x20], r12
mov r8, rbx
call fcn.14003c390
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x14003810f
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.14003bc90
mov rdi, qword [rsp + 0x60]
add rbx, rdi
mov rax, qword [rsp + 0x48]
mov rdx, qword [rsp + 0x40]
jmp 0x1400380a3
movups xmm0, xmmword [rsp + 0x30]
movups xmmword [rbp - 0x38], xmm0
movups xmm0, xmmword [rsp + 0x40]
movups xmmword [rbp - 0x50], xmm0
xor ebx, ebx
mov qword [rsp + 0x40], rbx
mov qword [rsp + 0x48], 0xf
mov byte [rsp + 0x30], bl
cmp byte [rbp + 0x810], bl
je 0x140038172
lea rdx, [r13 + 1]
mov rax, rsi
cmp rdx, 0x1000
jb 0x140038169
add rdx, 0x27
mov rsi, qword [rsi - 8]
sub rax, rsi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140038169
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, rsi
call fcn.14003de0c
nop
mov rdx, qword [rsp + 0x68]
cmp rdx, 0x10
jb 0x1400381b2
inc rdx
mov rcx, qword [rsp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400381ad
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400381ad
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14003de0c
movups xmm0, xmmword [rbp - 0x38]
movups xmmword [r15], xmm0
movups xmm1, xmmword [rbp - 0x50]
movups xmmword [r15 + 0x10], xmm1
mov rdx, qword [r14 + 0x18]
cmp rdx, 0x10
jb 0x1400381f9
inc rdx
mov rcx, qword [r14]
cmp rdx, 0x1000
jb 0x1400381f4
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140038220
mov rcx, r8
call fcn.14003de0c
mov qword [r14 + 0x10], rbx
mov qword [r14 + 0x18], 0xf
mov rax, r15
mov byte [r14], 0
add rsp, 0x8b8
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call fcn.14002cdc0
nop
int3