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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x78
mov eax, dword [0x49a080]
xor eax, esp
mov dword [esp + 0x74], eax
push esi
mov esi, ecx
mov ecx, dword [0x4b5f50]
push edi
mov edi, edx
mov eax, dword [ecx + 0x199c]
mov byte [eax + 0x78], 1
mov edx, dword [ecx + 0x199c]
cmp byte [edx + 0x7b], 0
jne 0x422465
test edi, edi
jne 0x421e15
mov ecx, esi
lea edi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x421e03
sub ecx, edi
lea edi, [esi + ecx]
mov ecx, dword [0x4b5f50]
movss xmm1, dword [edx + 0x16c]
xorps xmm2, xmm2
movss xmm3, dword [edx + 0xec]
mov eax, edi
addss xmm3, dword [edx + 0xc8]
movss xmm5, dword [edx + 0xc4]
comiss xmm1, xmm2
movss dword [esp + 0x28], xmm5
movss dword [esp + 0x20], xmm3
setae byte [esp + 0x13]
sub eax, esi
cmp eax, 0x7d0
jle 0x42218f
cmp byte [esp + 0x13], 0
jne 0x42219a
movups xmm0, xmmword [edx + 0x1c8]
movss xmm4, dword [ecx + 0x18bc]
xorps xmm6, xmm6
movaps xmmword [esp + 0x60], xmm0
xorps xmm1, xmm1
shufps xmm0, xmm0, 0xff
comiss xmm0, xmm3
movss dword [esp + 0x2c], xmm4
movss dword [esp + 0x1c], xmm6
jb 0x42212e
cmp byte [ecx + 0x2c54], 0
movaps xmm1, xmm3
movss dword [esp + 0x30], xmm5
movss dword [esp + 0x34], xmm1
jne 0x421f3d
movss xmm0, dword [esp + 0x64]
subss xmm0, xmm3
divss xmm0, xmm4
cvttss2si edx, xmm0
mov dword [esp + 0xc], edx
test edx, edx
jle 0x421f3d
xor eax, eax
mov dword [esp + 0x18], eax
cmp esi, edi
jae 0x421f28
nop dword [eax]
cmp eax, edx
jge 0x421f0d
mov eax, edi
sub eax, esi
push eax
push 0xa
push esi
call sub.VCRUNTIME140.dll_memchr
mov edx, dword [esp + 0x18]
add esp, 0xc
test eax, eax
cmove eax, edi
lea esi, [eax + 1]
mov eax, dword [esp + 0x18]
inc eax
mov dword [esp + 0x18], eax
cmp esi, edi
jb 0x421ee0
movss xmm5, dword [esp + 0x28]
xorps xmm2, xmm2
movss xmm3, dword [esp + 0x20]
movss xmm4, dword [esp + 0x2c]
mov ecx, dword [0x4b5f50]
movd xmm1, eax
cvtdq2ps xmm1, xmm1
mulss xmm1, xmm4
addss xmm1, xmm3
movss dword [esp + 0x34], xmm1
cmp esi, edi
jae 0x42211a
movaps xmm6, xmm5
movss dword [esp + 0x24], xmm1
addss xmm6, dword [0x48c42c]
movaps xmm2, xmm1
movaps xmm3, xmm1
addss xmm2, xmm4
movss dword [esp + 0x14], xmm6
movss dword [esp + 0xc], xmm2
nop dword [eax]
mov eax, dword [ecx + 0x199c]
comiss xmm2, dword [eax + 0x1cc]
jbe 0x421fa2
movss xmm0, dword [eax + 0x1d4]
comiss xmm0, xmm3
jbe 0x421fa2
comiss xmm6, dword [eax + 0x1c8]
jbe 0x421fa2
movss xmm0, dword [eax + 0x1d0]
comiss xmm0, xmm5
ja 0x421faf
cmp byte [ecx + 0x2c54], 0
je 0x4220c7
mov eax, edi
sub eax, esi
push eax
push 0xa
push esi
call sub.VCRUNTIME140.dll_memchr
mov ecx, dword [0x4b5f50]
add esp, 0xc
test eax, eax
cmove eax, edi
movss xmm0, dword [ecx + 0x18bc]
mov edx, dword [ecx + 0x18b8]
mov dword [esp + 0x18], eax
mov dword [esp + 0x4c], edx
movss dword [esp + 0x54], xmm0
cmp esi, eax
jne 0x421fef
xorps xmm1, xmm1
jmp 0x42204f
movss xmm3, dword [0x48c42c]
movaps xmm2, xmm0
push ecx
push eax
push esi
push ecx
lea eax, [esp + 0x68]
mov dword [esp], 0xbf800000
push eax
mov ecx, edx
call fcn.0041fe90
movss xmm0, dword [esp + 0x58]
comiss xmm0, dword [0x48c198]
jbe 0x422032
mov eax, dword [esp + 0x4c]
movss xmm1, dword [esp + 0x54]
divss xmm1, dword [eax]
subss xmm0, xmm1
addss xmm0, dword [0x48c208]
cvttss2si eax, xmm0
movd xmm1, eax
mov eax, dword [esp + 0x18]
cvtdq2ps xmm1, xmm1
movss dword [esp + 0x58], xmm1
push dword [esp + 0x34]
maxss xmm1, dword [esp + 0x20]
push dword [esp + 0x34]
mov edx, eax
mov ecx, esi
push 0
movss dword [esp + 0x28], xmm1
call fcn.00403550
movss xmm4, dword [esp + 0x38]
add esp, 0xc
movss xmm3, dword [esp + 0x24]
movss xmm2, dword [esp + 0xc]
addss xmm3, xmm4
movss xmm1, dword [esp + 0x34]
addss xmm2, xmm4
mov esi, dword [esp + 0x18]
addss xmm1, xmm4
inc esi
movss dword [esp + 0x24], xmm3
movss dword [esp + 0xc], xmm2
movss dword [esp + 0x34], xmm1
cmp esi, edi
jae 0x4220c7
movss xmm5, dword [esp + 0x28]
movss xmm6, dword [esp + 0x14]
mov ecx, dword [0x4b5f50]
jmp 0x421f70
xor eax, eax
mov dword [esp + 0xc], eax
cmp esi, edi
jae 0x422102
mov eax, edi
sub eax, esi
push eax
push 0xa
push esi
call sub.VCRUNTIME140.dll_memchr
add esp, 0xc
test eax, eax
cmove eax, edi
lea esi, [eax + 1]
mov eax, dword [esp + 0xc]
inc eax
mov dword [esp + 0xc], eax
cmp esi, edi
jb 0x4220d1
movss xmm1, dword [esp + 0x34]
movss xmm4, dword [esp + 0x2c]
movss xmm3, dword [esp + 0x20]
xorps xmm2, xmm2
movd xmm0, eax
cvtdq2ps xmm0, xmm0
mulss xmm0, xmm4
addss xmm1, xmm0
movss xmm5, dword [esp + 0x28]
subss xmm1, xmm3
movss xmm6, dword [esp + 0x1c]
addss xmm1, xmm2
addss xmm1, xmm3
movss dword [esp + 0x60], xmm5
addss xmm6, xmm5
movss dword [esp + 0x64], xmm3
lea ecx, [esp + 0x58]
movss dword [esp + 0x6c], xmm1
subss xmm1, xmm3
movss dword [esp + 0x68], xmm6
subss xmm6, xmm5
movss dword [esp + 0x5c], xmm1
xorps xmm1, xmm1
movss dword [esp + 0x58], xmm6
call fcn.00404a40
push 0
xor edx, edx
lea ecx, [esp + 0x64]
call fcn.00404b60
add esp, 4
pop edi
pop esi
mov ecx, dword [esp + 0x74]
xor ecx, esp
call fcn.00478b79
mov esp, ebp
pop ebp
ret
cmp byte [esp + 0x13], 0
je 0x42224d
comiss xmm2, xmm1
ja 0x42224d
mov edx, dword [ecx + 0x199c]
ucomiss xmm1, xmm2
mov dword [esp + 0x14], edx
lahf
test ah, 0x44
jp 0x42222c
mov eax, dword [edx + 0x1b8]
movss xmm1, dword [edx + 0xc]
movss xmm2, dword [edx + 0x210]
mov dword [esp + 0xc], eax
subss xmm2, xmm1
test eax, eax
je 0x42221a
mov edx, dword [eax + 0xc]
mov ecx, dword [esp + 0xc]
lea eax, [edx + 1]
movss xmm0, dword [ecx + 0x14]
test eax, eax
cmovns edx, eax
lea ecx, [edx*8]
sub ecx, edx
mov edx, dword [esp + 0xc]
movss xmm2, dword [edx + 0x18]
mov eax, dword [edx + 0x34]
subss xmm2, xmm0
mulss xmm2, dword [eax + ecx*4]
mov eax, dword [esp + 0x14]
mov ecx, dword [0x4b5f50]
addss xmm2, xmm0
subss xmm2, dword [eax + 0x3c]
addss xmm1, xmm2
subss xmm1, xmm5
maxss xmm1, dword [0x48c20c]
jmp 0x422250
comiss xmm1, xmm2
jbe 0x42223f
movss xmm0, dword [edx + 0xc]
subss xmm0, dword [edx + 0x54]
addss xmm1, xmm0
subss xmm1, xmm5
maxss xmm1, dword [0x48c20c]
jmp 0x422250
xorps xmm1, xmm1
movss xmm4, dword [ecx + 0x18bc]
mov eax, dword [ecx + 0x18b8]
movss dword [esp + 0x1c], xmm1
mov dword [esp + 0x4c], eax
movss dword [esp + 0x14], xmm4
cmp esi, edi
jne 0x422277
xorps xmm0, xmm0
jmp 0x4222dc
movss xmm3, dword [0x48c42c]
movaps xmm2, xmm4
push ecx
push edi
push esi
push ecx
lea ecx, [esp + 0x68]
movss dword [esp], xmm1
push ecx
mov ecx, eax
call fcn.0041fe90
movss xmm0, dword [esp + 0x58]
xorps xmm2, xmm2
comiss xmm0, xmm2
jbe 0x4222b7
mov eax, dword [esp + 0x4c]
movss xmm1, dword [esp + 0x14]
divss xmm1, dword [eax]
subss xmm0, xmm1
addss xmm0, dword [0x48c208]
movss xmm4, dword [esp + 0x5c]
movss xmm5, dword [esp + 0x28]
movss xmm3, dword [esp + 0x20]
cvttss2si eax, xmm0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movaps xmm1, xmm5
movss dword [esp + 0x30], xmm0
addss xmm1, xmm0
movss dword [esp + 0x34], xmm4
movaps xmm0, xmm3
movss dword [esp + 0x60], xmm5
addss xmm0, xmm4
movss dword [esp + 0x64], xmm3
lea ecx, [esp + 0x30]
movss dword [esp + 0x68], xmm1
xorps xmm1, xmm1
movss dword [esp + 0x6c], xmm0
call fcn.00404a40
push 0
xor edx, edx
lea ecx, [esp + 0x64]
call fcn.00404b60
add esp, 4
test al, al
je 0x422465
mov eax, dword [esp + 0x60]
mov dword [esp + 0x58], eax
mov eax, dword [esp + 0x64]
mov dword [esp + 0x5c], eax
mov eax, dword [0x4b5f50]
mov dword [esp + 0x18], eax
mov eax, dword [eax + 0x199c]
mov dword [esp + 0x14], eax
test edi, edi
jne 0x422370
mov ecx, esi
lea edx, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x422360
mov eax, dword [esp + 0x14]
sub ecx, edx
lea edi, [ecx + esi]
cmp esi, edi
je 0x422465
mov eax, dword [eax + 0x270]
xor ecx, ecx
movss xmm1, dword [0x48c20c]
mov dword [esp + 0xc], eax
call fcn.00403390
mov edx, dword [esp + 0x18]
mov dword [esp + 0x4c], eax
mov dword [esp + 0x24], edi
mov ecx, dword [edx + 0x18b8]
movss xmm2, dword [edx + 0x18bc]
mov dword [esp + 0x20], ecx
test eax, 0xff000000
je 0x42244d
test edi, edi
jne 0x4223e1
mov ecx, esi
lea eax, [ecx + 1]
mov dword [esp + 0x14], eax
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4223c7
sub ecx, dword [esp + 0x14]
lea eax, [ecx + esi]
mov dword [esp + 0x24], eax
cmp esi, eax
je 0x42244d
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0xc]
test ecx, ecx
jne 0x4223f3
mov eax, dword [edx + 0x28]
mov eax, dword [eax + 8]
mov dword [esp + 0x20], eax
ucomiss xmm2, dword [0x48c198]
lahf
test ah, 0x44
jp 0x422408
mov eax, dword [edx + 0x28]
movss xmm2, dword [eax + 0xc]
mov ecx, dword [edx + 0x3c]
mov eax, dword [edx + 0x44]
shl ecx, 4
push 0
push ecx
movups xmm0, xmmword [ecx + eax - 0x10]
mov ecx, dword [esp + 0x28]
lea eax, [esp + 0x38]
movups xmmword [esp + 0x38], xmm0
movss xmm0, dword [esp + 0x24]
movss dword [esp], xmm0
push dword [esp + 0x2c]
push esi
push eax
push dword [esp + 0x60]
push dword [esp + 0x7c]
push dword [esp + 0x7c]
push edx
call fcn.00420040
mov edx, dword [esp + 0x18]
cmp byte [edx + 0x2c54], 0
je 0x422465
push edi
mov edx, esi
lea ecx, [esp + 0x5c]
call fcn.00411e30
add esp, 4
mov ecx, dword [esp + 0x7c]
pop edi
pop esi
xor ecx, esp
call fcn.00478b79
mov esp, ebp
pop ebp
ret