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

Disassembly:
mov eax, 0x10062815
call fcn.10061878
sub esp, 0x70
cmp byte [ebp + 0x1c], 0
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x2c], edx
mov dword [ebp - 0x30], ecx
je 0x10013cbe
mov dword [ebp - 0x20], 0x2d6b
xor ebx, ebx
cmp dword [ebp - 0x20], 0x30f5
jle 0x10013c5e
mov esi, ebx
mov dword [ebp - 0x1c], ebx
mov dword [ebp + 0x1c], esi
mov dword [ebp - 0x18], 0x4be1
mov edi, ebx
lea eax, [esi + edi]
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x28], eax
mov esi, eax
mov eax, esi
mov ecx, 0x1007d818
and eax, ebx
cdq
push edx
push eax
call fcn.1000513b
inc ebx
cmp ebx, 0x6326
jl 0x10013c1d
mov esi, dword [ebp + 0x1c]
inc edi
push 0
pop ebx
cmp edi, 0x2a8c
jl 0x10013c12
dec esi
dec dword [ebp - 0x18]
mov dword [ebp + 0x1c], esi
jne 0x10013c10
mov esi, dword [ebp - 0x1c]
inc esi
mov dword [ebp - 0x1c], esi
cmp esi, 0x6e18
jl 0x10013c06
mov dword [ebp - 4], ebx
cmp dword [ebp - 0x20], 0x2b08
jge 0x10013c79
mov edx, str.zmqpzfg_sweowjmbz_tnjz
mov ecx, 0x1007d818
call fcn.100077d7
or dword [ebp - 4], 0xffffffff
cmp byte [ebp + 0xc], 0
je 0x10013caf
mov eax, dword [ebp - 0x2c]
mov ecx, dword [ebp + 0x18]
push dword [eax]
call fcn.100142b5
jmp 0x1001405a
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0x30]
mov eax, dword [eax]
mov dword [ecx], eax
jmp 0x1001405a
cmp byte [ebp + 0x10], 0
je 0x10013d16
xor ebx, ebx
mov byte [ebp + 0x1f], bl
cmp byte [ebp + 0x1f], bl
je 0x1001405a
push 0x17b9
push 0x55c5
push 0x2f3c
push 0x6beb
push 0x4b7a
push 0x29e
push 0x5e2f
push 0x9b8
push ebx
push 0x54b3
push 1
mov dl, 1
mov ecx, 0x3bb0
call fcn.10013680
add esp, 0x2c
jmp 0x1001405a
mov eax, dword [0x100802d8]
test al, 1
jne 0x10013d62
or dword [0x100802c4], 0xffffffff
or eax, 1
mov ecx, 0x1571
mov dword [0x100802d8], eax
xor edx, edx
mov dword [0x1007ef44], ecx
inc edx
mov ebx, 0x270
mov eax, ecx
shr eax, 0x1e
xor eax, ecx
imul ecx, eax, 0x6c078965
add ecx, edx
mov dword [edx*4 + 0x1007ef44], ecx
inc edx
cmp edx, ebx
jl 0x10013d41
mov dword [0x1007ef40], ebx
push ecx
push 0x3d46
xor esi, esi
mov edx, 0x6732
push 0x1bb4
mov ecx, 0x516a
inc esi
call fcn.1001252d
add esp, 0xc
cmp byte [0x1007ef04], 0
jne 0x10013f6c
push 0x19e2
push 0x1007ef40
mov edx, 0x5024
xor cl, cl
call fcn.10012547
mov dword [ebp + 0x1c], 0x2c9cc141
xor ebx, ebx
mov dword [ebp - 0x64], 0xffffffff
mov dword [ebp - 0x60], 0xffffffff
mov dword [ebp - 0x5c], 0xffffffff
pop ecx
mov dword [ebp - 0x58], 0xffffffff
pop ecx
mov dword [ebp + 0x1c], ebx
jmp 0x10013ddf
mov eax, dword [ebp + 0x1c]
mov dword [ebp + eax*4 - 0x48], 0xfff9
inc dword [ebp + 0x1c]
cmp dword [ebp + 0x1c], 2
jl 0x10013dd1
mov dword [ebp - 0x20], 0x35ce
cmp dword [ebp - 0x20], 0x387e
jle 0x10013e51
push ebx
push 0x1751
push 0x215
push 0x11ca
call dword [sym.imp.GDI32.dll_GetCharABCWidthsW]
mov edi, ebx
mov eax, ebx
mov dword [ebp + 0x1c], ebx
and eax, edi
lea ecx, [ebp - 0x7c]
cdq
push edx
push eax
call fcn.10001a65
pop ecx
pop ecx
cmp dword [eax + 0x14], 0x10
jb 0x10013e29
mov eax, dword [eax]
push eax
call fcn.100497ec
pop ecx
push ebx
push esi
lea ecx, [ebp - 0x7c]
call fcn.100058e2
mov eax, dword [ebp + 0x1c]
inc eax
mov dword [ebp + 0x1c], eax
cmp eax, 0x1a0
jl 0x10013e12
inc edi
cmp edi, 0x51b3
jl 0x10013e0d
mov dword [ebp + 0x1c], ebx
jmp 0x10013e64
mov eax, dword [ebp + 0x1c]
mov dword [ebp + eax*4 - 0x40], 0x801897a4
inc dword [ebp + 0x1c]
cmp dword [ebp + 0x1c], 2
jl 0x10013e56
cmp dword [ebp - 0x20], 0x3275
jge 0x10013e7e
push str.xykp_kkpb_cdpoue
call fcn.100497ec
pop ecx
or dword [ebp - 4], 0xffffffff
mov dword [ebp - 0x3c], ebx
jmp 0x10013f21
mov dword [ebp + 0x1c], 0x19ac
lea edx, [ebp - 0x11]
mov dword [ebp + 0x1c], 0xc08872fa
mov dword [ebp + 0x1c], 0x289
push ebx
mov dword [ebp + 0x1c], 0x8819570a
push ecx
mov dword [ebp + 0x1c], esi
mov dword [ebp + 0x1c], 0xffbefa5f
push 0x4dc7
mov dword [ebp - 0x34], 0x2ba7
mov byte [ebp - 0x11], bl
push 0x5c5e
call fcn.10011dcb
push ebx
push esi
push 0x3829
push 0x4cd0
lea eax, [ebp - 0x34]
mov edx, 0x2b26
push eax
push 0x5c53
push ebx
mov ecx, 0x710f
call fcn.1001396c
mov dword [ebp + 0x1c], esi
add esp, 0x2c
cmp dword [ebp + 0x1c], ebx
jl 0x10013f1e
push ebx
push ecx
lea eax, [ebp - 0x12]
mov byte [ebp - 0x12], bl
push eax
mov edx, 0x423
mov ecx, 0x137c
call fcn.10011d8b
add esp, 0xc
dec dword [ebp + 0x1c]
jns 0x10013efe
inc dword [ebp - 0x3c]
cmp dword [ebp - 0x3c], esi
jle 0x10013e8a
mov dword [ebp + 0x1c], ebx
jmp 0x10013f58
mov dword [ebp - 0x28], 0x8e04
xor ecx, ecx
mov dword [ebp - 0x24], 0x9892657c
mov eax, dword [ebp - 0x28]
test eax, eax
sets cl
imul eax, ecx, 0x9a16
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x48], ebx
jne 0x10013f5e
dec dword [ebp + 0x1c]
cmp dword [ebp + 0x1c], 0xfffffff6
jle 0x10013f2f
push esi
mov edx, 0x1007ef04
call fcn.10011ad0
pop ecx
jmp 0x10013f6e
xor ebx, ebx
push esi
lea ecx, [ebp - 0x54]
call fcn.10005365
push 4
pop esi
push ecx
lea edx, [ebp - 0x38]
mov dword [ebp - 4], esi
lea ecx, [ebp - 0x54]
call fcn.10012481
mov eax, dword [ebp - 0x54]
pop ecx
mov dword [eax], ebx
push ecx
push ecx
mov byte [ebp - 0x13], bl
lea ecx, [ebp - 0x13]
call fcn.1001311b
mov byte [ebp + 0x1f], bl
cmp byte [ebp + 0x1f], 0
pop ecx
pop ecx
je 0x10013fae
push ecx
call fcn.100134d0
pop ecx
mov eax, dword [ebp - 0x54]
inc dword [eax]
cmp dword [eax], 2
jl 0x10013f8f
lea ecx, [ebp - 0x54]
call fcn.100053c7
mov eax, dword [0x1007ef40]
cmp eax, 0x270
jne 0x1001400b
mov edx, 0x1007ef48
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, esi
cmp edx, 0x1007f908
jl 0x10013fd1
jmp 0x10014017
cmp eax, 0x4e0
jb 0x1001401c
call fcn.10014494
mov eax, dword [0x1007ef40]
mov edx, dword [eax*4 + 0x1007ef44]
inc eax
mov dword [0x1007ef40], eax
mov eax, edx
shr eax, 0xb
and eax, dword [0x100802c4]
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 + 0x14]
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