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

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x37]
sub rsp, 0xd0
mov rax, qword [0x1800f0040]
xor rax, rsp
mov qword [rbp + 0x27], rax
mov r14, rcx
mov qword [rbp - 0x31], rcx
xor esi, esi
movups xmm0, xmmword [str.sCX_V_S__]
movups xmmword [rbp - 0x51], xmm0
mov eax, dword [0x1800e8c50]
mov dword [rbp - 0x41], eax
cmp word [0x1800e8c52], si
je 0x18000bf7e
mov eax, 0x41
mov word [rbp - 0x51], ax
xor word [rbp - 0x4f], 0x33
xor word [rbp - 0x4d], 0x34
xor word [rbp - 0x4b], 0x35
xor word [rbp - 0x49], 0x36
xor word [rbp - 0x47], 0x37
xor word [rbp - 0x45], 0x38
xor word [rbp - 0x43], 0x39
xor word [rbp - 0x41], 0x3a
xor word [rbp - 0x3f], 0x3b
mov dword [rsp + 0x20], esi
xor r9d, r9d
xor r8d, r8d
xor edx, edx
lea rcx, [rbp - 0x51]
call qword [sym.imp.WINHTTP.dll_WinHttpOpen]
mov r13, rax
test rax, rax
je 0x18000c29e
movups xmm3, xmmword [str.SC_e_GQ_C]
movups xmmword [rbp - 0x29], xmm3
movsd xmm0, qword [0x1800e8948]
movsd qword [rbp - 0x19], xmm0
mov eax, dword [0x1800e8950]
mov dword [rbp - 0x11], eax
mov edi, dword [0x1800f0088]
cmp word [0x1800e8952], si
je 0x18000c104
mov r8d, esi
cmp edi, 2
jl 0x18000c0bf
movdqa xmm4, xmmword [0x1800e8dc0]
movdqa xmm2, xmmword [0x1800e8d50]
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm4
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x1800e8d70]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
paddw xmm2, xmmword [0x1800e8d80]
movq xmm1, xmm3
xorps xmm2, xmm1
movq qword [rbp - 0x29], xmm2
movdqa xmm3, xmmword [0x1800e8d60]
movdqa xmm1, xmm3
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x1800e8d70]
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
paddw xmm2, xmmword [0x1800e8d80]
movq xmm0, qword [rbp - 0x21]
xorps xmm2, xmm0
movq qword [rbp - 0x21], xmm2
mov r8d, 8
movsxd rax, r8d
lea r9, [rbp - 0x29]
lea r9, [r9 + rax*2]
nop word [rax + rax]
mov eax, 0x4d4873ed
imul r8d
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movzx eax, dx
imul ecx, eax, 0x35
movzx eax, r8w
sub ax, cx
add ax, 0x32
xor word [r9], ax
inc r8d
lea r9, [r9 + 2]
cmp r8d, 0xe
jl 0x18000c0d0
mov r8d, 0x1bb
xor r9d, r9d
lea rdx, [rbp - 0x29]
mov rcx, r13
call qword [sym.imp.WINHTTP.dll_WinHttpConnect]
mov rbx, rax
mov qword [rbp - 0x31], rax
test rax, rax
je 0x18000c295
mov eax, dword [0x1800e89c0]
mov dword [rbp - 0x59], eax
cmp word [0x1800e89c2], si
je 0x18000c14a
mov eax, 0x2f
mov word [rbp - 0x59], ax
xor word [rbp - 0x57], 0x33
mov rax, qword [str.uv_5]
mov qword [rbp - 0x39], rax
cmp word [0x1800e8c0e], si
je 0x18000c224
cmp edi, 2
jl 0x18000c1da
movdqa xmm3, xmmword [0x1800e8d50]
movdqa xmm2, xmm3
punpckldq xmm2, xmm3
pmuldq xmm2, xmmword [0x1800e8dc0]
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmmword [0x1800e8dc0]
shufps xmm2, xmm0, 0xdd
psrad xmm2, 4
movdqa xmm0, xmm2
psrld xmm0, 0x1f
paddd xmm0, xmm2
pmulld xmm0, xmmword [0x1800e8d70]
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
paddw xmm2, xmmword [0x1800e8d80]
movq xmm0, qword [rbp - 0x39]
xorps xmm2, xmm0
movq qword [rbp - 0x39], xmm2
jmp 0x18000c224
lea r9, [rbp - 0x39]
mov r8d, esi
nop dword [rax]
nop word [rax + rax]
mov eax, 0x4d4873ed
imul r8d
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movzx eax, dx
imul ecx, eax, 0x35
movzx eax, r8w
sub ax, cx
add ax, 0x32
xor word [r9], ax
inc r8d
lea r9, [r9 + 2]
cmp r8d, 4
jl 0x18000c1f0
mov dword [rsp + 0x30], 0x800000
mov qword [rsp + 0x28], rsi
mov qword [rsp + 0x20], rsi
xor r9d, r9d
lea r8, [rbp - 0x59]
lea rdx, [rbp - 0x39]
mov rcx, rbx
call qword [sym.imp.WINHTTP.dll_WinHttpOpenRequest]
mov r12, rax
test rax, rax
je 0x18000c28c
mov qword [rsp + 0x30], rsi
mov dword [rsp + 0x28], esi
mov dword [rsp + 0x20], esi
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, rax
call qword [sym.imp.WINHTTP.dll_WinHttpSendRequest]
mov rcx, r12
test eax, eax
je 0x18000c286
xor edx, edx
call qword [sym.imp.WINHTTP.dll_WinHttpReceiveResponse]
test eax, eax
jne 0x18000c2b9
mov rcx, r12
call qword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
mov rcx, rbx
call qword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
mov rcx, r13
call qword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
xor eax, eax
mov word [rbp - 0x59], ax
lea r8, [rbp - 0x59]
lea rdx, [rbp - 0x59]
mov rcx, r14
call fcn.1800113a0
jmp 0x18000c4b7
mov dword [rbp - 1], esi
xorps xmm0, xmm0
movups xmmword [rbp + 7], xmm0
mov r15, rsi
mov qword [rbp + 0x17], rsi
mov edi, 0xf
mov qword [rbp + 0x1f], rdi
mov byte [rbp + 7], sil
nop word [rax + rax]
mov dword [rbp - 5], esi
lea rdx, [rbp - 5]
mov rcx, r12
call qword [sym.imp.WINHTTP.dll_WinHttpQueryDataAvailable]
test eax, eax
je 0x18000c449
mov ecx, dword [rbp - 5]
inc ecx
call fcn.180014d28
mov rsi, rax
mov r8d, dword [rbp - 5]
inc r8d
xor edx, edx
mov rcx, rax
call sub.VCRUNTIME140.dll_memset
lea r9, [rbp - 1]
mov r8d, dword [rbp - 5]
mov rdx, rsi
mov rcx, r12
call qword [sym.imp.WINHTTP.dll_WinHttpReadData]
test eax, eax
je 0x18000c3d0
mov ebx, dword [rbp - 1]
mov rax, rdi
sub rax, r15
cmp rbx, rax
ja 0x18000c36d
lea rax, [rbx + r15]
mov qword [rbp + 0x17], rax
lea rax, [rbp + 7]
cmp rdi, 0xf
cmova rax, qword [rbp + 7]
lea rdi, [rax + r15]
mov r8d, ebx
mov rdx, rsi
mov rcx, rdi
call sub.VCRUNTIME140.dll_memmove
mov byte [rdi + rbx], 0
jmp 0x18000c381
mov qword [rsp + 0x20], rbx
mov r9, rsi
mov rdx, rbx
lea rcx, [rbp + 7]
call fcn.180012010
mov rcx, rsi
call fcn.1800145b0
cmp dword [rbp - 5], 0
jbe 0x18000c39e
mov rdi, qword [rbp + 0x1f]
mov r15, qword [rbp + 0x17]
xor esi, esi
jmp 0x18000c2e0
mov rcx, r12
call qword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
mov rcx, qword [rbp - 0x31]
call qword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
mov rcx, r13
call qword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
movups xmm0, xmmword [rbp + 7]
movups xmmword [r14], xmm0
movups xmm1, xmmword [rbp + 0x17]
movups xmmword [r14 + 0x10], xmm1
jmp 0x18000c4b7
mov rcx, rsi
call fcn.1800145b0
mov rcx, r12
call qword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
mov rcx, qword [rbp - 0x31]
call qword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
mov rcx, r13
call qword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
xor eax, eax
mov word [rbp - 0x59], ax
lea r8, [rbp - 0x59]
lea rdx, [rbp - 0x59]
mov rcx, r14
call fcn.1800113a0
nop
cmp rdi, 0xf
jbe 0x18000c4b7
lea rdx, [rdi + 1]
mov rcx, qword [rbp + 7]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18000c4b2
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18000c4b2
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
mov rcx, r12
call qword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
mov rcx, qword [rbp - 0x31]
call qword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
mov rcx, r13
call qword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
xor eax, eax
mov word [rbp - 0x59], ax
lea r8, [rbp - 0x59]
lea rdx, [rbp - 0x59]
mov rcx, r14
call fcn.1800113a0
nop
cmp rdi, 0xf
jbe 0x18000c4b7
lea rdx, [rdi + 1]
mov rcx, qword [rbp + 7]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18000c4b2
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18000c4b2
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1800145b0
mov rax, r14
mov rcx, qword [rbp + 0x27]
xor rcx, rsp
call fcn.180014590
lea r11, [rsp + 0xd0]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret