Function at 0x1400057f0
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 r15
lea rbp, [rsp - 0x1cc0]
mov eax, 0x1dc0
call fcn.140028db0
sub rsp, rax
mov rax, qword [0x140064100]
xor rax, rsp
mov qword [rbp + 0x1cb0], rax
mov rdi, rcx
mov qword [rsp + 0x38], rcx
mov dword [rsp + 0x24], 0
call fcn.140026d90
mov dword [rsp + 0x28], eax
call fcn.140026d90
mov dword [rsp + 0x2c], eax
call fcn.140026d90
mov dword [rsp + 0x30], eax
call fcn.140026d90
mov dword [rsp + 0x34], eax
xorps xmm0, xmm0
movdqu xmmword [rbp + 0x900], xmm0
xor ecx, ecx
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 0x14000589a
mov dword [rdx], eax
add rdx, 4
mov qword [rbp + 0x908], rdx
jmp 0x1400058b9
lea r8, [rsp + 0x20]
lea rcx, [rbp + 0x900]
call fcn.14001f2a0
mov rcx, qword [rbp + 0x910]
mov rdx, qword [rbp + 0x908]
add rbx, 4
lea rax, [rsp + 0x38]
cmp rbx, rax
jne 0x140005880
mov dword [rbp + 0x1ca4], 0xffffffff
mov edx, 0x1571
mov dword [rbp + 0x924], edx
mov ecx, 1
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 0x1400058e1
lea r8, [rbp + 0x900]
lea rdx, [rsp + 0x40]
lea rcx, [rbp + 0x900]
call fcn.14001cee0
xor edx, edx
xor r8d, r8d
mov eax, dword [rsp + r8*4 + 0x40]
mov dword [rbp + r8*4 + 0x924], eax
mov ecx, edx
or ecx, eax
mov edx, eax
shr edx, 0x1f
test r8, r8
cmovne edx, ecx
inc r8
cmp r8, 0x270
jb 0x140005920
mov eax, dword [rbp + 0x924]
mov r15d, 0x80000000
test edx, edx
cmove eax, r15d
mov dword [rbp + 0x924], eax
mov ebx, 0x270
mov dword [rbp + 0x920], ebx
xorps xmm0, xmm0
movups xmmword [rdi], xmm0
mov qword [rdi + 0x10], 0
mov qword [rdi + 0x18], 0
mov r8d, 0x1d
lea rdx, str.__cpp_httplib_multipart_data_
mov rcx, rdi
call fcn.140018190
mov dword [rsp + 0x24], 1
mov esi, reloc.WS2_32.dll_recv
movabs r12, 0x842108421084211
lea r13, str.0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz
cmp ebx, 0x270
jne 0x140005a17
lea rax, [rbp + 0x928]
mov r9d, 0x270
nop dword [rax]
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 0x1400059d0
mov ebx, dword [rbp + 0x920]
jmp 0x140005af3
cmp ebx, 0x4e0
jb 0x140005af3
xor r8d, r8d
mov eax, dword [rbp + r8*4 + 0x12e4]
mov edx, eax
xor edx, dword [rbp + r8*4 + 0x12e8]
btr edx, 0x1f
xor edx, eax
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
and ecx, 0x9908b0df
xor ecx, dword [rbp + r8*4 + 0x1918]
shr edx, 1
xor ecx, edx
mov dword [rbp + r8*4 + 0x924], ecx
inc r8
cmp r8, 0xe3
jb 0x140005a26
mov r8d, 0xe3
mov eax, dword [rbp + r8*4 + 0x12e4]
mov edx, eax
xor edx, dword [rbp + r8*4 + 0x12e8]
btr edx, 0x1f
xor edx, eax
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
and ecx, 0x9908b0df
xor ecx, dword [rbp + r8*4 + 0x598]
shr edx, 1
xor ecx, edx
mov dword [rbp + r8*4 + 0x924], ecx
inc r8
cmp r8, 0x26f
jb 0x140005a72
mov edx, dword [rbp + 0x1ca0]
and edx, r15d
mov eax, dword [rbp + 0x924]
btr eax, 0x1f
or edx, eax
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
and ecx, 0x9908b0df
shr edx, 1
xor ecx, edx
xor ecx, dword [rbp + 0xf54]
mov dword [rbp + 0x12e0], ecx
xor ebx, ebx
mov dword [rbp + 0x920], ebx
mov eax, ebx
mov ecx, dword [rbp + rax*4 + 0x924]
inc ebx
mov dword [rbp + 0x920], ebx
mov eax, ecx
shr eax, 0xb
and eax, dword [rbp + 0x1ca4]
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 rcx, 0x12
xor rcx, rax
mov rax, r12
mul rcx
mov rax, rcx
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 [rdi + 0x10]
mov rdx, qword [rdi + 0x18]
cmp rcx, rdx
jae 0x140005b80
lea rax, [rcx + 1]
mov qword [rdi + 0x10], rax
mov rax, rdi
cmp rdx, 0xf
jbe 0x140005b75
mov rax, qword [rdi]
mov byte [rax + rcx], r9b
mov byte [rax + rcx + 1], 0
jmp 0x140005b90
xor r8d, r8d
mov edx, 1
mov rcx, rdi
call fcn.140017e90
sub rsi, 1
jne 0x1400059b4
mov rcx, qword [rbp + 0x900]
test rcx, rcx
je 0x140005bda
mov rdx, qword [rbp + 0x910]
sub rdx, rcx
and rdx, 0xfffffffffffffffc
mov rax, rcx
cmp rdx, 0x1000
jb 0x140005bd5
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140005c08
call fcn.140027fb0
mov rax, rdi
mov rcx, qword [rbp + 0x1cb0]
xor rcx, rsp
call fcn.140027f90
lea r11, [rsp + 0x1dc0]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r13
pop r12
pop rdi
pop rbp
ret
call fcn.140033560
int3