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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x4158a9
add esp, 0xffffff80
movzx eax, byte [0x5c3f90]
test al, al
jne 0x415894
call fcn.004163a0
movsd xmm0, qword [esp]
movsd qword [esp + 0x48], xmm0
mov eax, dword [0x5c6678]
mov ecx, dword [0x5c667c]
mov dword [esp + 4], ecx
mov dword [esp], eax
call fcn.00452140
movsd xmm0, qword [esp + 8]
movsd qword [esp + 0x78], xmm0
mov eax, dword [0x5c6688]
mov ecx, dword [0x5c668c]
mov dword [esp + 4], ecx
mov dword [esp], eax
call fcn.00452140
movsd xmm0, qword [esp + 0x78]
divsd xmm0, qword [esp + 8]
movsd qword [esp + 0x78], xmm0
call fcn.0045a7c0
mov eax, dword [esp]
mov ecx, dword [esp + 0x84]
mov edx, dword [ecx + 0x30]
sub eax, edx
mov edx, dword [esp + 4]
mov ebx, dword [ecx + 0x34]
sbb edx, ebx
test edx, edx
setg bl
test eax, eax
xchg ebp, ebx
seta bl
xchg ebp, ebx
test edx, edx
xchg esi, ebx
sete bl
xchg esi, ebx
and esi, ebp
or ebx, esi
test bl, bl
jne 0x41581b
movsd xmm0, qword [0x51cdf4]
movsd xmm1, qword [esp + 0x78]
movsd xmm2, qword [0x51ce24]
subsd xmm1, xmm2
movsd qword [esp + 0x50], xmm1
movsd xmm3, qword [0x5c6668]
movsd xmm4, qword [esp + 0x48]
subsd xmm4, xmm3
movsd qword [esp + 0x78], xmm4
movsd xmm6, qword [0x51cdfc]
movsd xmm7, xmm0
divsd xmm0, xmm6
subsd xmm1, xmm3
movsd qword [esp + 0x70], xmm1
mulsd xmm1, xmm0
subsd xmm4, xmm1
movsd xmm1, qword [0x51ce04]
mulsd xmm1, xmm4
addsd xmm1, xmm3
mov eax, dword [0x5c3950]
test eax, eax
jg 0x415557
movsd qword [esp + 0x88], xmm1
sub esp, 0xffffff80
ret
movsd qword [esp + 0x68], xmm3
movsd qword [esp + 0x60], xmm7
movsd qword [esp + 0x58], xmm0
movsd qword [esp + 0x40], xmm1
mov eax, dword [0x5c6688]
mov dword [esp + 0x20], eax
mov ecx, dword [0x5c668c]
mov dword [esp + 0x24], ecx
mov edx, dword [0x5c6670]
mov dword [esp + 0x38], edx
mov ebx, dword [0x5c6674]
mov dword [esp + 0x3c], ebx
mov ebp, dword [0x5c6678]
mov dword [esp + 0x30], ebp
mov esi, dword [0x5c667c]
mov dword [esp + 0x34], esi
mov dword [esp + 4], ecx
mov dword [esp], eax
call fcn.00452140
movsd xmm0, qword [0x51ce24]
movsd xmm1, qword [esp + 0x48]
addsd xmm0, xmm1
mulsd xmm0, qword [esp + 8]
movsd qword [esp], xmm0
call fcn.00451fd0
mov eax, dword [esp + 0x84]
mov ecx, dword [eax]
mov dword [esp + 0x18], ecx
mov eax, dword [eax + 4]
mov dword [esp + 0x1c], eax
mov edx, dword [esp + 8]
mov dword [esp + 0x28], edx
mov ebx, dword [esp + 0xc]
mov dword [esp + 0x2c], ebx
call fcn.004322f0
lea eax, [0x4f27cf]
mov dword [esp], eax
mov dword [esp + 4], 0x10
call fcn.00432c00
mov eax, dword [esp + 0x24]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x20]
mov dword [esp], eax
call fcn.00432890
lea eax, [0x4eff95]
mov dword [esp], eax
mov dword [esp + 4], 5
call fcn.00432c00
movsd xmm0, qword [esp + 0x68]
movsd qword [esp], xmm0
call fcn.004325b0
lea eax, [0x4eff6d]
mov dword [esp], eax
mov dword [esp + 4], 5
call fcn.00432c00
mov eax, dword [esp + 0x3c]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x38]
mov dword [esp], eax
call fcn.00432890
lea eax, [0x4eff8b]
mov dword [esp], eax
mov dword [esp + 4], 5
call fcn.00432c00
movsd xmm0, qword [esp + 0x50]
movsd qword [esp], xmm0
call fcn.004325b0
lea eax, [0x4eff72]
mov dword [esp], eax
mov dword [esp + 4], 5
call fcn.00432c00
mov eax, dword [esp + 0x34]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x30]
mov dword [esp], eax
call fcn.00432890
lea eax, [0x4eff90]
mov dword [esp], eax
mov dword [esp + 4], 5
call fcn.00432c00
movsd xmm0, qword [esp + 0x48]
movsd qword [esp], xmm0
call fcn.004325b0
lea eax, [0x4eff77]
mov dword [esp], eax
mov dword [esp + 4], 5
call fcn.00432c00
mov eax, dword [esp + 0x2c]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x28]
mov dword [esp], eax
call fcn.00432a00
lea eax, [0x4effb8]
mov dword [esp], eax
mov dword [esp + 4], 5
call fcn.00432c00
movsd xmm0, qword [esp + 0x60]
movsd qword [esp], xmm0
call fcn.004325b0
lea eax, [0x4effbd]
mov dword [esp], eax
mov dword [esp + 4], 5
call fcn.00432c00
movsd xmm0, qword [0x51cdfc]
movsd qword [esp], xmm0
call fcn.004325b0
lea eax, [0x4eff81]
mov dword [esp], eax
mov dword [esp + 4], 5
call fcn.00432c00
mov eax, dword [esp + 0x1c]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x18]
mov dword [esp], eax
call fcn.00432a00
lea eax, [0x4f0586]
mov dword [esp], eax
mov dword [esp + 4], 8
call fcn.00432c00
movsd xmm0, qword [esp + 0x78]
movsd qword [esp], xmm0
call fcn.004325b0
lea eax, [0x4f0b45]
mov dword [esp], eax
mov dword [esp + 4], 0xa
call fcn.00432c00
movsd xmm0, qword [esp + 0x70]
movsd qword [esp], xmm0
call fcn.004325b0
lea eax, [0x4f08c5]
mov dword [esp], eax
mov dword [esp + 4], 9
call fcn.00432c00
movsd xmm0, qword [esp + 0x58]
movsd qword [esp], xmm0
call fcn.004325b0
call fcn.00432510
call fcn.00432360
movsd xmm1, qword [esp + 0x40]
jmp 0x41554a
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], edx
mov eax, dword [ecx + 0x10]
mov edx, dword [ecx + 0x14]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.00452070
mov eax, dword [0x5c36a8]
mov ecx, eax
mov eax, dword [esp + 0x10]
mov ebx, eax
mul ecx
movsd xmm0, qword [esp + 8]
movsd qword [esp + 0x70], xmm0
mov ebp, ecx
sar ecx, 0x1f
imul ecx, ebx
mov ebx, dword [esp + 0x14]
imul ebx, ebp
add edx, ebx
add ecx, edx
mov dword [esp + 4], ecx
mov dword [esp], eax
call fcn.00452070
movsd xmm0, qword [esp + 0x70]
divsd xmm0, qword [esp + 8]
movsd xmm1, qword [0x51cdf4]
addsd xmm0, xmm1
mov ecx, dword [esp + 0x84]
jmp 0x4154de
movsd xmm0, qword [0x5c6668]
movsd qword [esp + 0x88], xmm0
sub esp, 0xffffff80
ret
call fcn.00458300
jmp fcn.00415410