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

Disassembly:
mov eax, 0x10060bb1
call fcn.10060598
sub esp, 0x70
cmp byte [ebp + 8], 0
push ebx
push esi
push edi
je 0x10001b2a
mov eax, dword [edx]
dec dword [eax + 8]
jmp 0x10001e79
mov dword [ebp - 0x14], 0xdf3d
xor ebx, ebx
inc ebx
xor edi, edi
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0x20], 0xb9725245
mov dword [ebp - 0x30], 6
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x38], 0xfffffff7
mov dword [ebp - 0x18], 0xad0d
mov dword [ebp - 0x38], 0xfffffffe
mov dword [ebp - 0x1c], 0x59baaa4f
mov dword [ebp - 0x24], edi
mov dword [ebp - 0x10], 0xffff
mov dword [ebp - 0x10], edi
jmp 0x10001b83
mov eax, dword [ebp - 0x10]
mov dword [ebp + eax*4 - 0x2c], 0x8664a11
inc dword [ebp - 0x10]
cmp dword [ebp - 0x10], ebx
jl 0x10001b75
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], edi
je 0x10001bb3
mov eax, dword [ebp - 0x14]
mov ecx, ebx
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
mov eax, dword [ebp - 0x1c]
dec dword [ebp - 0x1c]
test eax, eax
mov eax, ebx
mov dword [ebp - 0x20], ebx
cmovs eax, edi
cmp dword [ebp - 0x20], eax
jne 0x10001bb5
mov ecx, edi
mov eax, dword [ebp - 0x14]
sub ecx, eax
jne 0x10001bc3
mov edx, edi
cmp dword [ebp - 0x20], edi
je 0x10001bc5
mov edx, ebx
xor ecx, ecx
mov dword [ebp - 0x2c], edx
mov eax, dword [ebp - 0x18]
cmp edx, eax
setge cl
sub ecx, dword [ebp - 0x28]
neg ecx
sbb ecx, ecx
inc ecx
cmp ecx, dword [ebp - 0x14]
jne 0x10001be6
mov eax, edi
cmp dword [ebp - 0x24], edi
je 0x10001be8
mov eax, ebx
mov dword [ebp - 0x30], eax
xor edx, edx
mov ecx, dword [ebp - 0x24]
mov eax, dword [ebp - 0x24]
cmp ecx, eax
setne dl
cmp edx, 0xa1d127a4
sbb eax, eax
neg eax
add eax, dword [ebp - 0x18]
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x38], edi
jne 0x10001c28
mov eax, dword [ebp - 0x14]
mov ecx, 0xc50d
sub ecx, eax
jne 0x10001c20
mov eax, edi
cmp dword [ebp - 0x2c], edi
je 0x10001c22
mov eax, ebx
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
mov eax, dword [ebp - 0x18]
mov esi, 0x270
mov eax, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x18]
sub eax, 0xc75df642
neg eax
sbb eax, eax
xor edx, edx
inc eax
add eax, dword [ebp - 0x30]
cmp eax, 0xf1e73e4f
setne dl
cmp dword [ebp - 0x18], 0xfffffffc
sbb eax, eax
xor ecx, ecx
inc eax
cmp eax, edx
mov eax, dword [0x1007e5fc]
setg cl
mov dword [ebp - 0x28], ecx
test al, 1
jne 0x10001ca3
or eax, ebx
mov ecx, 0x1571
or dword [0x1007e5f4], 0xffffffff
mov edx, ebx
mov dword [0x1007e5fc], eax
mov dword [0x1007d274], ecx
mov eax, ecx
shr eax, 0x1e
xor eax, ecx
imul ecx, eax, 0x6c078965
add ecx, edx
mov dword [edx*4 + 0x1007d274], ecx
inc edx
cmp edx, esi
jl 0x10001c82
mov dword [0x1007d270], esi
push ebx
lea ecx, [ebp - 0x70]
call fcn.1000457d
push 3
mov dword [ebp - 4], edi
lea ecx, [ebp - 0x64]
pop esi
mov dword [ebp - 0x38], 0xc443
mov dword [ebp - 0x3c], 0xbb7a
mov dword [ebp - 0x40], 0xfbc9fa8b
push esi
call fcn.1000457d
push 2
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], bl
call fcn.1000457d
lea eax, [ebp - 0x34]
mov byte [ebp - 4], 2
push eax
sub esp, 0xc
mov dword [ebp - 0x44], 0xca6d786f
lea eax, [ebp - 0x70]
push eax
call fcn.10003eb0
add esp, 0x10
lea eax, [ebp - 0x34]
lea edx, [ebp - 0x64]
mov ecx, 0x37db
push 0x41df
push eax
call fcn.10001e8a
pop ecx
lea eax, [ebp - 0x58]
mov ecx, 0x110
push eax
lea eax, [ebp - 0x34]
push eax
push edi
call fcn.10001a9d
mov eax, dword [ebp - 0x58]
lea edx, [ebp - 0x64]
add esp, 0x14
inc dword [eax]
lea eax, [ebp - 0x3c]
push eax
lea eax, [ebp - 0x40]
push eax
push ecx
lea eax, [ebp - 0x44]
push eax
push ecx
lea ecx, [ebp - 0x58]
call fcn.10001eed
add esp, 0x14
lea ecx, [ebp - 0x58]
call fcn.10004600
lea ecx, [ebp - 0x64]
call fcn.10004600
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x70]
call fcn.10004600
sub esp, 0xc
call fcn.10002011
add esp, 0xc
mov dword [ebp - 0x18], 0x76820624
mov dword [ebp - 0x38], 0xfffffffe
lea ecx, [ebp - 0x7c]
push esi
call fcn.1000457d
push ecx
push ecx
mov dword [ebp - 4], esi
lea eax, [ebp - 0x4c]
push 0x40e
mov dword [ebp - 0x38], 0x4185a1fa
mov dword [ebp - 0x48], ebx
push eax
xor dl, dl
lea ecx, [ebp - 0x7c]
call fcn.10001fc7
add esp, 0x10
mov dword [ebp - 0x18], edi
jmp 0x10001db9
call fcn.10001eb9
inc dword [ebp - 0x18]
cmp dword [ebp - 0x18], ebx
jne 0x10001db1
push ecx
push ecx
push 0x2c43
push 0x7462
push ebx
lea ecx, [ebp - 0x48]
call fcn.10001a9d
add esp, 0x14
lea ecx, [ebp - 0x7c]
call fcn.10004600
mov eax, dword [0x1007d270]
cmp eax, 0x270
jne 0x10001e2a
mov edx, 0x1007d278
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, dword [edx + 0x630]
xor eax, ecx
mov dword [edx + 0x9bc], eax
add edx, 4
cmp edx, 0x1007dc38
jl 0x10001def
jmp 0x10001e36
cmp eax, 0x4e0
jb 0x10001e3b
call fcn.10004daa
mov eax, dword [0x1007d270]
mov edx, dword [eax*4 + 0x1007d274]
inc eax
mov dword [0x1007d270], eax
mov eax, edx
shr eax, 0xb
and eax, dword [0x1007e5f4]
xor edx, eax
mov eax, edx
and eax, 0xff3a58ad
shl eax, 7
xor edx, eax
mov eax, edx
and eax, 0xffffdf8c
shl eax, 0xf
xor edx, eax
mov eax, dword [ebp + 0xc]
mov ecx, edx
shr ecx, 0x12
xor ecx, edx
mov dword [eax], ecx
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret