Function at 0x101a48c0
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [0x103280cc]
sub esp, 0x50
mov eax, dword [eax + 0x14]
cmp byte [eax + 0xd9], 0
je 0x101a4bb0
mov eax, dword [0x103280d8]
push esi
push edi
mov edi, dword [eax + 0x10]
mov ecx, dword [eax + 0x1c]
mov edx, dword [edi]
mov eax, dword [ecx]
mov esi, dword [edx + 0xc]
mov eax, dword [eax + 0x30]
call eax
push eax
mov ecx, edi
call esi
test eax, eax
je 0x101a4bae
mov eax, dword [0x103280d8]
mov edi, dword [eax + 0x10]
mov ecx, dword [eax + 0x1c]
mov edx, dword [edi]
mov eax, dword [ecx]
mov esi, dword [edx + 0xc]
mov eax, dword [eax + 0x30]
call eax
push eax
mov ecx, edi
call esi
mov ecx, eax
call fcn.101b8bd0
mov edi, eax
test edi, edi
je 0x101a4bae
mov ecx, dword fs:[0x2c]
mov edx, dword [0x10329638]
mov edx, dword [ecx + edx*4]
mov ecx, dword [0x10336e4c]
cmp ecx, dword [edx + 4]
jg 0x101a4bb4
mov esi, dword [0x10336e50]
mov dword [ebp - 0xc], esi
test byte [esi + 0x24], 1
je 0x101a4bae
mov ecx, edi
mov dword [esi + 4], 0x118
mov dword [esi + 0x34], 0x20
call fcn.101b7390
mov eax, dword [esi + 0x34]
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
inc eax
mov edi, dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov dword [ebp - 4], eax
mov eax, dword [0x1033690c]
movss dword [ebp - 0x10], xmm0
test eax, eax
jne 0x101a49ad
push str.RandomSeed
push str.vstdlib.dll
call edi
push eax
call esi
mov dword [0x1033690c], eax
push dword [ebp - 4]
call eax
add esp, 4
cmp dword [0x10336914], 0
jne 0x101a49d2
push str.RandomFloat
push str.vstdlib.dll
call edi
push eax
call esi
mov dword [0x10336914], eax
sub esp, 8
mov dword [esp + 4], 0x3f000000
mov dword [esp], 0xbf000000
call dword [0x10336914]
add esp, 8
cmp dword [0x10336914], 0
fstp dword [ebp - 8]
jne 0x101a4a0d
push str.RandomFloat
push str.vstdlib.dll
call edi
push eax
call esi
mov dword [0x10336914], eax
sub esp, 8
mov dword [esp + 4], 0x3f000000
mov dword [esp], 0xbf000000
call dword [0x10336914]
fstp dword [ebp - 4]
movss xmm0, dword [ebp - 4]
add esp, 8
cmp dword [0x10336914], 0
addss xmm0, dword [ebp - 8]
movss dword [ebp - 0x14], xmm0
jne 0x101a4a57
push str.RandomFloat
push str.vstdlib.dll
call edi
push eax
call esi
mov dword [0x10336914], eax
sub esp, 8
mov dword [esp + 4], 0x3f000000
mov dword [esp], 0xbf000000
call dword [0x10336914]
add esp, 8
cmp dword [0x10336914], 0
fstp dword [ebp - 4]
jne 0x101a4a92
push str.RandomFloat
push str.vstdlib.dll
call edi
push eax
call esi
mov dword [0x10336914], eax
sub esp, 8
mov dword [esp + 4], 0x3f000000
mov dword [esp], 0xbf000000
call dword [0x10336914]
fstp dword [ebp - 8]
movss xmm0, dword [ebp - 8]
lea eax, [ebp - 0x48]
addss xmm0, dword [ebp - 4]
add esp, 8
mov ecx, 3
movss dword [ebp - 8], xmm0
nop word [eax + eax]
mov dword [eax - 8], 0
lea eax, [eax + 0xc]
mov dword [eax - 0x10], 0
mov dword [eax - 0xc], 0
sub ecx, 1
jne 0x101a4ad0
mov esi, dword [ebp - 0xc]
lea eax, [ebp - 0x38]
push eax
lea eax, [ebp - 0x44]
push eax
lea eax, [ebp - 0x50]
push eax
lea ecx, [esi + 0xc]
call fcn.101ba6d0
movss xmm7, dword [ebp - 0x10]
lea eax, [ebp - 0x2c]
movss xmm0, dword [ebp - 0x44]
movaps xmm3, xmm7
xorps xmm3, xmmword [0x102cd9f0]
mulss xmm3, dword [ebp - 0x14]
push ecx
movss xmm1, dword [ebp - 0x40]
lea ecx, [ebp - 0x20]
movss xmm2, dword [ebp - 0x3c]
xorps xmm7, xmmword [0x102cd9f0]
mulss xmm7, dword [ebp - 8]
push eax
movss xmm5, dword [ebp - 0x4c]
movss xmm6, dword [ebp - 0x48]
mulss xmm1, xmm3
mulss xmm2, xmm3
mulss xmm0, xmm3
addss xmm5, xmm1
movss xmm3, dword [ebp - 0x50]
addss xmm6, xmm2
movss xmm2, dword [ebp - 0x38]
movss xmm1, dword [ebp - 0x34]
addss xmm3, xmm0
movss xmm0, dword [ebp - 0x30]
mulss xmm2, xmm7
mulss xmm1, xmm7
mulss xmm0, xmm7
addss xmm2, xmm3
addss xmm1, xmm5
addss xmm0, xmm6
movss dword [ebp - 0x20], xmm2
movss dword [ebp - 0x1c], xmm1
movss dword [ebp - 0x18], xmm0
call fcn.101ba3e0
mov ecx, dword [eax]
mov dword [esi + 0xc], ecx
mov ecx, dword [eax + 4]
mov dword [esi + 0x10], ecx
mov eax, dword [eax + 8]
mov dword [esi + 0x14], eax
pop edi
pop esi
mov esp, ebp
pop ebp
ret
push 0x10336e4c
call fcn.100bbde8
add esp, 4
cmp dword [0x10336e4c], 0xffffffff
jne 0x101a4950
push 0x10336e4c
mov dword [0x10336e50], 0
call fcn.100bbd97
add esp, 4
jmp 0x101a4950