Function at 0x10190fe0
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [0x10349734]
sub esp, 0x50
mov eax, dword [eax + 0x14]
cmp byte [eax + 0xd9], 0
je 0x1019128c
mov eax, dword [0x1034972c]
mov ecx, dword [0x1034ac9c]
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 [0x10358424]
cmp eax, dword [ecx + 4]
jg 0x10191290
mov eax, dword [0x10358428]
mov dword [ebp - 4], eax
test byte [eax + 0x24], 1
je 0x1019128c
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [eax + 4], 0x843c1eae
mov dword [eax + 0x34], 0x20
mov eax, dword [0x10357f14]
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
test eax, eax
jne 0x10191078
push str.RandomSeed
push str.vstdlib.dll
call edi
push eax
call esi
mov dword [0x10357f14], 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 0x10191090
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 8]
add eax, 0xc
mov dword [ebp - 0x10], eax
call fcn.101a0dc0
cmp dword [0x10357f1c], 0
movss dword [ebp - 4], xmm0
jne 0x101910e0
push str.RandomFloat
push str.vstdlib.dll
call edi
push eax
call esi
mov dword [0x10357f1c], eax
sub esp, 8
mov dword [esp + 4], 0x3f000000
mov dword [esp], 0xbf000000
call dword [0x10357f1c]
add esp, 8
cmp dword [0x10357f1c], 0
fstp dword [ebp - 0xc]
jne 0x1019111b
push str.RandomFloat
push str.vstdlib.dll
call edi
push eax
call esi
mov dword [0x10357f1c], eax
sub esp, 8
mov dword [esp + 4], 0x3f000000
mov dword [esp], 0xbf000000
call dword [0x10357f1c]
fstp dword [ebp - 8]
movss xmm0, dword [ebp - 8]
add esp, 8
cmp dword [0x10357f1c], 0
addss xmm0, dword [ebp - 0xc]
movss dword [ebp - 0xc], xmm0
jne 0x10191167
push str.RandomFloat
push str.vstdlib.dll
call edi
push eax
call esi
mov dword [0x10357f1c], eax
sub esp, 8
mov dword [esp + 4], 0x3f000000
mov dword [esp], 0xbf000000
call dword [0x10357f1c]
add esp, 8
cmp dword [0x10357f1c], 0
fstp dword [ebp - 0x14]
jne 0x101911a2
push str.RandomFloat
push str.vstdlib.dll
call edi
push eax
call esi
mov dword [0x10357f1c], eax
sub esp, 8
mov dword [esp + 4], 0x3f000000
mov dword [esp], 0xbf000000
call dword [0x10357f1c]
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.101a4440
movss xmm3, dword [ebp - 4]
lea eax, [ebp - 0x2c]
xorps xmm3, xmmword [0x102fa780]
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 [0x102fa780]
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.101a3f40
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 0x10358424
call fcn.100987a0
add esp, 4
cmp dword [0x10358424], 0xffffffff
jne 0x1019102c
push 0x10358424
mov dword [0x10358428], 0
call fcn.1009874f
add esp, 4
jmp 0x1019102c