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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x50a8cb
mov eax, dword fs:[0]
push eax
sub esp, 0x30
mov eax, dword [0x72400c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x30], edi
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0
mov dword [edi + 0x14], 7
cmp dword [edi + 0x14], 8
mov dword [ebp - 0x34], edi
mov dword [edi + 0x10], 0
jb 0x41d499
mov eax, dword [edi]
jmp 0x41d49b
mov eax, edi
xor ecx, ecx
mov word [eax], cx
lea eax, [edi + 0x18]
mov dword [ebp - 4], ecx
mov dword [eax + 0x10], ecx
mov dword [eax + 0x14], ecx
mov dword [eax + 0x14], 7
cmp dword [eax + 0x14], 8
mov dword [eax + 0x10], ecx
jb 0x41d4be
mov eax, dword [eax]
xor ecx, ecx
mov word [eax], cx
lea ebx, [edi + 0x30]
mov dword [ebx + 0x10], ecx
mov dword [ebx + 0x14], ecx
mov dword [ebx + 0x14], 7
cmp dword [ebx + 0x14], 8
mov dword [ebx + 0x10], ecx
jb 0x41d4e0
mov eax, dword [ebx]
jmp 0x41d4e2
mov eax, ebx
xor ecx, ecx
mov word [eax], cx
lea eax, [edi + 0x48]
mov dword [eax + 0x10], ecx
mov dword [eax + 0x14], ecx
mov dword [eax + 0x14], 7
cmp dword [eax + 0x14], 8
mov dword [eax + 0x10], ecx
jb 0x41d502
mov eax, dword [eax]
xor ecx, ecx
mov word [eax], cx
lea eax, [edi + 0x60]
mov dword [eax + 0x10], ecx
mov dword [eax + 0x14], ecx
mov dword [eax + 0x14], 7
cmp dword [eax + 0x14], 8
mov dword [eax + 0x10], ecx
jb 0x41d522
mov eax, dword [eax]
xor ecx, ecx
mov word [eax], cx
lea eax, [edi + 0x78]
mov dword [eax + 0x10], ecx
mov dword [eax + 0x14], ecx
mov dword [eax + 0x14], 7
cmp dword [eax + 0x14], 8
mov dword [eax + 0x10], ecx
jb 0x41d542
mov eax, dword [eax]
xor ecx, ecx
mov word [eax], cx
lea eax, [edi + 0x90]
mov dword [eax + 0x10], ecx
mov dword [eax + 0x14], ecx
mov dword [eax + 0x14], 7
cmp dword [eax + 0x14], 8
mov dword [eax + 0x10], ecx
jb 0x41d565
mov eax, dword [eax]
xor ecx, ecx
mov word [eax], cx
mov dword [edi + 0xa8], ecx
mov dword [edi + 0xac], ecx
mov dword [edi + 0xb0], ecx
mov dword [edi + 0xb4], ecx
mov dword [edi + 0xb8], ecx
mov dword [edi + 0xbc], ecx
sub esp, 0xc
mov byte [ebp - 4], 8
lea ecx, [edi + 0xc0]
call fcn.0041be30
lea esi, [edi + 0x1448]
mov dword [esi], 0
mov dword [ebp - 0x30], esi
mov dword [esi + 4], 0
call fcn.00412160
mov dword [esi], eax
lea esi, [edi + 0x1450]
mov byte [ebp - 4], 9
mov dword [ebp - 0x30], esi
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.00428040
mov dword [esi], eax
lea esi, [edi + 0x1458]
mov byte [ebp - 4], 0xa
mov dword [ebp - 0x30], esi
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.00428040
mov dword [esi], eax
lea esi, [edi + 0x1460]
mov byte [ebp - 4], 0xb
mov dword [ebp - 0x30], esi
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.00428040
mov dword [esi], eax
push 1
push 0x710524
mov ecx, edi
mov byte [ebp - 4], 0xc
call fcn.0040f5c0
push 1
push 0x710528
lea ecx, [edi + 0x18]
call fcn.0040f5c0
push 7
xor eax, eax
mov dword [ebp - 0x18], 7
push 0x71052c
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x1c], 0
mov word [ebp - 0x2c], ax
call fcn.0040f5c0
mov dword [ebp - 0x14], 3
lea eax, [ebp - 0x2c]
mov byte [ebp - 4], 0xd
push eax
lea ecx, [edi + 0xa8]
call fcn.00424080
mov byte [ebp - 4], 0xc
mov eax, dword [ebp - 0x18]
cmp eax, 8
jb 0x41d697
inc eax
lea ecx, [ebp - 0x2c]
push eax
push dword [ebp - 0x2c]
call fcn.004120a0
push 7
xor eax, eax
mov dword [ebp - 0x18], 7
push str.letters
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x1c], 0
mov word [ebp - 0x2c], ax
call fcn.0040f5c0
mov dword [ebp - 0x14], 4
lea eax, [ebp - 0x2c]
mov byte [ebp - 4], 0xe
push eax
lea ecx, [edi + 0xa8]
call fcn.00424080
mov byte [ebp - 4], 0xc
mov eax, dword [ebp - 0x18]
cmp eax, 8
jb 0x41d6ed
inc eax
lea ecx, [ebp - 0x2c]
push eax
push dword [ebp - 0x2c]
call fcn.004120a0
push 9
xor eax, eax
mov dword [ebp - 0x18], 7
push str.dict_word
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x1c], 0
mov word [ebp - 0x2c], ax
call fcn.0040f5c0
mov dword [ebp - 0x14], 5
lea eax, [ebp - 0x2c]
mov byte [ebp - 4], 0xf
push eax
lea ecx, [edi + 0xa8]
call fcn.00424080
mov byte [ebp - 4], 0xc
mov eax, dword [ebp - 0x18]
cmp eax, 8
jb 0x41d743
inc eax
lea ecx, [ebp - 0x2c]
push eax
push dword [ebp - 0x2c]
call fcn.004120a0
push str.var:
mov edx, edi
lea ecx, [ebp - 0x28]
call fcn.0041c210
add esp, 4
mov esi, eax
cmp ebx, esi
je 0x41d796
cmp dword [ebx + 0x14], 8
jb 0x41d76f
mov eax, dword [ebx + 0x14]
mov ecx, ebx
inc eax
push eax
push dword [ebx]
call fcn.004120a0
mov dword [ebx + 0x14], 7
cmp dword [ebx + 0x14], 8
mov dword [ebx + 0x10], 0
jb 0x41d787
mov eax, dword [ebx]
jmp 0x41d789
mov eax, ebx
xor ecx, ecx
mov word [eax], cx
mov ecx, ebx
push esi
call fcn.004107b0
mov byte [ebp - 4], 0xc
mov eax, dword [ebp - 0x14]
cmp eax, 8
jb 0x41d7af
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.004120a0
push str.out:
mov edx, edi
lea ecx, [ebp - 0x28]
call fcn.0041c210
add esp, 4
mov esi, eax
lea ebx, [edi + 0x48]
cmp ebx, esi
je 0x41d805
cmp dword [ebx + 0x14], 8
jb 0x41d7de
mov eax, dword [ebx + 0x14]
mov ecx, ebx
inc eax
push eax
push dword [ebx]
call fcn.004120a0
mov dword [ebx + 0x14], 7
cmp dword [ebx + 0x14], 8
mov dword [ebx + 0x10], 0
jb 0x41d7f6
mov eax, dword [ebx]
jmp 0x41d7f8
mov eax, ebx
xor ecx, ecx
mov word [eax], cx
mov ecx, ebx
push esi
call fcn.004107b0
mov byte [ebp - 4], 0xc
mov eax, dword [ebp - 0x14]
cmp eax, 8
jb 0x41d81e
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.004120a0
push str.var_out:
mov edx, edi
lea ecx, [ebp - 0x28]
call fcn.0041c210
add esp, 4
mov esi, eax
lea ebx, [edi + 0x60]
cmp ebx, esi
je 0x41d874
cmp dword [ebx + 0x14], 8
jb 0x41d84d
mov eax, dword [ebx + 0x14]
mov ecx, ebx
inc eax
push eax
push dword [ebx]
call fcn.004120a0
mov dword [ebx + 0x14], 7
cmp dword [ebx + 0x14], 8
mov dword [ebx + 0x10], 0
jb 0x41d865
mov eax, dword [ebx]
jmp 0x41d867
mov eax, ebx
xor ecx, ecx
mov word [eax], cx
mov ecx, ebx
push esi
call fcn.004107b0
mov byte [ebp - 4], 0xc
mov eax, dword [ebp - 0x14]
cmp eax, 8
jb 0x41d88d
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.004120a0
push 1
push 0x71058c
lea ecx, [edi + 0x78]
call fcn.0040f5c0
push 1
push 0x710590
lea ecx, [edi + 0x90]
call fcn.0040f5c0
lea eax, [ebp - 0x3c]
push eax
call fcn.004eeb28
add esp, 4
call dword [sym.imp.KERNEL32.dll_GetCurrentThread]
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
add esi, dword [ebp - 0x3c]
mov edx, 1
lea ecx, [esi + eax]
mov dword [edi + 0xc4], ecx
lea esi, [edi + 0xc8]
nop
mov eax, ecx
lea esi, [esi + 4]
shr eax, 0x1e
xor eax, ecx
imul ecx, eax, 0x6c078965
add ecx, edx
inc edx
mov dword [esi - 4], ecx
cmp edx, 0x270
jl 0x41d8e0
mov dword [edi + 0xc0], 0x270
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004ce564
mov esp, ebp
pop ebp
ret