Function at 0x1400ca840
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 r12
push r13
push r14
lea rbp, [rsp - 0x1cc0]
mov eax, 0x1dc0
call fcn.140196130
sub rsp, rax
mov rax, qword [0x14022d988]
xor rax, rsp
mov qword [rbp + 0x1cb0], rax
mov rsi, rcx
mov qword [rsp + 0x38], rcx
mov dword [rsp + 0x24], 0
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rsp + 0x40], xmm0
mov qword [rsp + 0x50], rax
call sub.MSVCP140.dll_unsigned_int___cdecl_std::_Random_device_void_
mov dword [rsp + 0x28], eax
call sub.MSVCP140.dll_unsigned_int___cdecl_std::_Random_device_void_
mov dword [rsp + 0x2c], eax
call sub.MSVCP140.dll_unsigned_int___cdecl_std::_Random_device_void_
mov dword [rsp + 0x30], eax
call sub.MSVCP140.dll_unsigned_int___cdecl_std::_Random_device_void_
mov dword [rsp + 0x34], eax
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x40], xmm0
xor eax, eax
mov qword [rsp + 0x50], rax
lea rbx, [rsp + 0x28]
mov rdx, qword [rsp + 0x48]
cmp rdx, rax
je 0x1400ca8ee
mov eax, dword [rbx]
mov dword [rdx], eax
mov rdx, qword [rsp + 0x48]
add rdx, 4
mov qword [rsp + 0x48], rdx
jmp 0x1400ca900
mov r8, rbx
lea rcx, [rsp + 0x40]
call fcn.14001aec0
mov rdx, qword [rsp + 0x48]
add rbx, 4
lea rax, [rsp + 0x38]
cmp rbx, rax
je 0x1400ca915
mov rax, qword [rsp + 0x50]
jmp 0x1400ca8d5
mov dword [rbp + 0x12e4], 0xffffffff
mov edx, 0x1571
mov dword [rsp + 0x64], edx
mov ecx, 1
nop dword [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 0x1400ca930
lea r8, [rbp + 0x1cb0]
lea rdx, [rbp + 0x12f0]
lea rcx, [rsp + 0x40]
call fcn.14002ac30
xor ebx, ebx
xor edi, edi
mov r8d, 0x9c0
lea rdx, [rbp + 0x12f0]
lea rcx, [rsp + 0x64]
call sub.VCRUNTIME140.dll_memcpy
nop dword [rax]
nop word [rax + rax]
mov eax, dword [rbp + rdi*4 + 0x12f0]
mov ecx, ebx
or ecx, eax
mov ebx, eax
shr ebx, 0x1f
test rdi, rdi
cmovne ebx, ecx
inc rdi
cmp rdi, 0x270
jb 0x1400ca990
mov eax, dword [rsp + 0x64]
mov ecx, 0x80000000
test ebx, ebx
cmove eax, ecx
mov dword [rsp + 0x64], eax
mov edi, 0x270
mov dword [rsp + 0x60], edi
xorps xmm0, xmm0
movups xmmword [rsi], xmm0
mov qword [rsi + 0x10], 0
mov qword [rsi + 0x18], 0
mov r8d, Ordinal_27
lea rdx, str.__cpp_httplultipart_data_
mov rcx, rsi
call fcn.140019570
mov dword [rsp + 0x24], 1
mov r14d, reloc.WS2_32.dll_recv
movabs r12, 0x842108421084211
lea r13, [0x1401bfd08]
movzx ebx, byte [rsp + 0x20]
nop dword [rax]
cmp edi, 0x270
jne 0x1400caa75
lea rax, [rsp + 0x68]
mov r9d, edi
mov r8d, dword [rax - 4]
xor r8d, dword [rax]
btr r8d, 0x1f
xor r8d, dword [rax - 4]
mov ecx, r8d
and cl, 1
neg cl
sbb edx, edx
and edx, 0x9908b0df
xor edx, dword [rax + 0x630]
shr r8d, 1
xor edx, r8d
mov dword [rax + 0x9bc], edx
lea rax, [rax + 4]
sub r9, 1
jne 0x1400caa30
mov edi, dword [rsp + 0x60]
jmp 0x1400cab5f
cmp edi, 0x4e0
jb 0x1400cab5f
xor r8d, r8d
nop dword [rax]
nop dword [rax + rax]
mov edx, dword [rbp + r8*4 + 0x924]
xor edx, dword [rbp + r8*4 + 0x928]
btr edx, 0x1f
xor edx, dword [rbp + r8*4 + 0x924]
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
and ecx, 0x9908b0df
xor ecx, dword [rbp + r8*4 + 0xf58]
shr edx, 1
xor ecx, edx
mov dword [rsp + r8*4 + 0x64], ecx
inc r8
cmp r8, 0xe3
jb 0x1400caa90
mov r8d, 0xe3
nop dword [rax]
mov edx, dword [rbp + r8*4 + 0x924]
xor edx, dword [rbp + r8*4 + 0x928]
btr edx, 0x1f
xor edx, dword [rbp + r8*4 + 0x924]
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
and ecx, 0x9908b0df
xor ecx, dword [rbp + r8*4 - 0x428]
shr edx, 1
xor ecx, edx
mov dword [rsp + r8*4 + 0x64], ecx
inc r8
cmp r8, 0x26f
jb 0x1400caae0
mov edx, dword [rbp + 0x12e0]
xor edx, dword [rsp + 0x64]
btr edx, 0x1f
xor edx, dword [rbp + 0x12e0]
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
and ecx, 0x9908b0df
shr edx, 1
xor ecx, edx
xor ecx, dword [rbp + 0x594]
mov dword [rbp + 0x920], ecx
xor edi, edi
mov dword [rsp + 0x60], edi
mov eax, edi
mov ecx, dword [rsp + rax*4 + 0x64]
inc edi
mov dword [rsp + 0x60], edi
mov eax, ecx
shr eax, 0xb
and eax, dword [rbp + 0x12e4]
xor ecx, eax
mov eax, ecx
and eax, 0xff3a58ad
shl eax, 7
xor ecx, eax
mov eax, ecx
and eax, 0xffffdf8c
shl eax, 0xf
xor ecx, eax
mov eax, ecx
shr eax, 0x12
xor ecx, eax
mov rax, r12
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 + r13]
mov rcx, qword [rsi + 0x10]
mov rdx, qword [rsi + 0x18]
cmp rcx, rdx
jae 0x1400cabe4
lea rax, [rcx + 1]
mov qword [rsi + 0x10], rax
mov rax, rsi
cmp rdx, 0x10
jb 0x1400cabd9
mov rax, qword [rsi]
mov byte [rax + rcx], r9b
mov byte [rax + rcx + 1], 0
jmp 0x1400cabf5
movzx r8d, bl
mov edx, 1
mov rcx, rsi
call fcn.140023310
sub r14, 1
jne 0x1400caa20
mov rcx, qword [rsp + 0x40]
test rcx, rcx
je 0x1400cac42
mov rdx, qword [rsp + 0x50]
sub rdx, rcx
and rdx, 0xfffffffffffffffc
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400cac3d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400cac3d
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140195ac0
mov rax, rsi
mov rcx, qword [rbp + 0x1cb0]
xor rcx, rsp
call fcn.140195e30
lea r11, [rsp + 0x1dc0]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r14
pop r13
pop r12
pop rdi
pop rbp
ret