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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x58
mov eax, dword [0x4a5080]
xor eax, esp
mov dword [esp + 0x54], eax
mov dword [esp + 4], edx
mov edx, dword [0x4ac6b0]
mov dword [esp + 0xc], ecx
push esi
push edi
mov eax, dword [edx + 0x3e48]
mov dword [esp + 0x20], edx
mov byte [eax + 0xac], 1
mov ecx, dword [edx + 0x3e48]
cmp byte [ecx + 0xaf], 0
jne 0x42ee90
mov eax, dword [esp + 0xc]
mov edi, 0x48fcba
cmp dword [esp + 0x14], eax
mov esi, edi
cmovne esi, dword [esp + 0x14]
cmovne edi, eax
test edi, edi
jne 0x42e8ba
mov ecx, esi
lea edi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x42e8a8
sub ecx, edi
lea edi, [esi + ecx]
mov ecx, dword [edx + 0x3e48]
movss xmm1, dword [ecx + 0x1a4]
xorps xmm0, xmm0
movss xmm6, dword [ecx + 0x128]
mov eax, edi
addss xmm6, dword [ecx + 0xf4]
movss xmm5, dword [ecx + 0xf0]
comiss xmm1, xmm0
movss dword [esp + 0x14], xmm5
movss dword [esp + 0x28], xmm6
setae byte [esp + 0x13]
sub eax, esi
cmp eax, 0x7d0
jle 0x42ec65
cmp byte [esp + 0x13], 0
jne 0x42ec6c
cmp byte [edx + 0x5a8c], 0
movaps xmm1, xmm6
movss xmm4, dword [edx + 0x3bd4]
movss dword [esp + 0x1c], xmm4
movss dword [esp + 0x30], xmm0
movss dword [esp + 0x18], xmm1
jne 0x42e9b8
movss xmm0, dword [ecx + 0x214]
subss xmm0, xmm6
divss xmm0, xmm4
cvttss2si ecx, xmm0
mov dword [esp + 0xc], ecx
test ecx, ecx
jle 0x42e9b8
xor eax, eax
mov dword [esp + 0x18], eax
cmp esi, edi
jae 0x42e9a3
nop dword [eax + eax]
cmp eax, ecx
jge 0x42e98d
mov eax, edi
sub eax, esi
push eax
push 0xa
push esi
call sub.VCRUNTIME140.dll_memchr
mov ecx, 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 0x42e960
movss xmm4, dword [esp + 0x1c]
movss xmm5, dword [esp + 0x14]
movss xmm6, dword [esp + 0x28]
mov edx, dword [esp + 0x20]
movd xmm1, eax
cvtdq2ps xmm1, xmm1
mulss xmm1, xmm4
addss xmm1, xmm6
movss dword [esp + 0x18], xmm1
cmp esi, edi
jae 0x42ebfe
movaps xmm6, xmm5
movss dword [esp + 0x2c], xmm1
addss xmm6, dword [0x497364]
movaps xmm2, xmm1
movaps xmm3, xmm1
addss xmm2, xmm4
movss dword [esp + 0x3c], xmm6
movss dword [esp + 0xc], xmm2
nop word [eax + eax]
mov eax, dword [edx + 0x3e48]
comiss xmm2, dword [eax + 0x214]
jbe 0x42ea22
movss xmm0, dword [eax + 0x21c]
comiss xmm0, xmm3
jbe 0x42ea22
comiss xmm6, dword [eax + 0x210]
jbe 0x42ea22
movss xmm0, dword [eax + 0x218]
comiss xmm0, xmm5
ja 0x42ea2f
cmp byte [edx + 0x5a8c], 0
je 0x42ebae
mov eax, edi
sub eax, esi
push eax
push 0xa
push esi
call sub.VCRUNTIME140.dll_memchr
mov ecx, eax
add esp, 0xc
test ecx, ecx
cmove ecx, edi
mov dword [esp + 0x38], ecx
cmp esi, ecx
jne 0x42ea53
xorps xmm0, xmm0
jmp 0x42eaa5
movss xmm3, dword [0x497364]
lea eax, [esp + 0x40]
push ecx
push ecx
push esi
push ecx
mov dword [esp], 0xbf800000
push eax
mov eax, dword [esp + 0x34]
movss xmm2, dword [eax + 0x3bd4]
mov ecx, dword [eax + 0x3bd0]
call fcn.0042b0f0
movss xmm0, dword [esp + 0x40]
addss xmm0, dword [0x497108]
mov ecx, dword [esp + 0x38]
cvttss2si eax, xmm0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [esp + 0x40], xmm0
movss xmm5, dword [esp + 0x14]
mov eax, ecx
movss xmm1, dword [esp + 0x18]
mov edx, dword [esp + 0x20]
movss dword [esp + 0x50], xmm5
movss dword [esp + 0x54], xmm1
mov dword [esp + 0x24], ecx
maxss xmm0, dword [esp + 0x30]
movss dword [esp + 0x30], xmm0
test ecx, ecx
jne 0x42eaf2
mov ecx, esi
lea eax, [ecx + 1]
mov dword [esp + 0x24], eax
mov al, byte [ecx]
inc ecx
test al, al
jne 0x42eae0
sub ecx, dword [esp + 0x24]
lea eax, [ecx + esi]
mov dword [esp + 0x24], eax
cmp esi, eax
je 0x42eb6b
movss xmm1, dword [0x497110]
push 0
push ecx
mov dword [esp], 0
xor ecx, ecx
push eax
push esi
call fcn.004071b0
movss xmm2, dword [edx + 0x3bd4]
push eax
lea eax, [esp + 0x64]
push eax
mov eax, dword [edx + 0x3e48]
push dword [edx + 0x3bd0]
mov ecx, dword [eax + 0x264]
call fcn.004274d0
mov eax, dword [esp + 0x20]
cmp byte [eax + 0x5a8c], 0
je 0x42eb55
push dword [esp + 0x24]
mov edx, esi
lea ecx, [esp + 0x54]
call fcn.0041a1e0
add esp, 4
mov edx, dword [0x4ac6b0]
movss xmm5, dword [esp + 0x14]
movss xmm1, dword [esp + 0x18]
mov dword [esp + 0x20], edx
movss xmm4, dword [esp + 0x1c]
movss xmm3, dword [esp + 0x2c]
addss xmm1, xmm4
movss xmm2, dword [esp + 0xc]
addss xmm3, xmm4
mov esi, dword [esp + 0x38]
addss xmm2, xmm4
movss xmm6, dword [esp + 0x3c]
inc esi
movss dword [esp + 0x18], xmm1
movss dword [esp + 0x2c], xmm3
movss dword [esp + 0xc], xmm2
cmp esi, edi
jb 0x42e9f0
xor eax, eax
mov dword [esp + 0xc], eax
cmp esi, edi
jae 0x42ebe9
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 0x42ebb8
movss xmm1, dword [esp + 0x18]
movss xmm4, dword [esp + 0x1c]
movss xmm6, dword [esp + 0x28]
movd xmm0, eax
cvtdq2ps xmm0, xmm0
mulss xmm0, xmm4
addss xmm1, xmm0
movss xmm3, dword [esp + 0x14]
subss xmm1, xmm6
movaps xmm2, xmm3
movss dword [esp + 0x40], xmm3
addss xmm2, dword [esp + 0x30]
movaps xmm0, xmm6
movss dword [esp + 0x44], xmm6
lea ecx, [esp + 0x30]
addss xmm0, xmm1
movss dword [esp + 0x34], xmm1
xorps xmm1, xmm1
movss dword [esp + 0x48], xmm2
movss dword [esp + 0x4c], xmm0
call fcn.004147a0
push 0
push 0
xor edx, edx
lea ecx, [esp + 0x48]
call fcn.00414900
add esp, 8
pop edi
pop esi
mov ecx, dword [esp + 0x54]
xor ecx, esp
call fcn.00481c53
mov esp, ebp
pop ebp
ret
cmp byte [esp + 0x13], 0
je 0x42ecba
comiss xmm0, xmm1
ja 0x42ecba
mov ecx, dword [edx + 0x3e48]
ucomiss xmm1, xmm0
lahf
test ah, 0x44
jp 0x42ec96
movss xmm1, dword [ecx + 0x1f8]
subss xmm1, xmm5
maxss xmm1, dword [0x497110]
jmp 0x42ecbd
comiss xmm1, xmm0
jbe 0x42ecac
movss xmm0, dword [ecx + 0x14]
subss xmm0, dword [ecx + 0x78]
addss xmm1, xmm0
xorps xmm0, xmm0
subss xmm1, xmm5
maxss xmm1, dword [0x497110]
jmp 0x42ecbd
xorps xmm1, xmm1
movss xmm2, dword [edx + 0x3bd4]
movss dword [esp + 0x1c], xmm1
cmp esi, edi
je 0x42ed1b
movss xmm3, dword [0x497364]
lea eax, [esp + 0x40]
push ecx
push edi
push esi
push ecx
mov ecx, dword [edx + 0x3bd0]
movss dword [esp], xmm1
push eax
call fcn.0042b0f0
movss xmm0, dword [esp + 0x40]
addss xmm0, dword [0x497108]
movss xmm2, dword [esp + 0x44]
movss xmm5, dword [esp + 0x14]
movss xmm6, dword [esp + 0x28]
cvttss2si eax, xmm0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movaps xmm1, xmm5
movss dword [esp + 0x30], xmm0
addss xmm1, xmm0
movss dword [esp + 0x34], xmm2
movaps xmm0, xmm6
movss dword [esp + 0x40], xmm5
addss xmm0, xmm2
movss dword [esp + 0x44], xmm6
lea ecx, [esp + 0x30]
movss dword [esp + 0x48], xmm1
xorps xmm1, xmm1
movss dword [esp + 0x4c], xmm0
call fcn.004147a0
push 0
push 0
xor edx, edx
lea ecx, [esp + 0x48]
call fcn.00414900
add esp, 8
test al, al
je 0x42ee90
mov edx, dword [0x4ac6b0]
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x44]
mov dword [esp + 0x50], eax
mov eax, dword [edx + 0x3e48]
mov dword [esp + 0x54], ecx
mov dword [esp + 0x28], edx
test edi, edi
jne 0x42edb2
mov ecx, esi
lea edi, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x42eda0
mov eax, dword [edx + 0x3e48]
sub ecx, edi
lea edi, [ecx + esi]
cmp esi, edi
je 0x42ee90
mov eax, dword [eax + 0x264]
xor ecx, ecx
movss xmm1, dword [0x497110]
mov dword [esp + 0xc], eax
call fcn.004071b0
mov ecx, dword [edx + 0x3bd0]
movss xmm2, dword [edx + 0x3bd4]
mov dword [esp + 0x24], eax
mov dword [esp + 0x38], ecx
mov dword [esp + 0x2c], edi
test eax, 0xff000000
je 0x42ee78
test edi, edi
jne 0x42ee1b
mov ecx, esi
lea eax, [ecx + 1]
mov dword [esp + 0x3c], eax
mov al, byte [ecx]
inc ecx
test al, al
jne 0x42ee05
sub ecx, dword [esp + 0x3c]
lea eax, [ecx + esi]
mov dword [esp + 0x2c], eax
cmp esi, eax
je 0x42ee78
mov edx, dword [esp + 0x38]
mov ecx, dword [esp + 0xc]
test edx, edx
jne 0x42ee2d
mov eax, dword [ecx + 0x2c]
mov edx, dword [eax + 8]
ucomiss xmm2, dword [0x497060]
lahf
test ah, 0x44
jp 0x42ee42
mov eax, dword [ecx + 0x2c]
movss xmm2, dword [eax + 0xc]
movups xmm0, xmmword [ecx + 0x60]
push 0
push ecx
movups xmmword [esp + 0x48], xmm0
lea eax, [esp + 0x48]
movss xmm0, dword [esp + 0x24]
movss dword [esp], xmm0
push dword [esp + 0x34]
push esi
push eax
push dword [esp + 0x38]
lea eax, [esp + 0x68]
push eax
push ecx
mov ecx, edx
call fcn.0042b2a0
mov edx, dword [esp + 0x28]
cmp byte [edx + 0x5a8c], 0
je 0x42ee90
push edi
mov edx, esi
lea ecx, [esp + 0x54]
call fcn.0041a1e0
add esp, 4
mov ecx, dword [esp + 0x5c]
pop edi
pop esi
xor ecx, esp
call fcn.00481c53
mov esp, ebp
pop ebp
ret