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

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4429fd
mov eax, dword fs:[0]
push eax
push ebx
mov eax, 0x1d80
call fcn.004414f0
mov eax, dword [0x450040]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x1d78], edi
mov dword [ebp - 0x1d74], edi
mov dword [ebp - 4], 0
mov dword [ebp - 0x1d8c], edi
mov dword [ebp - 0x1d88], 0
mov esi, dword [sym.imp.MSVCP140.dll_unsigned_int___cdecl_std::_Random_device_void_]
call esi
mov dword [ebp - 0x9e8], eax
call esi
mov dword [ebp - 0x9e4], eax
call esi
mov dword [ebp - 0x9e0], eax
call esi
mov dword [ebp - 0x9dc], eax
lea esi, [ebp - 0x9e8]
xor eax, eax
mov dword [ebp - 0x1d84], 0
xor edx, edx
mov dword [ebp - 0x1d80], eax
lea ecx, [ebp - 0x9d8]
mov dword [ebp - 0x1d7c], edx
mov dword [ebp - 4], 1
cmp esi, ecx
je 0x41d178
mov edi, ecx
mov ecx, dword [esi]
mov dword [ebp - 0x1d74], ecx
cmp eax, edx
je 0x41d14c
mov dword [eax], ecx
add eax, 4
mov dword [ebp - 0x1d80], eax
jmp 0x41d16b
lea ecx, [ebp - 0x1d74]
push ecx
push eax
lea ecx, [ebp - 0x1d84]
call fcn.00417270
mov edx, dword [ebp - 0x1d7c]
mov eax, dword [ebp - 0x1d80]
add esi, 4
cmp esi, edi
jne 0x41d133
mov edi, dword [ebp - 0x1d78]
mov dword [ebp - 4], 2
mov edx, 0x1571
mov dword [ebp - 0x9ec], 0xffffffff
mov ecx, 1
mov dword [ebp - 0x1d6c], 0x1571
nop dword [eax]
mov eax, edx
shr eax, 0x1e
xor eax, edx
imul edx, eax, 0x6c078965
add edx, ecx
mov dword [ebp + ecx*4 - 0x1d6c], edx
inc ecx
cmp ecx, 0x270
jb 0x41d1a0
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x9d8]
push eax
lea ecx, [ebp - 0x1d84]
call fcn.004386b0
xor ecx, ecx
lea edx, [ebp - 0x9d8]
xor eax, eax
nop
mov esi, dword [edx]
mov dword [ebp + eax*4 - 0x1d6c], esi
test eax, eax
jne 0x41d1f8
mov ecx, esi
inc eax
shr ecx, 0x1f
add edx, 4
jmp 0x41d1e0
inc eax
or ecx, esi
add edx, 4
cmp eax, 0x270
jb 0x41d1e0
mov eax, dword [ebp - 0x1d6c]
test ecx, ecx
mov edx, accept
mov dword [ebp - 0x1d70], 0x270
xorps xmm0, xmm0
cmove eax, edx
movups xmmword [edi], xmm0
push 0x20
mov dword [ebp - 0x1d6c], eax
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0
call fcn.00440649
mov ecx, eax
mov dword [edi + 0x10], 0x1d
mov dword [edi], ecx
add esp, 4
mov dword [edi + 0x14], 0x1f
movups xmm0, xmmword [str.__cpp_httplib_multipart_data_]
movups xmmword [ecx], xmm0
movq xmm0, qword [0x446ef8]
movq qword [ecx + 0x10], xmm0
mov eax, dword [0x446f00]
mov dword [ecx + 0x18], eax
mov al, byte [0x446f04]
mov byte [ecx + 0x1c], al
mov byte [ecx + 0x1d], 0
mov dword [ebp - 0x1d88], 1
mov esi, 0x10
nop
lea ecx, [ebp - 0x1d70]
call fcn.00429ce0
xor edx, edx
mov ecx, 0x3e
div ecx
mov ecx, dword [edi + 0x10]
mov al, byte [edx + str.0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz]
mov edx, dword [edi + 0x14]
mov byte [ebp - 0x1d74], al
cmp ecx, edx
jae 0x41d2d9
lea eax, [ecx + 1]
mov dword [edi + 0x10], eax
mov eax, edi
cmp edx, 0xf
jbe 0x41d2c9
mov eax, dword [edi]
add eax, ecx
mov cl, byte [ebp - 0x1d74]
mov byte [eax + 1], 0
mov byte [eax], cl
jmp 0x41d2f4
push dword [ebp - 0x1d74]
mov byte [ebp - 0x1d78], 0
push dword [ebp - 0x1d78]
push ecx
mov ecx, edi
call fcn.0040d9b0
sub esi, 1
jne 0x41d290
mov edx, dword [ebp - 0x1d84]
test edx, edx
je 0x41d338
mov ecx, dword [ebp - 0x1d7c]
mov eax, edx
sub ecx, edx
and ecx, 0xfffffffc
cmp ecx, 0x1000
jb 0x41d32e
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x41d32e
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.00440679
add esp, 8
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.004403ea
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret