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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x70
mov eax, dword [0x1026a5dc]
xor eax, esp
mov dword [esp + 0x6c], eax
mov eax, dword [ebp + 8]
push esi
push edi
mov edi, ecx
mov dword [esp + 0x58], eax
mov eax, dword [ebp + 0x10]
mov dword [esp + 0x54], eax
mov eax, dword [0x102c26dc]
test byte [edi + 8], 0x42
mov dword [esp + 0x30], edx
mov dword [esp + 0x14], edi
mov dword [esp + 0x34], eax
jne 0x1005a1e9
cmp byte [edi + 0xa8], 0
jg 0x1005a1e9
cmp byte [edi + 0xa9], 0
jg 0x1005a1e9
cmp byte [edi + 0x8f], 0
je 0x1005a1e9
movss xmm2, dword [eax + 0x3bb4]
xor edx, edx
movss xmm0, dword [edi + 0x48]
movaps xmm1, xmm2
addss xmm0, dword [0x1025b00c]
mulss xmm2, dword [0x1025afb4]
mov esi, 4
mov cl, byte [eax + 0x66]
mulss xmm1, dword [0x1025b038]
test cl, cl
mov byte [esp + 0xf], 0
addss xmm0, xmm2
cmovne edx, esi
mov dword [esp + 0x50], edx
maxss xmm1, xmm0
cvttss2si eax, xmm1
movd xmm0, eax
cvtdq2ps xmm0, xmm0
mulss xmm0, dword [0x1025afec]
cvttss2si esi, xmm0
je 0x100597a3
movss xmm0, dword [0x1025b0ac]
jmp 0x100597a6
xorps xmm0, xmm0
movss dword [esp + 0x18], xmm0
mov ecx, str.RESIZE
movss xmm0, dword [0x1025b2a4]
movaps xmm1, xmm0
movss dword [esp + 0x24], xmm0
movss dword [esp + 0x28], xmm0
movss dword [esp + 0x20], xmm1
movss dword [esp + 0x10], xmm0
mov dword [edi + 0x12c], 1
call fcn.1005e580
xor edx, edx
mov dword [esp + 0x1c], edx
cmp dword [ebp + 0xc], edx
jle 0x10059c0b
movss xmm0, dword [edi + 0x10]
lea eax, [edx + edx*2]
movss xmm1, dword [edi + 0x14]
movaps xmm3, xmm0
addss xmm3, dword [edi + 0x18]
movaps xmm2, xmm1
mov dword [esp + 0x2c], eax
addss xmm2, dword [edi + 0x1c]
xorps xmm6, xmm6
cvtsi2ss xmm6, esi
subss xmm3, xmm0
subss xmm2, xmm1
mulss xmm3, dword [eax*8 + 0x10248ab8]
mulss xmm2, dword [eax*8 + 0x10248abc]
addss xmm3, xmm0
movss xmm0, dword [eax*8 + 0x10248ac0]
movaps xmm5, xmm0
mulss xmm0, dword [esp + 0x18]
addss xmm2, xmm1
mulss xmm5, xmm6
movss xmm1, dword [eax*8 + 0x10248ac4]
movaps xmm4, xmm1
mulss xmm1, dword [esp + 0x18]
mulss xmm4, xmm6
addss xmm5, xmm3
subss xmm3, xmm0
addss xmm4, xmm2
subss xmm2, xmm1
movss dword [esp + 0x6c], xmm5
comiss xmm3, xmm5
movss dword [esp + 0x64], xmm3
movss dword [esp + 0x68], xmm2
movss dword [esp + 0x70], xmm4
jbe 0x100598a1
movss dword [esp + 0x64], xmm5
movss dword [esp + 0x6c], xmm3
comiss xmm2, xmm4
jbe 0x100598b2
movss dword [esp + 0x68], xmm4
movss dword [esp + 0x70], xmm2
push edx
mov ecx, edi
call fcn.10052f60
mov edi, eax
lea ecx, [esp + 0x64]
push 8
push 0
mov edx, edi
call fcn.1005f570
push 0x40800
lea eax, [esp + 0x19]
mov edx, edi
push eax
lea eax, [esp + 0x1e]
push eax
lea ecx, [esp + 0x78]
call fcn.1007a9b0
mov cl, byte [esp + 0x22]
add esp, 0x14
test cl, cl
jne 0x100598fc
mov al, byte [esp + 0xd]
test al, al
je 0x10059bb7
mov edx, dword [esp + 0x1c]
mov eax, edx
mov ecx, dword [esp + 0x34]
not eax
and eax, 1
add eax, 5
mov dword [ecx + 0x492c], eax
mov al, byte [esp + 0xd]
test al, al
je 0x10059bc1
cmp word [ecx + 0x3702], 2
jne 0x10059980
test edx, edx
jne 0x10059980
push dword [esp + 0x30]
mov edi, dword [esp + 0x18]
lea ecx, [esp + 0x48]
mov edx, edi
call fcn.10058fd0
add esp, 4
mov byte [esp + 0xf], 1
xor edx, edx
xor ecx, ecx
movss xmm0, dword [eax]
movss dword [esp + 0x20], xmm0
movss xmm0, dword [eax + 4]
movss dword [esp + 0x10], xmm0
call fcn.10053120
mov edx, dword [esp + 0x1c]
cmp byte [esp + 0xd], 0
je 0x10059bdd
mov ecx, 0x20
jmp 0x10059be9
mov edi, dword [esp + 0x2c]
movss xmm3, dword [0x1025b00c]
mov edx, dword [ebp + 0x14]
movss xmm2, dword [0x1025b2f8]
movss xmm1, dword [edi*8 + 0x10248abc]
ucomiss xmm1, xmm3
lahf
test ah, 0x44
jp 0x100599b0
movss xmm6, dword [edx + 4]
jmp 0x100599b3
movaps xmm6, xmm2
movss xmm0, dword [edi*8 + 0x10248ab8]
ucomiss xmm0, xmm3
lahf
test ah, 0x44
jp 0x100599cb
movss xmm5, dword [edx]
jmp 0x100599ce
movaps xmm5, xmm2
xorps xmm2, xmm2
ucomiss xmm1, xmm2
movss xmm1, dword [0x1025b2a4]
lahf
test ah, 0x44
jp 0x100599e9
movss xmm7, dword [edx + 0xc]
jmp 0x100599ec
movaps xmm7, xmm1
ucomiss xmm0, xmm2
lahf
test ah, 0x44
jp 0x10059a02
movss xmm0, dword [edx + 8]
movss dword [esp + 0x20], xmm0
jmp 0x10059a08
movss dword [esp + 0x20], xmm1
mov eax, dword [esp + 0x2c]
xorps xmm3, xmm3
cvtsi2ss xmm3, esi
movss xmm4, dword [eax*8 + 0x10248ac0]
xorps xmm3, xmmword [0x1025cf80]
movaps xmm0, xmm4
mulss xmm0, dword [esp + 0x18]
movss xmm2, dword [eax*8 + 0x10248ac4]
mulss xmm4, xmm3
movaps xmm1, xmm2
mulss xmm1, dword [esp + 0x18]
subss xmm4, xmm0
mulss xmm2, xmm3
subss xmm2, xmm1
mulss xmm4, dword [eax*8 + 0x10248ab8]
mulss xmm2, dword [eax*8 + 0x10248abc]
addss xmm4, xmm0
movss xmm0, dword [ecx + 0xdb8]
subss xmm0, dword [ecx + 0x3e88]
addss xmm2, xmm1
addss xmm4, xmm0
movss xmm0, dword [ecx + 0xdbc]
subss xmm0, dword [ecx + 0x3e8c]
addss xmm0, xmm2
comiss xmm6, xmm0
ja 0x10059a9c
movaps xmm6, xmm7
minss xmm6, xmm0
comiss xmm5, xmm4
ja 0x10059aab
movss xmm5, dword [esp + 0x20]
minss xmm5, xmm4
mov edi, dword [esp + 0x14]
lea ecx, [esp + 0x38]
movss xmm4, dword [eax*8 + 0x10248ab8]
mov edx, edi
movss xmm7, dword [eax*8 + 0x10248abc]
lea eax, [esp + 0x5c]
push eax
movss xmm0, dword [edi + 0x10]
movss xmm1, dword [edi + 0x14]
movaps xmm2, xmm0
addss xmm0, dword [edi + 0x18]
subss xmm2, xmm5
movaps xmm3, xmm1
addss xmm1, dword [edi + 0x1c]
subss xmm3, xmm6
mulss xmm2, xmm4
mulss xmm3, xmm7
addss xmm2, xmm5
subss xmm5, xmm0
addss xmm3, xmm6
subss xmm6, xmm1
movss dword [esp + 0x28], xmm2
mulss xmm5, xmm4
mulss xmm6, xmm7
addss xmm5, xmm0
movss dword [esp + 0x2c], xmm3
addss xmm6, xmm1
subss xmm5, xmm2
subss xmm6, xmm3
movss dword [esp + 0x60], xmm5
movss dword [esp + 0x64], xmm6
call fcn.10058fd0
mov ecx, dword [esp + 0x30]
add esp, 4
xorps xmm2, xmm2
movss xmm0, dword [ecx*8 + 0x10248ab8]
ucomiss xmm0, xmm2
movss xmm0, dword [esp + 0x38]
movss dword [esp + 0x20], xmm0
lahf
test ah, 0x44
jp 0x10059b79
subss xmm0, dword [esp + 0x5c]
movss xmm1, dword [esp + 0x24]
subss xmm1, xmm0
movss dword [esp + 0x24], xmm1
movss xmm0, dword [ecx*8 + 0x10248abc]
ucomiss xmm0, xmm2
movss xmm0, dword [esp + 0x3c]
movss dword [esp + 0x10], xmm0
lahf
test ah, 0x44
jp 0x10059bad
subss xmm0, dword [esp + 0x60]
movss xmm1, dword [esp + 0x28]
subss xmm1, xmm0
movss dword [esp + 0x28], xmm1
mov edx, dword [esp + 0x1c]
mov al, byte [esp + 0xd]
jmp 0x10059bc5
mov edi, dword [esp + 0x14]
mov edx, dword [esp + 0x1c]
jmp 0x10059bc9
mov edi, dword [esp + 0x14]
mov cl, byte [esp + 0xe]
test edx, edx
je 0x1005996b
test al, al
jne 0x10059976
test cl, cl
je 0x10059bfd
xor ecx, ecx
cmp byte [esp + 0xe], cl
setne cl
add ecx, 0x1e
movss xmm1, dword [0x1025b00c]
call fcn.10051690
mov ecx, dword [esp + 0x54]
mov dword [ecx + edx*4], eax
inc edx
mov dword [esp + 0x1c], edx
cmp edx, dword [ebp + 0xc]
jl 0x100597f2
xor edi, edi
mov dword [esp + 0x18], edi
cmp dword [esp + 0x50], edi
jbe 0x10059f12
nop dword [eax + eax]
lea eax, [edi*8]
sub eax, edi
shl eax, 2
mov dword [esp + 0x40], eax
test edi, edi
je 0x10059c57
cmp edi, 1
je 0x10059c57
mov dword [esp + 0x2c], 3
lea eax, [esp + 0x60]
mov dword [esp + 0x1c], 0xdbc
mov dword [esp + 0x4c], 0x3e8c
jmp 0x10059c73
mov dword [esp + 0x2c], 4
lea eax, [esp + 0x5c]
mov dword [esp + 0x1c], 0xdb8
mov dword [esp + 0x4c], 0x3e88
mov edx, dword [esp + 0x14]
movd xmm0, esi
push ecx
cvtdq2ps xmm3, xmm0
mov dword [esp], 0x40800000
lea ecx, [esp + 0x68]
push edi
mov dword [esp + 0x38], eax
call fcn.100595b0
add esp, 8
lea eax, [edi + 4]
mov ecx, edx
push eax
call fcn.10052f60
mov edi, eax
lea ecx, [esp + 0x64]
push 8
push 0
mov edx, edi
call fcn.1005f570
push 0x40800
lea eax, [esp + 0x19]
mov edx, edi
push eax
lea eax, [esp + 0x1e]
push eax
lea ecx, [esp + 0x78]
call fcn.1007a9b0
mov dl, byte [esp + 0x21]
add esp, 0x14
cmp byte [esp + 0xe], 0
mov ecx, dword [esp + 0x34]
je 0x10059cf0
movss xmm0, dword [ecx + 0x3e6c]
comiss xmm0, dword [0x1025afa0]
ja 0x10059cf8
test dl, dl
je 0x10059eff
mov eax, dword [esp + 0x2c]
mov edi, dword [esp + 0x18]
mov dword [ecx + 0x492c], eax
test dl, dl
je 0x10059f03
mov eax, dword [esp + 0x58]
mov dword [eax], edi
cmp edi, 3
jne 0x10059eb1
mov eax, dword [ebp + 0x14]
movss xmm3, dword [0x1025b2f8]
movss xmm4, dword [eax + 4]
movss xmm1, dword [0x1025b2a4]
movss xmm2, dword [0x1025b2a4]
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0x1c]
movss xmm0, dword [eax + 0x10]
movss dword [esp + 0x5c], xmm0
movss xmm0, dword [eax + 0x14]
movss dword [esp + 0x60], xmm0
movss xmm0, dword [edx + ecx]
mov edx, dword [esp + 0x4c]
subss xmm0, dword [edx + ecx]
mov ecx, dword [esp + 0x30]
addss xmm0, dword [0x1025b0ac]
movss dword [ecx], xmm0
movss xmm0, dword [esp + 0x60]
comiss xmm4, xmm0
ja 0x10059d8b
movaps xmm4, xmm1
minss xmm4, xmm0
movss xmm0, dword [esp + 0x5c]
comiss xmm3, xmm0
ja 0x10059d9d
movaps xmm3, xmm2
minss xmm3, xmm0
mov ecx, dword [esp + 0x40]
mov edx, eax
movss xmm0, dword [eax + 0x10]
movss xmm1, dword [eax + 0x14]
movaps xmm5, xmm0
addss xmm0, dword [eax + 0x18]
movss xmm7, dword [ecx + 0x10248924]
subss xmm5, xmm3
minss xmm7, dword [ecx + 0x1024892c]
movss xmm2, dword [ecx + 0x10248920]
movaps xmm6, xmm1
minss xmm2, dword [ecx + 0x10248928]
addss xmm1, dword [eax + 0x1c]
subss xmm6, xmm4
lea ecx, [esp + 0x38]
movss dword [esp + 0x30], xmm7
push ecx
mulss xmm5, xmm2
lea ecx, [esp + 0x48]
mulss xmm6, xmm7
addss xmm5, xmm3
movss dword [esp + 0x44], xmm2
subss xmm3, xmm0
addss xmm6, xmm4
subss xmm4, xmm1
movss dword [esp + 0x28], xmm5
mulss xmm3, xmm2
mulss xmm4, xmm7
addss xmm3, xmm0
movss dword [esp + 0x2c], xmm6
addss xmm4, xmm1
subss xmm3, xmm5
subss xmm4, xmm6
movss dword [esp + 0x3c], xmm3
movss dword [esp + 0x40], xmm4
call fcn.10058fd0
movss xmm0, dword [esp + 0x44]
add esp, 4
xorps xmm2, xmm2
ucomiss xmm0, xmm2
movss xmm0, dword [esp + 0x44]
movss dword [esp + 0x20], xmm0
lahf
test ah, 0x44
jp 0x10059e7e
subss xmm0, dword [esp + 0x38]
movss xmm1, dword [esp + 0x24]
subss xmm1, xmm0
movss dword [esp + 0x24], xmm1
movss xmm0, dword [esp + 0x30]
ucomiss xmm0, xmm2
movss xmm0, dword [esp + 0x48]
movss dword [esp + 0x10], xmm0
lahf
test ah, 0x44
jp 0x10059f03
subss xmm0, dword [esp + 0x3c]
movss xmm1, dword [esp + 0x28]
subss xmm1, xmm0
movss dword [esp + 0x28], xmm1
jmp 0x10059f03
movss xmm0, dword [0x1025b2f8]
movaps xmm4, xmm0
cmp edi, 1
jne 0x10059ecd
mov eax, dword [ebp + 0x14]
movss xmm3, dword [eax]
jmp 0x10059d2d
movaps xmm3, xmm0
cmp edi, 2
jne 0x10059ee2
mov eax, dword [ebp + 0x14]
movss xmm1, dword [eax + 0xc]
jmp 0x10059d35
movss xmm1, dword [0x1025b2a4]
test edi, edi
jne 0x10059d35
mov eax, dword [ebp + 0x14]
movss xmm2, dword [eax + 8]
jmp 0x10059d3d
mov edi, dword [esp + 0x18]
inc edi
mov dword [esp + 0x18], edi
cmp edi, dword [esp + 0x50]
jl 0x10059c20
mov esi, dword [0x102c26dc]
mov edx, dword [esp + 0x14]
mov edi, dword [esp + 0x34]
mov eax, dword [esi + 0x3e28]
dec dword [eax + 0xc8]
mov dword [edx + 0x12c], 0
mov eax, dword [edi + 0x4900]
test eax, eax
je 0x1005a11d
cmp dword [eax + 0x2e4], edx
jne 0x1005a11d
mov eax, dword [edi + 0x47dc]
cmp eax, 2
jne 0x10059f8a
cmp byte [edi + 0xdd1], 0
je 0x1005a11d
movss xmm3, dword [esi + 0x2e24]
movss xmm2, dword [esi + 0x2e04]
subss xmm3, dword [esi + 0x2e14]
subss xmm2, dword [esi + 0x2df4]
jmp 0x10059fb3
cmp eax, 3
jne 0x1005a11d
movss xmm3, dword [esi + 0x3504]
movss xmm2, dword [esi + 0x34e4]
subss xmm3, dword [esi + 0x34f4]
subss xmm2, dword [esi + 0x34d4]
xorps xmm7, xmm7
ucomiss xmm2, xmm7
lahf
test ah, 0x44
jp 0x10059fcc
ucomiss xmm3, xmm7
lahf
test ah, 0x44
jnp 0x1005a128
movss xmm1, dword [edi + 0x58]
mov ecx, 0x20
minss xmm1, dword [edi + 0x5c]
movss xmm0, dword [edi + 0x18]
mulss xmm0, dword [0x1025b240]
mov eax, dword [ebp + 0x14]
mulss xmm1, xmm0
mulss xmm2, xmm1
mulss xmm3, xmm1
addss xmm2, dword [edi + 0x4920]
movss xmm1, dword [0x1025b00c]
addss xmm3, dword [edi + 0x4924]
movss dword [edi + 0x4920], xmm2
movss dword [edi + 0x4924], xmm3
movss xmm0, dword [eax]
subss xmm0, dword [edx + 0x10]
subss xmm0, dword [edx + 0x18]
maxss xmm2, xmm0
movss xmm0, dword [eax + 4]
subss xmm0, dword [edx + 0x14]
subss xmm0, dword [edx + 0x1c]
movss dword [edi + 0x4920], xmm2
mov byte [edi + 0x4914], 0
mov byte [edi + 0x47e7], 1
maxss xmm3, xmm0
movss dword [edi + 0x4924], xmm3
call fcn.10051690
mov ecx, dword [esp + 0x54]
mov dword [ecx], eax
cvttss2si esi, dword [edi + 0x4920]
cvttss2si edi, dword [edi + 0x4924]
movd xmm0, esi
cvtdq2ps xmm0, xmm0
movd xmm1, edi
ucomiss xmm0, xmm7
cvtdq2ps xmm1, xmm1
lahf
test ah, 0x44
jp 0x1005a0a1
ucomiss xmm1, xmm7
lahf
test ah, 0x44
jnp 0x1005a130
addss xmm0, dword [edx + 0x20]
lea eax, [esp + 0x44]
push eax
lea ecx, [esp + 0x3c]
movss dword [esp + 0x48], xmm0
movaps xmm0, xmm1
addss xmm0, dword [edx + 0x24]
movss dword [esp + 0x4c], xmm0
call fcn.10058fd0
mov edx, dword [esp + 0x18]
add esp, 4
movd xmm2, esi
xorps xmm7, xmm7
cvtdq2ps xmm2, xmm2
movss xmm1, dword [eax]
movss dword [esp + 0x20], xmm1
movss xmm1, dword [eax + 4]
mov eax, dword [esp + 0x34]
movss xmm0, dword [eax + 0x4920]
subss xmm0, xmm2
movd xmm2, edi
cvtdq2ps xmm2, xmm2
movss dword [eax + 0x4920], xmm0
movss xmm0, dword [eax + 0x4924]
subss xmm0, xmm2
movss dword [eax + 0x4924], xmm0
jmp 0x1005a136
movss xmm1, dword [esp + 0x10]
xorps xmm7, xmm7
jmp 0x1005a13c
movss xmm1, dword [esp + 0x10]
jmp 0x1005a13c
movss xmm1, dword [esp + 0x10]
mov esi, dword [0x102c26dc]
movss xmm2, dword [0x1025b2a4]
movss xmm0, dword [esp + 0x20]
ucomiss xmm0, xmm2
lahf
test ah, 0x44
jnp 0x1005a178
test dword [edx + 8], 0x100
movss dword [edx + 0x20], xmm0
movss dword [edx + 0x24], xmm1
jne 0x1005a178
comiss xmm7, dword [esi + 0x59f0]
jb 0x1005a178
mov eax, dword [esi + 0x1c]
mov dword [esi + 0x59f0], eax
movss xmm0, dword [esp + 0x24]
ucomiss xmm0, xmm2
lahf
test ah, 0x44
jnp 0x1005a1c4
test dword [edx + 8], 0x100
cvttss2si eax, xmm0
movd xmm1, eax
cvttss2si eax, dword [esp + 0x28]
cvtdq2ps xmm1, xmm1
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [edx + 0x10], xmm1
movss dword [edx + 0x14], xmm0
jne 0x1005a1c4
comiss xmm7, dword [esi + 0x59f0]
jb 0x1005a1c4
mov ecx, dword [esi + 0x1c]
mov dword [esi + 0x59f0], ecx
mov esi, dword [esp + 0x14]
mov ecx, dword [edx + 0x20]
mov edx, dword [edx + 0x24]
mov al, byte [esp + 0xf]
mov dword [esi + 0x18], ecx
mov dword [esi + 0x1c], edx
pop edi
pop esi
mov ecx, dword [esp + 0x6c]
xor ecx, esp
call fcn.100e8209
mov esp, ebp
pop ebp
ret
mov ecx, dword [esp + 0x74]
xor al, al
pop edi
pop esi
xor ecx, esp
call fcn.100e8209
mov esp, ebp
pop ebp
ret