Function at 0x140018e20
Capabilities:
Create http request
Read data from internet
Receive data

Disassembly:
mov rax, rsp
mov qword [rax + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x828]
sub rsp, 0x8f0
movaps xmmword [rax - 0x48], xmm6
movaps xmmword [rax - 0x58], xmm7
mov rax, qword [0x140098258]
xor rax, rsp
mov qword [rbp + 0x7c0], rax
mov rdi, rdx
mov qword [rbp - 0x58], rdx
mov qword [rbp - 0x60], rcx
mov qword [rbp - 0x20], rcx
mov qword [rbp - 0x50], rdx
movabs rax, 0x8ef5b5bc8ef3109d
mov qword [rbp - 0x70], rax
movabs rax, 0x1f9aabd0f4e551e5
mov qword [rbp - 0x68], rax
movabs rax, 0xa194d9d0e7897fd0
mov qword [rbp - 0x20], rax
movabs rax, 0x1f9aabd0f4d57fd0
mov qword [rbp - 0x18], rax
movdqa xmm0, xmmword [rbp - 0x70]
pxor xmm0, xmmword [rbp - 0x20]
movdqa xmmword [rbp - 0x70], xmm0
xor r12d, r12d
mov dword [rsp + 0x20], r12d
xor r9d, r9d
xor r8d, r8d
lea edx, [r12 + 1]
lea rcx, [rbp - 0x70]
call qword [sym.imp.WININET.dll_InternetOpenA]
mov r15, rax
mov qword [rbp - 0x48], r12
mov ebx, r12d
mov qword [rbp - 0x38], rbx
mov esi, reloc.WS2_32.dll_ntohs
mov qword [rbp - 0x30], rsi
mov byte [rbp - 0x48], bl
test rax, rax
je 0x1400192f5
mov rdx, rdi
cmp qword [rdi + 0x18], 0x10
jb 0x140018f00
mov rdx, qword [rdi]
mov qword [rsp + 0x28], r12
mov dword [rsp + 0x20], r12d
xor r9d, r9d
xor r8d, r8d
mov rcx, r15
call qword [sym.imp.WININET.dll_InternetOpenUrlA]
mov r14, rax
test rax, rax
je 0x1400192f5
nop word [rax + rax]
lea r9, [rbp - 0x20]
mov r8d, 0x7d0
lea rdx, [rbp - 0x10]
mov rcx, r14
call qword [sym.imp.WININET.dll_InternetReadFile]
mov edi, dword [rbp - 0x20]
mov rax, rsi
sub rax, rbx
cmp rdi, rax
ja 0x140018f82
lea rax, [rbx + rdi]
mov qword [rbp - 0x38], rax
lea rax, [rbp - 0x48]
cmp rsi, 0x10
cmovae rax, qword [rbp - 0x48]
add rbx, rax
mov r8d, edi
lea rdx, [rbp - 0x10]
mov rcx, rbx
call sub.VCRUNTIME140.dll_memmove
mov byte [rbx + rdi], 0
jmp 0x140018f9a
mov qword [rsp + 0x20], rdi
lea r9, [rbp - 0x10]
xor r8d, r8d
mov rdx, rdi
lea rcx, [rbp - 0x48]
call fcn.14000a8b0
xor edx, edx
mov r8d, 0x7d0
lea rcx, [rbp - 0x10]
call sub.VCRUNTIME140.dll_memset
cmp dword [rbp - 0x20], 0
je 0x140018fbe
mov rsi, qword [rbp - 0x30]
mov rbx, qword [rbp - 0x38]
jmp 0x140018f30
mov rcx, r15
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov rcx, r14
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov qword [rsp + 0x50], r12
mov qword [rsp + 0x60], r12
mov qword [rsp + 0x68], reloc.WS2_32.dll_ntohs
mov byte [rsp + 0x50], 0
mov r8d, 2
lea rdx, [0x14007c45c]
lea rcx, [rsp + 0x50]
call fcn.1400097a0
nop
mov qword [rsp + 0x70], r12
mov qword [rbp - 0x80], r12
mov qword [rbp - 0x78], reloc.WS2_32.dll_ntohs
mov byte [rsp + 0x70], 0
mov r8d, 2
lea rdx, [0x14007c460]
lea rcx, [rsp + 0x70]
call fcn.1400097a0
nop
mov qword [rsp + 0x30], r12
mov qword [rsp + 0x40], r12
mov qword [rsp + 0x48], r12
lea rbx, [rbp - 0x48]
cmp qword [rbp - 0x30], 0x10
cmovae rbx, qword [rbp - 0x48]
mov rdi, qword [rbp - 0x38]
cmp rdi, 0x10
jae 0x140019065
movups xmm0, xmmword [rbx]
movups xmmword [rsp + 0x30], xmm0
mov r14d, reloc.WS2_32.dll_ntohs
jmp 0x1400190df
mov r14, rdi
or r14, 0xf
movabs rax, 0x7fffffffffffffff
cmp r14, rax
cmova r14, rax
lea rcx, [r14 + 1]
cmp rcx, 0x1000
jb 0x1400190bc
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x140019583
mov rcx, rax
call fcn.140077300
mov rcx, rax
test rax, rax
je 0x1400190b5
add rax, 0x27
and rax, 0xffffffffffffffe0
mov qword [rax - 8], rcx
jmp 0x1400190cb
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
test rcx, rcx
je 0x1400190c8
call fcn.140077300
jmp 0x1400190cb
mov rax, r12
mov qword [rsp + 0x30], rax
lea r8, [rdi + 1]
mov rdx, rbx
mov rcx, rax
call sub.VCRUNTIME140.dll_memcpy
mov qword [rsp + 0x40], rdi
mov qword [rsp + 0x48], r14
lea rax, [rsp + 0x30]
mov qword [rbp - 0x70], rax
mov rbx, r12
mov rsi, qword [rbp - 0x80]
mov r13, qword [rsp + 0x70]
nop
lea r15, [rsp + 0x70]
cmp qword [rbp - 0x78], 0x10
cmovae r15, r13
lea r12, [rsp + 0x30]
cmp r14, 0x10
cmovae r12, qword [rsp + 0x30]
cmp rsi, rdi
ja 0x1400191c7
sub rdi, rsi
cmp rbx, rdi
ja 0x1400191c7
test rsi, rsi
je 0x140019182
lea rcx, [r12 + rbx]
movsx r14d, byte [r15]
lea r8, [r12 + 1]
add r8, rdi
sub r8, rcx
mov edx, r14d
call sub.VCRUNTIME140.dll_memchr
test rax, rax
mov rbx, rax
je 0x1400191c7
mov r8, rsi
mov rdx, r15
mov rcx, rax
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
je 0x14001917f
inc rbx
lea r8, [r12 + 1]
add r8, rdi
sub r8, rbx
mov rcx, rbx
jmp 0x14001914a
sub rbx, r12
cmp rbx, 0xffffffffffffffff
je 0x1400191c7
lea r9, [rsp + 0x50]
cmp qword [rsp + 0x68], 0x10
cmovae r9, qword [rsp + 0x50]
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0x20], rax
mov r8, rsi
mov rdx, rbx
lea rcx, [rsp + 0x30]
call fcn.140023e40
add rbx, qword [rsp + 0x60]
mov r14, qword [rsp + 0x48]
mov rdi, qword [rsp + 0x40]
jmp 0x140019100
movups xmm6, xmmword [rsp + 0x30]
movups xmm7, xmmword [rsp + 0x40]
xor esi, esi
mov qword [rsp + 0x40], rsi
mov qword [rsp + 0x48], reloc.WS2_32.dll_ntohs
mov byte [rsp + 0x30], sil
mov rax, qword [rbp - 0x78]
cmp rax, 0x10
jb 0x140019225
lea rdx, [rax + 1]
mov rax, r13
cmp rdx, 0x1000
jb 0x14001921c
add rdx, 0x27
mov r13, qword [r13 - 8]
sub rax, r13
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14001921c
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, r13
call fcn.14007733c
nop
mov rdx, qword [rsp + 0x68]
cmp rdx, 0x10
jb 0x140019265
inc rdx
mov rcx, qword [rsp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140019260
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140019260
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14007733c
mov rdi, qword [rbp - 0x60]
movups xmmword [rdi], xmm6
movups xmmword [rdi + 0x10], xmm7
mov rax, qword [rbp - 0x30]
cmp rax, 0x10
jb 0x1400192b0
lea rdx, [rax + 1]
mov rcx, qword [rbp - 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400192aa
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400192aa
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14007733c
nop
mov rbx, qword [rbp - 0x58]
mov rdx, qword [rbx + 0x18]
cmp rdx, 0x10
jb 0x140019536
inc rdx
mov rcx, qword [rbx]
cmp rdx, 0x1000
jb 0x140019531
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
jbe 0x14001952e
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
mov rcx, r15
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov qword [rsp + 0x50], r12
mov qword [rsp + 0x60], r12
mov qword [rsp + 0x68], reloc.WS2_32.dll_ntohs
mov byte [rsp + 0x50], 0
mov r8d, 2
lea rdx, [0x14007c45c]
lea rcx, [rsp + 0x50]
call fcn.1400097a0
nop
mov qword [rsp + 0x70], r12
mov qword [rbp - 0x80], r12
mov qword [rbp - 0x78], reloc.WS2_32.dll_ntohs
mov byte [rsp + 0x70], 0
mov r8d, 2
lea rdx, [0x14007c460]
lea rcx, [rsp + 0x70]
call fcn.1400097a0
nop
movups xmm0, xmmword [rbp - 0x48]
movups xmmword [rsp + 0x30], xmm0
mov rax, r12
mov qword [rsp + 0x40], rax
mov ecx, reloc.WS2_32.dll_ntohs
mov qword [rsp + 0x48], rcx
lea rdx, [rsp + 0x30]
mov qword [rbp - 0x70], rdx
mov rbx, r12
mov rdi, qword [rbp - 0x80]
mov r13, qword [rsp + 0x70]
nop dword [rax]
lea rsi, [rsp + 0x70]
cmp qword [rbp - 0x78], 0x10
cmovae rsi, r13
lea r12, [rsp + 0x30]
cmp rcx, 0x10
cmovae r12, qword [rsp + 0x30]
cmp rdi, rax
ja 0x140019453
sub rax, rdi
cmp rbx, rax
ja 0x140019453
test rdi, rdi
je 0x14001940e
lea r14, [r12 + rax]
lea rcx, [r12 + rbx]
movsx r15d, byte [rsi]
lea r8, [r14 + 1]
sub r8, rcx
mov edx, r15d
call sub.VCRUNTIME140.dll_memchr
test rax, rax
mov rbx, rax
je 0x140019453
mov r8, rdi
mov rdx, rsi
mov rcx, rax
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
je 0x14001940b
inc rbx
lea r8, [r14 + 1]
sub r8, rbx
mov rcx, rbx
jmp 0x1400193da
sub rbx, r12
cmp rbx, 0xffffffffffffffff
je 0x140019453
lea r9, [rsp + 0x50]
cmp qword [rsp + 0x68], 0x10
cmovae r9, qword [rsp + 0x50]
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0x20], rax
mov r8, rdi
mov rdx, rbx
lea rcx, [rsp + 0x30]
call fcn.140023e40
add rbx, qword [rsp + 0x60]
mov rcx, qword [rsp + 0x48]
mov rax, qword [rsp + 0x40]
jmp 0x140019390
movups xmm6, xmmword [rsp + 0x30]
movups xmm7, xmmword [rsp + 0x40]
xor esi, esi
mov qword [rsp + 0x40], rsi
mov qword [rsp + 0x48], reloc.WS2_32.dll_ntohs
mov byte [rsp + 0x30], sil
mov rax, qword [rbp - 0x78]
cmp rax, 0x10
jb 0x1400194b1
lea rdx, [rax + 1]
mov rax, r13
cmp rdx, 0x1000
jb 0x1400194a8
add rdx, 0x27
mov r13, qword [r13 - 8]
sub rax, r13
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400194a8
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, r13
call fcn.14007733c
nop
mov rdx, qword [rsp + 0x68]
cmp rdx, 0x10
jb 0x1400194f1
inc rdx
mov rcx, qword [rsp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400194ec
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400194ec
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14007733c
mov rdi, qword [rbp - 0x60]
movups xmmword [rdi], xmm6
movups xmmword [rdi + 0x10], xmm7
mov rbx, qword [rbp - 0x58]
mov rdx, qword [rbx + 0x18]
cmp rdx, 0x10
jb 0x140019536
inc rdx
mov rcx, qword [rbx]
cmp rdx, 0x1000
jb 0x140019531
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x14001957c
mov rcx, r8
call fcn.14007733c
mov qword [rbx + 0x10], rsi
mov qword [rbx + 0x18], reloc.WS2_32.dll_ntohs
mov rax, rdi
mov byte [rbx], 0
mov rcx, qword [rbp + 0x7c0]
xor rcx, rsp
call fcn.1400772e0
lea r11, [rsp + 0x8f0]
mov rbx, qword [r11 + 0x50]
movaps xmm6, xmmword [r11 - 0x10]
movaps xmm7, xmmword [r11 - 0x20]
mov rsp, r11
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]
nop
call fcn.140001860
nop
int3