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

Disassembly:
mov eax, 0x100583d3
call fcn.10057e90
sub esp, 0x4c
mov byte [ebp - 0x18], cl
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
test cl, cl
je 0x100023fa
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x30], eax
mov eax, dword [0x10075854]
test al, 1
jne 0x10002003
or dword [0x10075844], 0xffffffff
or eax, 1
mov ecx, 0x1571
mov dword [0x10075854], eax
xor edx, edx
mov dword [0x100744c4], ecx
inc edx
mov eax, ecx
shr eax, 0x1e
xor eax, ecx
imul ecx, eax, 0x6c078965
add ecx, edx
mov dword [edx*4 + 0x100744c4], ecx
inc edx
cmp edx, 0x270
jl 0x10001fda
mov dword [0x100744c0], 0x270
mov dword [ebp - 0x1c], 1
xor ebx, ebx
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x1c], 0xf
cmp dword [ebp - 0x1c], 8
jge 0x100020f7
mov dword [ebp - 0x28], 0x515466bc
mov eax, dword [ebp - 0x20]
mov eax, dword [ebp - 0x20]
mov eax, dword [ebp - 0x20]
mov eax, dword [ebp - 0x20]
cmp dword [ebp - 0x28], ebx
je 0x100020d9
mov dword [ebp - 0x28], 0x5e66
cmp dword [ebp - 0x28], 0x60c5
jle 0x10002079
mov esi, ebx
mov eax, ebx
mov dword [ebp - 0x24], ebx
xor eax, esi
mov ecx, 0x10073038
cdq
push edx
push eax
call fcn.10004272
mov eax, dword [ebp - 0x24]
inc eax
mov dword [ebp - 0x24], eax
cmp eax, 0x2a61
jl 0x10002053
inc esi
cmp esi, 0x461e
jl 0x1000204e
mov byte [ebp - 0x11], bl
mov dword [ebp - 4], ebx
cmp dword [ebp - 0x28], 0x5bad
jge 0x10002097
mov edx, str.nlyzak_lvxp_jgtohmz_wbyz_oapqpmb_vxvqq_zwqqo_uihkgb_hubklaag_pwjqgjxpy
mov ecx, 0x10073038
call fcn.100062fd
or dword [ebp - 4], 0xffffffff
push 0x4a38
lea eax, [ebp - 0x11]
mov edx, 0x171b
push eax
push 1
xor cl, cl
call fcn.10001f90
add esp, 0xc
jmp 0x100020ef
mov dword [ebp - 0x2c], 0xffffffff
lea ecx, [ebp - 0x2c]
xor dl, dl
call fcn.100031ff
cmp dword [ebp - 0x2c], ebx
jne 0x100020f7
dec dword [ebp - 0x1c]
jmp 0x10002016
cmp byte [0x10074170], 0
jne 0x100021fb
mov eax, 0x70ade216
mov dword [ebp - 0x58], eax
mov dword [ebp - 0x54], eax
mov dword [ebp - 0x50], eax
mov dword [ebp - 0x4c], eax
mov dword [ebp - 0x24], 0xdc5336de
mov dword [ebp - 0x1c], 0xffffffff
mov dword [ebp - 0x28], 3
mov dword [ebp - 0x28], 0xf7b1466a
mov dword [ebp - 0x28], 0xbe26b5cf
mov dword [ebp - 0x20], ebx
jmp 0x1000214b
mov eax, dword [ebp - 0x20]
mov dword [ebp + eax*4 - 0x3c], 0x813c27f3
inc dword [ebp - 0x20]
cmp dword [ebp - 0x20], 2
jl 0x1000213d
cmp dword [ebp - 0x4c], ebx
jne 0x100021be
mov eax, dword [ebp - 0x1c]
xor edx, edx
mov ecx, dword [ebp - 0x4c]
mov eax, dword [ebp - 0x4c]
cmp ecx, eax
setge dl
mov dword [ebp - 0x28], edx
cmp dword [ebp - 0x28], 0x936be856
mov eax, dword [ebp - 0x4c]
sbb ecx, ecx
xor ebx, ebx
neg ecx
cmp ecx, eax
mov eax, dword [ebp - 0x1c]
setne bl
xor edx, edx
cmp ebx, eax
mov eax, dword [ebp - 0x24]
setne dl
xor ecx, ecx
cmp eax, edx
mov eax, 0xa0d461e3
setne cl
cmp eax, ecx
mov eax, dword [ebp - 0x4c]
sbb ecx, ecx
neg ecx
imul ecx, eax
mov eax, dword [ebp - 0x4c]
imul eax, ecx
xor ecx, ecx
cmp ecx, eax
sbb eax, eax
inc eax
xor ebx, ebx
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x4c]
mov eax, dword [ebp - 0x1c]
neg eax
push ecx
sbb eax, eax
neg eax
push ecx
mov dword [ebp - 0x28], eax
call fcn.100028cc
push 0x7a0e
xor dl, dl
mov ecx, 0x23c1
call fcn.100026d8
push 0x10074170
push 0x18dc
push 0x2390
xor cl, cl
call fcn.100031c0
add esp, 0x18
mov dword [ebp - 0x1c], 0x75c96dd1
mov dword [ebp - 0x1c], 0xfffffff3
cmp dword [ebp - 0x1c], 0xffffffec
jle 0x10002333
mov dword [ebp - 0x20], 0xa9ef72d4
mov dword [ebp - 0x20], 0x539b
cmp dword [ebp - 0x20], 0x5439
jle 0x1000225b
mov esi, ebx
mov eax, ebx
mov dword [ebp - 0x24], 0x7e9d
mov dword [ebp - 0x28], eax
cdq
mov ecx, 0x10073038
push edx
push eax
call fcn.10004272
mov eax, dword [ebp - 0x28]
add eax, esi
dec dword [ebp - 0x24]
mov dword [ebp - 0x28], eax
jne 0x10002238
inc esi
cmp esi, 0x6d68
jl 0x1000222c
mov dword [ebp - 0x28], 0xffffffff
mov dword [ebp - 4], 2
cmp dword [ebp - 0x20], 0x50d5
jge 0x10002281
mov edx, str.pmjaj_cdgukjzn_csvvpfw_csfe_rebi
mov ecx, 0x10073038
call fcn.100062fd
or dword [ebp - 4], 0xffffffff
mov dword [ebp - 0x20], ebx
jmp 0x10002325
mov dword [ebp - 0x28], 0x90c54408
lea ecx, [ebp - 0x48]
push 1
call fcn.100013ad
push 0x86a
lea eax, [ebp - 0x48]
mov dword [ebp - 4], 4
push eax
lea eax, [ebp - 0x34]
mov cl, 1
push eax
call fcn.100031c0
mov eax, dword [ebp - 0x1c]
xor ecx, ecx
mov eax, dword [ebp - 0x1c]
add esp, 0xc
mov eax, dword [ebp - 0x28]
imul eax, dword [ebp - 0x1c]
cmp eax, 0xfffffff9
setl cl
sub ecx, 4
neg ecx
sbb ecx, ecx
inc ecx
neg ecx
mov dword [ebp - 0x28], ecx
xor ecx, ecx
mov eax, dword [ebp - 0x28]
imul eax, dword [ebp - 0x20]
cmp eax, 0x81d2
mov eax, dword [ebp - 0x48]
setle cl
or dword [ebp - 4], 0xffffffff
mov dword [eax], ecx
lea ecx, [ebp - 0x48]
call fcn.1000140a
dec dword [ebp - 0x20]
cmp dword [ebp - 0x20], 0xfffffff0
jl 0x100022af
dec dword [ebp - 0x1c]
jmp 0x10002209
mov dword [ebp - 0x1c], 0xffffffe5
jmp 0x10002357
push 0x6211
push ecx
mov byte [ebp - 0x12], bl
lea edx, [ebp - 0x12]
mov ecx, 0x23a7
call fcn.10003e1c
inc dword [ebp - 0x1c]
pop ecx
pop ecx
cmp dword [ebp - 0x1c], 0xffffffea
jne 0x1000233c
mov eax, dword [0x100744c0]
cmp eax, 0x270
jne 0x100023a9
mov edx, 0x100744c8
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, 0x10074e88
jl 0x1000236e
jmp 0x100023b5
cmp eax, 0x4e0
jb 0x100023ba
call fcn.10004a28
mov eax, dword [0x100744c0]
mov edx, dword [eax*4 + 0x100744c4]
inc eax
mov dword [0x100744c0], eax
mov eax, edx
shr eax, 0xb
and eax, dword [0x10075844]
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 - 0x30]
mov ecx, edx
shr ecx, 0x12
xor ecx, edx
mov dword [eax], ecx
jmp 0x1000240a
mov eax, dword [ebp + 0xc]
cmp byte [eax], 0
je 0x1000240a
push 0
call dword [sym.imp.ADVAPI32.dll_GetLengthSid]
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret