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

Disassembly:
mov eax, 0x10062cff
call fcn.10061518
sub esp, 0xfc
push ebx
push esi
mov dword [ebp - 0x20], 0x4475
mov esi, ecx
push edi
xor ebx, ebx
mov dword [ebp - 0x10], esp
cmp dword [ebp - 0x20], 0x470f
mov dword [ebp - 0x24], esi
jle 0x1003c408
mov esi, ebx
mov dword [ebp - 0x14], ebx
mov eax, ebx
mov dword [ebp - 0x1c], 0xca
mov dword [ebp - 0x18], eax
mov edi, ebx
and eax, edi
lea ecx, [ebp - 0xc8]
and eax, esi
cdq
push edx
push eax
call fcn.1000260d
pop ecx
pop ecx
cmp dword [eax + 0x14], 0x10
jb 0x1003c3c2
mov eax, dword [eax]
push eax
call fcn.1004ae5e
pop ecx
push ebx
push 1
lea ecx, [ebp - 0xc8]
call fcn.1000c17a
mov eax, dword [ebp - 0x18]
inc edi
cmp edi, 0x5bf3
jl 0x1003c3a6
mov edi, dword [ebp - 0x14]
add eax, edi
dec dword [ebp - 0x1c]
mov dword [ebp - 0x18], eax
jne 0x1003c3a4
inc edi
mov dword [ebp - 0x14], edi
cmp edi, 0x3b1d
jl 0x1003c398
inc esi
cmp esi, 0x11c9
jl 0x1003c395
mov esi, dword [ebp - 0x24]
cmp byte [ebp + 0x14], 0
je 0x1003c461
mov eax, dword [esi]
mov dword [eax + 4], ebx
mov eax, dword [esi]
cmp dword [eax + 4], 0x10
jne 0x1003c444
mov edx, dword [ebp + 0x18]
mov eax, dword [esi]
xor ecx, ecx
mov dword [ebp - 0x24], 0xffffffff
cmp dword [eax + 4], 1
setne cl
mov dword [edx], ecx
mov eax, dword [edx]
mov dword [ebp - 0x24], eax
mov eax, dword [esi]
inc dword [eax + 4]
mov eax, dword [esi]
cmp dword [eax + 4], 0x10
je 0x1003c41e
cmp dword [ebp - 0x20], 0x42c9
jge 0x1003cad5
push str.jdm_jpeybos_neq_vtzj_wdqq_iuql_rskg_biuac_lzarbe_myovixy_ysqqcpzl_bnqhzmvj
call fcn.1004ae5e
pop ecx
jmp 0x1003cad5
mov eax, dword [0x100e0b88]
mov ecx, dword [ebp + 8]
mov dword [ebp - 0x24], ecx
test al, 1
jne 0x1003c48a
or dword [0x100e1f24], 0xffffffff
or eax, 1
push ecx
push 0x1571
mov dword [0x100e0b88], eax
call fcn.1003de51
push 2
lea ecx, [ebp - 0x70]
call fcn.10001a5a
mov dword [ebp - 4], ebx
mov dword [ebp - 0x1c], 0x56915a13
mov dword [ebp - 0x28], 0xf47a6d
mov dword [ebp - 0x38], 8
mov dword [ebp - 0x48], 0x4709
mov dword [ebp - 0x14], ebx
jmp 0x1003c4c5
mov ecx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x70]
or dword [eax + ecx*4], 0xffffffff
inc dword [ebp - 0x14]
cmp dword [ebp - 0x14], 2
jl 0x1003c4b8
mov dword [ebp - 0x14], ebx
jmp 0x1003c4e1
mov eax, dword [ebp - 0x14]
mov dword [ebp + eax*4 - 0x108], 0x336fde00
inc dword [ebp - 0x14]
cmp dword [ebp - 0x14], 4
jl 0x1003c4d0
mov dword [ebp - 0x1c], 1
cmp dword [ebp - 0x1c], ebx
jl 0x1003c74d
mov dword [ebp - 0x2c], 0xfffffff9
lea ecx, [ebp - 0xa0]
mov dword [ebp - 0x30], 6
mov dword [ebp - 0x30], 0x74b4fbf6
push 2
call fcn.10001a5a
lea eax, [ebp - 0xa0]
mov byte [ebp - 4], 1
push 0x3b7a
mov dword [ebp - 0x54], 0xb643e267
lea ecx, [ebp - 0x94]
push eax
xor dl, dl
call fcn.1003cbfb
pop ecx
pop ecx
push ebx
push ecx
push ecx
lea eax, [ebp - 0x28]
push eax
lea edx, [ebp - 0x38]
call fcn.1003cae6
mov dword [ebp - 0x18], 0x6239
add esp, 0x10
cmp dword [ebp - 0x18], 0x651f
jle 0x1003c5a5
push ebx
call dword [sym.imp.USER32.dll_RegisterClassW]
mov edi, ebx
mov dword [ebp - 0x20], ebx
mov esi, ebx
lea ebx, [esi + edi]
mov edi, 0x3f4
mov eax, ebx
mov ecx, 0x1007d858
cdq
push edx
push eax
call fcn.1000bb8e
dec ebx
dec edi
jne 0x1003c577
mov edi, dword [ebp - 0x20]
inc esi
cmp esi, 0x4c49
jl 0x1003c56f
inc edi
mov dword [ebp - 0x20], edi
push 0
pop ebx
cmp edi, 0x5db1
jl 0x1003c56d
mov eax, dword [ebp - 0x2c]
cmp dword [ebp - 0x28], eax
jne 0x1003c6da
cmp dword [ebp - 0x2c], ebx
jne 0x1003c607
mov ecx, dword [ebp - 0x2c]
xor edx, edx
mov eax, dword [ebp - 0x2c]
cmp ecx, eax
mov eax, dword [ebp - 0x28]
setne dl
xor ecx, ecx
cmp edx, eax
mov eax, dword [ebp - 0x2c]
sete cl
xor edx, edx
add ecx, 0x307ecdf1
cmp ecx, eax
setge dl
mov dword [ebp - 0x38], edx
mov eax, dword [ebp - 0x38]
mov ecx, dword [ebp - 0x1c]
sub ecx, eax
cmp dword [ebp - 0x28], ecx
jl 0x1003c5f7
cmp dword [ebp - 0x2c], ebx
je 0x1003c5f7
xor ecx, ecx
inc ecx
jmp 0x1003c5f9
mov ecx, ebx
mov eax, dword [ebp - 0x2c]
imul eax, ecx
test eax, eax
je 0x1003c6da
mov dword [ebp - 0x50], 0xfffffff9
mov dword [ebp - 0x30], 0xd053a657
mov dword [ebp - 0x30], 0x88bb1b5b
mov dword [ebp - 0x30], 0x84a8a623
mov dword [ebp - 0x30], 0xf634c5d1
mov dword [ebp - 0x90], 0x3452c795
mov dword [ebp - 0x8c], 0x3452c795
mov dword [ebp - 0x88], 0x3452c795
mov dword [ebp - 0x84], 0x3452c795
mov dword [ebp - 0x28], 1
cmp dword [ebp - 0x28], ebx
jl 0x1003c6bf
lea eax, [ebp - 0x4c]
mov dword [ebp - 0x44], 0xffffffff
push eax
lea eax, [ebp - 0x28]
mov dword [ebp - 0x4c], 0xf41af53c
push eax
lea eax, [ebp - 0x38]
mov dword [ebp - 0x58], 0x1494d85
push eax
lea eax, [ebp - 0x2c]
push eax
push ebx
lea eax, [ebp - 0x50]
push eax
lea eax, [ebp - 0x70]
push eax
lea edx, [ebp - 0x58]
lea ecx, [ebp - 0x44]
call fcn.1003cc26
add esp, 0x1c
lea edx, [ebp - 0x54]
push 0x6406
push 0x2624
push 0x937
push ecx
mov ecx, 0x36a2
call fcn.1003db88
add esp, 0x10
dec dword [ebp - 0x28]
jns 0x1003c65e
push ecx
push ecx
push ebx
push 0x6aed
push ecx
mov edx, 0x7161
lea ecx, [ebp - 0x48]
call fcn.1003d9ba
add esp, 0x14
jmp 0x1003c6f0
push 1
push ecx
push ecx
push 0x7e7
mov edx, 0x4b52
call fcn.1003cae6
add esp, 0x10
mov byte [ebp - 4], 2
cmp dword [ebp - 0x18], 0x5eff
jge 0x1003c730
mov edx, str.pkfk_zgksb_rcakmea_khcvpzpgo_fsqgilqji_vmo_vjsa_rulpfyji_pzkdfs_fsneikiuh_pcmpsvy_vdfwwssl
mov ecx, 0x1007d858
call fcn.1000dfd7
jmp 0x1003c730
mov dword [ebp - 4], 1
lea ecx, [ebp - 0xa0]
mov byte [ebp - 4], bl
call fcn.10001abc
dec dword [ebp - 0x1c]
jmp 0x1003c4ee
push 0x2838
mov byte [ebp - 0x31], bl
lea edx, [ebp - 0x31]
push 0x6d31
xor cl, cl
call fcn.1003d270
or dword [ebp - 4], 0xffffffff
pop ecx
pop ecx
lea ecx, [ebp - 0x70]
call fcn.10001abc
mov dword [ebp - 0x1c], 0x4124
cmp dword [ebp - 0x1c], 0x432d
jle 0x1003c801
mov edi, ebx
mov dword [ebp - 0x18], ebx
mov esi, ebx
mov dword [ebp - 0x20], ebx
mov eax, edi
mov dword [ebp - 0x24], ebx
cdq
mov edi, ebx
idiv esi
mov esi, edx
mov eax, esi
lea ecx, [ebp - 0xf8]
and eax, edi
cdq
push edx
push eax
call fcn.1000260d
pop ecx
pop ecx
cmp dword [eax + 0x14], 0x10
jb 0x1003c7b4
mov eax, dword [eax]
push eax
call fcn.1004ae5e
pop ecx
push ebx
push 1
lea ecx, [ebp - 0xf8]
call fcn.1000c17a
inc edi
cmp edi, 0xe87
jl 0x1003c798
mov esi, dword [ebp - 0x20]
mov edi, dword [ebp - 0x18]
inc esi
mov dword [ebp - 0x20], esi
cmp esi, 0x7eae
jl 0x1003c78c
inc edi
mov dword [ebp - 0x18], edi
cmp edi, 0xc87
jl 0x1003c787
push ebx
push 0x374
push 0x430
call dword [sym.imp.GDI32.dll_CreatePen]
cmp dword [ebp - 0x1c], 0x3f24
jge 0x1003c815
push str.oukmpzizj_ealjjlt_kbaq_qaotpzaac_jmfe_euonlyzud_vphi_jfqlvh_mes_kgwvkhavm
call fcn.1004ae5e
pop ecx
or dword [ebp - 4], 0xffffffff
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x18], 0xece3
mov dword [ebp - 0x24], 0xfffffff7
mov dword [ebp - 0x14], ebx
jmp 0x1003c840
mov eax, dword [ebp - 0x14]
mov dword [ebp + eax*4 - 0xb0], 0x4d1454bc
inc dword [ebp - 0x14]
cmp dword [ebp - 0x14], 4
jl 0x1003c82f
xor edx, edx
mov dword [ebp - 0x14], ebx
inc edx
jmp 0x1003c858
mov eax, dword [ebp - 0x14]
mov dword [ebp + eax*4 - 0x3c], edx
inc dword [ebp - 0x14]
cmp dword [ebp - 0x14], edx
jl 0x1003c84e
cmp dword [ebp - 0x1c], ebx
jne 0x1003c8b0
cmp dword [ebp - 0xa8], ebx
jne 0x1003c870
mov dword [ebp - 0xa4], edx
mov eax, dword [ebp - 0x1c]
xor ecx, ecx
mov edx, 0xfffe
cmp eax, edx
setg cl
mov dword [ebp - 0x3c], ecx
mov eax, dword [ebp - 0x1c]
inc dword [ebp - 0x18]
mov ecx, dword [ebp - 0x3c]
mov eax, dword [ebp - 0x1c]
sub ecx, edx
neg ecx
sbb ecx, ecx
xor edx, edx
inc ecx
cmp ecx, eax
mov eax, dword [ebp - 0x18]
setg dl
xor ecx, ecx
cmp eax, edx
mov eax, ebx
setg cl
xor edx, edx
inc edx
cmp ecx, dword [ebp - 0x1c]
jle 0x1003c8b2
mov eax, edx
cmp eax, dword [ebp - 0x1c]
jne 0x1003c8bc
cmp dword [ebp - 0x18], ebx
jne 0x1003c8c3
mov esi, edx
cmp dword [ebp - 0x3c], ebx
jne 0x1003c8c5
mov esi, ebx
mov eax, dword [ebp - 0x1c]
xor ecx, ecx
cmp esi, eax
setle cl
xor eax, eax
cmp ecx, 4
setl al
sub eax, dword [ebp - 0x1c]
jne 0x1003c8e3
cmp dword [ebp - 0x18], ebx
jne 0x1003c8e3
mov edx, ebx
mov dword [ebp - 0x24], edx
mov byte [ebp - 0x32], bl
cmp byte [ebp - 0x32], 0
je 0x1003c8f6
xor cl, cl
call fcn.1003d3e4
cmp byte [0x100e09d8], 0
jne 0x1003ca3a
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push ecx
push eax
call fcn.1003de51
mov dword [ebp - 0x24], 0xce57bf5c
mov dword [ebp - 0x14], 0xa5166941
mov dword [ebp - 0x80], 0xffffffff
mov dword [ebp - 0x7c], 0xffffffff
mov dword [ebp - 0x78], 0xffffffff
mov dword [ebp - 0x74], 0xffffffff
mov dword [ebp - 0x30], 1
mov dword [ebp - 0x20], 0x99e885dc
mov dword [ebp - 0x1c], 0x7582
cmp dword [ebp - 0x1c], 0x762d
jle 0x1003c9c5
mov esi, ebx
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x40], esi
mov dword [ebp - 0x20], 0x77cd
mov edi, ebx
mov eax, esi
lea ecx, [ebp - 0xe0]
or eax, edi
cdq
push edx
push eax
call fcn.1000260d
pop ecx
pop ecx
cmp dword [eax + 0x14], 0x10
jb 0x1003c985
mov eax, dword [eax]
push eax
call fcn.1004ae5e
pop ecx
push ebx
push 1
lea ecx, [ebp - 0xe0]
call fcn.1000c17a
inc edi
cmp edi, 0x3f0e
jl 0x1003c969
dec esi
dec dword [ebp - 0x20]
jne 0x1003c967
mov esi, dword [ebp - 0x18]
inc esi
mov dword [ebp - 0x18], esi
cmp esi, 0x7581
jl 0x1003c95d
push ebx
push 0x194d
push ebx
call dword [sym.imp.OLEAUT32.dll_SafeArrayGetLBound]
mov dword [ebp - 0x40], 0x128a
cmp dword [ebp - 0x1c], 0x756d
jge 0x1003c9e0
push str.hnosqzknl_trierhbn_jdhhiz_uipwlgwi_ygwcv_szytcu
call fcn.1004ae5e
pop ecx
mov dword [ebp - 0x40], 0x72585faf
mov dword [ebp - 0x18], ebx
jmp 0x1003c9fa
mov eax, dword [ebp - 0x18]
mov dword [ebp + eax*4 - 0x64], 2
inc dword [ebp - 0x18]
cmp dword [ebp - 0x18], 3
jl 0x1003c9ec
mov eax, dword [ebp - 0x24]
xor ecx, ecx
mov eax, dword [ebp - 0x60]
dec dword [ebp - 0x60]
mov eax, dword [ebp - 0x30]
cmp eax, 0xfffffffe
setg cl
mov dword [ebp - 0x20], ecx
xor ecx, ecx
mov eax, dword [ebp - 0x20]
cmp eax, 0xe68fc786
setne cl
imul ecx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x14]
sub eax, ecx
add eax, dword [ebp - 0x24]
mov dword [ebp - 0x80], eax
mov byte [0x100e09d8], 1
mov eax, dword [0x100e0ba0]
cmp eax, 0x270
jne 0x1003ca86
mov edx, 0x100e0ba8
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, 0x100e1568
jl 0x1003ca4b
jmp 0x1003ca92
cmp eax, 0x4e0
jb 0x1003ca97
call fcn.1003de8c
mov eax, dword [0x100e0ba0]
mov ecx, dword [eax*4 + 0x100e0ba4]
inc eax
mov dword [0x100e0ba0], eax
mov eax, ecx
shr eax, 0xb
and eax, dword [0x100e1f24]
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 + 8]
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