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

Disassembly:
sub esp, 0x74
mov eax, dword [0x67c3c0]
xor eax, esp
mov dword [esp + 0x70], eax
mov edx, dword [esp + 0x78]
mov eax, dword [esp + 0x80]
push edi
mov edi, dword [0x682080]
test byte [edx + 8], 0x42
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x8c]
mov dword [esp + 0x38], edx
mov dword [esp + 0xc], eax
mov dword [esp + 0x14], edi
jne 0x41b8ac
cmp byte [edx + 0xa0], 0
jg 0x41b8ac
cmp byte [edx + 0xa1], 0
jg 0x41b8ac
cmp byte [edx + 0x8b], 0
je 0x41b8ac
movss xmm2, dword [edi + 0x1930]
xor eax, eax
movss xmm0, dword [edx + 0x44]
movaps xmm1, xmm2
addss xmm0, dword [0x5cbff0]
mulss xmm2, dword [0x5cbfb4]
mov cl, byte [edi + 0xb4]
mulss xmm1, dword [0x5cbffc]
test cl, cl
push esi
addss xmm0, xmm2
mov byte [esp + 0x4b], 0
mov esi, 4
cmovne eax, esi
mov dword [esp + 0x30], eax
maxss xmm1, xmm0
cvttss2si eax, xmm1
movd xmm0, eax
cvtdq2ps xmm0, xmm0
mulss xmm0, dword [0x5cbfe0]
cvttss2si esi, xmm0
je 0x41aee7
movss xmm0, dword [0x5cc018]
jmp 0x41aeea
xorps xmm0, xmm0
movss dword [esp + 0x1c], xmm0
movss xmm0, dword [0x5cc058]
push str.RESIZE
movss dword [esp + 0x48], xmm0
movss dword [esp + 0x44], xmm0
movss dword [esp + 0x3c], xmm0
movss dword [esp + 0x54], xmm0
mov dword [edx + 0x140], 1
call fcn.00415640
xor ecx, ecx
add esp, 4
mov dword [esp + 0x4c], ecx
cmp dword [esp + 0x8c], ecx
jle 0x41b314
nop word [eax + eax]
mov eax, dword [esp + 0x3c]
lea edx, [ecx + ecx*2]
xorps xmm6, xmm6
mov dword [esp + 0x34], edx
cvtsi2ss xmm6, esi
movss xmm0, dword [eax + 0xc]
movss xmm1, dword [eax + 0x10]
movaps xmm3, xmm0
addss xmm3, dword [eax + 0x14]
movaps xmm2, xmm1
addss xmm2, dword [eax + 0x18]
subss xmm3, xmm0
subss xmm2, xmm1
mulss xmm3, dword [edx*8 + 0x668cf0]
mulss xmm2, dword [edx*8 + 0x668cf4]
addss xmm3, xmm0
movss xmm0, dword [edx*8 + 0x668cf8]
movaps xmm5, xmm0
mulss xmm0, dword [esp + 0x1c]
addss xmm2, xmm1
mulss xmm5, xmm6
movss xmm1, dword [edx*8 + 0x668cfc]
movaps xmm4, xmm1
mulss xmm1, dword [esp + 0x1c]
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 0x41aff3
movss dword [esp + 0x64], xmm5
movss dword [esp + 0x6c], xmm3
comiss xmm2, xmm4
jbe 0x41b004
movss dword [esp + 0x68], xmm4
movss dword [esp + 0x70], xmm2
push 0x40800
lea edx, [esp + 0x7b]
push edx
lea edx, [esp + 0x7e]
push edx
push ecx
mov ecx, eax
call fcn.0040e030
push eax
lea eax, [esp + 0x74]
push eax
call fcn.00431580
mov dl, byte [esp + 0x8a]
add esp, 0x14
mov cl, byte [esp + 0x77]
test dl, dl
jne 0x41b040
test cl, cl
je 0x41b2e3
mov eax, dword [esp + 0x4c]
not eax
and eax, 1
add eax, 5
mov dword [edi + 0x1e38], eax
test cl, cl
je 0x41b2e3
cmp byte [edi + 0x3dd], 0
je 0x41b0bb
cmp dword [esp + 0x4c], 0
jne 0x41b0bb
push dword [esp + 0x84]
lea eax, [esp + 0xc]
push dword [esp + 0x40]
push eax
call fcn.0040b6a0
add esp, 0xc
mov byte [esp + 0x4b], 1
movss xmm0, dword [eax]
movss dword [esp + 0x38], xmm0
movss xmm0, dword [eax + 4]
movss dword [esp + 0x50], xmm0
call fcn.0040bd10
mov cl, byte [esp + 0x77]
mov dl, byte [esp + 0x76]
test cl, cl
je 0x41b403
mov ecx, 0x20
jmp 0x41b40d
mov edx, dword [esp + 0x34]
xorps xmm3, xmm3
cvtsi2ss xmm3, esi
mov ecx, dword [esp + 0x94]
movss xmm2, dword [edx*8 + 0x668cfc]
xorps xmm3, xmmword [0x5cc0b0]
movaps xmm1, xmm2
mulss xmm1, dword [esp + 0x1c]
movss xmm6, dword [edx*8 + 0x668cf8]
movss xmm5, dword [edx*8 + 0x668cf4]
movaps xmm0, xmm6
mulss xmm0, dword [esp + 0x1c]
movss xmm4, dword [edx*8 + 0x668cf0]
movss xmm7, dword [edi + 0xe8]
subss xmm7, dword [edi + 0x1bf4]
mulss xmm2, xmm3
mulss xmm6, xmm3
subss xmm2, xmm1
subss xmm6, xmm0
mulss xmm2, xmm5
mulss xmm6, xmm4
addss xmm2, xmm1
movss xmm1, dword [0x5cbff0]
ucomiss xmm5, xmm1
addss xmm6, xmm0
movss xmm0, dword [edi + 0xe4]
subss xmm0, dword [edi + 0x1bf0]
lahf
addss xmm7, xmm2
addss xmm6, xmm0
movss xmm0, dword [0x5cc064]
test ah, 0x44
jp 0x41b172
movss xmm5, dword [ecx + 4]
jmp 0x41b175
movaps xmm5, xmm0
ucomiss xmm4, xmm1
lahf
test ah, 0x44
jp 0x41b184
movss xmm4, dword [ecx]
jmp 0x41b187
movaps xmm4, xmm0
movss xmm1, dword [edx*8 + 0x668cf4]
xorps xmm0, xmm0
ucomiss xmm1, xmm0
movss xmm1, dword [0x5cc058]
lahf
test ah, 0x44
jp 0x41b1ab
movss xmm2, dword [ecx + 0xc]
jmp 0x41b1ae
movaps xmm2, xmm1
movss xmm3, dword [edx*8 + 0x668cf0]
ucomiss xmm3, xmm0
lahf
test ah, 0x44
jp 0x41b1c5
movss xmm1, dword [ecx + 8]
comiss xmm5, xmm7
ja 0x41b1d1
movaps xmm5, xmm2
minss xmm5, xmm7
comiss xmm4, xmm6
ja 0x41b1dd
movaps xmm4, xmm1
minss xmm4, xmm6
mov eax, dword [esp + 0x3c]
lea ecx, [esp + 0x28]
movss xmm6, dword [edx*8 + 0x668cf4]
push ecx
push eax
movss xmm0, dword [eax + 0xc]
movss xmm1, dword [eax + 0x10]
movaps xmm2, xmm0
addss xmm0, dword [eax + 0x14]
subss xmm2, xmm4
mulss xmm2, xmm3
movaps xmm3, xmm1
addss xmm1, dword [eax + 0x18]
subss xmm3, xmm5
addss xmm2, xmm4
subss xmm4, xmm0
lea eax, [esp + 0x28]
push eax
mulss xmm3, xmm6
mulss xmm4, dword [edx*8 + 0x668cf0]
addss xmm3, xmm5
movss dword [esp + 0x50], xmm2
subss xmm5, xmm1
addss xmm4, xmm0
movss dword [esp + 0x4c], xmm3
mulss xmm5, xmm6
subss xmm4, xmm2
addss xmm5, xmm1
movss dword [esp + 0x34], xmm4
subss xmm5, xmm3
movss dword [esp + 0x38], xmm5
call fcn.0040b6a0
mov edx, dword [esp + 0x40]
add esp, 0xc
xorps xmm2, xmm2
movss xmm0, dword [edx*8 + 0x668cf0]
ucomiss xmm0, xmm2
movss xmm0, dword [esp + 0x20]
movss dword [esp + 0x38], xmm0
lahf
test ah, 0x44
jp 0x41b2a7
subss xmm0, dword [esp + 0x28]
movss xmm1, dword [esp + 0x44]
subss xmm1, xmm0
movss dword [esp + 0x44], xmm1
movss xmm0, dword [edx*8 + 0x668cf4]
ucomiss xmm0, xmm2
movss xmm0, dword [esp + 0x24]
movss dword [esp + 0x50], xmm0
lahf
test ah, 0x44
jp 0x41b2db
subss xmm0, dword [esp + 0x2c]
movss xmm1, dword [esp + 0x40]
subss xmm1, xmm0
movss dword [esp + 0x40], xmm1
mov cl, byte [esp + 0x77]
mov dl, byte [esp + 0x76]
cmp dword [esp + 0x4c], 0
je 0x41b0a9
test cl, cl
jne 0x41b0b1
test dl, dl
jne 0x41b403
mov ecx, dword [esp + 0x4c]
inc ecx
mov dword [esp + 0x4c], ecx
cmp ecx, dword [esp + 0x8c]
jl 0x41af40
xor edi, edi
cmp dword [esp + 0x30], edi
jbe 0x41b63d
mov edx, dword [esp + 0x3c]
lea eax, [esp + 0x54]
sub esp, 8
movd xmm0, esi
cvtdq2ps xmm0, xmm0
mov dword [esp + 4], 0x40800000
movss dword [esp], xmm0
push edi
push edx
push eax
call fcn.0040e6f0
add esp, 0x14
lea eax, [esp + 0x77]
mov ecx, edx
push 0x800
push eax
lea eax, [esp + 0x7e]
push eax
lea eax, [edi + 4]
push eax
call fcn.0040e030
push eax
lea eax, [esp + 0x64]
push eax
call fcn.00431580
mov dl, byte [esp + 0x8b]
add esp, 0x14
cmp byte [esp + 0x76], 0
mov ecx, dword [esp + 0x18]
je 0x41b395
movss xmm0, dword [ecx + 0x1bc0]
comiss xmm0, dword [0x5cbfa4]
ja 0x41b39d
test dl, dl
je 0x41b632
mov eax, edi
and eax, 1
add eax, 3
mov dword [ecx + 0x1e38], eax
test dl, dl
je 0x41b632
mov eax, dword [esp + 0x14]
mov dword [eax], edi
mov eax, dword [esp + 0x3c]
movss xmm1, dword [eax + 0xc]
movss xmm0, dword [eax + 0x10]
test edi, edi
jne 0x41b450
movss xmm0, dword [ecx + 0xe8]
subss xmm0, dword [ecx + 0x1bf4]
mov ecx, dword [esp + 0x94]
movss xmm3, dword [0x5cc064]
movaps xmm2, xmm3
addss xmm0, dword [0x5cc018]
movss xmm4, dword [ecx + 0xc]
jmp 0x41b51e
xor ecx, ecx
test dl, dl
setne cl
add ecx, 0x1e
mov eax, dword [0x682080]
add ecx, ecx
movups xmm0, xmmword [eax + ecx*8 + 0x15dc]
movups xmmword [esp + 0x54], xmm0
shufps xmm0, xmm0, 0xff
mulss xmm0, dword [eax + 0x1518]
lea eax, [esp + 0x54]
push eax
movss dword [esp + 0x64], xmm0
call fcn.0040c080
mov ecx, dword [esp + 0x50]
add esp, 4
mov edx, dword [esp + 0x10]
mov dword [edx + ecx*4], eax
jmp 0x41b302
movss xmm4, dword [0x5cc058]
cmp edi, 1
jne 0x41b495
movss xmm1, dword [ecx + 0xe4]
subss xmm1, dword [ecx + 0x1bf0]
mov ecx, dword [esp + 0x94]
movss xmm7, dword [0x5cbff0]
movss xmm3, dword [0x5cc064]
addss xmm1, dword [0x5cc018]
movss xmm2, dword [ecx]
jmp 0x41b521
cmp edi, 2
jne 0x41b4d3
movss xmm0, dword [ecx + 0xe8]
xorps xmm7, xmm7
subss xmm0, dword [ecx + 0x1bf4]
mov ecx, dword [esp + 0x94]
movss xmm6, dword [0x5cbff0]
movss xmm2, dword [0x5cc064]
addss xmm0, dword [0x5cc018]
movss xmm3, dword [ecx + 4]
jmp 0x41b524
movss xmm3, dword [0x5cc064]
cmp edi, 3
jne 0x41b51b
movss xmm1, dword [ecx + 0xe4]
xorps xmm7, xmm7
subss xmm1, dword [ecx + 0x1bf0]
mov ecx, dword [esp + 0x94]
xorps xmm6, xmm6
movss xmm2, dword [ecx + 8]
addss xmm1, dword [0x5cc018]
movss dword [esp + 0x34], xmm2
movaps xmm2, xmm3
movss xmm5, dword [esp + 0x34]
jmp 0x41b52c
movaps xmm2, xmm3
xorps xmm7, xmm7
xorps xmm6, xmm6
movss xmm5, dword [0x5cc058]
comiss xmm3, xmm0
movss dword [esp + 0x50], xmm6
movss dword [esp + 0x4c], xmm7
ja 0x41b544
movaps xmm3, xmm4
minss xmm3, xmm0
comiss xmm2, xmm1
ja 0x41b550
movaps xmm2, xmm5
minss xmm2, xmm1
movss xmm0, dword [eax + 0xc]
lea ecx, [esp + 0x28]
movss xmm1, dword [eax + 0x10]
movaps xmm4, xmm0
addss xmm0, dword [eax + 0x14]
subss xmm4, xmm2
movaps xmm5, xmm1
addss xmm1, dword [eax + 0x18]
subss xmm5, xmm3
push ecx
push eax
mulss xmm4, xmm7
lea eax, [esp + 0x28]
push eax
mulss xmm5, xmm6
addss xmm4, xmm2
subss xmm2, xmm0
addss xmm5, xmm3
subss xmm3, xmm1
movss dword [esp + 0x50], xmm4
mulss xmm2, xmm7
mulss xmm3, xmm6
addss xmm2, xmm0
movss dword [esp + 0x4c], xmm5
addss xmm3, xmm1
subss xmm2, xmm4
subss xmm3, xmm5
movss dword [esp + 0x34], xmm2
movss dword [esp + 0x38], xmm3
call fcn.0040b6a0
movss xmm0, dword [esp + 0x58]
add esp, 0xc
xorps xmm2, xmm2
ucomiss xmm0, xmm2
movss xmm0, dword [esp + 0x20]
movss dword [esp + 0x38], xmm0
lahf
test ah, 0x44
jp 0x41b601
subss xmm0, dword [esp + 0x28]
movss xmm1, dword [esp + 0x44]
subss xmm1, xmm0
movss dword [esp + 0x44], xmm1
movss xmm0, dword [esp + 0x50]
ucomiss xmm0, xmm2
movss xmm0, dword [esp + 0x24]
movss dword [esp + 0x50], xmm0
lahf
test ah, 0x44
jp 0x41b632
subss xmm0, dword [esp + 0x2c]
movss xmm1, dword [esp + 0x40]
subss xmm1, xmm0
movss dword [esp + 0x40], xmm1
inc edi
cmp edi, dword [esp + 0x30]
jl 0x41b320
mov eax, dword [0x682080]
mov edi, dword [esp + 0x3c]
mov esi, dword [esp + 0x18]
mov eax, dword [eax + 0x1b94]
dec dword [eax + 0xc0]
mov dword [edi + 0x140], 0
mov eax, dword [esi + 0x1e00]
test eax, eax
je 0x41b7ee
cmp dword [eax + 0x320], edi
jne 0x41b7ee
mov eax, dword [esi + 0x1d28]
cmp eax, 2
jne 0x41b6aa
cmp byte [esi + 0xfd], 0
je 0x41b7ee
sub esp, 8
mov dword [esp + 4], 0
mov dword [esp], 0
push 0
push 1
jmp 0x41b6c9
cmp eax, 3
jne 0x41b7ee
sub esp, 8
mov dword [esp + 4], 0
mov dword [esp], 0
push 0
push 2
lea eax, [esp + 0x18]
push eax
call fcn.0040e360
add esp, 0x14
xorps xmm2, xmm2
movss xmm4, dword [eax]
movss xmm3, dword [eax + 4]
ucomiss xmm4, xmm2
lahf
test ah, 0x44
jp 0x41b6f8
ucomiss xmm3, xmm2
lahf
test ah, 0x44
jnp 0x41b7f1
movss xmm1, dword [esi + 0xa8]
minss xmm1, dword [esi + 0xac]
movss xmm0, dword [esi + 0x18]
mulss xmm0, dword [0x5cc04c]
mulss xmm1, xmm0
cvttss2si eax, xmm1
movd xmm1, eax
mov eax, dword [esp + 0x94]
cvtdq2ps xmm1, xmm1
movss xmm0, dword [eax]
subss xmm0, dword [edi + 0xc]
mulss xmm4, xmm1
mulss xmm3, xmm1
subss xmm0, dword [edi + 0x14]
maxss xmm4, xmm0
movss xmm0, dword [eax + 4]
subss xmm0, dword [edi + 0x10]
movss dword [esp + 0x14], xmm4
subss xmm0, dword [edi + 0x18]
mov byte [esi + 0x1e14], 0
mov byte [esi + 0x1d4b], 1
mov eax, dword [0x682080]
maxss xmm3, xmm0
movups xmm0, xmmword [eax + 0x17dc]
movups xmmword [esp + 0x54], xmm0
shufps xmm0, xmm0, 0xff
mulss xmm0, dword [eax + 0x1518]
lea eax, [esp + 0x54]
push eax
movss dword [esp + 0x34], xmm3
movss dword [esp + 0x64], xmm0
call fcn.0040c080
mov ecx, dword [esp + 0x14]
movss xmm0, dword [esp + 0x18]
mov dword [ecx], eax
lea eax, [esp + 0x24]
addss xmm0, dword [edi + 0x1c]
push eax
lea eax, [esp + 0x10]
push edi
push eax
movss dword [esp + 0x30], xmm0
movss xmm0, dword [esp + 0x40]
addss xmm0, dword [edi + 0x20]
movss dword [esp + 0x34], xmm0
call fcn.0040b6a0
add esp, 0x10
xorps xmm2, xmm2
movss xmm0, dword [eax]
movss dword [esp + 0x38], xmm0
movss xmm0, dword [eax + 4]
jmp 0x41b7f7
xorps xmm2, xmm2
movss xmm0, dword [esp + 0x50]
movss xmm1, dword [0x5cc058]
movss xmm3, dword [esp + 0x38]
ucomiss xmm3, xmm1
pop esi
lahf
test ah, 0x44
jnp 0x41b83a
test dword [edi + 8], 0x100
movss dword [edi + 0x1c], xmm3
movss dword [edi + 0x20], xmm0
mov ecx, dword [0x682080]
jne 0x41b83a
comiss xmm2, dword [ecx + 0x2e94]
jb 0x41b83a
mov eax, dword [ecx + 0x1c]
mov dword [ecx + 0x2e94], eax
movss xmm0, dword [esp + 0x40]
ucomiss xmm0, xmm1
lahf
test ah, 0x44
jnp 0x41b88c
test dword [edi + 8], 0x100
cvttss2si eax, xmm0
movd xmm1, eax
cvttss2si eax, dword [esp + 0x3c]
cvtdq2ps xmm1, xmm1
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [edi + 0xc], xmm1
movss dword [edi + 0x10], xmm0
mov edx, dword [0x682080]
jne 0x41b88c
comiss xmm2, dword [edx + 0x2e94]
jb 0x41b88c
mov ecx, dword [edx + 0x1c]
mov dword [edx + 0x2e94], ecx
mov ecx, dword [edi + 0x1c]
mov edx, dword [edi + 0x20]
mov al, byte [esp + 0x47]
mov dword [edi + 0x14], ecx
mov dword [edi + 0x18], edx
pop edi
mov ecx, dword [esp + 0x70]
xor ecx, esp
call fcn.0059a5ad
add esp, 0x74
ret
mov ecx, dword [esp + 0x74]
xor al, al
pop edi
xor ecx, esp
call fcn.0059a5ad
add esp, 0x74
ret