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

Disassembly:
mov eax, 0x100603cd
call fcn.1005ebe8
sub esp, 0x88
cmp byte [ebp + 8], 0
push ebx
push esi
push edi
mov edi, ecx
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x34], edi
je 0x1003293c
push 0x100f
call dword [sym.imp.USER32.dll_DestroyWindow]
jmp 0x10032e3e
mov eax, dword [0x101595bc]
test al, 1
jne 0x1003298b
or dword [0x101595a4], 0xffffffff
or eax, 1
mov ecx, 0x1571
mov dword [0x101595bc], eax
xor edx, edx
mov dword [0x10158224], ecx
inc edx
mov eax, ecx
shr eax, 0x1e
xor eax, ecx
imul ecx, eax, 0x6c078965
add ecx, edx
mov dword [edx*4 + 0x10158224], ecx
inc edx
cmp edx, 0x270
jl 0x10032962
mov dword [0x10158220], 0x270
mov dword [ebp - 0x20], 5
xor ebx, ebx
mov dword [ebp - 0x2c], 0x49a2f381
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x24], 0xdf29855e
push 2
mov dword [ebp - 0x28], 0x1e60e779
mov dword [ebp - 0x24], ebx
pop esi
jmp 0x100329c2
mov eax, dword [ebp - 0x24]
mov dword [ebp + eax*4 - 0x4c], 0x998ab545
inc dword [ebp - 0x24]
cmp dword [ebp - 0x24], esi
jl 0x100329b4
mov eax, dword [ebp - 0x20]
mov eax, dword [ebp - 0x20]
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x4c], eax
test eax, eax
je 0x100329e1
cmp dword [ebp - 0x20], ebx
je 0x100329e1
xor eax, eax
inc eax
jmp 0x100329e3
mov eax, ebx
mov ecx, 0x8a9017ca
cmp ecx, eax
sbb eax, eax
xor edx, edx
inc eax
cmp eax, 8
setne dl
xor ecx, ecx
imul edx, dword [ebp - 0x20]
mov eax, dword [ebp - 0x2c]
cmp edx, eax
setle cl
mov dword [ebp - 0x28], ecx
xor ecx, ecx
mov eax, dword [ebp - 0x20]
cmp eax, 0x3ca955a
setge cl
mov dword [ebp - 0x24], ecx
mov eax, dword [ebp - 0x24]
sub eax, 9
je 0x10032a28
cmp dword [ebp - 0x4c], ebx
je 0x10032a28
xor eax, eax
inc eax
jmp 0x10032a2a
mov eax, ebx
neg eax
mov dword [ebp - 0x28], eax
cmp byte [0x1015805d], bl
jne 0x10032d1f
push 4
lea ecx, [ebp - 0x78]
call fcn.10001d0c
push 1
lea ecx, [ebp - 0x6c]
mov dword [ebp - 4], esi
call fcn.10001d0c
mov byte [ebp - 4], 3
mov dword [ebp - 0x1c], ebx
jmp 0x10032a6b
mov ecx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x78]
mov dword [eax + ecx*4], 0xa66f
inc dword [ebp - 0x1c]
cmp dword [ebp - 0x1c], 4
jl 0x10032a5b
lea eax, [ebp - 0x6c]
mov edx, 0x2374
push eax
push ebx
push 0x4352
push 0x6803
push 1
lea ecx, [ebp - 0x1c]
call fcn.10032691
add esp, 0x14
mov dword [ebp - 0x1c], ebx
jmp 0x10032aa5
mov eax, dword [ebp - 0x1c]
mov dword [ebp + eax*4 - 0x3c], 0x4b25b3b
inc dword [ebp - 0x1c]
cmp dword [ebp - 0x1c], esi
jl 0x10032a97
lea eax, [ebp - 0x78]
push eax
push ecx
push ecx
lea eax, [ebp - 0x6c]
push eax
call fcn.10032812
add esp, 0x10
mov dword [ebp - 0x38], ebx
jmp 0x10032acb
xor cl, cl
call fcn.10031f1a
dec dword [ebp - 0x38]
cmp dword [ebp - 0x38], 0xfffffff1
jle 0x10032ac1
lea ecx, [ebp - 0x6c]
call fcn.10001d69
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x78]
call fcn.10001d69
push 0x57b
xor dl, dl
mov ecx, 0x10158220
call fcn.10032e4f
mov dword [ebp - 0x20], 0x86e871d9
mov dword [ebp - 0x24], 0xbd3aeb59
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x2c], 0xe6e40424
pop ecx
mov dword [ebp - 0x24], ebx
jmp 0x10032b22
mov eax, dword [ebp - 0x24]
mov dword [ebp + eax*4 - 0x60], 0xd927f7b6
inc dword [ebp - 0x24]
cmp dword [ebp - 0x24], 3
jl 0x10032b14
mov eax, dword [ebp - 0x20]
xor edx, edx
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x58], eax
mov eax, dword [ebp - 0x58]
mov eax, dword [ebp - 0x24]
mov eax, dword [ebp - 0x58]
mov eax, dword [ebp - 0x20]
mov eax, dword [ebp - 0x58]
mov ecx, dword [ebp - 0x20]
add eax, 0xfffffffc
imul ecx, eax
add ecx, dword [ebp - 0x20]
mov eax, dword [ebp - 0x20]
cmp ecx, eax
mov eax, dword [ebp - 0x20]
setge dl
xor ecx, ecx
cmp eax, 0xff55
setne cl
xor eax, eax
cmp ecx, edx
setle al
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x2c], 0x2eb
cmp dword [ebp - 0x2c], 0x313
jle 0x10032be4
mov dword [ebp - 0x24], ebx
mov esi, ebx
mov edi, ebx
mov ebx, dword [ebp - 0x24]
mov dword [ebp - 0x20], edi
mov dword [ebp - 0x30], edi
mov dword [ebp - 0x28], 0xbd1
mov ecx, edi
mov eax, esi
sar eax, cl
mov ecx, 0x1007ad38
and eax, ebx
cdq
push edx
push eax
call fcn.10001b82
dec edi
dec dword [ebp - 0x28]
jne 0x10032b9d
mov edi, dword [ebp - 0x20]
inc edi
mov dword [ebp - 0x20], edi
cmp edi, 0x7543
jl 0x10032b93
inc esi
push 0
pop ebx
cmp esi, 0x1320
jl 0x10032b8b
mov eax, dword [ebp - 0x24]
inc eax
mov dword [ebp - 0x24], eax
cmp eax, 0x1849
jl 0x10032b89
push 2
pop esi
mov byte [ebp - 0x15], bl
mov dword [ebp - 4], 4
cmp dword [ebp - 0x2c], 0x21e
jge 0x10032c06
mov edx, str.ylvi_sufr_kbggisize_luurdinmc_jioocqag_rbdqojdyt_txzi_nklfytqu_zbrsebrn_xmk_vhpz
mov ecx, 0x1007ad38
call fcn.10003a0a
or dword [ebp - 4], 0xffffffff
mov dword [ebp - 0x2c], 0x4a89
cmp dword [ebp - 0x2c], 0x4b70
jle 0x10032cc5
mov esi, ebx
mov dword [ebp - 0x28], ebx
mov ecx, esi
mov dword [ebp - 0x2c], 0x71f9
mov dword [ebp - 0x24], ecx
mov edi, ebx
mov esi, ebx
mov eax, edi
cdq
idiv esi
xor edx, ecx
lea ecx, [ebp - 0x90]
mov eax, edx
cdq
push edx
push eax
call fcn.10001a75
pop ecx
pop ecx
cmp dword [eax + 0x14], 0x10
jb 0x10032c54
mov eax, dword [eax]
push eax
call fcn.10046d04
pop ecx
push ebx
push 1
lea ecx, [ebp - 0x90]
call fcn.1000205c
mov ecx, dword [ebp - 0x24]
inc esi
cmp esi, 0x5400
jl 0x10032c33
inc edi
cmp edi, 0x6901
jl 0x10032c31
dec ecx
dec dword [ebp - 0x2c]
mov dword [ebp - 0x24], ecx
jne 0x10032c2f
mov esi, dword [ebp - 0x28]
inc esi
mov dword [ebp - 0x28], esi
cmp esi, 0x19ab
jl 0x10032c23
push ebx
call dword [sym.imp.KERNEL32.dll_ExitThread]
push ecx
push 0x1491
lea edx, [ebp - 0x15]
mov ecx, 0x1d45
call fcn.10033eac
cmp dword [ebp - 0x2c], 0x4748
pop ecx
pop ecx
jge 0x10032cee
push str.droq_ngla_wcydsqs_ymndefvp_rgqsgvqg_ylo_mdsawzy_gwfxp
call fcn.10046d04
pop ecx
or dword [ebp - 4], 0xffffffff
mov edx, 0x1271
push 0x3669
push ebx
push 1
push 0x7178
push 0x245f
push 0x1015805d
push ebx
mov ecx, 0x77f9
call fcn.10032eab
mov edi, dword [ebp - 0x34]
add esp, 0x1c
mov dword [ebp - 0x24], 0x3843
mov dword [ebp - 0x2c], 0x145c1747
mov dword [ebp - 0x30], 0xffffffff
mov dword [ebp - 0x20], ebx
jmp 0x10032d47
mov eax, dword [ebp - 0x20]
mov dword [ebp + eax*4 - 0x54], 0xffffffff
inc dword [ebp - 0x20]
cmp dword [ebp - 0x20], esi
jl 0x10032d39
mov dword [ebp - 0x20], ebx
jmp 0x10032d5b
mov eax, dword [ebp - 0x20]
mov dword [ebp + eax*4 - 0x44], ebx
inc dword [ebp - 0x20]
cmp dword [ebp - 0x20], esi
jl 0x10032d51
mov eax, dword [ebp - 0x24]
xor ecx, ecx
mov eax, dword [ebp - 0x24]
cmp eax, 0xfffffffb
setl cl
sub ecx, dword [ebp - 0x24]
neg ecx
sbb ecx, ecx
inc ecx
mov dword [ebp - 0x2c], ecx
mov ecx, 0xcecb4571
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x50], eax
mov eax, dword [ebp - 0x44]
mov eax, dword [ebp - 0x40]
mov eax, dword [ebp - 0x44]
mov eax, dword [ebp - 0x44]
mov eax, dword [ebp - 0x2c]
cmp ecx, eax
mov eax, dword [ebp - 0x24]
sbb edx, edx
xor ecx, ecx
neg edx
cmp edx, eax
mov eax, dword [0x10158220]
setle cl
mov dword [ebp - 0x30], ecx
cmp eax, 0x270
jne 0x10032df2
mov edx, 0x10158228
mov ecx, dword [edx - 4]
xor ecx, dword [edx]
and ecx, 0x7fffffff
xor ecx, dword [edx - 4]
mov eax, ecx
and al, 1
movzx eax, al
neg eax
sbb eax, eax
shr ecx, 1
and eax, 0x9908b0df
xor eax, ecx
xor eax, dword [edx + 0x630]
mov dword [edx + 0x9bc], eax
add edx, 4
cmp edx, 0x10158be8
jl 0x10032db7
jmp 0x10032dfe
cmp eax, 0x4e0
jb 0x10032e03
call fcn.10034e00
mov eax, dword [0x10158220]
mov ecx, dword [eax*4 + 0x10158224]
inc eax
mov dword [0x10158220], eax
mov eax, ecx
shr eax, 0xb
and eax, dword [0x101595a4]
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 eax, 0x12
xor eax, ecx
mov dword [edi], eax
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret