Function at 0x140086e60
Capabilities:
Encode data using xor
Initialize winhttp library
Prepare http request
Receive http response

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x27]
sub rsp, 0xa0
mov rdi, r8
mov r14, rdx
mov r15, rcx
xor ebx, ebx
mov dword [rbp - 0x35], ebx
xorps xmm0, xmm0
movups xmmword [rcx], xmm0
mov qword [rcx + 0x10], rbx
mov qword [rcx + 0x18], send
mov byte [rcx], bl
mov dword [rbp - 0x35], 1
movsd xmm0, qword [str.__GSTS9]
movsd qword [rbp - 0x29], xmm0
mov ecx, dword [0x1401e3bf0]
mov dword [rbp - 0x21], ecx
movzx eax, word [0x1401e3bf4]
mov edx, 0x53
mov word [rbp - 0x29], dx
xor word [rbp - 0x27], 0x34
xor word [rbp - 0x25], 0x35
xor word [rbp - 0x23], 0x36
xor cx, 0x37
mov word [rbp - 0x21], cx
xor word [rbp - 0x1f], 0x38
xor ax, 0x39
mov word [rbp - 0x1d], ax
mov dword [rsp + 0x20], ebx
xor r9d, r9d
xor r8d, r8d
xor edx, edx
lea rcx, [rbp - 0x29]
call qword [sym.imp.WINHTTP.dll_WinHttpOpen]
mov r13, rax
test rax, rax
je 0x140087279
mov r8, qword [r14 + 0x10]
cmp qword [r14 + 0x18], 0xf
jbe 0x140086f2e
mov rdx, qword [r14]
add r8, rdx
jmp 0x140086f34
add r8, r14
mov rdx, r14
lea rcx, [rbp + 7]
call fcn.1400b6050
cmp qword [rax + 0x18], 7
jbe 0x140086f47
mov rax, qword [rax]
mov r8d, 0x50
xor r9d, r9d
mov rdx, rax
mov rcx, r13
call qword [sym.imp.WINHTTP.dll_WinHttpConnect]
mov r12, rax
lea rcx, [rbp + 7]
call fcn.1400b0aa0
test r12, r12
je 0x14008726f
cmp qword [rdi + 0x18], 0xf
jbe 0x140086f84
mov rsi, qword [rdi]
add rsi, qword [rdi + 0x10]
mov rdi, qword [rdi]
jmp 0x140086f8b
mov rsi, qword [rdi + 0x10]
add rsi, rdi
xorps xmm0, xmm0
movups xmmword [rbp - 0x19], xmm0
mov qword [rbp - 9], rbx
mov eax, 7
mov qword [rbp - 1], rax
cmp rdi, rsi
jne 0x140086fad
mov word [rbp - 0x19], bx
jmp 0x140087053
sub rsi, rdi
movabs rbx, 0x7ffffffffffffffe
cmp rsi, rbx
ja 0x1400872a5
cmp rsi, rax
jbe 0x140087008
mov rax, rsi
or rax, 7
cmp rax, rbx
ja 0x140086fe3
mov rbx, rax
mov ecx, 0xa
cmp rax, rcx
cmovb rbx, rcx
inc rbx
mov qword [rbp + 0x7f], rbx
lea rdx, [rbp + 0x7f]
lea rcx, [rbp - 0x19]
call fcn.1400cedb0
mov rcx, rax
lea rax, [rbx - 1]
mov qword [rbp - 0x19], rcx
mov qword [rbp - 1], rax
jmp 0x14008700c
mov rcx, qword [rbp - 0x19]
lea r8, [rbp - 0x19]
cmp rax, 7
cmova r8, rcx
mov rcx, r8
mov rdx, rsi
test rsi, rsi
je 0x140087044
nop dword [rax]
nop word [rax + rax]
movsx eax, byte [rdi]
mov word [rcx], ax
lea rcx, [rcx + 2]
lea rdi, [rdi + 1]
sub rdx, 1
jne 0x140087030
mov qword [rbp - 9], rsi
xor ebx, ebx
mov word [r8 + rsi*2], bx
mov rax, qword [rbp - 1]
lea r8, [rbp - 0x19]
cmp rax, 7
cmova r8, qword [rbp - 0x19]
mov rax, qword [str.tqa6]
mov qword [rbp - 0x31], rax
cmp word [0x1401e4b26], 0
je 0x140087134
cmp dword [0x1402120d0], 2
jl 0x1400870f5
movdqa xmm3, xmmword [0x1401eb840]
movdqa xmm2, xmm3
punpckldq xmm2, xmm3
pmuldq xmm2, xmmword [0x1401ebab0]
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmmword [0x1401ebab0]
shufps xmm2, xmm0, 0xdd
psrad xmm2, 4
movdqa xmm0, xmm2
psrld xmm0, 0x1f
paddd xmm0, xmm2
pmulld xmm0, xmmword [0x1401eb870]
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
paddw xmm2, xmmword [str.33333333]
movq xmm0, qword [rbp - 0x31]
xorps xmm2, xmm0
movq qword [rbp - 0x31], xmm2
jmp 0x140087134
lea r10, [rbp - 0x31]
mov r9d, ebx
nop dword [rax]
mov eax, 0x4ec4ec4f
imul r9d
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movzx eax, dx
imul ecx, eax, 0x34
movzx eax, r9w
sub ax, cx
add ax, 0x33
xor word [r10], ax
inc r9d
lea r10, [r10 + 2]
cmp r9d, 4
jl 0x140087100
mov dword [rsp + 0x30], ebx
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0x20], rbx
xor r9d, r9d
lea rdx, [rbp - 0x31]
mov rcx, r12
call qword [sym.imp.WINHTTP.dll_WinHttpOpenRequest]
mov rdi, rax
mov rdx, qword [rbp - 1]
cmp rdx, 7
jbe 0x140087195
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x19]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140087190
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14008729f
call fcn.14015fb48
mov qword [rbp - 9], rbx
mov qword [rbp - 1], 7
mov word [rbp - 0x19], bx
test rdi, rdi
je 0x140087266
mov qword [rsp + 0x30], rbx
mov dword [rsp + 0x28], ebx
mov dword [rsp + 0x20], ebx
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, rdi
call qword [sym.imp.WINHTTP.dll_WinHttpSendRequest]
test eax, eax
je 0x14008725d
xor edx, edx
mov rcx, rdi
call qword [sym.imp.WINHTTP.dll_WinHttpReceiveResponse]
test eax, eax
je 0x14008725d
xor r14d, r14d
mov dword [rbp - 0x39], r14d
nop word [rax + rax]
mov dword [rbp + 0x7f], r14d
lea rdx, [rbp + 0x7f]
mov rcx, rdi
call qword [sym.imp.WINHTTP.dll_WinHttpQueryDataAvailable]
mov eax, dword [rbp + 0x7f]
test eax, eax
je 0x140087259
lea ecx, [rax + 1]
call fcn.14015fbec
mov rbx, rax
mov r8d, dword [rbp + 0x7f]
inc r8d
xor edx, edx
mov rcx, rax
call fcn.140198720
lea r9, [rbp - 0x39]
mov r8d, dword [rbp + 0x7f]
mov rdx, rbx
mov rcx, rdi
call qword [sym.imp.WINHTTP.dll_WinHttpReadData]
test eax, eax
je 0x14008724b
mov r8d, dword [rbp - 0x39]
mov rdx, rbx
mov rcx, r15
call fcn.14005a690
mov rcx, rbx
call fcn.14015fb48
cmp dword [rbp + 0x7f], r14d
ja 0x1400871f0
mov r14, qword [rbp + 0x6f]
mov rcx, rdi
call qword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
mov rcx, r12
call qword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
mov rcx, r13
call qword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
nop
mov rcx, r14
call fcn.14005a630
mov rax, r15
mov rbx, qword [rsp + 0xf0]
add rsp, 0xa0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
call fcn.140174bf4
int3
call fcn.140043330
int3