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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6c0b3e
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
mov eax, 0x3b10
call fcn.00693d40
xorps xmm0, xmm0
movss dword [ebp - 0x18], xmm0
xorps xmm0, xmm0
movss dword [ebp - 0x14], xmm0
xorps xmm0, xmm0
movss dword [ebp - 0x10], xmm0
call fcn.0044d640
mov dword [ebp - 0x5c], eax
lea eax, [ebp - 0x7c]
push eax
call fcn.00539e10
add esp, 4
mov dword [ebp - 0x34], eax
mov ecx, dword [ebp - 0x34]
mov edx, dword [ecx]
mov eax, dword [ecx + 4]
mov dword [ebp - 0x6c], edx
mov dword [ebp - 0x68], eax
lea ecx, [ebp - 0x6c]
mov dword [ebp - 0x38], ecx
mov edx, dword [ebp - 0x38]
mov eax, dword [edx]
mov ecx, dword [edx + 4]
mov dword [ebp - 0x64], eax
mov dword [ebp - 0x60], ecx
mov dword [ebp - 0x2798], 0xffffffff
push 0x6c078965
mov edx, dword [ebp - 0x64]
push edx
lea ecx, [ebp - 0x3b1c]
call fcn.00539f30
mov dword [ebp - 0x1410], 0xffffffff
push 0x6c078965
mov eax, dword [ebp - 0x64]
push eax
lea ecx, [ebp - 0x2794]
call fcn.00539f30
lea ecx, [ebp - 0x74]
mov dword [ebp - 0x28], ecx
mov edx, dword [ebp - 0x28]
mov dword [edx], 1
mov eax, dword [ebp - 0x28]
mov dword [eax + 4], 0xffff
lea ecx, [ebp - 0x2794]
mov dword [ebp - 0x3c], ecx
lea edx, [ebp - 0x74]
mov dword [ebp - 0x40], edx
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x4c], eax
mov ecx, dword [ebp - 0x40]
mov dword [ebp - 0x44], ecx
lea edx, [ebp - 0x140c]
mov dword [ebp - 0x2c], edx
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x48], eax
mov ecx, dword [ebp - 0x48]
mov edx, dword [ecx]
mov eax, dword [ecx + 4]
mov ecx, dword [ebp - 0x2c]
mov dword [ecx], edx
mov dword [ecx + 4], eax
mov edx, dword [ebp - 0x4c]
mov dword [ebp - 0x50], edx
mov eax, dword [ebp - 0x2c]
add eax, 8
mov dword [ebp - 0x58], eax
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x50]
mov dword [ebp - 0x54], ecx
mov edx, dword [ebp - 0x54]
push edx
movzx eax, byte [ebp - 0x19]
push eax
mov ecx, dword [ebp - 0x58]
call fcn.00538a20
mov dword [ebp - 4], 0xffffffff
mov dword [ebp - 0x20], 0
jmp 0x46da98
mov ecx, dword [ebp - 0x20]
add ecx, 1
mov dword [ebp - 0x20], ecx
cmp dword [ebp - 0x20], 0x70599b
jae 0x46db02
lea ecx, [ebp - 0x140c]
call fcn.00538b10
cvtsi2ss xmm0, eax
movss dword [ebp - 0x18], xmm0
lea ecx, [ebp - 0x140c]
call fcn.00538b10
cvtsi2ss xmm0, eax
movss dword [ebp - 0x14], xmm0
lea ecx, [ebp - 0x140c]
call fcn.00538b10
cvtsi2ss xmm0, eax
movss dword [ebp - 0x10], xmm0
movss xmm0, dword [ebp - 0x14]
mulss xmm0, dword [ebp - 0x18]
mulss xmm0, dword [ebp - 0x10]
mulss xmm0, dword [ebp - 0x18]
mulss xmm0, dword [ebp - 0x10]
subss xmm0, dword [ebp - 0x14]
movss dword [ebp - 0x10], xmm0
jmp 0x46da8f
mov dword [ebp - 0x24], 0
jmp 0x46db14
mov edx, dword [ebp - 0x24]
add edx, 1
mov dword [ebp - 0x24], edx
cmp dword [ebp - 0x24], 0xc4ead7
jae 0x46dbdf
lea ecx, [ebp - 0x140c]
call fcn.00538b10
cvtsi2ss xmm0, eax
movss dword [ebp - 0x18], xmm0
movss xmm0, dword [ebp - 0x18]
ucomiss xmm0, dword [0x6e7670]
lahf
test ah, 0x44
jnp 0x46db62
lea ecx, [ebp - 0x140c]
call fcn.00538b10
cvtsi2ss xmm0, eax
divss xmm0, dword [ebp - 0x18]
movss dword [ebp - 0x14], xmm0
jmp 0x46db76
lea ecx, [ebp - 0x140c]
call fcn.00538b10
cvtsi2ss xmm0, eax
movss dword [ebp - 0x14], xmm0
movss xmm0, dword [ebp - 0x14]
ucomiss xmm0, dword [0x6e7670]
lahf
test ah, 0x44
jnp 0x46dba3
lea ecx, [ebp - 0x140c]
call fcn.00538b10
cvtsi2ss xmm0, eax
divss xmm0, dword [ebp - 0x14]
movss dword [ebp - 0x10], xmm0
jmp 0x46dbb7
lea ecx, [ebp - 0x140c]
call fcn.00538b10
cvtsi2ss xmm0, eax
movss dword [ebp - 0x10], xmm0
movss xmm0, dword [ebp - 0x14]
mulss xmm0, dword [ebp - 0x18]
mulss xmm0, dword [ebp - 0x10]
mulss xmm0, dword [ebp - 0x18]
mulss xmm0, dword [ebp - 0x10]
subss xmm0, dword [ebp - 0x14]
movss dword [ebp - 0x10], xmm0
jmp 0x46db0b
mov dword [ebp - 0x30], 0
call fcn.0044d640
mov dword [ebp - 0x30], eax
movss xmm0, dword [ebp - 0x10]
addss xmm0, dword [0x6e7680]
movss dword [ebp - 0x10], xmm0
mov eax, dword [ebp - 0x30]
cmp eax, dword [ebp - 0x5c]
ja 0x46dc0a
jmp 0x46dc00
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret