Function at 0x1400a9950
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.1400d2790
sub rsp, rax
mov rax, qword [0x14011c028]
xor rax, rsp
mov qword [rbp + 0x1cb0], rax
mov rbx, rcx
mov qword [rsp + 0x38], rcx
xor esi, esi
mov dword [rsp + 0x24], esi
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 [rsp + 0x40], xmm0
mov ecx, esi
mov qword [rsp + 0x50], rcx
lea rdi, [rsp + 0x28]
mov rdx, qword [rsp + 0x48]
mov eax, dword [rdi]
mov dword [rsp + 0x20], eax
cmp rdx, rcx
je 0x1400a99ec
mov dword [rdx], eax
add rdx, 4
mov qword [rsp + 0x48], rdx
jmp 0x1400a9a05
lea r8, [rsp + 0x20]
lea rcx, [rsp + 0x40]
call fcn.1400cbaf0
mov rcx, qword [rsp + 0x50]
mov rdx, qword [rsp + 0x48]
add rdi, 4
lea rax, [rsp + 0x38]
cmp rdi, rax
jne 0x1400a99d4
mov dword [rbp + 0x12e4], 0xffffffff
mov edx, 0x1571
mov dword [rsp + 0x64], edx
mov ecx, 1
nop dword [rax + rax]
mov eax, edx
shr eax, 0x1e
xor eax, edx
imul edx, eax, 0x6c078965
add edx, ecx
mov dword [rsp + rcx*4 + 0x64], edx
inc rcx
cmp rcx, 0x270
jb 0x1400a9a30
lea r8, [rbp + 0x1cb0]
lea rdx, [rbp + 0x12f0]
lea rcx, [rsp + 0x40]
call fcn.1400ca8a0
mov edx, esi
mov r8, rsi
nop dword [rax]
mov eax, dword [rbp + r8*4 + 0x12f0]
mov dword [rsp + r8*4 + 0x64], 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 0x1400a9a70
mov eax, dword [rsp + 0x64]
mov ecx, 0x80000000
test edx, edx
cmove eax, ecx
mov dword [rsp + 0x64], eax
mov dword [rsp + 0x60], 0x270
xorps xmm0, xmm0
movups xmmword [rbx], xmm0
mov qword [rbx + 0x10], rsi
mov qword [rbx + 0x18], rsi
mov r8d, 0x1d
lea rdx, str.__cpp_httplib_multipart_data_
mov rcx, rbx
call fcn.140028b80
mov dword [rsp + 0x24], 1
mov edi, reloc.WS2_32.dll_recv
movabs rsi, 0x842108421084211
lea r14, str.0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz
lea rcx, [rsp + 0x60]
call fcn.14009b810
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 [rbx + 0x10]
mov rdx, qword [rbx + 0x18]
cmp rcx, rdx
jae 0x1400a9b4c
lea rax, [rcx + 1]
mov qword [rbx + 0x10], rax
mov rax, rbx
cmp rdx, 0x10
jb 0x1400a9b41
mov rax, qword [rbx]
mov byte [rax + rcx], r9b
mov byte [rax + rcx + 1], 0
jmp 0x1400a9b54
mov rcx, rbx
call fcn.140028d90
sub rdi, 1
jne 0x1400a9af3
mov rcx, qword [rsp + 0x40]
test rcx, rcx
je 0x1400a9b9d
mov rdx, qword [rsp + 0x50]
sub rdx, rcx
and rdx, 0xfffffffffffffffc
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400a9b98
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400a9b98
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400d18dc
mov rax, rbx
mov rcx, qword [rbp + 0x1cb0]
xor rcx, rsp
call fcn.1400d1560
lea r11, [rsp + 0x1dc0]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret