Function at 0x1001afb1
Capabilities:
Generate random numbers using a mersenne twister

Disassembly:
mov eax, 0x10064c21
call fcn.10063a98
sub esp, 0x114
push ebx
push esi
mov byte [ebp - 0x28], cl
mov eax, edx
mov dword [ebp - 0x14], 0x2936
xor ebx, ebx
cmp dword [ebp - 0x14], 0x2cc1
push edi
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x18], eax
jle 0x1001b02d
mov esi, ebx
mov edi, ebx
mov ecx, edi
mov eax, esi
sar eax, cl
lea ecx, [ebp - 0x108]
cdq
push edx
push eax
call fcn.10001a31
pop ecx
pop ecx
cmp dword [eax + 0x14], 0x10
jb 0x1001b003
mov eax, dword [eax]
push eax
call fcn.1004b616
pop ecx
push ebx
push 1
lea ecx, [ebp - 0x108]
call fcn.1000230b
inc edi
cmp edi, 0x7c39
jl 0x1001afe5
inc esi
cmp esi, 0x1388
jl 0x1001afe3
mov eax, dword [ebp - 0x18]
cmp byte [ebp - 0x28], 0
je 0x1001b074
cmp byte [eax], 0
je 0x1001b057
push 0x1353
push 0x1ed9
push ebx
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.USER32.dll_GetDC]
push eax
call dword [sym.imp.USER32.dll_DrawEdge]
cmp dword [ebp - 0x14], 0x2853
jge 0x1001b727
push str.mpjnic_hiruyico_dbpvhgpu_gdemyuhs_wyr_hqxym
call fcn.1004b616
pop ecx
jmp 0x1001b727
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 0x3c], ecx
lea ecx, [ebp - 0xa4]
push 2
call fcn.10001ff7
push 1
lea ecx, [ebp - 0x64]
mov dword [ebp - 4], ebx
call fcn.10001ff7
mov byte [ebp - 4], 1
mov dword [ebp - 0x38], 0x21c
mov dword [ebp - 0x30], ebx
jmp 0x1001b0b7
mov ecx, dword [ebp - 0x30]
mov eax, dword [ebp - 0xa4]
mov dword [eax + ecx*4], 0x55bb2c21
inc dword [ebp - 0x30]
cmp dword [ebp - 0x30], 2
jl 0x1001b0a4
lea eax, [ebp - 0x30]
mov ecx, 0x6b38
push eax
lea eax, [ebp - 0x64]
push ebx
push eax
call fcn.10019d15
mov eax, dword [ebp - 0x64]
add esp, 0xc
mov dword [eax], ebx
mov eax, dword [ebp - 0x64]
cmp dword [eax], 1
jg 0x1001b1d4
mov dword [ebp - 0x80], 0x5010f7a7
mov dword [ebp - 0x18], 0x2cee
cmp dword [ebp - 0x18], 0x2f03
jle 0x1001b16b
mov esi, ebx
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x14], esi
mov dword [ebp - 0x1c], 0x59fc
mov edi, ebx
mov ecx, edi
mov dword [ebp - 0x34], esi
mov dword [ebp - 0x38], ebx
sar esi, cl
mov eax, esi
mov ecx, 0x100812f8
xor eax, ebx
cdq
push edx
push eax
call fcn.10001ee2
inc ebx
cmp ebx, 0xd85
jl 0x1001b116
mov esi, dword [ebp - 0x14]
inc edi
push 0
pop ebx
cmp edi, 0x3766
jl 0x1001b10c
dec esi
dec dword [ebp - 0x1c]
mov dword [ebp - 0x14], esi
jne 0x1001b10a
mov esi, dword [ebp - 0x20]
inc esi
mov dword [ebp - 0x20], esi
cmp esi, 0x5c81
jl 0x1001b100
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.USER32.dll_GetDC]
push eax
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
push ecx
push ecx
lea eax, [ebp - 0xa4]
push eax
push ecx
lea edx, [ebp - 0x80]
lea ecx, [ebp - 0x64]
call fcn.1001902d
add esp, 0x10
mov byte [ebp - 4], 2
cmp dword [ebp - 0x18], 0x2c59
jge 0x1001b1c3
mov edx, str.qllyc_vkl_tsmt_ylquxbwt_qayghzt_riv_tyqcuorc_vuger_yomdlighg_rtsyt_ljkypbu_htsaol_iwfcskcmh_zxsm
mov ecx, 0x100812f8
call fcn.1000395e
jmp 0x1001b1c3
mov dword [ebp - 4], 1
mov eax, dword [ebp - 0x64]
inc dword [eax]
jmp 0x1001b0d8
lea ecx, [ebp - 0x64]
call fcn.1000207a
or esi, 0xffffffff
lea ecx, [ebp - 0xa4]
mov dword [ebp - 4], esi
call fcn.1000207a
mov eax, dword [0x1022b464]
test al, 1
jne 0x1001b20f
push ecx
or eax, 1
mov dword [0x1022c7f4], esi
push 0x1571
mov dword [0x1022b464], eax
call fcn.1001be52
push dword [ebp - 0x40]
lea eax, [ebp - 0xb8]
mov dword [ebp - 0x8c], ebx
push eax
lea eax, [ebp - 0xc8]
mov dword [ebp - 0x88], ebx
push eax
xorps xmm0, xmm0
mov dword [ebp - 0x84], ebx
push ebx
lea ecx, [ebp - 0x8c]
movdqu xmmword [ebp - 0xc8], xmm0
call fcn.10003ea1
lea edx, [ebp - 0x68]
mov dword [ebp - 0x68], 0x90c4d8e5
call fcn.10019cf0
lea ecx, [ebp - 0x8c]
call fcn.1000207a
cmp byte [0x1022b3f2], 0
push 3
pop edi
jne 0x1001b3c5
mov dword [ebp - 0x1c], 0x37d4
xor edx, edx
mov dword [ebp - 0x14], 0xcd2466e9
mov eax, 0x9f4f9a02
inc edx
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x7c], eax
mov dword [ebp - 0x78], eax
mov dword [ebp - 0x74], eax
mov dword [ebp - 0x70], eax
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x18], 0x90f3bd79
mov dword [ebp - 0x20], ebx
jmp 0x1001b2b8
mov eax, dword [ebp - 0x20]
mov dword [ebp + eax*4 - 0xf0], 0xf5e3d1aa
inc dword [ebp - 0x20]
cmp dword [ebp - 0x20], edi
jl 0x1001b2a7
mov dword [ebp - 0x20], ebx
jmp 0x1001b2d0
mov eax, dword [ebp - 0x20]
mov dword [ebp + eax*4 - 0x6c], 7
inc dword [ebp - 0x20]
cmp dword [ebp - 0x20], edx
jl 0x1001b2c2
cmp dword [ebp - 0x1c], ebx
je 0x1001b2ed
mov eax, dword [ebp - 0x14]
xor ecx, ecx
mov esi, edx
cmp esi, eax
mov eax, ebx
setle cl
add ecx, dword [ebp - 0x74]
jne 0x1001b2ef
mov eax, edx
mov dword [ebp - 0x74], eax
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x6c], edx
mov dword [ebp - 0x1c], ebx
jmp 0x1001b312
mov eax, dword [ebp - 0x1c]
cmp dword [ebp + eax*4 - 0x7c], ebx
jne 0x1001b317
inc dword [ebp - 0x1c]
cmp dword [ebp - 0x1c], edi
jle 0x1001b306
mov dword [ebp - 0x18], 0x41b8
cmp dword [ebp - 0x18], 0x4389
jle 0x1001b37e
mov esi, ebx
mov edi, ebx
lea eax, [edi + esi]
cdq
lea ecx, [ebp - 0x120]
push edx
push eax
call fcn.10001a31
pop ecx
pop ecx
cmp dword [eax + 0x14], 0x10
jb 0x1001b346
mov eax, dword [eax]
push eax
call fcn.1004b616
pop ecx
push ebx
push 1
lea ecx, [ebp - 0x120]
call fcn.1000230b
inc edi
cmp edi, 0x77c7
jl 0x1001b32b
inc esi
cmp esi, 0x49f6
jl 0x1001b329
push ebx
push 0x837
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_VerSetConditionMask]
push 3
pop edi
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push ecx
push eax
call fcn.1001be52
cmp dword [ebp - 0x18], 0x401c
jge 0x1001b39f
push str.amgg_qyuyzb_okael_lqluzk_cpqnui_vrbkvofm_gqigvswls_ipgzhewkx_iwwleipok_xsohm_vxdory_bfzqtnsyo_shztnpvb
call fcn.1004b616
pop ecx
push ebx
push ebx
push 1
push 0x1022b3f2
or esi, 0xffffffff
mov edx, 0x7e26
push 0x2491
mov ecx, 0x6676
mov dword [ebp - 4], esi
call fcn.1001a448
add esp, 0x14
push dword [ebp - 0x40]
movdqa xmm0, xmmword [0x10073400]
lea eax, [ebp - 0xc8]
push eax
lea eax, [ebp - 0xd8]
mov dword [ebp - 0x24], esi
push eax
push ebx
lea ecx, [ebp - 0x4c]
mov dword [ebp - 0x4c], ebx
movdqu xmmword [ebp - 0xd8], xmm0
mov dword [ebp - 0x48], ebx
mov dword [ebp - 0x44], ebx
call fcn.10003ea1
mov dword [ebp - 4], 6
mov dword [ebp - 0x3c], esi
mov dword [ebp - 0x14], ebx
jmp 0x1001b417
mov eax, dword [ebp - 0x14]
mov dword [ebp + eax*4 - 0xe4], esi
inc dword [ebp - 0x14]
cmp dword [ebp - 0x14], edi
jl 0x1001b40a
lea eax, [ebp - 0x24]
mov edx, 0x5303
push eax
push ebx
push 0x36d1
mov ecx, 0x5b2d
call fcn.1001a070
add esp, 0xc
mov dword [ebp - 0x24], edi
cmp dword [ebp - 0x24], ebx
jl 0x1001b684
mov dword [ebp - 0x14], 1
lea ecx, [ebp - 0xb0]
mov dword [ebp - 0x18], ebx
push edi
call fcn.10001ff7
push ecx
lea eax, [ebp - 0xb4]
mov byte [ebp - 4], 7
push eax
lea ecx, [ebp - 0xb0]
call fcn.10019dfc
mov dword [ebp - 0x14], edi
pop ecx
pop ecx
cmp dword [ebp - 0x14], ebx
jl 0x1001b66c
push edi
lea ecx, [ebp - 0x98]
call fcn.10001ff7
mov byte [ebp - 4], 8
mov dword [ebp - 0x38], ebx
mov dword [ebp - 0x18], 5
mov dword [ebp - 0x40], esi
mov dword [ebp - 0x1c], ebx
jmp 0x1001b4b4
mov ecx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x98]
mov dword [eax + ecx*4], 0x6bafcb14
inc dword [ebp - 0x1c]
cmp dword [ebp - 0x1c], edi
jl 0x1001b4a1
mov eax, dword [ebp - 0x98]
mov dword [ebp - 0x38], eax
mov dword [eax + 8], ebx
push 1
lea ecx, [ebp - 0x58]
call fcn.10001ff7
lea eax, [ebp - 0x58]
mov byte [ebp - 4], 9
push eax
push 0xad9
mov dword [ebp - 0x1c], 0xfffffff8
lea edx, [ebp - 0xb8]
push 0x4bc6
xor cl, cl
call fcn.1001a5c4
add esp, 8
mov byte [ebp - 0x29], bl
mov edx, 0x6378
lea ecx, [ebp - 0x29]
push 0x43ef
call fcn.1001a427
mov eax, dword [ebp - 0x58]
pop ecx
pop ecx
mov dword [eax], ebx
push ecx
push ecx
lea eax, [ebp - 0x58]
mov dword [ebp - 0x34], 0x89e022a5
push eax
lea eax, [ebp - 0x4c]
mov dword [ebp - 0x34], 0xfffffffb
push eax
lea ecx, [ebp - 0x24]
call fcn.10018feb
add esp, 0x10
cmp dword [ebp - 0x24], ebx
je 0x1001b55e
push 0x4ed5
push 1
mov dword [ebp - 0x34], esi
lea ecx, [ebp - 0x40]
push 0x5c38
mov dword [ebp - 0x34], esi
call fcn.10019d15
add esp, 0xc
jmp 0x1001b627
xor edx, edx
mov dword [ebp - 0x18], 0x31cd1ac8
mov dword [ebp - 0x18], ebx
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x58]
mov ecx, dword [eax]
mov eax, dword [ebp - 0x4c]
cmp dword [eax + ecx*4], 0x394d2570
mov eax, dword [ebp - 0x1c]
setge dl
xor ecx, ecx
imul eax, edx
cmp eax, 0x844f
mov eax, dword [ebp - 0x18]
setg cl
xor edx, edx
cmp eax, ecx
setl dl
sub edx, 0xb1f356d9
neg edx
sbb edx, edx
inc edx
imul edx, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x24]
mov eax, dword [ebp - 0xb0]
neg edx
sbb edx, edx
neg edx
mov dword [eax + 8], edx
xor edx, edx
mov eax, dword [ebp - 0x4c]
cmp dword [eax + ecx*4], 0x31ec8e12
mov eax, dword [ebp - 0x98]
setl dl
cmp esi, edx
sbb ecx, ecx
xor edx, edx
neg ecx
cmp dword [eax], ecx
setle dl
mov dword [ebp - 0x18], edx
mov esi, dword [ebp - 0x18]
imul esi, dword [ebp - 0x14]
mov eax, dword [ebp - 0x58]
mov ecx, dword [eax]
sub esi, 0x46bb
mov eax, dword [ebp - 0x4c]
neg esi
sbb esi, esi
xor edx, edx
inc esi
cmp esi, dword [eax + ecx*4]
mov ecx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x1c]
setle dl
imul ecx, edx
add eax, 0x71e06e99
xor edx, edx
add ecx, eax
mov eax, dword [ebp - 0x3c]
cmp eax, ecx
setle dl
or esi, 0xffffffff
mov dword [ebp - 0xe4], edx
mov eax, dword [ebp - 0x58]
inc dword [eax]
cmp dword [eax], edi
jle 0x1001b514
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 8
call fcn.1000207a
mov esi, dword [ebp - 0x38]
push 0xffffffffffffffff
inc dword [esi + 8]
cmp dword [esi + 8], edi
pop esi
jle 0x1001b4c5
lea ecx, [ebp - 0x98]
mov byte [ebp - 4], 7
call fcn.1000207a
dec dword [ebp - 0x14]
jns 0x1001b47f
or esi, esi
lea ecx, [ebp - 0xb0]
mov byte [ebp - 4], 6
call fcn.1000207a
dec dword [ebp - 0x24]
jns 0x1001b444
lea ecx, [ebp - 0x4c]
call fcn.1000207a
mov eax, dword [0x1022b470]
cmp eax, 0x270
jne 0x1001b6d8
mov edx, 0x1022b478
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, 0x1022be38
jl 0x1001b69d
jmp 0x1001b6e4
cmp eax, 0x4e0
jb 0x1001b6e9
call fcn.1001be8d
mov eax, dword [0x1022b470]
mov ecx, dword [eax*4 + 0x1022b474]
inc eax
mov dword [0x1022b470], eax
mov eax, ecx
shr eax, 0xb
and eax, dword [0x1022c7f4]
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 ecx, dword [ebp + 0xc]
mov dword [ecx], eax
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret