Function at 0x10191b60
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [0x1034a734]
sub esp, 0x50
mov eax, dword [eax + 0x14]
cmp byte [eax + 0xd9], 0
je 0x10191e0c
mov eax, dword [0x1034a72c]
mov ecx, dword [0x1034bc9c]
mov eax, dword ds:[eax]
mov eax, dword [eax + 4]
mov dword [ebp - 8], eax
mov eax, dword fs:[0x2c]
mov ecx, dword [eax + ecx*4]
mov eax, dword [0x1035940c]
cmp eax, dword [ecx + 4]
jg 0x10191e10
mov eax, dword [0x10359410]
mov dword [ebp - 4], eax
test byte [eax + 0x24], 1
je 0x10191e0c
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [eax + 4], 0x843c1eae
mov dword [eax + 0x34], 0x20
mov eax, dword [0x10358f0c]
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
test eax, eax
jne 0x10191bf8
push str.RandomSeed
push str.vstdlib.dll
call edi
push eax
call esi
mov dword [0x10358f0c], eax
push 0x21
call eax
add esp, 4
lea eax, [ebp - 0x48]
mov edx, 3
nop word [eax + eax]
mov dword [eax - 8], 0
lea eax, [eax + 0xc]
mov dword [eax - 0x10], 0
mov dword [eax - 0xc], 0
sub edx, 1
jne 0x10191c10
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 8]
add eax, 0xc
mov dword [ebp - 0x10], eax
call fcn.101a1ae0
cmp dword [0x10358f14], 0
movss dword [ebp - 4], xmm0
jne 0x10191c60
push str.RandomFloat
push str.vstdlib.dll
call edi
push eax
call esi
mov dword [0x10358f14], eax
sub esp, 8
mov dword [esp + 4], 0x3f000000
mov dword [esp], 0xbf000000
call dword [0x10358f14]
add esp, 8
cmp dword [0x10358f14], 0
fstp dword [ebp - 0xc]
jne 0x10191c9b
push str.RandomFloat
push str.vstdlib.dll
call edi
push eax
call esi
mov dword [0x10358f14], eax
sub esp, 8
mov dword [esp + 4], 0x3f000000
mov dword [esp], 0xbf000000
call dword [0x10358f14]
fstp dword [ebp - 8]
movss xmm0, dword [ebp - 8]
add esp, 8
cmp dword [0x10358f14], 0
addss xmm0, dword [ebp - 0xc]
movss dword [ebp - 0xc], xmm0
jne 0x10191ce7
push str.RandomFloat
push str.vstdlib.dll
call edi
push eax
call esi
mov dword [0x10358f14], eax
sub esp, 8
mov dword [esp + 4], 0x3f000000
mov dword [esp], 0xbf000000
call dword [0x10358f14]
add esp, 8
cmp dword [0x10358f14], 0
fstp dword [ebp - 0x14]
jne 0x10191d22
push str.RandomFloat
push str.vstdlib.dll
call edi
push eax
call esi
mov dword [0x10358f14], eax
sub esp, 8
mov dword [esp + 4], 0x3f000000
mov dword [esp], 0xbf000000
call dword [0x10358f14]
mov esi, dword [ebp - 0x10]
lea eax, [ebp - 0x38]
add esp, 8
mov ecx, esi
fstp dword [ebp - 8]
push eax
lea eax, [ebp - 0x44]
push eax
lea eax, [ebp - 0x50]
push eax
call fcn.101a5100
movss xmm3, dword [ebp - 4]
lea eax, [ebp - 0x2c]
xorps xmm3, xmmword [0x102fb790]
mulss xmm3, dword [ebp - 0xc]
push ecx
movss xmm0, dword [ebp - 0x44]
lea ecx, [ebp - 0x20]
movss xmm1, dword [ebp - 0x40]
movss xmm5, dword [ebp - 0x50]
movss xmm6, dword [ebp - 0x4c]
movss xmm2, dword [ebp - 0x3c]
movss xmm7, dword [ebp - 0x48]
mulss xmm0, xmm3
push eax
mulss xmm1, xmm3
addss xmm5, xmm0
mulss xmm2, xmm3
movss xmm0, dword [ebp - 8]
addss xmm6, xmm1
addss xmm0, dword [ebp - 0x14]
movss xmm1, dword [ebp - 4]
addss xmm7, xmm2
xorps xmm1, xmmword [0x102fb790]
movss xmm3, dword [ebp - 0x38]
movss xmm2, dword [ebp - 0x34]
mulss xmm0, xmm1
movss xmm1, dword [ebp - 0x30]
mulss xmm3, xmm0
mulss xmm2, xmm0
mulss xmm1, xmm0
addss xmm3, xmm5
addss xmm2, xmm6
addss xmm1, xmm7
movss dword [ebp - 0x20], xmm3
movss dword [ebp - 0x1c], xmm2
movss dword [ebp - 0x18], xmm1
call fcn.101a4c40
pop edi
mov ecx, dword [eax]
mov dword [esi], ecx
mov ecx, dword [eax + 4]
mov dword [esi + 4], ecx
mov eax, dword [eax + 8]
mov dword [esi + 8], eax
pop esi
mov esp, ebp
pop ebp
ret
push 0x1035940c
call fcn.100996f3
add esp, 4
cmp dword [0x1035940c], 0xffffffff
jne 0x10191bac
push 0x1035940c
mov dword [0x10359410], 0
call fcn.100996a2
add esp, 4
jmp 0x10191bac