Function at 0x40efa0
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 0x45c3c2
mov eax, dword fs:[0]
push eax
push ebx
mov eax, 0x14c8
call fcn.0045ba30
mov eax, dword [0x46c00c]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x14c4], ecx
mov dword [ebp - 0x14cc], ecx
xor esi, esi
mov dword [ebp - 4], 0
push 0xb8
lea eax, [ebp - 0x130]
mov dword [ebp - 0x14d8], ecx
push esi
push eax
mov dword [ebp - 0x14c0], esi
call sub.VCRUNTIME140.dll_memset
push ecx
lea ecx, [ebp - 0x130]
call fcn.00403560
mov dword [ebp - 4], 1
xorps xmm0, xmm0
movups xmmword [ebp - 0x2c], xmm0
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x18], 0xf
mov byte [ebp - 0x2c], 0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x44]
push 7
push str.English
movups xmmword [ebp - 0x44], xmm0
mov dword [ebp - 0x34], esi
mov dword [ebp - 0x30], esi
call fcn.00403fb0
push 7
push str.English
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 3
call fcn.00403c00
xor al, al
lea ecx, [ebp - 0x130]
mov byte [ebp - 0x14ba], al
mov byte [ebp - 0x14bb], al
mov eax, dword [ebp - 0x130]
push 0xa
add ecx, dword [eax + 4]
call dword [sym.imp.MSVCP140.dll_public:_char___thiscall_std::basic_ios_char__struct_std::char_traits_char__::widen_char_const]
movzx eax, al
lea edx, [ebp - 0x2c]
push eax
lea ecx, [ebp - 0x130]
call fcn.004043e0
mov edx, eax
add esp, 4
mov eax, dword [edx]
mov ecx, dword [eax + 4]
add ecx, edx
call dword [sym.imp.MSVCP140.dll_public:_bool___thiscall_std::ios_base::operator_bool_void_const]
test al, al
je 0x40f6a9
cmp dword [ebp - 0x18], 0x10
lea ecx, [ebp - 0x2c]
mov eax, dword [ebp - 0x2c]
cmovae ecx, eax
setae dl
mov byte [ebp - 0x14b9], dl
cmp byte [ecx], 0x23
je 0x40f31e
test dl, dl
lea edi, [ebp - 0x2c]
cmovne edi, eax
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x40f105
push eax
push 0x3d
push edi
call sub.VCRUNTIME140.dll_memchr
mov esi, eax
add esp, 0xc
test esi, esi
je 0x40f105
sub esi, edi
jmp 0x40f108
or esi, 0xffffffff
cmp esi, 0xffffffff
je 0x40f31e
cmp dword [ebp - 0x1c], esi
lea eax, [ebp - 0x2c]
mov ecx, esi
mov dword [ebp - 0x64], 0
cmovb ecx, dword [ebp - 0x1c]
xorps xmm0, xmm0
cmp byte [ebp - 0x14b9], 0
push ecx
cmovne eax, dword [ebp - 0x2c]
lea ecx, [ebp - 0x74]
push eax
movups xmmword [ebp - 0x74], xmm0
mov dword [ebp - 0x60], 0
call fcn.00403fb0
mov edi, dword [ebp - 0x14c0]
or edi, 2
mov dword [ebp - 0x14c0], edi
mov byte [ebp - 4], 4
inc esi
mov eax, dword [ebp - 0x1c]
xorps xmm0, xmm0
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x48], 0
movups xmmword [ebp - 0x5c], xmm0
cmp eax, esi
jb 0x40f950
sub eax, esi
or ecx, 0xffffffff
cmp eax, 0xffffffff
cmovb ecx, eax
cmp dword [ebp - 0x18], 0x10
lea eax, [ebp - 0x2c]
cmovae eax, dword [ebp - 0x2c]
push ecx
add eax, esi
lea ecx, [ebp - 0x5c]
push eax
call fcn.00403fb0
or edi, 4
mov dword [ebp - 0x14c0], edi
mov byte [ebp - 4], 5
lea eax, [ebp - 0x74]
cmp dword [ebp - 0x60], 0x10
mov edi, dword [ebp - 0x74]
mov edx, dword [ebp - 0x64]
setae byte [ebp - 0x14b9]
cmovae eax, edi
cmp edx, 0xc
jne 0x40f213
cmp dword [eax], 0x776f6853
jne 0x40f213
cmp dword [eax + 4], 0x6e6f6320
jne 0x40f213
cmp dword [eax + 8], 0x656c6f73
jne 0x40f213
mov eax, dword [ebp - 0x48]
lea ecx, [ebp - 0x5c]
cmp eax, 0x10
cmovae ecx, dword [ebp - 0x5c]
cmp dword [ebp - 0x4c], 4
jne 0x40f207
cmp dword [ecx], 0x65757274
jne 0x40f207
mov byte [ebp - 0x14ba], 1
jmp 0x40f2ae
mov byte [ebp - 0x14ba], 0
jmp 0x40f2ae
cmp byte [ebp - 0x14b9], 0
lea ecx, [ebp - 0x74]
cmovne ecx, edi
cmp edx, 0x14
jne 0x40f271
mov edx, str.Show_Logs_on_console
mov esi, 0x10
nop
mov eax, dword [ecx]
cmp eax, dword [edx]
jne 0x40f26e
add ecx, 4
add edx, 4
sub esi, 4
jae 0x40f230
mov eax, dword [ebp - 0x48]
lea ecx, [ebp - 0x5c]
cmp eax, 0x10
cmovae ecx, dword [ebp - 0x5c]
cmp dword [ebp - 0x4c], 4
jne 0x40f265
cmp dword [ecx], 0x65757274
jne 0x40f265
mov byte [ebp - 0x14bb], 1
jmp 0x40f2ae
mov byte [ebp - 0x14bb], 0
jmp 0x40f2ae
mov edx, dword [ebp - 0x64]
cmp byte [ebp - 0x14b9], 0
lea eax, [ebp - 0x74]
cmovne eax, edi
cmp edx, 8
jne 0x40f2ab
cmp dword [eax], 0x676e614c
jne 0x40f2ab
cmp dword [eax + 4], 0x65676175
jne 0x40f2ab
cmp dword [ebp - 0x48], 0x10
lea eax, [ebp - 0x5c]
push dword [ebp - 0x4c]
cmovae eax, dword [ebp - 0x5c]
lea ecx, [ebp - 0x44]
push eax
call fcn.00403c00
mov eax, dword [ebp - 0x48]
mov byte [ebp - 4], 4
cmp eax, 0x10
jb 0x40f2e5
mov edx, dword [ebp - 0x5c]
lea ecx, [eax + 1]
mov eax, edx
cmp ecx, 0x1000
jb 0x40f2db
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40f865
push ecx
push edx
call fcn.0045a6ac
add esp, 8
cmp byte [ebp - 0x14b9], 0
mov byte [ebp - 4], 3
je 0x40f31e
mov ecx, dword [ebp - 0x60]
mov eax, edi
inc ecx
cmp ecx, 0x1000
jb 0x40f314
mov edi, dword [eax - 4]
add ecx, 0x23
sub eax, edi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40f865
push ecx
push edi
call fcn.0045a6ac
add esp, 8
mov eax, dword [ebp - 0x130]
lea ecx, [ebp - 0x130]
push 0xa
add ecx, dword [eax + 4]
call dword [sym.imp.MSVCP140.dll_public:_char___thiscall_std::basic_ios_char__struct_std::char_traits_char__::widen_char_const]
movzx eax, al
lea edx, [ebp - 0x2c]
push eax
lea ecx, [ebp - 0x130]
call fcn.004043e0
mov edx, eax
add esp, 4
mov eax, dword [edx]
mov ecx, dword [eax + 4]
add ecx, edx
call dword [sym.imp.MSVCP140.dll_public:_bool___thiscall_std::ios_base::operator_bool_void_const]
test al, al
jne 0x40f0c1
cmp byte [ebp - 0x14ba], al
je 0x40f6a3
cmp byte [ebp - 0x14bb], al
je 0x40f6a3
mov eax, dword [ebp - 0x30]
lea edx, [ebp - 0x44]
mov esi, dword [ebp - 0x44]
cmp eax, 0x10
mov ecx, dword [ebp - 0x34]
cmovae edx, esi
cmp ecx, 7
jne 0x40f43f
mov edi, ecx
mov esi, str.English
sub edi, 4
jb 0x40f3b1
mov eax, dword [edx]
cmp eax, dword [esi]
jne 0x40f3b6
add edx, 4
add esi, 4
sub edi, 4
jae 0x40f3a0
cmp edi, 0xfffffffc
je 0x40f3ea
mov al, byte [edx]
cmp al, byte [esi]
jne 0x40f3e3
cmp edi, 0xfffffffd
je 0x40f3ea
mov al, byte [edx + 1]
cmp al, byte [esi + 1]
jne 0x40f3e3
cmp edi, 0xfffffffe
je 0x40f3ea
mov al, byte [edx + 2]
cmp al, byte [esi + 2]
jne 0x40f3e3
cmp edi, 0xffffffff
je 0x40f3ea
mov al, byte [edx + 3]
cmp al, byte [esi + 3]
je 0x40f3ea
sbb eax, eax
or eax, 1
jmp 0x40f3ec
xor eax, eax
test eax, eax
jne 0x40f439
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
mov edx, 0x45d85f
call fcn.00418b40
cmp dword [0x49ef58], 0x10
mov edx, 0x49ef44
push dword [0x49ef54]
cmovae edx, dword [0x49ef44]
mov ecx, eax
call fcn.00419610
add esp, 4
mov edx, 0x45d85f
mov ecx, eax
call fcn.00418b40
mov edx, str._Generates_Password_16_Characters
jmp 0x40f68f
mov esi, dword [ebp - 0x44]
mov eax, dword [ebp - 0x30]
cmp eax, 0x10
lea edx, [ebp - 0x44]
cmovae edx, esi
cmp ecx, 6
jne 0x40f50a
mov edi, ecx
mov esi, str.French
sub edi, 4
jb 0x40f471
nop dword [eax]
mov eax, dword [edx]
cmp eax, dword [esi]
jne 0x40f476
add edx, 4
add esi, 4
sub edi, 4
jae 0x40f460
cmp edi, 0xfffffffc
je 0x40f4aa
mov al, byte [edx]
cmp al, byte [esi]
jne 0x40f4a3
cmp edi, 0xfffffffd
je 0x40f4aa
mov al, byte [edx + 1]
cmp al, byte [esi + 1]
jne 0x40f4a3
cmp edi, 0xfffffffe
je 0x40f4aa
mov al, byte [edx + 2]
cmp al, byte [esi + 2]
jne 0x40f4a3
cmp edi, 0xffffffff
je 0x40f4aa
mov al, byte [edx + 3]
cmp al, byte [esi + 3]
je 0x40f4aa
sbb eax, eax
or eax, 1
jmp 0x40f4ac
xor eax, eax
test eax, eax
jne 0x40f504
push 0x4e4
call dword [sym.imp.KERNEL32.dll_SetConsoleOutputCP]
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
mov edx, 0x45d85f
call fcn.00418b40
cmp dword [0x49ef58], 0x10
mov edx, 0x49ef44
push dword [0x49ef54]
cmovae edx, dword [0x49ef44]
mov ecx, eax
call fcn.00419610
add esp, 4
mov edx, 0x45d85f
mov ecx, eax
call fcn.00418b40
mov edx, 0x45ecd0
jmp 0x40f68f
mov esi, dword [ebp - 0x44]
mov eax, dword [ebp - 0x30]
cmp eax, 0x10
lea edx, [ebp - 0x44]
cmovae edx, esi
cmp ecx, 7
jne 0x40f5d2
mov edi, ecx
mov esi, str.Spanish
sub edi, 4
jb 0x40f539
mov eax, dword [edx]
cmp eax, dword [esi]
jne 0x40f53e
add edx, 4
add esi, 4
sub edi, 4
jae 0x40f528
cmp edi, 0xfffffffc
je 0x40f572
mov al, byte [edx]
cmp al, byte [esi]
jne 0x40f56b
cmp edi, 0xfffffffd
je 0x40f572
mov al, byte [edx + 1]
cmp al, byte [esi + 1]
jne 0x40f56b
cmp edi, 0xfffffffe
je 0x40f572
mov al, byte [edx + 2]
cmp al, byte [esi + 2]
jne 0x40f56b
cmp edi, 0xffffffff
je 0x40f572
mov al, byte [edx + 3]
cmp al, byte [esi + 3]
je 0x40f572
sbb eax, eax
or eax, 1
jmp 0x40f574
xor eax, eax
test eax, eax
jne 0x40f5cc
push 0x4e4
call dword [sym.imp.KERNEL32.dll_SetConsoleOutputCP]
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
mov edx, 0x45d85f
call fcn.00418b40
cmp dword [0x49ef58], 0x10
mov edx, 0x49ef44
push dword [0x49ef54]
cmovae edx, dword [0x49ef44]
mov ecx, eax
call fcn.00419610
add esp, 4
mov edx, 0x45d85f
mov ecx, eax
call fcn.00418b40
mov edx, str._Genera_una_contrase_a_de_16_caracteres
jmp 0x40f68f
mov esi, dword [ebp - 0x44]
mov eax, dword [ebp - 0x30]
cmp eax, 0x10
lea edx, [ebp - 0x44]
cmovae edx, esi
cmp ecx, 6
jne 0x40f6a3
mov esi, str.German
sub ecx, 4
jb 0x40f601
nop
mov eax, dword [edx]
cmp eax, dword [esi]
jne 0x40f606
add edx, 4
add esi, 4
sub ecx, 4
jae 0x40f5f0
cmp ecx, 0xfffffffc
je 0x40f63a
mov al, byte [edx]
cmp al, byte [esi]
jne 0x40f633
cmp ecx, 0xfffffffd
je 0x40f63a
mov al, byte [edx + 1]
cmp al, byte [esi + 1]
jne 0x40f633
cmp ecx, 0xfffffffe
je 0x40f63a
mov al, byte [edx + 2]
cmp al, byte [esi + 2]
jne 0x40f633
cmp ecx, 0xffffffff
je 0x40f63a
mov al, byte [edx + 3]
cmp al, byte [esi + 3]
je 0x40f63a
sbb eax, eax
or eax, 1
jmp 0x40f63c
xor eax, eax
test eax, eax
jne 0x40f6a3
push 0x4e4
call dword [sym.imp.KERNEL32.dll_SetConsoleOutputCP]
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
mov edx, 0x45d85f
call fcn.00418b40
cmp dword [0x49ef58], 0x10
mov edx, 0x49ef44
push dword [0x49ef54]
cmovae edx, dword [0x49ef44]
mov ecx, eax
call fcn.00419610
add esp, 4
mov edx, 0x45d85f
mov ecx, eax
call fcn.00418b40
mov edx, str._Erzeugt_ein_Passwort_mit_16_Zeichen
mov ecx, eax
call fcn.00418b40
push 0x418ff0
mov ecx, eax
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char_______cdecl___class_std::basic_ostream_char__struct_std::char_traits_char_____]
mov esi, dword [ebp - 0x14c0]
call dword [sym.imp.MSVCP140.dll_unsigned_int___cdecl_std::_Random_device_void_]
mov dword [ebp - 0x134], 0xffffffff
mov edx, 1
mov dword [ebp - 0x14b4], eax
mov ecx, eax
shr ecx, 0x1e
xor ecx, eax
imul eax, ecx, 0x6c078965
add eax, edx
mov dword [ebp + edx*4 - 0x14b4], eax
inc edx
cmp edx, 0x270
jb 0x40f6c4
mov edi, dword [ebp - 0x14c4]
xorps xmm0, xmm0
mov eax, dword [0x49ef78]
xor ecx, ecx
sub eax, dword [0x49ef74]
mov dword [ebp - 0x14b8], 0x270
dec eax
movups xmmword [edi], xmm0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 7
mov word [edi], cx
or esi, 1
mov dword [ebp - 0x14c8], 0x10
cmp eax, 0x80000000
mov dword [ebp - 0x14c0], esi
cmovae eax, eax
mov dword [ebp - 0x14cc], eax
nop word [eax + eax]
lea ecx, [ebp - 0x14b8]
cmp eax, 0xffffffff
jne 0x40f764
call fcn.00419bc0
mov ecx, eax
jmp 0x40f7a9
lea esi, [eax + 1]
call fcn.00419bc0
mul esi
mov dword [ebp - 0x14d0], eax
mov ecx, edx
cmp eax, esi
jae 0x40f7a9
mov eax, esi
xor edx, edx
neg eax
div esi
mov edi, edx
cmp dword [ebp - 0x14d0], edi
jae 0x40f7a3
nop dword [eax]
lea ecx, [ebp - 0x14b8]
call fcn.00419bc0
mul esi
mov ecx, edx
cmp eax, edi
jb 0x40f790
mov edi, dword [ebp - 0x14c4]
mov eax, dword [0x49ef74]
mov esi, dword [edi + 0x14]
movsx ax, byte [ecx + eax]
mov ecx, dword [edi + 0x10]
movzx edx, ax
cmp ecx, esi
jae 0x40f7dc
lea eax, [ecx + 1]
mov dword [edi + 0x10], eax
mov eax, edi
cmp esi, 8
jb 0x40f7cf
mov eax, dword [edi]
mov word [eax + ecx*2], dx
xor edx, edx
mov word [eax + ecx*2 + 2], dx
jmp 0x40f7f2
push edx
mov byte [ebp - 0x14d4], 0
push dword [ebp - 0x14d4]
push ecx
mov ecx, edi
call fcn.00419290
sub dword [ebp - 0x14c8], 1
mov eax, dword [ebp - 0x14cc]
jne 0x40f750
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x30]
cmp eax, 0x10
jb 0x40f83b
mov edx, dword [ebp - 0x44]
lea ecx, [eax + 1]
mov eax, edx
cmp ecx, 0x1000
jb 0x40f831
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40f865
push ecx
push edx
call fcn.0045a6ac
add esp, 8
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x18]
cmp ecx, 0x10
jb 0x40f875
mov edx, dword [ebp - 0x2c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x40f86b
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x40f86b
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.0045a6ac
add esp, 8
mov eax, dword [ebp - 0x130]
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0xf
mov byte [ebp - 0x2c], 0
mov eax, dword [eax + 4]
mov dword [ebp + eax - method.std::basic_ifstream_char__struct_std::char_traits_char__.virtual_0], vtable.std::basic_ifstream_char__struct_std::char_traits_char__.0
mov eax, dword [ebp - 0x130]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x70]
mov dword [ebp + ecx - 0x134], eax
mov dword [ebp - 4], 6
cmp dword [ebp - 0xd4], 0
mov dword [ebp - method.std::basic_filebuf_char__struct_std::char_traits_char__.virtual_0], vtable.std::basic_filebuf_char__struct_std::char_traits_char__.0
je 0x40f8f8
mov eax, dword [ebp - 0x114]
lea ecx, [ebp - 0xe4]
cmp dword [eax], ecx
jne 0x40f8f8
mov edx, dword [ebp - 0xcc]
mov ecx, dword [ebp - 0xd0]
sub edx, ecx
mov dword [eax], ecx
mov eax, dword [ebp - 0x104]
mov dword [eax], ecx
mov eax, dword [ebp - 0xf4]
mov dword [eax], edx
cmp byte [ebp - 0xd8], 0
je 0x40f90c
lea ecx, [ebp - 0x120]
call fcn.00403a10
lea ecx, [ebp - 0x120]
call dword [sym.imp.MSVCP140.dll_public_virtual:_void___thiscall_std::basic_streambuf_char__struct_std::char_traits_char__::destructor_void_]
lea ecx, [ebp - 0x118]
call dword [sym.imp.MSVCP140.dll_public_virtual:_void___thiscall_std::basic_istream_char__struct_std::char_traits_char__::destructor_void_]
lea ecx, [ebp - 0xc0]
call dword [sym.imp.MSVCP140.dll_public_virtual:_void___thiscall_std::basic_ios_char__struct_std::char_traits_char__::destructor_void_]
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.0045a66e
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
call fcn.00403d90
int3