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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xffffffc0
sub esp, 0x74
push ebx
push esi
push edi
lea eax, [esp + 0x34]
mov dword [esp + 0x34], 7
mov ebx, ecx
push eax
mov dword [esp + 0x20], ebx
call fcn.004bd680
mov esi, eax
mov dword [esp + 0x34], 8
lea eax, [esp + 0x34]
mov dword [esp + 0x24], esi
push eax
mov ecx, ebx
call fcn.004bd680
mov edi, dword [ebp + 8]
mov ebx, eax
push edi
mov ecx, esi
mov dword [esp + 0x34], ebx
call fcn.004414f0
push edi
mov ecx, ebx
call fcn.004414f0
mov ecx, esi
call fcn.00442e30
movsd xmm2, qword [0x5ba2b0]
lea eax, [esp + 0x34]
movaps xmm1, xmm2
mov ebx, dword [esp + 0x1c]
divsd xmm1, xmm0
push eax
mov ecx, ebx
mov dword [esp + 0x38], 9
cvttsd2si edi, xmm1
call fcn.004b4d40
xorps xmm0, xmm0
movsd qword [esp + 0x48], xmm0
test al, al
jne 0x4563a7
mov ecx, esi
call fcn.00442ed0
movd xmm1, eax
cvtdq2pd xmm1, xmm1
call fcn.00442e30
sub esp, 8
mulsd xmm1, xmm0
movsd qword [esp + 0x60], xmm1
fld qword [esp + 0x60]
fstp qword [esp]
call fcn.00574040
movsd xmm0, qword [0x5ba2b0]
add esp, 8
fstp qword [esp + 0x58]
cvttsd2si eax, qword [esp + 0x58]
mov ecx, ebx
movsd qword [esp + 0x58], xmm0
push eax
lea eax, [esp + 0x5c]
push eax
push 9
push esi
call fcn.00455a90
mov ebx, eax
xorps xmm2, xmm2
mov ecx, ebx
call fcn.00442ed0
mov edx, eax
mov dword [esp + 0x2c], edx
call fcn.00442ec0
mov ecx, eax
xor eax, eax
mov dword [esp + 0x34], ecx
mov dword [esp + 0x20], eax
test edx, edx
jle 0x456391
movsd xmm4, qword [0x5ba138]
movsd xmm0, qword [0x5ba2b0]
nop dword [eax]
xor esi, esi
test ecx, ecx
jle 0x456380
movd xmm0, edi
cvtdq2pd xmm0, xmm0
mulsd xmm0, xmm2
movsd qword [esp + 0x50], xmm0
movsd qword [esp + 0x58], xmm0
nop
mov ecx, dword [esp + 0x30]
lea eax, [esp + 0x58]
push edi
push eax
push esi
call fcn.004433d0
mov ecx, dword [esp + 0x24]
lea eax, [esp + 0x50]
push edi
push eax
push esi
movaps xmm3, xmm0
call fcn.004433d0
push dword [esp + 0x20]
addsd xmm3, xmm0
mov ecx, ebx
push esi
mulsd xmm3, xmm4
call fcn.00442420
mov ecx, dword [esp + 0x34]
inc esi
cmp esi, ecx
jl 0x456330
movsd xmm0, qword [0x5ba2b0]
mov eax, dword [esp + 0x20]
mov edx, dword [esp + 0x2c]
inc eax
addsd xmm2, xmm0
mov dword [esp + 0x20], eax
cmp eax, edx
jl 0x456310
mov esi, dword [esp + 0x24]
mov ecx, dword [esp + 0x1c]
push 9
push ebx
call fcn.004bf430
movsd xmm2, qword [0x5ba2b0]
jmp 0x4563bd
lea eax, [esp + 0x34]
mov dword [esp + 0x34], 9
push eax
mov ecx, ebx
call fcn.004bd680
mov ebx, eax
mov eax, dword [ebp + 8]
movsd xmm0, qword [0x5ba2a8]
add eax, 0x58
mov dword [esp + 0x20], eax
movsd xmm1, qword [eax]
comisd xmm0, xmm1
jbe 0x4565fa
mov ecx, ebx
call fcn.00442ed0
sub esp, 8
movd xmm0, eax
cvtdq2pd xmm0, xmm0
divsd xmm0, xmm1
movsd qword [esp + 0x60], xmm0
fld qword [esp + 0x60]
fstp qword [esp]
call fcn.00574040
mov ecx, dword [esp + 0x24]
add esp, 8
fstp qword [esp + 0x50]
cvttsd2si eax, qword [esp + 0x50]
push eax
push dword [esp + 0x24]
push 6
push esi
call fcn.00455a90
mov ecx, eax
mov dword [esp + 0x34], eax
call fcn.00442ec0
mov dword [esp + 0x28], eax
sub esp, 8
mov eax, dword [ebp + 8]
movsd xmm0, qword [eax + 0x18]
movsd qword [esp + 0x48], xmm0
addsd xmm0, qword [0x5b9bf0]
movsd qword [esp + 0x60], xmm0
fld qword [esp + 0x60]
fstp qword [esp]
call fcn.00578690
cvttsd2si ecx, qword [esp + 0x58]
xor eax, eax
add esp, 8
mov dword [esp + 0x2c], eax
movsd xmm1, qword [esp + 0x40]
fstp qword [esp + 0x58]
subsd xmm1, qword [esp + 0x58]
movsd qword [esp + 0x40], xmm1
test ecx, ecx
jle 0x4565e2
mov ecx, dword [esp + 0x20]
xorps xmm0, xmm0
mov edx, dword [esp + 0x28]
xor esi, esi
test edx, edx
jle 0x4565c5
addsd xmm1, xmm0
sub esp, 8
movaps xmm0, xmm1
movsd qword [esp + 0x60], xmm1
addsd xmm0, qword [0x5b9bf0]
movsd qword [esp + 0x40], xmm0
fld qword [esp + 0x40]
fstp qword [esp]
call fcn.00578690
movd xmm0, edi
cvtdq2pd xmm0, xmm0
fstp qword [esp + 0x40]
movsd xmm1, qword [esp + 0x40]
mulsd xmm1, xmm0
movsd xmm0, qword [esp + 0x50]
addsd xmm0, qword [0x5b9bf0]
movsd qword [esp + 0x70], xmm1
movsd qword [esp + 0x68], xmm1
movsd qword [esp + 0x40], xmm0
fld qword [esp + 0x40]
fstp qword [esp]
call fcn.00578690
add esp, 8
call fcn.00575570
movsd xmm1, qword [esp + 0x58]
mov dword [esp + 0x38], eax
call fcn.00443750
movsd qword [esp + 0x70], xmm0
nop dword [eax + eax]
mov ecx, dword [esp + 0x30]
lea eax, [esp + 0x60]
push edi
push eax
push esi
call fcn.004433d0
mov ecx, dword [esp + 0x24]
lea eax, [esp + 0x68]
push edi
push eax
push esi
movaps xmm2, xmm0
call fcn.004433d0
mov eax, dword [esp + 0x20]
subsd xmm2, xmm0
movsd xmm1, qword [esp + 0x58]
addsd xmm1, qword [eax]
mulsd xmm2, qword [0x5ba020]
movsd qword [esp + 0x78], xmm2
call fcn.00443750
addsd xmm0, qword [esp + 0x70]
push dword [esp + 0x38]
movsd xmm3, qword [esp + 0x7c]
mov ecx, ebx
push esi
mulsd xmm3, xmm0
call fcn.004433b0
push dword [esp + 0x2c]
mov ecx, dword [esp + 0x38]
addsd xmm3, xmm0
push esi
call fcn.00442420
inc esi
cmp esi, dword [esp + 0x28]
jl 0x456530
movsd xmm0, qword [esp + 0x48]
movsd xmm1, qword [esp + 0x40]
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x28]
cvttsd2si esi, qword [esp + 0x50]
inc eax
mov dword [esp + 0x2c], eax
addsd xmm0, qword [ecx]
movsd qword [esp + 0x48], xmm0
cmp eax, esi
jl 0x456495
mov ecx, dword [esp + 0x1c]
push 6
push dword [esp + 0x38]
call fcn.004bf430
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov esi, dword [esp + 0x1c]
lea eax, [esp + 0x38]
push eax
mov ecx, esi
mov dword [esp + 0x3c], 6
call fcn.004b4d40
test al, al
jne 0x45668b
mov ecx, ebx
call fcn.00442ed0
push eax
mov dword [esp + 0x38], eax
mov ecx, esi
lea eax, [esp + 0x7c]
movsd qword [esp + 0x7c], xmm2
push eax
push 6
push ebx
call fcn.00455a90
mov ecx, eax
mov dword [esp + 0x30], ecx
call fcn.00442ec0
mov edi, eax
xor esi, esi
mov eax, dword [esp + 0x34]
test eax, eax
jle 0x45667f
nop
xor edx, edx
test edi, edi
jle 0x456676
push esi
push edx
mov ecx, ebx
call fcn.004433b0
mov ecx, dword [esp + 0x30]
movaps xmm3, xmm0
push esi
push edx
call fcn.00442420
inc edx
cmp edx, edi
jl 0x456656
mov eax, dword [esp + 0x34]
inc esi
cmp esi, eax
jl 0x456650
mov ecx, dword [esp + 0x30]
push 6
push ecx
mov ecx, dword [esp + 0x24]
call fcn.004bf430
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4