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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x78
push ebx
mov ebx, dword [0x46ed48]
push esi
push edi
mov edi, dword [ebp + 8]
cmp byte [edi + 0x7d], 0
movss xmm0, dword [edi + 0x3c]
movss xmm1, dword [edi + 0x40]
mov eax, dword [edi + 8]
mov dword [ebp - 0xc], eax
mov byte [edi + 0x7f], 0
movss dword [ebp + 8], xmm0
movss dword [ebp - 8], xmm1
je 0x412718
cmp byte [ebp + 0x10], 0
movss xmm0, dword [ebx + 0x155c]
movss dword [ebp - 0x14], xmm0
movss dword [ebx + 0x155c], xmm1
je 0x4125c3
cmp byte [ebx + 0x1b8a], 0
mov eax, 0xb
je 0x4125c8
mov eax, 0xc
push ecx
mov dword [esp], 0x3f800000
push eax
call fcn.0040a270
mov ecx, dword [ebp + 0xc]
add esp, 8
mov esi, dword [0x46ed48]
movss xmm1, dword [ebp + 8]
movss xmm0, dword [ecx + 8]
movss dword [ebp - 0x28], xmm0
movss xmm0, dword [ecx + 0xc]
movss dword [ebp - 0x24], xmm0
movss xmm0, dword [ecx]
push 0xf
push ecx
movss dword [ebp - 0x20], xmm0
movss xmm0, dword [ecx + 4]
movss dword [esp], xmm1
push eax
movss dword [ebp - 0x1c], xmm0
lea eax, [ebp - 0x28]
mov edi, dword [esi + 0x1a08]
push eax
lea eax, [ebp - 0x20]
push eax
mov ecx, dword [edi + 0x278]
call fcn.00419320
movss xmm0, dword [esi + 0x155c]
comiss xmm0, dword [0x45b7ec]
movss dword [ebp - 0xc], xmm0
jbe 0x412704
push ecx
mov dword [esp], 0x3f800000
push 6
call fcn.0040a270
movss xmm1, dword [0x45b844]
add esp, 4
movss xmm0, dword [ebp - 0x28]
addss xmm0, xmm1
movss dword [ebp - 0x38], xmm0
movss xmm0, dword [ebp - 0x24]
addss xmm0, xmm1
movss dword [ebp - 0x34], xmm0
movss xmm0, dword [ebp - 0x20]
addss xmm0, xmm1
movss dword [ebp - 0x30], xmm0
movss xmm0, dword [ebp - 0x1c]
addss xmm0, xmm1
movss dword [ebp - 0x2c], xmm0
movss xmm0, dword [ebp - 0xc]
movss dword [esp], xmm0
movss xmm0, dword [ebp + 8]
push 0xf
push ecx
mov ecx, dword [edi + 0x278]
movss dword [esp], xmm0
push eax
lea eax, [ebp - 0x38]
push eax
lea eax, [ebp - 0x30]
push eax
call fcn.00419230
push ecx
mov dword [esp], 0x3f800000
push 5
call fcn.0040a270
movss xmm0, dword [ebp - 0xc]
add esp, 4
movss dword [esp], xmm0
movss xmm0, dword [ebp + 8]
push 0xf
push ecx
mov ecx, dword [edi + 0x278]
movss dword [esp], xmm0
push eax
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x20]
push eax
call fcn.00419230
movss xmm0, dword [ebp - 0x14]
pop edi
pop esi
movss dword [ebx + 0x155c], xmm0
pop ebx
mov esp, ebp
pop ebp
ret
test al, al
js 0x412852
test eax, 0x6000000
je 0x41272e
mov eax, 4
jmp 0x41273b
and eax, 0x1000000
or eax, 0x2000000
shr eax, 0x18
push ecx
mov dword [esp], 0x3f800000
push eax
call fcn.0040a270
add esp, 8
mov edx, eax
test byte [ebx + 0x1a88], 0x40
xorps xmm2, xmm2
je 0x412797
movss xmm1, dword [ebx + 0x1adc]
comiss xmm2, xmm1
jbe 0x41276c
xorps xmm0, xmm0
jmp 0x412778
movss xmm0, dword [0x45b844]
minss xmm0, xmm1
mulss xmm0, dword [0x45b88c]
and edx, 0xffffff
addss xmm0, dword [0x45b81c]
cvttss2si eax, xmm0
shl eax, 0x18
or edx, eax
movss xmm3, dword [edi + 0xc]
movss xmm4, dword [edi + 0x10]
movaps xmm0, xmm3
addss xmm0, dword [edi + 0x14]
mov esi, dword [ebp - 0xc]
mov ecx, esi
and ecx, 1
mov dword [ebp - 4], ecx
movss dword [ebp - 0x40], xmm0
movaps xmm0, xmm4
addss xmm0, dword [edi + 0x18]
movss dword [ebp - 0x3c], xmm0
je 0x4127cd
xorps xmm0, xmm0
jmp 0x412809
mov eax, dword [0x46ed48]
movss xmm1, dword [eax + 0x18d4]
mov eax, dword [edi + 0x2f4]
mulss xmm1, dword [edi + 0x270]
test eax, eax
je 0x4127f4
mulss xmm1, dword [eax + 0x270]
mov eax, dword [0x46ed48]
movss xmm0, dword [eax + 0x1554]
addss xmm0, xmm0
addss xmm0, xmm1
addss xmm0, xmm4
mov dword [ebp - 0x14], 0xf
test ecx, ecx
addss xmm3, xmm2
mov eax, 0xc
cmovne eax, dword [ebp - 0x14]
push eax
push ecx
mov ecx, dword [edi + 0x278]
lea eax, [ebp - 0x40]
movss dword [ebp - 0x44], xmm0
movss xmm0, dword [ebp + 8]
movss dword [esp], xmm0
push edx
push eax
lea eax, [ebp - 0x48]
movss dword [ebp - 0x48], xmm3
push eax
call fcn.00419320
mov eax, dword [ebp - 4]
jmp 0x41285b
mov esi, dword [ebp - 0xc]
and eax, 1
mov dword [ebp - 4], eax
test eax, eax
jne 0x41289b
movzx eax, byte [ebp + 0x10]
push ecx
add eax, 0xa
mov dword [esp], 0x3f800000
push eax
call fcn.0040a270
movss xmm0, dword [ebp + 8]
add esp, 8
push 3
push ecx
mov ecx, dword [ebp + 0xc]
movss dword [esp], xmm0
push eax
lea eax, [ecx + 8]
push eax
push ecx
mov ecx, dword [edi + 0x278]
call fcn.00419320
mov eax, dword [ebp - 4]
test esi, 0x400
je 0x412a8a
mov edx, dword [edi + 8]
mov ecx, dword [0x46ed48]
test dl, 1
je 0x4128ba
xorps xmm2, xmm2
jmp 0x4128ef
movss xmm0, dword [ecx + 0x18d4]
mov edx, dword [edi + 0x2f4]
mulss xmm0, dword [edi + 0x270]
test edx, edx
je 0x4128dc
mulss xmm0, dword [edx + 0x270]
movss xmm2, dword [ecx + 0x1554]
mov edx, dword [edi + 8]
addss xmm2, xmm2
addss xmm2, xmm0
movss xmm5, dword [edi + 0x10]
xorps xmm3, xmm3
addss xmm2, xmm5
test edx, 0x400
je 0x41293f
movss xmm1, dword [ecx + 0x18d4]
mov edx, dword [edi + 0x2f4]
mulss xmm1, dword [edi + 0x270]
test edx, edx
je 0x412925
mulss xmm1, dword [edx + 0x270]
movss xmm0, dword [ecx + 0x1554]
addss xmm1, dword [edi + 0x150]
addss xmm0, xmm0
addss xmm1, xmm0
jmp 0x412942
xorps xmm1, xmm1
movss xmm0, dword [edi + 0xc]
addss xmm1, xmm2
movaps xmm4, xmm0
maxss xmm4, xmm0
movss dword [ebp - 0x14], xmm4
movaps xmm4, xmm2
maxss xmm4, xmm5
addss xmm5, dword [edi + 0x18]
movss dword [ebp - 0x1c], xmm4
movaps xmm4, xmm0
minss xmm1, xmm5
addss xmm4, dword [edi + 0x1c]
addss xmm0, dword [edi + 0x14]
movss dword [ebp - 4], xmm1
movss dword [ebp - 0x6c], xmm1
minss xmm4, xmm0
movss dword [ebp - 0x18], xmm4
movss dword [ebp - 0x70], xmm4
test eax, eax
je 0x4129a1
movss xmm0, dword [ebp + 8]
movss dword [ebp - 0x10], xmm0
jmp 0x4129a6
movss dword [ebp - 0x10], xmm3
push ecx
mov dword [esp], 0x3f800000
push 0xd
call fcn.0040a270
movss xmm0, dword [ebp - 0x18]
xorps xmm1, xmm1
subss xmm0, dword [ebp - 8]
add esp, 8
movss dword [ebp - 0x50], xmm0
movss xmm0, dword [ebp - 4]
subss xmm0, xmm1
push 3
push ecx
mov ecx, dword [edi + 0x278]
movss dword [ebp - 0x4c], xmm0
movss xmm0, dword [ebp - 0x14]
addss xmm0, dword [ebp - 8]
movss dword [ebp - 0x58], xmm0
movss xmm0, dword [ebp - 0x1c]
addss xmm0, xmm1
movss dword [ebp - 0x54], xmm0
movss xmm0, dword [ebp - 0x10]
movss dword [esp], xmm0
push eax
lea eax, [ebp - 0x50]
push eax
lea eax, [ebp - 0x58]
push eax
call fcn.00419320
movss xmm0, dword [ebx + 0x155c]
comiss xmm0, dword [0x45b7ec]
jbe 0x412a8a
movss xmm0, dword [edi + 0x10]
addss xmm0, dword [edi + 0x18]
comiss xmm0, dword [ebp - 4]
jbe 0x412a8a
push ecx
mov dword [esp], 0x3f800000
push 5
call fcn.0040a270
movss xmm0, dword [ebp - 0x14]
add esp, 4
mov ecx, dword [ebp - 0x70]
mov edx, dword [ebp - 0x6c]
movss dword [ebp - 0x68], xmm0
movss xmm0, dword [ebp - 4]
movss dword [ebp - 0x64], xmm0
movss xmm0, dword [ebx + 0x155c]
movss dword [esp], xmm0
push eax
lea eax, [ebp - 0x60]
mov dword [ebp - 0x60], ecx
mov ecx, dword [edi + 0x278]
push eax
lea eax, [ebp - 0x68]
mov dword [ebp - 0x5c], edx
push eax
call fcn.00418610
cmp byte [edi + 0x78], 0
je 0x412a9a
push 0
call fcn.00432fe0
add esp, 4
cmp byte [edi + 0x79], 0
je 0x412aaa
push 1
call fcn.00432fe0
add esp, 4
test byte [ebp - 0xc], 2
jne 0x412da3
xor eax, eax
mov dword [ebp - 0xc], eax
cmp dword [ebp + 0x14], eax
jle 0x412da3
movss xmm4, dword [ebp - 8]
mov ebx, 0x46e014
movaps xmm0, xmm4
mov dword [ebp - 4], ebx
addss xmm0, dword [ebp + 8]
movss dword [ebp - 0x24], xmm0
nop dword [eax]
movss xmm0, dword [edi + 0xc]
and eax, 1
movss xmm1, dword [edi + 0x10]
movaps xmm2, xmm0
addss xmm2, dword [edi + 0x14]
movaps xmm3, xmm1
mov dword [ebp - 0x18], eax
addss xmm3, dword [edi + 0x18]
subss xmm2, xmm0
subss xmm3, xmm1
mulss xmm2, dword [ebx - 0xc]
mulss xmm3, dword [ebx - 8]
mov ebx, dword [edi + 0x278]
addss xmm2, xmm0
addss xmm3, xmm1
movss dword [ebp - 0x14], xmm2
movss dword [ebp - 0x10], xmm3
je 0x412b36
movss xmm1, dword [ebp + 0x1c]
movaps xmm0, xmm4
jmp 0x412b3e
movss xmm0, dword [ebp + 0x1c]
movaps xmm1, xmm4
mov eax, dword [ebp - 4]
mov esi, dword [ebx + 0x58]
mov ecx, dword [ebx + 0x5c]
mulss xmm0, dword [eax - 4]
mulss xmm1, dword [eax]
addss xmm0, xmm2
addss xmm1, xmm3
movss dword [ebp - 0x30], xmm0
movss dword [ebp - 0x2c], xmm1
cmp esi, ecx
jne 0x412c0b
inc esi
test ecx, ecx
je 0x412b7a
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
jmp 0x412b7f
mov eax, 8
cmp eax, esi
cmovg esi, eax
cmp esi, ecx
jle 0x412c0b
mov eax, dword [0x46ed48]
test eax, eax
je 0x412b9b
inc dword [eax + 0x374]
push dword [0x46ed50]
lea eax, [esi*8]
push eax
call dword [section..data]
mov edx, dword [ebx + 0x60]
add esp, 8
mov dword [ebp - 0x1c], eax
test edx, edx
je 0x412bf6
mov ecx, dword [ebx + 0x58]
shl ecx, 3
push ecx
push edx
push eax
call fcn.0043e1a0
mov ecx, dword [ebx + 0x60]
add esp, 0xc
test ecx, ecx
je 0x412be3
mov eax, dword [0x46ed48]
test eax, eax
je 0x412be3
dec dword [eax + 0x374]
push dword [0x46ed50]
push ecx
call dword [0x46e004]
mov eax, dword [ebp - 0x1c]
add esp, 8
movss xmm2, dword [ebp - 0x14]
movss xmm3, dword [ebp - 0x10]
movss xmm4, dword [ebp - 8]
mov dword [ebx + 0x60], eax
mov dword [ebx + 0x5c], esi
mov eax, dword [ebx + 0x58]
mov ecx, dword [ebx + 0x60]
mov edx, dword [ebp - 0x30]
mov esi, dword [ebp - 0x2c]
mov dword [ecx + eax*8], edx
mov dword [ecx + eax*8 + 4], esi
inc dword [ebx + 0x58]
cmp dword [ebp - 0x18], 0
mov ebx, dword [edi + 0x278]
je 0x412c37
movss xmm0, dword [ebp + 0x1c]
movaps xmm1, xmm4
jmp 0x412c3f
movss xmm1, dword [ebp + 0x1c]
movaps xmm0, xmm4
mov eax, dword [ebp - 4]
mov esi, dword [ebx + 0x58]
mov ecx, dword [ebx + 0x5c]
mulss xmm0, dword [eax - 4]
mulss xmm1, dword [eax]
addss xmm0, xmm2
addss xmm1, xmm3
movss dword [ebp - 0x38], xmm0
movss dword [ebp - 0x34], xmm1
cmp esi, ecx
jne 0x412d07
inc esi
test ecx, ecx
je 0x412c7b
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
jmp 0x412c80
mov eax, 8
cmp eax, esi
cmovg esi, eax
cmp esi, ecx
jle 0x412d07
mov eax, dword [0x46ed48]
test eax, eax
je 0x412c9c
inc dword [eax + 0x374]
push dword [0x46ed50]
lea eax, [esi*8]
push eax
call dword [section..data]
mov edx, dword [ebx + 0x60]
add esp, 8
mov dword [ebp - 0x1c], eax
test edx, edx
je 0x412cf7
mov ecx, dword [ebx + 0x58]
shl ecx, 3
push ecx
push edx
push eax
call fcn.0043e1a0
mov ecx, dword [ebx + 0x60]
add esp, 0xc
test ecx, ecx
je 0x412ce4
mov eax, dword [0x46ed48]
test eax, eax
je 0x412ce4
dec dword [eax + 0x374]
push dword [0x46ed50]
push ecx
call dword [0x46e004]
mov eax, dword [ebp - 0x1c]
add esp, 8
movss xmm2, dword [ebp - 0x14]
movss xmm3, dword [ebp - 0x10]
mov dword [ebx + 0x60], eax
mov dword [ebx + 0x5c], esi
mov ecx, dword [ebx + 0x60]
mov eax, dword [ebx + 0x58]
mov edx, dword [ebp - 0x38]
mov esi, dword [ebp - 0x34]
movss xmm0, dword [ebp - 0x24]
mov dword [ecx + eax*8], edx
mov dword [ecx + eax*8 + 4], esi
lea eax, [ebp - 0x70]
inc dword [ebx + 0x58]
mov ebx, dword [ebp - 4]
mulss xmm0, dword [ebx - 4]
push dword [ebx + 8]
push dword [ebx + 4]
addss xmm0, xmm2
push ecx
mov ecx, dword [edi + 0x278]
movss dword [ebp - 0x70], xmm0
movss xmm0, dword [ebp - 0x24]
mulss xmm0, dword [ebx]
addss xmm0, xmm3
movss dword [ebp - 0x6c], xmm0
movss xmm0, dword [ebp + 8]
movss dword [esp], xmm0
push eax
call fcn.0041c130
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp + 0x18]
mov esi, dword [edi + 0x278]
push dword [ecx + eax*4]
mov ecx, esi
push dword [esi + 0x58]
push dword [esi + 0x60]
call fcn.00417a10
mov eax, dword [ebp - 0xc]
add ebx, 0x18
movss xmm4, dword [ebp - 8]
inc eax
mov dword [esi + 0x58], 0
mov dword [ebp - 0xc], eax
mov dword [ebp - 4], ebx
cmp eax, dword [ebp + 0x14]
jl 0x412ae0
push edi
call fcn.00412dc0
add esp, 4
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret