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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x114
mov eax, dword [0x71a00c]
xor eax, esp
mov dword [esp + 0x110], eax
push ebx
mov eax, ecx
push esi
push edi
mov dword [esp + 0xc0], eax
mov ecx, dword [eax + 0x30]
mov edx, dword [eax + 0x2c]
add eax, 0x34
push eax
push ecx
push edx
lea eax, [esp + 0xb8]
mov dword [esp + 0x70], ecx
push eax
mov dword [esp + 0xb8], edx
call fcn.00523e50
mov edx, dword [esp + 0xb8]
test edx, edx
jle 0x524992
mov ebx, dword [esp + 0xbc]
test ebx, ebx
jle 0x524992
mov edi, dword [ebp + 0x10]
mov ecx, dword [edi + 0x14]
call fcn.00533410
mov ecx, dword [edi + 0x14]
mov edx, ebx
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [esp + 0x18], xmm0
call fcn.00533450
movaps xmm2, xmm0
lea ecx, [esp + 0xd8]
movd xmm1, eax
mov eax, dword [edi]
cvtdq2ps xmm1, xmm1
lea esi, [eax + 0x5c]
lea edx, [eax + 4]
push esi
movaps xmm3, xmm1
movss dword [esp + 0x14], xmm1
call fcn.0053e2d0
movd xmm1, dword [esp + 0xbc]
lea ecx, [esp + 0xec]
movss xmm0, dword [esp + 0x1c]
add esp, 4
movss xmm3, dword [esp + 0x10]
cvtdq2ps xmm1, xmm1
push esi
addss xmm0, xmm1
movaps xmm2, xmm0
movss dword [esp + 0x34], xmm0
call fcn.0053e2d0
movd xmm1, dword [esp + 0xc0]
lea ecx, [esp + 0xfc]
movss xmm0, dword [esp + 0x14]
add esp, 4
movss xmm2, dword [esp + 0x18]
cvtdq2ps xmm1, xmm1
push esi
addss xmm0, xmm1
movaps xmm3, xmm0
movss dword [esp + 0x14], xmm0
call fcn.0053e2d0
movss xmm3, dword [esp + 0x14]
lea ecx, [esp + 0x10c]
movss xmm2, dword [esp + 0x34]
add esp, 4
push esi
call fcn.0053e2d0
movss xmm1, dword [esp + 0xe4]
add esp, 4
movaps xmm0, xmm1
subss xmm0, dword [esp + 0xf0]
call fcn.004909c0
movss xmm2, dword [0x6db820]
comiss xmm0, xmm2
jae 0x524092
movaps xmm0, xmm1
subss xmm0, dword [esp + 0x100]
call fcn.004909c0
comiss xmm0, xmm2
jae 0x524092
subss xmm1, dword [esp + 0x110]
movaps xmm0, xmm1
call fcn.004909c0
comiss xmm0, xmm2
jae 0x524092
xor bh, bh
jmp 0x524094
mov bh, 1
movss xmm7, dword [esp + 0xf8]
cvttss2si ecx, dword [esp + 0xd8]
movss xmm6, dword [esp + 0xfc]
movss xmm0, dword [esp + 0xe8]
movss xmm3, dword [esp + 0x108]
movss xmm5, dword [esp + 0xdc]
movss xmm4, dword [esp + 0xec]
movss xmm1, dword [esp + 0x10c]
cvttss2si eax, xmm7
cmp ecx, eax
jne 0x52410c
cvttss2si ecx, xmm0
cvttss2si eax, xmm3
cmp ecx, eax
jne 0x52410c
cvttss2si ecx, xmm5
cvttss2si eax, xmm4
cmp ecx, eax
jne 0x52410c
cvttss2si ecx, xmm6
cvttss2si eax, xmm1
cmp ecx, eax
jne 0x52410c
xor bl, bl
jmp 0x52410e
mov bl, 1
movss xmm2, dword [esp + 0xd8]
movss dword [esp + 0x58], xmm2
movaps xmm2, xmm7
subss xmm2, xmm0
movss dword [esp + 0x54], xmm0
movss dword [esp + 0x24], xmm3
movss xmm3, dword [esp + 0xdc]
movss dword [esp + 0x44], xmm5
movaps xmm5, xmm6
subss xmm5, xmm3
movss dword [esp + 0x3c], xmm4
movss dword [esp + 0x14], xmm2
movaps xmm2, xmm6
mulss xmm2, xmm0
movaps xmm0, xmm4
mulss xmm0, xmm7
movss dword [esp + 0x5c], xmm1
movaps xmm1, xmm4
movss dword [esp + 0x20], xmm7
subss xmm1, xmm6
subss xmm2, xmm0
movss dword [esp + 0x40], xmm6
movss xmm0, dword [esp + 0xd8]
subss xmm0, xmm7
movss dword [esp + 0x6c], xmm2
movaps xmm2, xmm3
mulss xmm2, xmm7
subss xmm3, xmm4
movss dword [esp + 0x50], xmm0
movaps xmm0, xmm6
mulss xmm0, dword [esp + 0xd8]
subss xmm2, xmm0
movss xmm0, dword [esp + 0xdc]
mulss xmm0, dword [esp + 0xe8]
movss dword [esp + 0x70], xmm2
movss xmm2, dword [esp + 0xe8]
subss xmm2, dword [esp + 0xd8]
movss dword [esp + 0x10], xmm2
movaps xmm2, xmm4
mulss xmm2, dword [esp + 0xd8]
subss xmm2, xmm0
movss xmm0, dword [esp + 0x10c]
movss dword [esp + 0x4c], xmm2
movaps xmm2, xmm0
subss xmm2, xmm6
mulss xmm0, xmm7
movss dword [esp + 0x68], xmm2
movaps xmm2, xmm7
subss xmm2, dword [esp + 0x108]
movss dword [esp + 0x38], xmm2
movaps xmm2, xmm6
mulss xmm2, dword [esp + 0x108]
subss xmm2, xmm0
movaps xmm0, xmm4
subss xmm0, dword [esp + 0x10c]
movss dword [esp + 0x34], xmm2
movss xmm2, dword [esp + 0x108]
subss xmm2, dword [esp + 0xe8]
movss dword [esp + 0x1c], xmm0
movaps xmm0, xmm4
mulss xmm0, dword [esp + 0x108]
movaps xmm4, xmm6
movss dword [esp + 0x2c], xmm2
movss xmm2, dword [esp + 0x10c]
mulss xmm2, dword [esp + 0xe8]
mulss xmm4, dword [esp + 0x2c]
subss xmm2, xmm0
movaps xmm0, xmm7
mulss xmm0, xmm3
movss dword [esp + 0x28], xmm2
movaps xmm2, xmm6
mulss xmm2, dword [esp + 0x10]
addss xmm2, xmm0
movaps xmm0, xmm7
mulss xmm0, dword [esp + 0x1c]
addss xmm2, dword [esp + 0x4c]
addss xmm4, xmm0
movss dword [esp + 0x18], xmm2
addss xmm4, dword [esp + 0x28]
movss xmm2, dword [0x6db820]
movss dword [esp + 0x30], xmm4
comiss xmm2, dword [esp + 0x18]
ja 0x524992
comiss xmm2, xmm4
ja 0x524992
movss xmm2, dword [0x6db910]
movss xmm4, dword [esp + 0x14]
movaps xmm0, xmm2
divss xmm0, dword [esp + 0x18]
mulss xmm4, xmm0
mulss xmm1, xmm0
mulss xmm5, xmm0
movss dword [esp + 0x14], xmm4
movss xmm4, dword [esp + 0x6c]
mulss xmm4, xmm0
mulss xmm3, xmm0
movss dword [esp + 0x7c], xmm1
movss dword [esp + 0x6c], xmm4
movss xmm4, dword [esp + 0x50]
mulss xmm4, xmm0
movss dword [esp + 0x98], xmm5
movss dword [esp + 0x9c], xmm3
movss dword [esp + 0x50], xmm4
movss xmm4, dword [esp + 0x70]
mulss xmm4, xmm0
movss dword [esp + 0x70], xmm4
movss xmm4, dword [esp + 0x10]
mulss xmm4, xmm0
movss dword [esp + 0x10], xmm4
movss xmm4, dword [esp + 0x4c]
mulss xmm4, xmm0
movss dword [esp + 0x4c], xmm4
xorps xmm4, xmm4
movss dword [esp + 0x74], xmm4
movss dword [esp + 0x84], xmm4
movss dword [esp + 0x94], xmm4
movss dword [esp + 0x78], xmm4
movss dword [esp + 0x80], xmm4
movss dword [esp + 0x90], xmm4
test bl, bl
je 0x524432
movaps xmm0, xmm2
movss xmm2, dword [esp + 0x68]
divss xmm0, dword [esp + 0x30]
mulss xmm2, xmm0
movss dword [esp + 0x74], xmm2
movss xmm2, dword [esp + 0x38]
mulss xmm2, xmm0
movss dword [esp + 0x84], xmm2
movss xmm2, dword [esp + 0x34]
mulss xmm2, xmm0
movss dword [esp + 0x94], xmm2
movss xmm2, dword [esp + 0x1c]
mulss xmm2, xmm0
movss dword [esp + 0x78], xmm2
movss xmm2, dword [esp + 0x2c]
mulss xmm2, xmm0
movss dword [esp + 0x80], xmm2
movss xmm2, dword [esp + 0x28]
mulss xmm2, xmm0
movss dword [esp + 0x90], xmm2
movss xmm2, dword [0x6db910]
mov eax, dword [esp + 0xa8]
dec eax
movss dword [esp + 0x18], xmm4
mov dword [esp + 0x68], eax
mov eax, dword [esp + 0x64]
dec eax
movss dword [esp + 0x8c], xmm4
mov dword [esp + 0x30], eax
movss dword [esp + 0xa4], xmm4
movss dword [esp + 0x34], xmm4
movss dword [esp + 0x64], xmm4
movss dword [esp + 0x38], xmm4
movss dword [esp + 0xa0], xmm4
movss dword [esp + 0x1c], xmm4
movss dword [esp + 0x88], xmm4
test bh, bh
je 0x524541
movaps xmm0, xmm2
divss xmm0, dword [esp + 0xe4]
movss dword [esp + 0xa0], xmm0
mulss xmm0, xmm4
movss dword [esp + 0x18], xmm0
movaps xmm0, xmm2
divss xmm0, dword [esp + 0xf4]
movaps xmm6, xmm0
movss dword [esp + 0x1c], xmm0
movd xmm0, dword [esp + 0xb8]
cvtdq2ps xmm0, xmm0
mulss xmm6, xmm0
movaps xmm0, xmm2
divss xmm0, dword [esp + 0x104]
movss dword [esp + 0x8c], xmm6
movaps xmm2, xmm0
movss xmm6, dword [esp + 0xfc]
mulss xmm2, xmm4
movss dword [esp + 0x88], xmm0
movss dword [esp + 0xa4], xmm2
movss xmm2, dword [esp + 0x18]
movss dword [esp + 0x34], xmm2
movss xmm2, dword [esp + 0x1c]
mulss xmm2, xmm4
movss dword [esp + 0x64], xmm2
movaps xmm2, xmm0
movd xmm0, dword [esp + 0xbc]
cvtdq2ps xmm0, xmm0
mulss xmm2, xmm0
movss dword [esp + 0x38], xmm2
comiss xmm7, dword [esp + 0x108]
lea eax, [esp + 0x20]
mov dword [esp + 0xc4], vtable.common::CRect.0
lea ecx, [esp + 0x24]
lea edx, [esp + 0x58]
lea esi, [esp + 0x24]
lea edi, [esp + 0x44]
movss xmm2, dword [esp + 0xe8]
movss xmm0, dword [esp + 0xd8]
cmovbe ecx, eax
lea eax, [esp + 0x54]
comiss xmm0, xmm2
cmovbe eax, edx
lea edx, [esp + 0x54]
movss xmm0, dword [eax]
comiss xmm0, dword [ecx]
movss xmm0, dword [esp + 0x108]
cmova eax, ecx
lea ecx, [esp + 0x5c]
comiss xmm0, xmm7
cvttss2si eax, dword [eax]
movss xmm7, dword [esp + 0x10c]
mov dword [esp + 0x60], eax
lea eax, [esp + 0x20]
cmovbe esi, eax
movss xmm0, dword [esp + 0xdc]
comiss xmm2, dword [esp + 0xd8]
lea eax, [esp + 0x58]
movss xmm2, dword [esp + 0xec]
cmovbe edx, eax
lea eax, [esp + 0x40]
comiss xmm6, xmm7
cmovbe ecx, eax
lea eax, [esp + 0x3c]
comiss xmm0, xmm2
cmovbe eax, edi
movss xmm0, dword [eax]
comiss xmm0, dword [ecx]
movss xmm0, dword [esi]
cmova eax, ecx
lea ecx, [esp + 0x5c]
comiss xmm7, xmm6
cvttss2si edi, dword [eax]
lea eax, [esp + 0x40]
cmovbe ecx, eax
lea eax, [esp + 0x3c]
comiss xmm2, dword [esp + 0xdc]
mov dword [esp + 0x48], edi
lea edi, [esp + 0x44]
cmovbe eax, edi
mov edi, dword [esp + 0x48]
comiss xmm0, dword [edx]
mov dword [esp + 0xcc], edi
movss xmm0, dword [ecx]
cmova edx, esi
cvttss2si esi, dword [edx]
mov edx, dword [esp + 0x60]
mov dword [esp + 0xc8], edx
sub esi, edx
comiss xmm0, dword [eax]
mov dword [esp + 0xd0], esi
cmova eax, ecx
lea ecx, [esp + 0xc4]
cvttss2si eax, dword [eax]
sub eax, edi
mov edi, dword [ebp + 0xc]
push edi
push dword [ebp + 8]
mov dword [esp + 0xdc], eax
call fcn.00403440
test al, al
je 0x524992
movss dword [esp + 0x20], xmm4
movss dword [esp + 0x24], xmm4
test bl, bl
je 0x5246ac
movss xmm0, dword [esp + 0x74]
movss dword [esp + 0x20], xmm0
movss xmm0, dword [esp + 0x78]
movss dword [esp + 0x24], xmm0
movss dword [esp + 0x28], xmm4
movss dword [esp + 0x2c], xmm4
test bh, bh
jne 0x524716
movd xmm0, dword [esp + 0xb8]
movaps xmm2, xmm5
cvtdq2ps xmm0, xmm0
mulss xmm1, xmm4
mulss xmm2, xmm0
movaps xmm0, xmm3
mulss xmm0, xmm4
addss xmm2, xmm1
addss xmm2, xmm0
movaps xmm0, xmm3
movss dword [esp + 0x28], xmm2
movaps xmm2, xmm5
mulss xmm2, xmm4
addss xmm2, xmm1
movd xmm1, dword [esp + 0xbc]
cvtdq2ps xmm1, xmm1
mulss xmm0, xmm1
movss xmm1, dword [esp + 0x7c]
addss xmm2, xmm0
movss dword [esp + 0x2c], xmm2
movss xmm6, dword [esp + 0x84]
movss xmm7, dword [esp + 0x80]
movss dword [esp + 0x44], xmm4
movss dword [esp + 0x3c], xmm4
test bl, bl
je 0x524744
movss dword [esp + 0x44], xmm6
movss dword [esp + 0x3c], xmm7
mov eax, dword [esp + 0x48]
movss dword [esp + 0x48], xmm4
movss dword [esp + 0x40], xmm4
movd xmm2, eax
cvtdq2ps xmm2, xmm2
movaps xmm0, xmm2
mulss xmm0, dword [esp + 0x14]
addss xmm0, dword [esp + 0x6c]
movss dword [esp + 0x5c], xmm0
movaps xmm0, xmm2
mulss xmm0, dword [esp + 0x50]
addss xmm0, dword [esp + 0x70]
movss dword [esp + 0x58], xmm0
movaps xmm0, xmm2
mulss xmm0, dword [esp + 0x10]
addss xmm0, dword [esp + 0x4c]
movss dword [esp + 0x54], xmm0
test bl, bl
je 0x5247ca
movaps xmm0, xmm2
mulss xmm0, xmm6
addss xmm0, dword [esp + 0x94]
movss dword [esp + 0x48], xmm0
movaps xmm0, xmm2
mulss xmm0, xmm7
addss xmm0, dword [esp + 0x90]
movss dword [esp + 0x40], xmm0
mov edx, dword [esp + 0x60]
movaps xmm2, xmm4
movd xmm0, edx
cvtdq2ps xmm0, xmm0
movaps xmm6, xmm0
movaps xmm7, xmm0
mulss xmm6, xmm1
movaps xmm1, xmm0
mulss xmm1, xmm3
movaps xmm3, xmm4
mulss xmm7, xmm5
movss dword [esp + 0x60], xmm1
test bl, bl
je 0x52480c
movaps xmm2, xmm0
movaps xmm3, xmm0
mulss xmm2, dword [esp + 0x74]
mulss xmm3, dword [esp + 0x78]
addss xmm6, dword [esp + 0x5c]
addss xmm7, dword [esp + 0x58]
sub edi, eax
movd xmm0, edi
cvtdq2ps xmm0, xmm0
movaps xmm1, xmm0
movaps xmm5, xmm0
mulss xmm1, dword [esp + 0x14]
mulss xmm5, dword [esp + 0x10]
addss xmm1, xmm6
movaps xmm6, xmm0
movss xmm0, dword [esp + 0x60]
mulss xmm6, dword [esp + 0x50]
addss xmm0, dword [esp + 0x54]
movss dword [esp + 0x14], xmm1
addss xmm6, xmm7
movaps xmm7, xmm4
addss xmm5, xmm0
movaps xmm0, xmm4
movss dword [esp + 0x10], xmm0
test bl, bl
je 0x52489a
addss xmm3, dword [esp + 0x40]
addss xmm2, dword [esp + 0x48]
movd xmm0, edi
cvtdq2ps xmm0, xmm0
movaps xmm7, xmm0
mulss xmm0, dword [esp + 0x3c]
mulss xmm7, dword [esp + 0x44]
addss xmm0, xmm3
addss xmm7, xmm2
movss dword [esp + 0x10], xmm0
movaps xmm2, xmm4
movaps xmm3, xmm4
test bh, bh
jne 0x5248f2
movd xmm0, dword [esp + 0xb8]
movaps xmm2, xmm6
cvtdq2ps xmm0, xmm0
mulss xmm1, xmm4
movaps xmm3, xmm6
mulss xmm2, xmm0
movaps xmm0, xmm5
mulss xmm3, xmm4
addss xmm2, xmm1
mulss xmm0, xmm4
addss xmm3, xmm1
movd xmm1, dword [esp + 0xbc]
cvtdq2ps xmm1, xmm1
addss xmm2, xmm0
movaps xmm0, xmm5
mulss xmm0, xmm1
movss xmm1, dword [esp + 0x14]
addss xmm3, xmm0
xor ecx, ecx
test esi, esi
jle 0x524992
mov edi, dword [ebp + 8]
nop
movss xmm0, dword [esp + 0x10]
test bl, bl
je 0x52493e
comiss xmm4, xmm6
ja 0x52491e
comiss xmm4, xmm5
ja 0x52491e
comiss xmm4, xmm7
ja 0x52491e
comiss xmm4, xmm0
jbe 0x52493e
addss xmm1, dword [esp + 0x7c]
addss xmm6, dword [esp + 0x98]
addss xmm5, dword [esp + 0x9c]
movss dword [esp + 0x14], xmm1
jmp 0x524967
lea eax, [ecx + edx]
cmp eax, edi
je 0x5249ab
addss xmm1, dword [esp + 0x7c]
addss xmm6, dword [esp + 0x98]
addss xmm5, dword [esp + 0x9c]
movss dword [esp + 0x14], xmm1
test bl, bl
je 0x524979
addss xmm0, dword [esp + 0x24]
addss xmm7, dword [esp + 0x20]
movss dword [esp + 0x10], xmm0
test bh, bh
jne 0x524989
addss xmm3, dword [esp + 0x2c]
addss xmm2, dword [esp + 0x28]
inc ecx
cmp ecx, esi
jl 0x524900
xor al, al
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x110]
xor ecx, esp
call fcn.0066bc45
mov esp, ebp
pop ebp
ret 0x10
cmp esi, ecx
jle 0x524992
test bh, bh
je 0x524a40
movss xmm4, dword [esp + 0x14]
movaps xmm1, xmm6
mulss xmm1, dword [esp + 0x1c]
movaps xmm0, xmm4
mulss xmm0, dword [esp + 0xa0]
movaps xmm2, xmm6
movss xmm7, dword [0x6db910]
movaps xmm3, xmm6
mulss xmm2, dword [esp + 0x8c]
addss xmm1, xmm0
mulss xmm3, dword [esp + 0x64]
movaps xmm0, xmm5
mulss xmm0, dword [esp + 0x88]
addss xmm1, xmm0
movaps xmm0, xmm4
mulss xmm0, dword [esp + 0x18]
mulss xmm4, dword [esp + 0x34]
divss xmm7, xmm1
addss xmm2, xmm0
movaps xmm0, xmm5
mulss xmm0, dword [esp + 0xa4]
addss xmm3, xmm4
mulss xmm5, dword [esp + 0x38]
addss xmm2, xmm0
addss xmm3, xmm5
mulss xmm2, xmm7
mulss xmm3, xmm7
cvttss2si eax, xmm2
lea ecx, [esp + 0x68]
lea edx, [esp + 0x38]
lea esi, [esp + 0x30]
cmp eax, dword [esp + 0x68]
mov dword [esp + 0x38], eax
cmovge edx, ecx
lea ecx, [esp + 0x34]
cvttss2si eax, xmm3
cmp eax, dword [esp + 0x30]
mov dword [esp + 0x34], eax
cmovge ecx, esi
mov eax, dword [ecx]
mov ecx, dword [edx]
xor edx, edx
test eax, eax
cmovg edx, eax
xor eax, eax
imul edx, dword [esp + 0xa8]
test ecx, ecx
cmovg eax, ecx
mov ecx, dword [esp + 0xc0]
add edx, eax
mov eax, dword [ecx + 0x24]
sub eax, dword [ecx + 0x20]
cmp eax, edx
jle 0x524992
mov eax, dword [ecx + 0x20]
mov ecx, dword [esp + 0x11c]
pop edi
pop esi
cmp byte [edx + eax], 0
pop ebx
setne al
xor ecx, esp
call fcn.0066bc45
mov esp, ebp
pop ebp
ret 0x10