Function at 0x4114f0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x1e4
mov edx, dword [ecx]
cvttss2si eax, dword [ebp + 0x14]
mov eax, dword [edx + eax*4 + 0x20]
mov edx, dword [ebp + 0x10]
mov edx, dword [edx]
cvttss2si ecx, dword [ebp + 0x18]
push ebx
mov ebx, dword [edx + ecx*4 + 0x20]
push esi
add ebx, 0x10
cmp dword [eax + 4], 0
push edi
mov dword [esp + 0x5c], eax
lea edi, [eax + 0x10]
mov dword [esp + 0x28], 0
jbe 0x41194d
mov eax, dword [ebp + 0xc]
push edi
push eax
lea ecx, [esp + 0xa8]
push ecx
lea edx, [esp + 0x6c]
push edx
lea eax, [esp + 0xa0]
push eax
call fcn.00411090
mov ecx, dword [ebp + 0xc]
push ebx
push ecx
lea edx, [esp + 0x9c]
mov esi, eax
push edx
lea eax, [esp + 0x4c]
push eax
lea ecx, [esp + 0x94]
push ecx
call fcn.00411090
movss xmm0, dword [ebp + 0x1c]
movss xmm1, dword [esp + 0xb8]
movss xmm2, dword [esp + 0x98]
subss xmm2, xmm1
mulss xmm2, xmm0
addss xmm2, xmm1
movss xmm1, dword [esp + 0xbc]
movss dword [esp + 0x64], xmm2
movss xmm2, dword [esp + 0x9c]
subss xmm2, xmm1
mulss xmm2, xmm0
addss xmm2, xmm1
movss xmm1, dword [esp + 0xc0]
movss dword [esp + 0x68], xmm2
movss xmm2, dword [esp + 0xa0]
subss xmm2, xmm1
mulss xmm2, xmm0
addss xmm2, xmm1
movss xmm1, dword [esp + 0xa8]
movss dword [esp + 0x6c], xmm2
movss xmm2, dword [esp + 0xc8]
subss xmm1, xmm2
mulss xmm1, xmm0
addss xmm1, xmm2
movss xmm2, dword [esp + 0xcc]
movss dword [esp + 0x74], xmm1
movss xmm1, dword [esp + 0xac]
subss xmm1, xmm2
mulss xmm1, xmm0
addss xmm1, xmm2
movss xmm2, dword [esp + 0xd0]
movss dword [esp + 0x78], xmm1
movss xmm1, dword [esp + 0xb0]
subss xmm1, xmm2
add esp, 0x28
test esi, esi
mulss xmm1, xmm0
addss xmm1, xmm2
movss dword [esp + 0x54], xmm1
je 0x4116ef
mov edx, dword [ebp + 0x1c]
push edx
lea eax, [esp + 0x30]
push eax
lea ecx, [esp + 0x68]
push ecx
lea edx, [esp + 0x24]
push edx
call fcn.00597690
movzx esi, word [edi + 0xc]
mov eax, dword [esp + 0x44]
mov ecx, dword [esp + 0x40]
mov edx, dword [esp + 0x3c]
push eax
push ecx
shl esi, 6
add esi, dword [ebp + 8]
push edx
push esi
call fcn.00594cb0
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0xf4]
push ecx
call fcn.00595380
movss xmm0, dword [esp + 0x4c]
movss dword [esp + 0x120], xmm0
movss xmm0, dword [esp + 0x50]
movss dword [esp + 0x124], xmm0
movss xmm0, dword [esp + 0x54]
movss dword [esp + 0x128], xmm0
movss xmm0, dword [0x649444]
movss dword [esp + 0x12c], xmm0
lea edx, [esp + 0xf0]
jmp 0x41191b
movss xmm3, dword [esp + 0x2c]
movss xmm1, dword [esp + 0x60]
movss xmm5, dword [0x6498c0]
movaps xmm2, xmm3
subss xmm2, xmm1
comiss xmm2, xmm5
jbe 0x411719
subss xmm3, dword [0x649918]
jmp 0x41172a
subss xmm1, xmm3
comiss xmm1, xmm5
jbe 0x411730
addss xmm3, dword [0x649918]
movss dword [esp + 0x2c], xmm3
movss xmm2, dword [esp + 0x30]
movss xmm6, dword [esp + 0x64]
movaps xmm1, xmm2
subss xmm1, xmm6
comiss xmm1, xmm5
jbe 0x411752
subss xmm2, dword [0x649918]
jmp 0x411766
movaps xmm1, xmm6
subss xmm1, xmm2
comiss xmm1, xmm5
jbe 0x41176c
addss xmm2, dword [0x649918]
movss dword [esp + 0x30], xmm2
movss xmm1, dword [esp + 0x34]
movss xmm4, dword [esp + 0x68]
movaps xmm7, xmm1
subss xmm7, xmm4
comiss xmm7, xmm5
jbe 0x41178e
subss xmm1, dword [0x649918]
jmp 0x4117a2
movaps xmm7, xmm4
subss xmm7, xmm1
comiss xmm7, xmm5
jbe 0x4117a8
addss xmm1, dword [0x649918]
movss dword [esp + 0x34], xmm1
movss xmm7, dword [esp + 0x60]
subss xmm2, xmm6
subss xmm1, xmm4
mulss xmm2, xmm0
addss xmm2, xmm6
movss xmm6, dword [esp + 0x38]
mulss xmm1, xmm0
addss xmm1, xmm4
movss xmm4, dword [esp + 0x6c]
subss xmm3, xmm7
mulss xmm3, xmm0
subss xmm6, xmm4
addss xmm3, xmm7
comiss xmm3, xmm5
mulss xmm6, xmm0
movss xmm0, dword [0x649918]
addss xmm6, xmm4
movss dword [esp + 0x18], xmm3
movss dword [esp + 0x1c], xmm2
movss dword [esp + 0x20], xmm1
movss dword [esp + 0x24], xmm6
jbe 0x411819
subss xmm3, xmm0
movss dword [esp + 0x18], xmm3
comiss xmm2, xmm5
jbe 0x411828
subss xmm2, xmm0
movss dword [esp + 0x1c], xmm2
comiss xmm1, xmm5
jbe 0x411837
subss xmm1, xmm0
movss dword [esp + 0x20], xmm1
movzx esi, word [edi + 0xc]
mov eax, dword [esp + 0x44]
mov ecx, dword [esp + 0x40]
mov edx, dword [esp + 0x3c]
push eax
push ecx
shl esi, 6
add esi, dword [ebp + 8]
push edx
push esi
call fcn.00594cb0
mov eax, dword [esp + 0x18]
push eax
lea ecx, [esp + 0x134]
push ecx
call fcn.00594ea0
lea edx, [esp + 0x130]
push edx
push 0x6498d0
lea eax, [esp + 0xb8]
push eax
call fcn.00593dd0
mov ecx, dword [esp + 0x1c]
push ecx
lea edx, [esp + 0x174]
push edx
call fcn.00594fc0
lea eax, [esp + 0x170]
push eax
lea ecx, [esp + 0xb4]
push ecx
mov edx, ecx
push edx
call fcn.00593dd0
mov eax, dword [esp + 0x20]
push eax
lea ecx, [esp + 0x1b4]
push ecx
call fcn.005950c0
lea edx, [esp + 0x1b0]
push edx
lea eax, [esp + 0xb4]
push eax
mov ecx, eax
push ecx
call fcn.00593dd0
movss xmm0, dword [esp + 0x4c]
movss dword [esp + 0xe0], xmm0
movss xmm0, dword [esp + 0x50]
movss dword [esp + 0xe4], xmm0
movss xmm0, dword [esp + 0x54]
movss dword [esp + 0xe8], xmm0
movss xmm0, dword [0x649444]
movss dword [esp + 0xec], xmm0
lea edx, [esp + 0xb0]
push edx
push esi
push esi
call fcn.00593dd0
movzx eax, byte [edi + 0xe]
movzx ecx, byte [ebx + 0xe]
mov edx, dword [esp + 0x5c]
shl eax, 4
add edi, eax
mov eax, dword [esp + 0x28]
shl ecx, 4
add eax, 1
add ebx, ecx
cmp eax, dword [edx + 4]
mov dword [esp + 0x28], eax
jb 0x411534
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret