Function at 0x1800668f0
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rbp
push rdi
push r14
lea rbp, [rsp - 0x1cc0]
mov eax, 0x1dc0
call fcn.1800cbf60
sub rsp, rax
mov rax, qword [0x180101040]
xor rax, rsp
mov qword [rbp + 0x1cb0], rax
mov rdi, rcx
mov qword [rsp + 0x38], rcx
xor esi, esi
mov dword [rsp + 0x24], esi
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp + 0x900], xmm0
mov qword [rbp + 0x910], rax
call qword [sym.imp.MSVCP140.dll_unsigned_int___cdecl_std::_Random_device_void_]
mov dword [rsp + 0x28], eax
call qword [sym.imp.MSVCP140.dll_unsigned_int___cdecl_std::_Random_device_void_]
mov dword [rsp + 0x2c], eax
call qword [sym.imp.MSVCP140.dll_unsigned_int___cdecl_std::_Random_device_void_]
mov dword [rsp + 0x30], eax
call qword [sym.imp.MSVCP140.dll_unsigned_int___cdecl_std::_Random_device_void_]
mov dword [rsp + 0x34], eax
xorps xmm0, xmm0
movdqu xmmword [rbp + 0x900], xmm0
mov ecx, esi
mov qword [rbp + 0x910], rcx
lea rbx, [rsp + 0x28]
mov rdx, qword [rbp + 0x908]
nop dword [rax]
mov eax, dword [rbx]
mov dword [rsp + 0x20], eax
cmp rdx, rcx
je 0x1800669b1
mov dword [rdx], eax
mov rdx, qword [rbp + 0x908]
add rdx, 4
mov qword [rbp + 0x908], rdx
jmp 0x1800669c9
lea r8, [rsp + 0x20]
lea rcx, [rbp + 0x900]
call fcn.180089010
mov rdx, qword [rbp + 0x908]
add rbx, 4
lea rax, [rsp + 0x38]
cmp rbx, rax
je 0x1800669e0
mov rcx, qword [rbp + 0x910]
jmp 0x180066990
mov dword [rbp + 0x1ca4], 0xffffffff
mov edx, 0x1571
mov dword [rbp + 0x924], edx
mov ecx, 1
nop word [rax + rax]
mov eax, edx
shr eax, 0x1e
xor eax, edx
imul edx, eax, 0x6c078965
add edx, ecx
mov dword [rbp + rcx*4 + 0x924], edx
inc rcx
cmp rcx, 0x270
jb 0x180066a00
lea r8, [rbp + 0x900]
lea rdx, [rsp + 0x40]
lea rcx, [rbp + 0x900]
call fcn.1800858d0
mov edx, esi
mov r8, rsi
nop
mov eax, dword [rsp + r8*4 + 0x40]
mov dword [rbp + r8*4 + 0x924], eax
mov ecx, eax
or ecx, edx
mov edx, eax
shr edx, 0x1f
test r8, r8
cmovne edx, ecx
inc r8
cmp r8, 0x270
jb 0x180066a40
mov eax, dword [rbp + 0x924]
mov ecx, 0x80000000
test edx, edx
cmove eax, ecx
mov dword [rbp + 0x924], eax
mov dword [rbp + 0x920], 0x270
xorps xmm0, xmm0
movups xmmword [rdi], xmm0
mov qword [rdi + 0x10], rsi
mov qword [rdi + 0x18], rsi
mov r8d, 0x1d
lea rdx, str.__cpp_httplib_multipart_data_
mov rcx, rdi
call fcn.1800432a0
mov dword [rsp + 0x24], 1
mov ebx, reloc.WS2_32.dll_recv
movabs rsi, 0x842108421084211
lea r14, str.0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz
nop dword [rax]
lea rcx, [rbp + 0x920]
call fcn.18004deb0
mov ecx, eax
mov rax, rsi
mul rcx
mov eax, ecx
sub rax, rdx
shr rax, 1
add rax, rdx
shr rax, 5
imul rax, rax, 0x3e
sub rcx, rax
movzx r9d, byte [rcx + r14]
mov rcx, qword [rdi + 0x10]
mov rdx, qword [rdi + 0x18]
cmp rcx, rdx
jae 0x180066b2b
lea rax, [rcx + 1]
mov qword [rdi + 0x10], rax
mov rax, rdi
cmp rdx, 0xf
jbe 0x180066b20
mov rax, qword [rdi]
mov byte [rax + rcx], r9b
mov byte [rax + rcx + 1], 0
jmp 0x180066b33
mov rcx, rdi
call fcn.18004ab70
sub rbx, 1
jne 0x180066ad0
mov rcx, qword [rbp + 0x900]
test rcx, rcx
je 0x180066b80
mov rdx, qword [rbp + 0x910]
sub rdx, rcx
and rdx, 0xfffffffffffffffc
mov rax, rcx
cmp rdx, 0x1000
jb 0x180066b7b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180066b7b
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1800c721c
mov rax, rdi
mov rcx, qword [rbp + 0x1cb0]
xor rcx, rsp
call fcn.1800c6fb0
lea r11, [rsp + 0x1dc0]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret