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

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x7c0]
sub rsp, 0x8c0
mov rax, qword [0x1400a01c0]
xor rax, rsp
mov qword [rbp + 0x7b0], rax
mov rsi, rdx
mov r12, rcx
mov qword [rbp - 0x30], rcx
mov qword [rbp - 0x60], rdx
mov dword [rbp - 0x30], 1
movabs rax, 0xbc07d770d456ce51
mov qword [rsp + 0x30], rax
movabs rax, 0x35bf5d1c3a688f29
mov qword [rsp + 0x38], rax
movabs rax, 0x9366bb1cbd2ca11c
mov qword [rbp - 0x30], rax
movabs rax, 0x35bf5d1c3a58a11c
mov qword [rbp - 0x28], rax
movdqa xmm0, xmmword [rsp + 0x30]
xorps xmm0, xmmword [rbp - 0x30]
movdqa xmmword [rsp + 0x30], xmm0
xor edi, edi
mov dword [rsp + 0x20], edi
xor r9d, r9d
xor r8d, r8d
lea edx, [rdi + 1]
lea rcx, [rsp + 0x30]
call qword [sym.imp.WININET.dll_InternetOpenA]
mov r13, rax
xorps xmm0, xmm0
movups xmmword [rbp - 0x58], xmm0
mov ebx, edi
mov qword [rbp - 0x48], rbx
mov r14d, reloc.WS2_32.dll_ntohs
mov qword [rbp - 0x40], r14
mov byte [rbp - 0x58], bl
test rax, rax
je 0x14001a580
mov rdx, rsi
cmp qword [rsi + 0x18], r14
jbe 0x14001a33b
mov rdx, qword [rsi]
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 r15, rax
test rax, rax
je 0x14001a580
nop
lea r9, [rbp - 0x30]
mov r8d, 0x7d0
lea rdx, [rbp - 0x20]
mov rcx, r15
call qword [sym.imp.WININET.dll_InternetReadFile]
mov edi, dword [rbp - 0x30]
mov rax, r14
sub rax, rbx
cmp rdi, rax
ja 0x14001a3b2
lea rax, [rdi + rbx]
mov qword [rbp - 0x48], rax
lea rax, [rbp - 0x58]
cmp r14, 0xf
cmova rax, qword [rbp - 0x58]
add rbx, rax
mov r8d, edi
lea rdx, [rbp - 0x20]
mov rcx, rbx
call sub.VCRUNTIME140.dll_memmove
mov byte [rbx + rdi], 0
jmp 0x14001a3ca
mov qword [rsp + 0x20], rdi
lea r9, [rbp - 0x20]
xor r8d, r8d
mov rdx, rdi
lea rcx, [rbp - 0x58]
call fcn.140018530
xor edx, edx
mov r8d, 0x7d0
lea rcx, [rbp - 0x20]
call sub.VCRUNTIME140.dll_memset
cmp dword [rbp - 0x30], 0
je 0x14001a3ee
mov r14, qword [rbp - 0x40]
mov rbx, qword [rbp - 0x48]
jmp 0x14001a360
mov rcx, r13
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov rcx, r15
call qword [sym.imp.WININET.dll_InternetCloseHandle]
xorps xmm0, xmm0
movups xmmword [rsp + 0x60], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x70], xmm1
mov r8d, 2
lea rdx, [0x14008357c]
lea rcx, [rsp + 0x60]
call fcn.140017ff0
nop
xorps xmm0, xmm0
movups xmmword [rsp + 0x40], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x50], xmm1
mov r8d, 2
lea rdx, [0x140083580]
lea rcx, [rsp + 0x40]
call fcn.140017ff0
nop
lea rdx, [rbp - 0x58]
lea rcx, [rbp - 0x80]
call fcn.140009ae0
lea r9, [rsp + 0x60]
lea r8, [rsp + 0x40]
mov rdx, rax
mov rcx, r12
call fcn.140029070
nop
mov rdx, qword [rsp + 0x58]
cmp rdx, 0xf
jbe 0x14001a4b6
inc rdx
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14001a4b0
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14001a4b0
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14007d63c
nop
mov rdx, qword [rsp + 0x78]
cmp rdx, 0xf
jbe 0x14001a4f7
inc rdx
mov rcx, qword [rsp + 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14001a4f1
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14001a4f1
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14007d63c
nop
mov rdx, qword [rbp - 0x40]
cmp rdx, 0xf
jbe 0x14001a536
inc rdx
mov rcx, qword [rbp - 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14001a530
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14001a530
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14007d63c
nop
mov rdx, qword [rsi + 0x18]
cmp rdx, 0xf
jbe 0x14001a56c
inc rdx
mov rcx, qword [rsi]
cmp rdx, 0x1000
jb 0x14001a567
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x14001a579
mov rcx, r8
call fcn.14007d63c
mov qword [rsi + 0x10], 0
jmp 0x14001a6f9
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 + 0x40], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x50], xmm1
mov r8d, 2
lea rdx, [0x14008357c]
lea rcx, [rsp + 0x40]
call fcn.140017ff0
nop
xorps xmm0, xmm0
movups xmmword [rsp + 0x60], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x70], xmm1
mov r8d, 2
lea rdx, [0x140083580]
lea rcx, [rsp + 0x60]
call fcn.140017ff0
nop
lea rdx, [rbp - 0x58]
lea rcx, [rbp - 0x80]
call fcn.140009ae0
lea r9, [rsp + 0x40]
lea r8, [rsp + 0x60]
mov rdx, rax
mov rcx, r12
call fcn.140029070
nop
mov rdx, qword [rsp + 0x78]
cmp rdx, 0xf
jbe 0x14001a63f
inc rdx
mov rcx, qword [rsp + 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14001a639
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14001a639
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14007d63c
nop
mov rdx, qword [rsp + 0x58]
cmp rdx, 0xf
jbe 0x14001a680
inc rdx
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14001a67a
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14001a67a
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14007d63c
nop
mov rdx, qword [rbp - 0x40]
cmp rdx, 0xf
jbe 0x14001a6bf
inc rdx
mov rcx, qword [rbp - 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14001a6b9
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14001a6b9
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14007d63c
nop
mov rdx, qword [rsi + 0x18]
cmp rdx, 0xf
jbe 0x14001a6f5
inc rdx
mov rcx, qword [rsi]
cmp rdx, 0x1000
jb 0x14001a6f0
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x14001a731
mov rcx, r8
call fcn.14007d63c
mov qword [rsi + 0x10], rdi
mov rax, r12
mov byte [rsi], 0
mov qword [rsi + 0x18], reloc.WS2_32.dll_ntohs
mov rcx, qword [rbp + 0x7b0]
xor rcx, rsp
call fcn.14007d5e0
mov rbx, qword [rsp + 0x910]
add rsp, 0x8c0
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