Function at 0x18003e6d0
Capabilities:
Create http request
Read data from internet
Receive data
Reference http user-agent string
Terminate process

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x780]
sub rsp, 0x880
xor r12d, r12d
mov r14, rdx
mov r15, rcx
mov dword [rsp + 0x20], r12d
xor r9d, r9d
lea rcx, str.Mozilla_5.0
xor r8d, r8d
lea edx, [r12 + 1]
call qword [sym.imp.WININET.dll_InternetOpenA]
mov ebx, r12d
xorps xmm0, xmm0
mov qword [rsp + 0x60], rbx
mov esi, 0xf
mov qword [rsp + 0x68], rsi
mov r13, rax
movups xmmword [rsp + 0x50], xmm0
mov byte [rsp + 0x50], bl
test rax, rax
je 0x18003ea0a
mov rdx, r14
cmp qword [r14 + 0x18], rsi
jbe 0x18003e753
mov rdx, qword [r14]
mov qword [rsp + 0x28], r12
xor r9d, r9d
xor r8d, r8d
mov dword [rsp + 0x20], r12d
mov rcx, r13
call qword [sym.imp.WININET.dll_InternetOpenUrlA]
mov r12, rax
test rax, rax
je 0x18003ea07
nop dword [rax + rax]
lea r9, [rbp + 0x7c0]
mov r8d, 0x7d0
lea rdx, [rbp - 0x50]
mov rcx, r12
call qword [sym.imp.WININET.dll_InternetReadFile]
mov edi, dword [rbp + 0x7c0]
mov rax, rsi
sub rax, rbx
cmp rdi, rax
ja 0x18003e7db
lea rax, [rbx + rdi]
cmp rsi, 0xf
mov qword [rsp + 0x60], rax
lea rdx, [rbp - 0x50]
lea rax, [rsp + 0x50]
mov r8d, edi
cmova rax, qword [rsp + 0x50]
add rbx, rax
mov rcx, rbx
call sub.VCRUNTIME140.dll_memmove
mov byte [rbx + rdi], 0
jmp 0x18003e7f1
lea r9, [rbp - 0x50]
mov qword [rsp + 0x20], rdi
mov rdx, rdi
lea rcx, [rsp + 0x50]
call fcn.180042a30
xor edx, edx
lea rcx, [rbp - 0x50]
mov r8d, 0x7d0
call sub.VCRUNTIME140.dll_memset
cmp dword [rbp + 0x7c0], 0
je 0x18003e81a
mov rsi, qword [rsp + 0x68]
mov rbx, qword [rsp + 0x60]
jmp 0x18003e780
mov rcx, r13
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov rcx, r12
call qword [sym.imp.WININET.dll_InternetCloseHandle]
xorps xmm0, xmm0
lea rdx, [rsp + 0x50]
mov eax, 0xa0d
lea rcx, [rbp - 0x70]
movups xmmword [rsp + 0x30], xmm0
mov word [rsp + 0x30], ax
mov eax, 0x6e7c
movups xmmword [rsp + 0x70], xmm0
mov r12d, 2
mov word [rsp + 0x70], ax
mov esi, 0xf
mov qword [rsp + 0x40], r12
mov qword [rsp + 0x48], rsi
mov byte [rsp + 0x32], 0
mov qword [rbp - 0x80], r12
mov qword [rbp - 0x78], rsi
mov byte [rsp + 0x72], 0
call fcn.180040a20
xor r13d, r13d
mov rbx, rax
mov edi, r13d
nop dword [rax + rax]
cmp qword [rbx + 0x18], 0xf
mov rcx, rbx
jbe 0x18003e89d
mov rcx, qword [rbx]
mov rdx, qword [rbx + 0x10]
lea r9, [rsp + 0x70]
mov r8, rdi
mov qword [rsp + 0x20], 2
call fcn.180042960
mov rdi, rax
cmp rax, 0xffffffffffffffff
je 0x18003e8f4
cmp rsi, 0xf
mov qword [rsp + 0x20], r12
lea r9, [rsp + 0x30]
mov r8d, 2
cmova r9, qword [rsp + 0x30]
mov rdx, rax
mov rcx, rbx
call fcn.1800410a0
mov r12, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rdi, r12
jmp 0x18003e890
xorps xmm0, xmm0
movups xmmword [r15], xmm0
mov qword [r15 + 0x10], r13
mov qword [r15 + 0x18], r13
movups xmm0, xmmword [rbx]
movups xmmword [r15], xmm0
movups xmm1, xmmword [rbx + 0x10]
movups xmmword [r15 + 0x10], xmm1
mov qword [rbx + 0x10], r13
mov qword [rbx + 0x18], 0xf
mov byte [rbx], r13b
cmp rsi, 0xf
jbe 0x18003e95e
mov rcx, qword [rsp + 0x30]
lea rdx, [rsi + 1]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18003e959
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18003e959
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.18008234c
mov rdx, qword [rsp + 0x68]
cmp rdx, 0xf
jbe 0x18003e997
mov rcx, qword [rsp + 0x50]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x18003e992
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18003ea00
call fcn.18008234c
mov rdx, qword [r14 + 0x18]
cmp rdx, 0xf
jbe 0x18003e9cd
mov rcx, qword [r14]
inc rdx
cmp rdx, 0x1000
jb 0x18003e9c8
mov r8, qword [rcx - 8]
add rdx, 0x27
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x18003ea00
mov rcx, r8
call fcn.18008234c
mov qword [r14 + 0x10], r13
mov qword [r14 + 0x18], 0xf
mov byte [r14], r13b
lea r11, [rsp + 0x880]
mov rax, r15
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
xor r12d, r12d
mov rcx, r13
call qword [sym.imp.WININET.dll_InternetCloseHandle]
xorps xmm0, xmm0
lea rdx, [rsp + 0x50]
mov eax, 0xa0d
lea rcx, [rbp - 0x70]
movups xmmword [rsp + 0x30], xmm0
mov word [rsp + 0x30], ax
mov eax, 0x6e7c
movups xmmword [rsp + 0x70], xmm0
mov esi, 2
mov word [rsp + 0x70], ax
mov r13d, 0xf
mov qword [rsp + 0x40], rsi
mov qword [rsp + 0x48], r13
mov byte [rsp + 0x32], bl
mov qword [rbp - 0x80], rsi
mov qword [rbp - 0x78], r13
mov byte [rsp + 0x72], bl
call fcn.180040a20
mov rbx, rax
mov rdi, r12
nop dword [rax]
cmp qword [rbx + 0x18], 0xf
mov rcx, rbx
jbe 0x18003ea7d
mov rcx, qword [rbx]
mov rdx, qword [rbx + 0x10]
lea r9, [rsp + 0x70]
mov r8, rdi
mov qword [rsp + 0x20], 2
call fcn.180042960
mov rdi, rax
cmp rax, 0xffffffffffffffff
je 0x18003ead4
cmp r13, 0xf
mov qword [rsp + 0x20], rsi
lea r9, [rsp + 0x30]
mov r8d, 2
cmova r9, qword [rsp + 0x30]
mov rdx, rax
mov rcx, rbx
call fcn.1800410a0
mov rsi, qword [rsp + 0x40]
mov r13, qword [rsp + 0x48]
add rdi, rsi
jmp 0x18003ea70
xorps xmm0, xmm0
movups xmmword [r15], xmm0
mov qword [r15 + 0x10], r12
mov qword [r15 + 0x18], r12
movups xmm0, xmmword [rbx]
movups xmmword [r15], xmm0
movups xmm1, xmmword [rbx + 0x10]
movups xmmword [r15 + 0x10], xmm1
mov qword [rbx + 0x10], r12
mov qword [rbx + 0x18], 0xf
mov byte [rbx], 0
cmp r13, 0xf
jbe 0x18003eb3e
mov rcx, qword [rsp + 0x30]
lea rdx, [r13 + 1]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18003eb39
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18003eb39
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.18008234c
cmp qword [r15 + 0x18], 0xf
mov rcx, r15
mov r8, qword [r15 + 0x10]
jbe 0x18003eb4f
mov rcx, qword [r15]
cmp r8, 1
jne 0x18003ebf8
lea rdx, [0x18026047c]
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
jne 0x18003ebf8
mov rdx, qword [rsp + 0x68]
cmp rdx, 0xf
jbe 0x18003eba6
mov rcx, qword [rsp + 0x50]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x18003eba1
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18003ebf1
call fcn.18008234c
mov rdx, qword [r14 + 0x18]
cmp rdx, 0xf
jbe 0x18003ebdc
mov rcx, qword [r14]
inc rdx
cmp rdx, 0x1000
jb 0x18003ebd7
mov r8, qword [rcx - 8]
add rdx, 0x27
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x18003ebf1
mov rcx, r8
call fcn.18008234c
mov qword [r14 + 0x10], r12
mov qword [r14 + 0x18], 0xf
mov byte [r14], 0
jmp 0x18003e9dc
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov ecx, 0xffffffff
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3