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

Disassembly:
sub esp, 0x68
mov edx, dword [0x6815a8]
push edi
mov edi, dword [esp + 0x70]
mov dword [esp + 0x54], edx
test byte [edi + 8], 0x42
jne 0x48547f
cmp byte [edi + 0xdc], 0
jg 0x48547f
cmp byte [edi + 0xdd], 0
jg 0x48547f
cmp byte [edi + 0xc4], 0
je 0x48547f
movss xmm2, dword [edx + 0x3c98]
xor eax, eax
movss xmm0, dword [edi + 0x78]
movaps xmm1, xmm2
addss xmm0, dword [0x672010]
mulss xmm2, dword [0x54715c]
mov cl, byte [edx + 0x65]
mulss xmm1, dword [0x54719c]
test cl, cl
push esi
addss xmm0, xmm2
mov byte [esp + 0x6d], 0
mov esi, 4
cmovne eax, esi
mov dword [esp + 0x44], eax
maxss xmm1, xmm0
cvttss2si eax, xmm1
movd xmm0, eax
cvtdq2ps xmm0, xmm0
mulss xmm0, dword [0x54717c]
cvttss2si esi, xmm0
je 0x4849df
movss xmm0, dword [0x672034]
jmp 0x4849e2
xorps xmm0, xmm0
test dword [edx + 0xc], 0x800
movss dword [esp + 0x50], xmm0
movss xmm0, dword [0x5471cc]
movss dword [esp + 0x64], xmm0
movss dword [esp + 0x60], xmm0
movss dword [esp + 0x54], xmm0
movss dword [esp + 0x68], xmm0
je 0x484a25
mov eax, dword [edx + 0xd70]
cmp eax, dword [edi + 0x30]
jne 0x484a25
mov eax, dword [edi + 0x2c]
test byte [eax + 4], 8
jne 0x484a60
mov eax, dword [edi + 0x2c]
movss xmm0, dword [eax + 0xc]
movss xmm1, dword [eax + 8]
movss dword [esp + 0x18], xmm1
addss xmm1, dword [eax + 0x10]
movss dword [esp + 0x1c], xmm0
addss xmm0, dword [eax + 0x14]
movss dword [esp + 0x20], xmm1
movss dword [esp + 0x24], xmm0
movups xmm0, xmmword [esp + 0x18]
movups xmmword [edi + 0x22c], xmm0
push str.RESIZE
mov dword [edi + 0x160], 1
call fcn.0047c770
xor eax, eax
add esp, 4
mov dword [esp + 0x5c], eax
cmp dword [esp + 0x80], eax
jle 0x484eea
nop word [eax + eax]
movss xmm0, dword [edi + 0x40]
lea ecx, [eax + eax*2]
movss xmm1, dword [edi + 0x44]
movaps xmm4, xmm0
addss xmm4, dword [edi + 0x48]
movaps xmm2, xmm1
mov dword [esp + 0x4c], ecx
addss xmm2, dword [edi + 0x4c]
xorps xmm6, xmm6
cvtsi2ss xmm6, esi
subss xmm4, xmm0
subss xmm2, xmm1
mulss xmm4, dword [ecx*8 + 0x545bd8]
mulss xmm2, dword [ecx*8 + 0x545bdc]
addss xmm4, xmm0
movss xmm0, dword [ecx*8 + 0x545be0]
movaps xmm5, xmm0
mulss xmm0, dword [esp + 0x50]
addss xmm2, xmm1
mulss xmm5, xmm6
movss xmm1, dword [ecx*8 + 0x545be4]
movaps xmm3, xmm1
mulss xmm1, dword [esp + 0x50]
mulss xmm3, xmm6
addss xmm5, xmm4
subss xmm4, xmm0
addss xmm3, xmm2
subss xmm2, xmm1
movss dword [esp + 0x20], xmm5
comiss xmm4, xmm5
movss dword [esp + 0x18], xmm4
movss dword [esp + 0x1c], xmm2
movss dword [esp + 0x24], xmm3
jbe 0x484b3f
movss dword [esp + 0x18], xmm5
movss dword [esp + 0x20], xmm4
comiss xmm2, xmm3
jbe 0x484b50
movss dword [esp + 0x1c], xmm3
movss dword [esp + 0x24], xmm2
push eax
mov ecx, edi
call fcn.00474ce0
mov ecx, eax
mov eax, dword [0x6815a8]
cmp dword [eax + 0x3f40], ecx
jne 0x484b6d
mov dword [eax + 0x3f44], ecx
cmp dword [eax + 0x3f68], ecx
jne 0x484b7c
mov byte [eax + 0x3f6c], 1
push 0x40800
lea eax, [esp + 0x73]
push eax
lea eax, [esp + 0x76]
push eax
push ecx
lea eax, [esp + 0x28]
push eax
call fcn.0049a1c0
mov dl, byte [esp + 0x82]
add esp, 0x14
mov cl, byte [esp + 0x6f]
test dl, dl
jne 0x484bb0
test cl, cl
je 0x484e73
mov eax, dword [esp + 0x5c]
mov edi, dword [esp + 0x58]
not eax
and eax, 1
add eax, 5
mov dword [edi + 0x4290], eax
mov edi, dword [esp + 0x74]
test cl, cl
je 0x484e73
mov ecx, dword [esp + 0x58]
cmp word [ecx + 0x3682], 2
jne 0x484c3c
cmp dword [esp + 0x5c], 0
jne 0x484c3c
push dword [esp + 0x78]
lea eax, [esp + 0x2c]
push edi
push eax
call fcn.00469e10
push 0
push 0
mov byte [esp + 0x81], 1
movss xmm0, dword [eax]
movss dword [esp + 0x68], xmm0
movss xmm0, dword [eax + 4]
movss dword [esp + 0x7c], xmm0
call fcn.00480330
mov cl, byte [esp + 0x83]
add esp, 0x14
mov dl, byte [esp + 0x6e]
test cl, cl
je 0x484e8b
mov ecx, 0x20
jmp 0x484e95
mov eax, dword [esp + 0x4c]
movss xmm2, dword [0x672010]
mov edx, dword [esp + 0x88]
movss xmm1, dword [0x5471dc]
movss xmm0, dword [eax*8 + 0x545bdc]
ucomiss xmm0, xmm2
lahf
test ah, 0x44
jp 0x484c70
movss xmm6, dword [edx + 4]
jmp 0x484c73
movaps xmm6, xmm1
mov eax, dword [esp + 0x4c]
movss xmm7, dword [eax*8 + 0x545bd8]
ucomiss xmm7, xmm2
lahf
test ah, 0x44
jp 0x484c8f
movss xmm4, dword [edx]
jmp 0x484c92
movaps xmm4, xmm1
xorps xmm1, xmm1
ucomiss xmm0, xmm1
lahf
test ah, 0x44
jp 0x484cb3
movss xmm0, dword [edx + 0xc]
movss dword [esp + 0x54], xmm0
movss xmm0, dword [0x5471cc]
jmp 0x484cc1
movss xmm0, dword [0x5471cc]
movss dword [esp + 0x54], xmm0
ucomiss xmm7, xmm1
lahf
test ah, 0x44
jp 0x484ccf
movss xmm0, dword [edx + 8]
mov eax, dword [esp + 0x4c]
xorps xmm3, xmm3
movss dword [esp + 0x60], xmm0
cvtsi2ss xmm3, esi
movss xmm5, dword [eax*8 + 0x545be0]
xorps xmm3, xmmword [0x6722f0]
movaps xmm0, xmm5
mulss xmm0, dword [esp + 0x50]
movss xmm2, dword [eax*8 + 0x545be4]
mulss xmm5, xmm3
movaps xmm1, xmm2
mulss xmm1, dword [esp + 0x50]
subss xmm5, xmm0
mulss xmm2, xmm3
subss xmm2, xmm1
mulss xmm5, xmm7
mulss xmm2, dword [eax*8 + 0x545bdc]
addss xmm5, xmm0
movss xmm0, dword [ecx + 0xd58]
subss xmm0, dword [ecx + 0x3f54]
addss xmm2, xmm1
addss xmm5, xmm0
movss xmm0, dword [ecx + 0xd5c]
subss xmm0, dword [ecx + 0x3f58]
addss xmm0, xmm2
comiss xmm6, xmm0
ja 0x484d67
movss xmm6, dword [esp + 0x54]
minss xmm6, xmm0
comiss xmm4, xmm5
ja 0x484d76
movss xmm4, dword [esp + 0x60]
minss xmm4, xmm5
movss xmm0, dword [edi + 0x40]
movss xmm1, dword [edi + 0x44]
movaps xmm2, xmm0
movss xmm5, dword [eax*8 + 0x545bdc]
subss xmm2, xmm4
addss xmm0, dword [edi + 0x48]
movaps xmm3, xmm1
lea eax, [esp + 0x38]
addss xmm1, dword [edi + 0x4c]
subss xmm3, xmm6
mulss xmm2, xmm7
push eax
lea eax, [esp + 0x34]
push edi
mulss xmm3, xmm5
addss xmm2, xmm4
push eax
subss xmm4, xmm0
addss xmm3, xmm6
subss xmm6, xmm1
movss dword [esp + 0x70], xmm2
mulss xmm4, xmm7
movss dword [esp + 0x6c], xmm3
mulss xmm6, xmm5
addss xmm4, xmm0
addss xmm6, xmm1
subss xmm4, xmm2
subss xmm6, xmm3
movss dword [esp + 0x44], xmm4
movss dword [esp + 0x48], xmm6
call fcn.00469e10
mov ecx, dword [esp + 0x58]
add esp, 0xc
xorps xmm2, xmm2
movss xmm0, dword [ecx*8 + 0x545bd8]
ucomiss xmm0, xmm2
movss xmm0, dword [esp + 0x30]
movss dword [esp + 0x54], xmm0
lahf
test ah, 0x44
jp 0x484e37
subss xmm0, dword [esp + 0x38]
movss xmm1, dword [esp + 0x64]
subss xmm1, xmm0
movss dword [esp + 0x64], xmm1
movss xmm0, dword [ecx*8 + 0x545bdc]
ucomiss xmm0, xmm2
movss xmm0, dword [esp + 0x34]
movss dword [esp + 0x68], xmm0
lahf
test ah, 0x44
jp 0x484e6b
subss xmm0, dword [esp + 0x3c]
movss xmm1, dword [esp + 0x60]
subss xmm1, xmm0
movss dword [esp + 0x60], xmm1
mov cl, byte [esp + 0x6f]
mov dl, byte [esp + 0x6e]
mov eax, dword [esp + 0x5c]
test eax, eax
je 0x484c2a
test cl, cl
jne 0x484c32
test dl, dl
je 0x484ed8
xor ecx, ecx
test dl, dl
setne cl
add ecx, 0x1e
mov eax, dword [0x6815a8]
add ecx, ecx
movups xmm0, xmmword [eax + ecx*8 + 0x391c]
movups xmmword [esp + 8], xmm0
shufps xmm0, xmm0, 0xff
mulss xmm0, dword [eax + 0x3854]
lea eax, [esp + 8]
push eax
movss dword [esp + 0x18], xmm0
call fcn.0046a830
mov ecx, dword [esp + 0x60]
add esp, 4
mov edx, dword [esp + 0x84]
mov dword [edx + ecx*4], eax
mov eax, ecx
inc eax
mov dword [esp + 0x5c], eax
cmp eax, dword [esp + 0x80]
jl 0x484a90
xor edi, edi
cmp dword [esp + 0x44], edi
jbe 0x4851ba
nop word [eax + eax]
lea eax, [edi*8]
sub eax, edi
shl eax, 2
mov dword [esp + 0x40], eax
test edi, edi
je 0x484f37
cmp edi, 1
je 0x484f37
mov dword [esp + 0x4c], 3
lea eax, [esp + 0x3c]
mov dword [esp + 0x50], 0xd5c
mov dword [esp + 0x5c], 0x3f58
jmp 0x484f53
mov dword [esp + 0x4c], 4
lea eax, [esp + 0x38]
mov dword [esp + 0x50], 0xd58
mov dword [esp + 0x5c], 0x3f54
mov edx, dword [esp + 0x74]
sub esp, 8
movd xmm0, esi
cvtdq2ps xmm0, xmm0
mov dword [esp + 0x50], eax
lea eax, [esp + 0x10]
mov dword [esp + 4], 0x40800000
movss dword [esp], xmm0
push edi
push edx
push eax
call fcn.00475490
add esp, 0x14
lea eax, [edi + 4]
mov ecx, edx
push eax
call fcn.00474ce0
mov ecx, eax
mov eax, dword [0x6815a8]
cmp dword [eax + 0x3f40], ecx
jne 0x484fa1
mov dword [eax + 0x3f44], ecx
cmp dword [eax + 0x3f68], ecx
jne 0x484fb0
mov byte [eax + 0x3f6c], 1
push 0x40800
lea eax, [esp + 0x73]
push eax
lea eax, [esp + 0x76]
push eax
push ecx
lea eax, [esp + 0x18]
push eax
call fcn.0049a1c0
mov al, byte [esp + 0x83]
add esp, 0x14
cmp byte [esp + 0x6e], 0
mov ecx, dword [esp + 0x58]
je 0x484ff0
movss xmm0, dword [ecx + 0x3f38]
comiss xmm0, dword [0x54714c]
ja 0x484ff8
test al, al
je 0x4851af
mov edx, dword [esp + 0x4c]
mov dword [ecx + 0x4290], edx
test al, al
je 0x4851af
mov eax, dword [esp + 0x7c]
mov dword [eax], edi
cmp edi, 3
jne 0x48522b
mov eax, dword [esp + 0x88]
movss xmm4, dword [0x5471dc]
movss xmm3, dword [eax + 4]
movss xmm1, dword [0x5471cc]
movss xmm5, dword [0x5471cc]
mov eax, dword [esp + 0x74]
mov edx, dword [esp + 0x50]
movss xmm0, dword [eax + 0x40]
movss dword [esp + 0x38], xmm0
movss xmm0, dword [eax + 0x44]
movss dword [esp + 0x3c], xmm0
movss xmm0, dword [edx + ecx]
mov edx, dword [esp + 0x5c]
subss xmm0, dword [edx + ecx]
mov ecx, dword [esp + 0x48]
addss xmm0, dword [0x672034]
movss dword [ecx], xmm0
movss xmm0, dword [esp + 0x3c]
comiss xmm3, xmm0
ja 0x48508b
movaps xmm3, xmm1
minss xmm3, xmm0
movss xmm0, dword [esp + 0x38]
comiss xmm4, xmm0
ja 0x48509d
movaps xmm4, xmm5
minss xmm4, xmm0
mov ecx, dword [esp + 0x40]
movss xmm0, dword [eax + 0x40]
movss xmm1, dword [eax + 0x44]
movaps xmm5, xmm0
addss xmm0, dword [eax + 0x48]
movss xmm7, dword [ecx + 0x545c44]
subss xmm5, xmm4
minss xmm7, dword [ecx + 0x545c4c]
movss xmm2, dword [ecx + 0x545c40]
movaps xmm6, xmm1
minss xmm2, dword [ecx + 0x545c48]
addss xmm1, dword [eax + 0x4c]
subss xmm6, xmm3
lea ecx, [esp + 0x30]
movss dword [esp + 0x48], xmm7
push ecx
mulss xmm5, xmm2
push eax
mulss xmm6, xmm7
lea eax, [esp + 0x30]
push eax
addss xmm5, xmm4
movss dword [esp + 0x4c], xmm2
subss xmm4, xmm0
addss xmm6, xmm3
subss xmm3, xmm1
movss dword [esp + 0x70], xmm5
mulss xmm4, xmm2
mulss xmm3, xmm7
addss xmm4, xmm0
movss dword [esp + 0x6c], xmm6
addss xmm3, xmm1
subss xmm4, xmm5
subss xmm3, xmm6
movss dword [esp + 0x3c], xmm4
movss dword [esp + 0x40], xmm3
call fcn.00469e10
movss xmm0, dword [esp + 0x4c]
add esp, 0xc
xorps xmm2, xmm2
ucomiss xmm0, xmm2
movss xmm0, dword [esp + 0x28]
movss dword [esp + 0x54], xmm0
lahf
test ah, 0x44
jp 0x48517e
subss xmm0, dword [esp + 0x30]
movss xmm1, dword [esp + 0x64]
subss xmm1, xmm0
movss dword [esp + 0x64], xmm1
movss xmm0, dword [esp + 0x48]
ucomiss xmm0, xmm2
movss xmm0, dword [esp + 0x2c]
movss dword [esp + 0x68], xmm0
lahf
test ah, 0x44
jp 0x4851af
subss xmm0, dword [esp + 0x34]
movss xmm1, dword [esp + 0x60]
subss xmm1, xmm0
movss dword [esp + 0x60], xmm1
inc edi
cmp edi, dword [esp + 0x44]
jl 0x484f00
mov eax, dword [0x6815a8]
mov esi, dword [esp + 0x74]
mov edi, dword [esp + 0x58]
mov eax, dword [eax + 0x3f04]
dec dword [eax + 0xfc]
mov dword [esi + 0x160], 0
mov eax, dword [edi + 0x4274]
test eax, eax
je 0x4853cc
cmp dword [eax + 0x32c], esi
jne 0x4853cc
mov eax, dword [edi + 0x4158]
cmp eax, 2
jne 0x48528b
cmp byte [edi + 0xd75], 0
je 0x4853cc
sub esp, 8
mov dword [esp + 4], 0
mov dword [esp], 0
push 0
push 1
jmp 0x4852aa
movss xmm1, dword [0x5471dc]
movaps xmm3, xmm1
movaps xmm0, xmm3
cmp edi, 1
jne 0x48524e
mov eax, dword [esp + 0x88]
movss xmm4, dword [eax]
jmp 0x48502d
movaps xmm4, xmm1
movaps xmm2, xmm4
cmp edi, 2
jne 0x48526a
mov eax, dword [esp + 0x88]
movss xmm1, dword [eax + 0xc]
jmp 0x485035
movss xmm1, dword [0x5471cc]
test edi, edi
jne 0x485035
mov eax, dword [esp + 0x88]
movss xmm5, dword [eax + 8]
jmp 0x48503d
cmp eax, 3
jne 0x4853cc
sub esp, 8
mov dword [esp + 4], 0
mov dword [esp], 0
push 0
push 4
lea eax, [esp + 0x38]
push eax
call fcn.00474f40
add esp, 0x14
xorps xmm4, xmm4
movss xmm2, dword [eax]
movss xmm3, dword [eax + 4]
ucomiss xmm2, xmm4
lahf
test ah, 0x44
jp 0x4852d9
ucomiss xmm3, xmm4
lahf
test ah, 0x44
jnp 0x4853cf
movss xmm1, dword [edi + 0x50]
minss xmm1, dword [edi + 0x54]
movss xmm0, dword [edi + 0x18]
mulss xmm0, dword [0x5471c0]
mulss xmm1, xmm0
cvttss2si eax, xmm1
movd xmm1, eax
mov eax, dword [esp + 0x88]
cvtdq2ps xmm1, xmm1
movss xmm0, dword [eax]
subss xmm0, dword [esi + 0x40]
mulss xmm2, xmm1
mulss xmm3, xmm1
subss xmm0, dword [esi + 0x48]
maxss xmm2, xmm0
movss xmm0, dword [eax + 4]
subss xmm0, dword [esi + 0x44]
movss dword [esp + 0x74], xmm2
subss xmm0, dword [esi + 0x4c]
mov byte [edi + 0x4288], 0
mov byte [edi + 0x4163], 1
mov eax, dword [0x6815a8]
maxss xmm3, xmm0
movups xmm0, xmmword [eax + 0x3b1c]
movups xmmword [esp + 8], xmm0
shufps xmm0, xmm0, 0xff
mulss xmm0, dword [eax + 0x3854]
lea eax, [esp + 8]
push eax
movss dword [esp + 0x44], xmm3
movss dword [esp + 0x18], xmm0
call fcn.0046a830
mov ecx, dword [esp + 0x88]
movss xmm0, dword [esp + 0x78]
mov dword [ecx], eax
lea eax, [esp + 0x2c]
addss xmm0, dword [esi + 0x50]
push eax
lea eax, [esp + 0x38]
push esi
push eax
movss dword [esp + 0x38], xmm0
movss xmm0, dword [esp + 0x50]
addss xmm0, dword [esi + 0x54]
movss dword [esp + 0x3c], xmm0
call fcn.00469e10
add esp, 0x10
xorps xmm4, xmm4
movss xmm0, dword [eax]
movss dword [esp + 0x54], xmm0
movss xmm0, dword [eax + 4]
jmp 0x4853d5
xorps xmm4, xmm4
movss xmm0, dword [esp + 0x68]
movss xmm1, dword [0x5471cc]
movss xmm2, dword [esp + 0x54]
ucomiss xmm2, xmm1
lahf
test ah, 0x44
jnp 0x485417
test dword [esi + 8], 0x100
movss dword [esi + 0x50], xmm2
movss dword [esi + 0x54], xmm0
mov ecx, dword [0x6815a8]
jne 0x485417
comiss xmm4, dword [ecx + 0x5374]
jb 0x485417
mov eax, dword [ecx + 0x1c]
mov dword [ecx + 0x5374], eax
movss xmm0, dword [esp + 0x64]
ucomiss xmm0, xmm1
lahf
test ah, 0x44
jnp 0x485469
test dword [esi + 8], 0x100
cvttss2si eax, xmm0
movd xmm1, eax
cvttss2si eax, dword [esp + 0x60]
cvtdq2ps xmm1, xmm1
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [esi + 0x40], xmm1
movss dword [esi + 0x44], xmm0
mov edx, dword [0x6815a8]
jne 0x485469
comiss xmm4, dword [edx + 0x5374]
jb 0x485469
mov ecx, dword [edx + 0x1c]
mov dword [edx + 0x5374], ecx
mov ecx, dword [esi + 0x50]
mov edx, dword [esi + 0x54]
mov al, byte [esp + 0x6d]
mov dword [esi + 0x48], ecx
mov dword [esi + 0x4c], edx
pop esi
pop edi
add esp, 0x68
ret
xor al, al
pop edi
add esp, 0x68
ret