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

Disassembly:
mov eax, 0x10060694
call fcn.100600a0
sub esp, 0xf4
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x10], esp
mov byte [ebp - 0x44], dl
test dl, dl
je 0x1000285d
mov dword [ebp - 0x18], 0x14ae
cmp dword [ebp - 0x18], 0x1596
jle 0x1000257c
mov esi, ebx
mov edi, ebx
mov dword [ebp - 0x20], ebx
mov ecx, ebx
lea eax, [edi + esi]
sar eax, cl
mov ecx, 0x1007bb98
cdq
push edx
push eax
call fcn.100042e3
inc ebx
cmp ebx, 0x63fd
jl 0x1000254a
inc edi
push 0
pop ebx
cmp edi, 0x1f2c
jl 0x10002547
inc esi
cmp esi, 0x2b4b
jl 0x10002545
push 4
lea ecx, [ebp - 0xb8]
call fcn.10004595
mov dword [ebp - 4], ebx
mov byte [ebp - 4], 1
cmp dword [ebp - 0x18], 0x116e
jge 0x100025c6
mov edx, str.idj_dmehuxeen_jiqnoru_tjhekqh_bvrhdjwji_tgive
mov ecx, 0x1007bb98
call fcn.100067dc
jmp 0x100025c6
mov dword [ebp - 4], ebx
lea ecx, [ebp - 0xa0]
mov dword [ebp - 0x38], 1
push 0xfffffffffffffff6
mov dword [ebp - 0x24], 0x64f16efa
pop edi
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x7c], edi
mov dword [ebp - 0x6c], 0xed890fc5
mov dword [ebp - 0x24], 0xfffffffa
push 1
call fcn.10004595
xor esi, esi
mov byte [ebp - 4], 3
inc esi
mov dword [ebp - 0x78], 0x10caad90
push esi
lea ecx, [ebp - 0xac]
call fcn.10004595
mov byte [ebp - 4], 4
mov dword [ebp - 0x14], ebx
jmp 0x1000262d
mov ecx, dword [ebp - 0x14]
mov eax, dword [ebp - 0xb8]
mov dword [eax + ecx*4], edi
inc dword [ebp - 0x14]
cmp dword [ebp - 0x14], 4
jl 0x1000261e
mov dword [ebp - 0x14], ebx
jmp 0x1000264b
mov ecx, dword [ebp - 0x14]
mov eax, dword [ebp - 0xa0]
mov dword [eax + ecx*4], 0x8e356ec7
inc dword [ebp - 0x14]
cmp dword [ebp - 0x14], esi
jl 0x10002638
mov dword [ebp - 0x14], ebx
jmp 0x10002668
mov ecx, dword [ebp - 0x14]
mov eax, dword [ebp - 0xac]
mov dword [eax + ecx*4], 8
inc dword [ebp - 0x14]
cmp dword [ebp - 0x14], esi
jl 0x10002655
mov dword [ebp - 0x38], 3
cmp dword [ebp - 0x38], ebx
jl 0x10002762
mov dword [ebp - 0x68], 0x9f7f
lea ecx, [ebp - 0x5c]
mov dword [ebp - 0x80], 0x37182abb
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x60], 0xd585ed06
mov dword [ebp - 0x24], 0xdad5a519
mov dword [ebp - 0x24], 9
mov dword [ebp - 0x24], 0xfffffff8
push esi
call fcn.10004595
push ecx
push esi
lea eax, [ebp - 0x5c]
mov byte [ebp - 4], 5
push eax
push ecx
push ecx
lea eax, [ebp - 0xd8]
mov dword [ebp - 0x88], 0xc280563a
push eax
call fcn.100020f5
lea edx, [ebp - 0x68]
call fcn.10002f7a
lea eax, [ebp - 0xa0]
mov edx, 0x6969
push eax
push esi
lea eax, [ebp - 0x6c]
push eax
lea eax, [ebp - 0x88]
push eax
lea eax, [ebp - 0x7c]
push eax
lea eax, [ebp - 0x80]
push eax
push esi
lea eax, [ebp - 0x60]
push eax
lea eax, [ebp - 0x38]
push eax
lea eax, [ebp - 0xb8]
push eax
push 0x2165
push 0x4d62
lea eax, [ebp - 0x78]
push eax
push esi
push 0x7b4c
push 0x4f4d
lea eax, [ebp - 0xac]
push 0x3bc2
push eax
lea ecx, [edx - 0xd]
call fcn.1000212f
add esp, 0x60
mov byte [ebp - 4], 4
cmp dword [ebp - 0x5c], 0
je 0x10002759
push dword [ebp - 0x5c]
call fcn.100497d9
pop ecx
mov dword [ebp - 0x5c], ebx
mov dword [ebp - 0x58], ebx
mov dword [ebp - 0x54], ebx
dec dword [ebp - 0x38]
jns 0x1000267d
cmp dword [ebp - 0xac], 0
je 0x10002777
push dword [ebp - 0xac]
call fcn.100497d9
pop ecx
cmp dword [ebp - 0xa0], 0
je 0x1000278c
push dword [ebp - 0xa0]
call fcn.100497d9
pop ecx
cmp dword [ebp - 0xb8], 0
je 0x100027a1
push dword [ebp - 0xb8]
call fcn.100497d9
pop ecx
xor eax, eax
mov dword [ebp - 0xbc], 7
mov dword [ebp - 0xc0], ebx
mov word [ebp - 0xd0], ax
mov dword [ebp - 4], 6
lea ecx, [ebp - 0xd0]
push dword [ebp + 8]
call fcn.10004492
mov eax, dword [0x100b5bb8]
test al, 1
jne 0x100027f8
or eax, esi
mov dword [0x100b5bb8], eax
push 0x6a99
mov byte [ebp - 4], 7
call fcn.1002e291
pop ecx
mov word [0x100b6f68], ax
mov byte [ebp - 4], 6
push ecx
push 0x25f3
push 0x1c0e
push 0x6f89
push esi
lea eax, [ebp + 8]
mov edx, 0xa0e
push eax
push 0x766f
lea eax, [ebp - 0xd0]
mov ecx, 0x3b93
push eax
push 0x189e
push 0x100b6f68
call fcn.10002460
mov ecx, dword [ebp + 0xc]
lea eax, [ebp - 0xd0]
add esp, 0x28
cmp ecx, eax
je 0x1000284b
push 0xffffffffffffffff
push ebx
push eax
call fcn.1000492e
push ebx
push esi
lea ecx, [ebp - 0xd0]
call fcn.10004a5c
jmp 0x10002d9f
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x3c], 0x7bea
cmp dword [ebp - 0x3c], 0x7c37
mov dword [ebp - 0x24], eax
jle 0x1000290b
push ebx
push 0x139a
call dword [sym.imp.USER32.dll_DrawFocusRect]
mov edi, ebx
xor esi, esi
mov dword [ebp - 0x34], edi
inc esi
mov eax, ebx
mov dword [ebp - 0x18], ebx
mov ecx, ebx
mov dword [ebp - 0x14], ebx
cdq
idiv ecx
mov eax, edi
mov edi, ebx
mov ecx, edx
sar eax, cl
mov dword [ebp - 0x40], eax
and eax, edi
lea ecx, [ebp - 0x100]
cdq
push edx
push eax
call fcn.10001a85
pop ecx
pop ecx
cmp dword [eax + 0x14], 0x10
jb 0x100028bd
mov eax, dword [eax]
push eax
call fcn.10049603
pop ecx
push ebx
push esi
lea ecx, [ebp - 0x100]
call fcn.100048ea
mov eax, dword [ebp - 0x40]
inc edi
cmp edi, 0x40d3
jl 0x100028a3
mov ecx, dword [ebp - 0x14]
mov edi, dword [ebp - 0x34]
inc ecx
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x14], ecx
cmp ecx, 0x313e
jl 0x10002895
inc eax
mov dword [ebp - 0x18], eax
cmp eax, 0x72ee
jl 0x10002890
inc edi
mov dword [ebp - 0x34], edi
cmp edi, 0x6e61
jl 0x1000288b
jmp 0x1000290e
xor esi, esi
inc esi
mov eax, dword [0x100b5bb8]
test al, 2
jne 0x10002931
or dword [0x100b6f64], 0xffffffff
or eax, 2
push ecx
push 0x1571
mov dword [0x100b5bb8], eax
call fcn.10004c88
cmp dword [ebp - 0x3c], 0x78c1
jge 0x10002945
push str.icwitqex_owluiebw_fwqzsilj_xhqamub_hprqflmln_lhwsi_kjrxecx_pvisillay_lrmsiz_uaaqopk
call fcn.10049603
pop ecx
or dword [ebp - 4], 0xffffffff
lea eax, [ebp - 0x29]
push eax
mov dword [ebp - 0x14], ebx
xor dl, dl
mov byte [ebp - 0x29], bl
mov ecx, 0x7466
push 0x2232
call fcn.10002db0
pop ecx
pop ecx
mov dword [ebp - 0x14], ebx
jmp 0x10002975
xor cl, cl
call fcn.10001d07
dec dword [ebp - 0x14]
cmp dword [ebp - 0x14], 0xffffffe2
jg 0x1000296b
cmp byte [0x1007ccc4], 0
jne 0x10002d04
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push ecx
push eax
call fcn.10004c88
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x28], 0xfafe44fa
mov dword [ebp - 0x1c], 0xfffffff6
cmp dword [ebp - 0x1c], 0x10
jge 0x10002b5f
push 2
lea ecx, [ebp - 0x50]
call fcn.10004595
push 0x61d7
push ebx
push 0x863
push 0x716e
push 0x49b2
push 0x5299
push esi
push 0x2fe
push 0xcae
push 0x6c3e
lea eax, [ebp - 0x50]
mov dword [ebp - 4], 0xa
push eax
push 0x3f14
push 0x43d2
push esi
push 0x2d
lea eax, [ebp - 0x30]
mov edx, 0x1f91
push eax
push 0x5310
push 0x4de2
mov ecx, 0x4dd1
call fcn.1000212f
add esp, 0x48
mov dword [ebp - 0x30], ebx
jmp 0x10002a32
mov eax, dword [ebp - 0x30]
mov dword [ebp + eax*4 - 0x84], 0x45acee61
inc dword [ebp - 0x30]
cmp dword [ebp - 0x30], esi
jl 0x10002a21
mov edi, dword [ebp - 0x50]
mov dword [edi + 4], 0xb
mov dword [ebp - 0x20], edi
cmp dword [edi + 4], ebx
je 0x10002b43
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x40], 0x6b2a
cmp dword [ebp - 0x40], 0x6c10
jle 0x10002ac2
mov ecx, ebx
mov dword [ebp - 0x14], ebx
mov edi, ebx
mov eax, ebx
mov dword [ebp - 0x34], ebx
add eax, edi
mov edx, ebx
and eax, ecx
mov dword [ebp - 0x3c], edx
mov dword [ebp - 0x74], eax
or eax, edx
mov ecx, 0x1007bb98
cdq
push edx
push eax
call fcn.100042e3
mov edx, dword [ebp - 0x3c]
mov eax, dword [ebp - 0x74]
inc edx
mov dword [ebp - 0x3c], edx
cmp edx, 0x684e
jl 0x10002a78
mov eax, dword [ebp - 0x34]
mov ecx, dword [ebp - 0x14]
inc eax
mov dword [ebp - 0x34], eax
cmp eax, 0x2bce
jl 0x10002a6c
inc edi
cmp edi, 0x3b22
jl 0x10002a67
inc ecx
mov dword [ebp - 0x14], ecx
cmp ecx, 0xc73
jl 0x10002a65
mov edi, dword [ebp - 0x20]
cmp dword [ebp - 0x1c], ebx
je 0x10002ad4
mov eax, dword [ebp - 0x1c]
mov edx, esi
mov eax, dword [ebp - 0x18]
cmp dword [ebp - 0x18], ebx
jne 0x10002ad6
mov edx, ebx
mov eax, dword [ebp - 0x18]
xor ecx, ecx
cmp edx, eax
mov eax, dword [ebp - 0x18]
sete cl
add ecx, dword [edi + 4]
add eax, ecx
mov dword [ebp - 0x84], eax
mov byte [ebp - 4], 0xb
cmp dword [ebp - 0x40], 0x68c7
jge 0x10002b31
mov edx, str.nuhkc_lhp_eamcd_fvq_meohrqymd_rgxnkcogn_hvbkqwkd
mov ecx, 0x1007bb98
call fcn.100067dc
jmp 0x10002b31
mov dword [ebp - 4], 0xa
mov edi, dword [ebp - 0x50]
dec dword [edi + 4]
jmp 0x10002a41
or dword [ebp - 4], 0xffffffff
push edi
call fcn.100497d9
mov dword [ebp - 0x50], ebx
mov dword [ebp - 0x4c], ebx
mov dword [ebp - 0x48], ebx
inc dword [ebp - 0x1c]
pop ecx
jmp 0x100029a6
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], ebx
je 0x10002c1a
push 3
lea ecx, [ebp - 0x94]
call fcn.10004595
push ebx
push 0x491b
lea edx, [ebp - 0x94]
mov dword [ebp - 4], 0xd
lea ecx, [ebp - 0xd4]
call fcn.10002eb2
push 0x4377
push esi
push 0x79dc
push 0x5a03
push 0x5ea1
push 0x55ac
push ebx
push 0xe40
push 0x5e79
push 0x4713
push 0x7f55
lea eax, [ebp - 0x1c]
mov ecx, 0x51a7
push eax
push 0x338c
push ebx
push 0x17c4
push 0x7676
lea eax, [ebp - 0x94]
push eax
push 0x68c9
lea edx, [ebp - 0x28]
call fcn.1000212f
or dword [ebp - 4], 0xffffffff
add esp, 0x50
cmp dword [ebp - 0x94], 0
je 0x10002ced
push dword [ebp - 0x94]
call fcn.100497d9
pop ecx
jmp 0x10002ced
mov dword [ebp - 0x18], 0xc5c6a81d
mov dword [ebp - 0x70], 0xffffffff
mov dword [ebp - 0x20], 0xcbf698ba
mov dword [ebp - 0x14], ebx
jmp 0x10002c42
mov eax, dword [ebp - 0x14]
mov dword [ebp + eax*4 - 0x64], 0x762969fb
inc dword [ebp - 0x14]
cmp dword [ebp - 0x14], esi
jl 0x10002c34
mov dword [ebp - 0x28], 0xffffffe9
cmp dword [ebp - 0x28], 0xffffffe5
je 0x10002c8b
mov esi, 0x86c7a88f
mov dword [ebp - 0x24], ebx
lea eax, [ebp - 0x70]
mov dword [ebp - 0xe8], esi
xor dl, dl
push ecx
mov dword [ebp - 0xe4], esi
mov dword [ebp - 0xe0], esi
mov dword [ebp - 0xdc], esi
push eax
call fcn.10001d71
dec dword [ebp - 0x28]
cmp dword [ebp - 0x28], 0xffffffe5
pop ecx
pop ecx
jne 0x10002c59
mov eax, dword [ebp - 0x1c]
xor ecx, ecx
mov eax, dword [ebp - 0x1c]
cmp eax, 0xc0e8
mov eax, dword [ebp - 0x1c]
setge cl
xor edx, edx
cmp ecx, eax
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x18]
setne dl
sub edx, eax
imul eax, edx, 0xf41a
sub ecx, eax
neg ecx
sbb ecx, ecx
inc ecx
mov dword [ebp - 0x20], ecx
mov ecx, dword [ebp - 0x20]
mov eax, dword [ebp - 0x64]
sub ecx, 0x2a49e864
neg ecx
sbb ecx, ecx
xor edx, edx
inc ecx
add eax, ecx
mov ecx, dword [ebp - 0x28]
imul ecx, eax
mov eax, dword [ebp - 0x18]
cmp eax, ecx
mov eax, dword [ebp - 0x18]
setg dl
xor ecx, ecx
cmp edx, eax
setne cl
mov dword [ebp - 0x28], ecx
push ebx
push 0x5ab5
mov edx, 0x1007ccc4
mov ecx, 0x28ac
call fcn.100031be
pop ecx
pop ecx
mov eax, dword [0x100b5be0]
cmp eax, 0x270
jne 0x10002d50
mov edx, 0x100b5be8
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, 0x100b65a8
jl 0x10002d15
jmp 0x10002d5c
cmp eax, 0x4e0
jb 0x10002d61
call fcn.10004cc3
mov eax, dword [0x100b5be0]
mov ecx, dword [eax*4 + 0x100b5be4]
inc eax
mov dword [0x100b5be0], eax
mov eax, ecx
shr eax, 0xb
and eax, dword [0x100b6f64]
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 + 0x10]
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