Function at 0x140086660
Capabilities:
Connect to http server
Create http request
Read data from internet
Receive data
Send data
Send http request

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0xc320]
mov eax, 0xc420
call fcn.1400e8da0
sub rsp, rax
mov rax, qword [0x140146028]
xor rax, rsp
mov qword [rbp + 0xc310], rax
mov rdi, r9
mov rbx, rdx
mov rsi, qword [rbp + 0xc390]
mov qword [rsp + 0x60], rdx
mov r14, qword [rbp + 0xc380]
mov r15, qword [rbp + 0xc388]
xor r13d, r13d
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x48], xmm0
mov dword [rsp + 0x20], r13d
xor r9d, r9d
xor r8d, r8d
xor edx, edx
lea rcx, [0x140132e58]
call qword [sym.imp.WININET.dll_InternetOpenA]
mov r12, rax
mov qword [rsp + 0x40], rax
test rax, rax
jne 0x14008670f
xorps xmm0, xmm0
movups xmmword [rbx], xmm0
mov qword [rbx + 0x10], r13
mov qword [rbx + 0x18], r13
xor r8d, r8d
lea rdx, [0x14010b7a7]
mov rcx, rbx
call fcn.140008e40
nop
jmp 0x140086a9e
cmp qword [rdi + 0x18], 0x10
jb 0x140086719
mov rdi, qword [rdi]
mov r8d, 0x1bb
mov qword [rsp + 0x38], r13
mov dword [rsp + 0x30], r13d
mov dword [rsp + 0x28], 3
mov qword [rsp + 0x20], r13
xor r9d, r9d
mov rdx, rdi
mov rcx, r12
call qword [sym.imp.WININET.dll_InternetConnectA]
mov r13, rax
mov qword [rsp + 0x48], rax
xorps xmm0, xmm0
test rax, rax
jne 0x140086778
movups xmmword [rbx], xmm0
mov qword [rbx + 0x10], rax
mov qword [rbx + 0x18], rax
xor r8d, r8d
lea rdx, [0x14010b7a7]
mov rcx, rbx
call fcn.140008e40
nop
jmp 0x140086a95
movups xmmword [rbp - 0x60], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x50], xmm1
mov r8d, 4
lea rdx, str.POST
lea rcx, [rbp - 0x60]
call fcn.140008e40
nop
cmp qword [r14 + 0x18], 0x10
jb 0x1400867a5
mov r14, qword [r14]
lea rdx, [rbp - 0x60]
cmp qword [rbp - 0x48], 0x10
cmovae rdx, qword [rbp - 0x60]
xor edi, edi
mov qword [rsp + 0x38], rdi
mov dword [rsp + 0x30], 0x80883300
mov qword [rsp + 0x28], rdi
mov qword [rsp + 0x20], rdi
lea r9, str.HTTP_1.1
mov r8, r14
mov rcx, r13
call qword [sym.imp.WININET.dll_HttpOpenRequestA]
mov r12, rax
mov qword [rsp + 0x50], rax
xorps xmm0, xmm0
test rax, rax
jne 0x14008682a
movups xmmword [rbx], xmm0
mov qword [rbx + 0x10], rdi
mov qword [rbx + 0x18], rdi
xor r8d, r8d
lea rdx, [0x14010b7a7]
mov rcx, rbx
call fcn.140008e40
nop
lea rcx, [rbp - 0x60]
call fcn.14000bb40
nop
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov rcx, r13
jmp 0x140086a98
xor eax, eax
movups xmmword [rsp + 0x68], xmm0
mov qword [rsp + 0x78], rax
cmp qword [rsi + 0x18], 0x10
jb 0x140086849
mov rdi, qword [rsi]
mov r14, rdi
add rdi, qword [rsi + 0x10]
jmp 0x140086853
mov rdi, qword [rsi + 0x10]
add rdi, rsi
mov r14, rsi
movdqu xmmword [rsp + 0x68], xmm0
mov qword [rsp + 0x78], rax
sub rdi, r14
je 0x1400868db
movabs rax, 0x7fffffffffffffff
cmp rdi, rax
ja 0x140086ad1
cmp rdi, 0x1000
jb 0x1400868ab
lea rcx, [rdi + 0x27]
cmp rcx, rdi
jbe 0x140086ad7
call fcn.1400e7ad0
mov rcx, rax
test rax, rax
je 0x140086a5d
add rax, 0x27
and rax, 0xffffffffffffffe0
mov qword [rax - 8], rcx
jmp 0x1400868b3
mov rcx, rdi
call fcn.1400e7ad0
mov qword [rsp + 0x68], rax
mov qword [rsp + 0x70], rax
lea rsi, [rax + rdi]
mov qword [rsp + 0x78], rsi
mov r8, rdi
mov rdx, r14
mov rcx, rax
call sub.VCRUNTIME140.dll_memmove
mov qword [rsp + 0x70], rsi
jmp 0x1400868e0
mov rsi, qword [rsp + 0x70]
mov r9, qword [rsp + 0x68]
sub rsi, r9
mov r8d, dword [r15 + 0x10]
cmp qword [r15 + 0x18], 0x10
jb 0x1400868f6
mov r15, qword [r15]
mov dword [rsp + 0x20], esi
mov rdx, r15
mov rcx, r12
call qword [sym.imp.WININET.dll_HttpSendRequestA]
xorps xmm0, xmm0
test eax, eax
je 0x140086a0a
movups xmmword [rbp - 0x80], xmm0
movdqa xmm1, xmmword [0x1401348f0]
movdqu xmmword [rbp - 0x70], xmm1
mov byte [rbp - 0x80], 0
xor edi, edi
mov dword [rsp + 0x60], edi
lea r9, [rsp + 0x60]
mov r8d, 0xc34f
lea rdx, [rbp - 0x40]
mov rcx, r12
call qword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
je 0x1400869a2
mov eax, dword [rsp + 0x60]
test eax, eax
je 0x1400869a2
cmp rax, 0xc350
jae 0x140086acb
mov byte [rbp + rax - 0x40], dil
mov dword [rsp + 0x60], edi
lea rax, [rbp - 0x40]
mov r8, 0xffffffffffffffff
inc r8
cmp byte [rax + r8], dil
jne 0x140086970
lea rdx, [rbp - 0x40]
lea rcx, [rbp - 0x80]
call fcn.14000bc40
lea r9, [rsp + 0x60]
mov r8d, 0xc34f
lea rdx, [rbp - 0x40]
mov rcx, r12
call qword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
jne 0x140086948
movups xmm0, xmmword [rbp - 0x80]
movups xmmword [rbx], xmm0
movups xmm1, xmmword [rbp - 0x70]
movups xmmword [rbx + 0x10], xmm1
movdqa xmm0, xmmword [0x1401348f0]
movdqu xmmword [rbp - 0x70], xmm0
mov byte [rbp - 0x80], dil
lea rcx, [rbp - 0x80]
call fcn.14000bb40
nop
mov rcx, qword [rsp + 0x68]
test rcx, rcx
je 0x140086a77
mov rdx, qword [rsp + 0x78]
sub rdx, rcx
mov rax, rcx
cmp rdx, 0x1000
jb 0x140086a64
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140086a64
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
movups xmmword [rbx], xmm0
xor edi, edi
mov qword [rbx + 0x10], rdi
mov qword [rbx + 0x18], rdi
xor r8d, r8d
lea rdx, [0x14010b7a7]
mov rcx, rbx
call fcn.140008e40
nop
mov rcx, qword [rsp + 0x68]
test rcx, rcx
je 0x140086a77
mov rdx, qword [rsp + 0x78]
sub rdx, rcx
mov rax, rcx
cmp rdx, 0x1000
jb 0x140086a64
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140086a64
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400e7d5c
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x68], xmm0
mov qword [rsp + 0x78], rdi
lea rcx, [rbp - 0x60]
call fcn.14000bb40
nop
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov rcx, r13
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov rcx, r12
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov rax, rbx
mov rcx, qword [rbp + 0xc310]
xor rcx, rsp
call fcn.1400e7ab0
mov rbx, qword [rsp + 0xc460]
add rsp, 0xc420
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
call fcn.1400e83ac
nop
call fcn.140009de0
int3
call fcn.1400012f0
int3