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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x41a1b1
mov eax, dword fs:[0]
push eax
mov eax, 0x1450
call fcn.00416910
mov eax, dword [0x429088]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 8]
lea ecx, [ebp - 0x13f4]
mov dword [ebp - 0x13ac], edi
mov dword [ebp - 0x139c], 0
mov dword [ebp - 0x145c], 0x41ebd8
mov dword [ebp - 0x144c], 0x41ebe0
call dword [0x41b1e8]
push 0
lea eax, [ebp - 0x1444]
mov dword [ebp - 4], 0
push eax
lea ecx, [ebp - 0x145c]
mov dword [ebp - 0x139c], 2
call dword [0x41b1dc]
mov eax, dword [ebp - 0x145c]
mov dword [ebp - 4], 1
mov eax, dword [eax + 4]
mov dword [ebp + eax - method.std::basic_stringstream_char__struct_std::char_traits_char___class_std::allocator_char__.virtual_0], vtable.std::basic_stringstream_char__struct_std::char_traits_char___class_std::allocator_char__.0
mov eax, dword [ebp - 0x145c]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x68]
mov dword [ebp + ecx - 0x1460], eax
lea ecx, [ebp - 0x1444]
call dword [0x41b1f8]
mov dword [ebp - method.std::basic_stringbuf_char__struct_std::char_traits_char___class_std::allocator_char__.virtual_0], vtable.std::basic_stringbuf_char__struct_std::char_traits_char___class_std::allocator_char__.0
mov dword [ebp - 0x140c], 0
mov dword [ebp - 0x1408], 0
mov dword [ebp - 4], 2
call fcn.00416298
mov esi, eax
mov dword [ebp - 0x13a0], edx
mov dword [ebp - 0x14], 0xffffffff
mov ecx, 1
mov dword [ebp - 0x1394], esi
mov eax, esi
shr eax, 0x1e
xor eax, esi
imul esi, eax, 0x6c078965
add esi, ecx
mov dword [ebp + ecx*4 - 0x1394], esi
inc ecx
cmp ecx, 0x270
jb 0x410d78
lea eax, [ebp - 0x1398]
mov dword [ebp - 0x1398], 0x270
lea ecx, [ebp - 0x13a8]
mov dword [ebp - 0x13a8], eax
mov dword [ebp - 0x13a4], 0x20
mov dword [ebp - 0x13a0], 0xffffffff
call fcn.00411960
push 0x402fe0
lea ecx, [ebp - 0x144c]
mov esi, eax
call dword [0x41b1e4]
push esi
mov ecx, eax
call dword [0x41b1e0]
mov edx, dword [ebp - 0x1408]
xorps xmm0, xmm0
mov eax, edx
mov dword [edi], 0
and al, 0x22
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0xf
mov byte [ebp - 4], 3
mov byte [edi], 0
mov dword [ebp - 0x139c], 0xa
movq qword [ebp - 0x13a8], xmm0
mov dword [ebp - 0x13a0], 0
cmp al, 2
je 0x410e55
mov eax, dword [ebp - 0x1424]
mov ecx, dword [eax]
test ecx, ecx
je 0x410e55
mov eax, dword [ebp - 0x1434]
cmp ecx, dword [ebp - 0x140c]
cmovb ecx, dword [ebp - 0x140c]
mov edx, dword [eax]
sub ecx, edx
jmp 0x410e86
test dl, 4
jne 0x410e7a
mov eax, dword [ebp - 0x1428]
mov ecx, dword [eax]
test ecx, ecx
je 0x410e7a
mov eax, dword [ebp - 0x1438]
mov edx, dword [eax]
sub ecx, edx
mov eax, dword [ebp - 0x1418]
add ecx, dword [eax]
jmp 0x410e86
mov ecx, dword [ebp - 0x13a4]
mov edx, dword [ebp - 0x13a8]
test edx, edx
je 0x410e93
push ecx
push edx
mov ecx, edi
call fcn.00407c30
mov eax, dword [ebp - 0x145c]
mov eax, dword [eax + 4]
mov dword [ebp + eax - method.std::basic_stringstream_char__struct_std::char_traits_char___class_std::allocator_char__.virtual_0], vtable.std::basic_stringstream_char__struct_std::char_traits_char___class_std::allocator_char__.0
mov ecx, dword [ebp - 0x145c]
mov edx, dword [ecx + 4]
lea ecx, [edx - 0x68]
mov dword [ebp + edx - 0x1460], ecx
lea ecx, [ebp - 0x1444]
call fcn.004104a0
lea ecx, [ebp - 0x143c]
call dword [0x41b1d8]
lea ecx, [ebp - 0x13f4]
call dword [0x41b1ec]
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00416415
mov esp, ebp
pop ebp
ret 4