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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x44
push ebx
mov ebx, dword [0x10132b9c]
push esi
push edi
mov edi, edx
mov esi, ecx
mov eax, dword [ebx + 0x1bac]
mov byte [eax + 0xac], 1
mov edx, dword [ebx + 0x1bac]
cmp byte [edx + 0xaf], 0
jne 0x100576b4
test edi, edi
jne 0x1005719c
lea edi, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10057190
sub ecx, edi
lea edi, [ecx + esi]
movss xmm1, dword [edx + 0x1c4]
xorps xmm0, xmm0
movss xmm3, dword [edx + 0x128]
mov eax, edi
addss xmm3, dword [edx + 0xf4]
movss xmm4, dword [edx + 0xf0]
comiss xmm1, xmm0
movss dword [esp + 0x10], xmm4
movss dword [esp + 0x18], xmm3
setae cl
sub eax, esi
cmp eax, 0x7d0
jle 0x10057597
test cl, cl
jne 0x1005759b
movaps xmm1, xmm3
movss xmm5, dword [ebx + 0x1940]
movss dword [esp + 0x14], xmm5
movss dword [esp + 0x30], xmm0
movss dword [esp + 0x38], xmm4
movss dword [esp + 0x3c], xmm1
cmp byte [ebx + 0x2f64], cl
jne 0x10057314
movss xmm0, dword [edx + 0x244]
subss xmm0, xmm3
divss xmm0, xmm5
cvttss2si ecx, xmm0
mov dword [esp + 0x24], ecx
test ecx, ecx
jle 0x10057314
xor eax, eax
mov dword [esp + 0x1c], eax
cmp esi, edi
jae 0x100572ff
cmp eax, ecx
jge 0x100572e7
mov eax, edi
sub eax, esi
push eax
push 0xa
push esi
call sub.VCRUNTIME140.dll_memchr
mov ebx, eax
add esp, 0xc
test ebx, ebx
cmove ebx, edi
test byte [ebp + 8], 1
jne 0x100572cf
cmp esi, ebx
jne 0x10057273
xorps xmm0, xmm0
jmp 0x100572c3
movss xmm3, dword [0x1012c9d0]
lea eax, [esp + 0x28]
push 0
push ebx
push esi
push ecx
mov dword [esp], 0xbf800000
push eax
mov eax, dword [0x10132b9c]
movss xmm2, dword [eax + 0x1940]
mov ecx, dword [eax + 0x193c]
call fcn.100524f0
movss xmm0, dword [esp + 0x28]
addss xmm0, dword [0x1012c83c]
cvttss2si eax, xmm0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [esp + 0x28], xmm0
maxss xmm0, dword [esp + 0x30]
movss dword [esp + 0x30], xmm0
mov eax, dword [esp + 0x1c]
lea esi, [ebx + 1]
mov ecx, dword [esp + 0x24]
inc eax
mov dword [esp + 0x1c], eax
cmp esi, edi
jb 0x10057245
movss xmm4, dword [esp + 0x10]
movss xmm5, dword [esp + 0x14]
movss xmm3, dword [esp + 0x18]
mov ebx, dword [0x10132b9c]
movd xmm1, eax
cvtdq2ps xmm1, xmm1
mulss xmm1, xmm5
addss xmm1, xmm3
movss dword [esp + 0x3c], xmm1
cmp esi, edi
jae 0x1005753f
movaps xmm3, xmm4
movss dword [esp + 0x20], xmm1
addss xmm3, dword [0x1012c9d0]
movaps xmm0, xmm1
movaps xmm2, xmm1
addss xmm0, xmm5
movss dword [esp + 0x28], xmm3
movss dword [esp + 0x24], xmm0
nop dword [eax]
nop word [eax + eax]
mov eax, dword [ebx + 0x1bac]
comiss xmm0, dword [eax + 0x244]
jbe 0x10057382
movss xmm0, dword [eax + 0x24c]
comiss xmm0, xmm2
jbe 0x10057382
comiss xmm3, dword [eax + 0x240]
jbe 0x10057382
movss xmm0, dword [eax + 0x248]
comiss xmm0, xmm4
ja 0x1005738f
cmp byte [ebx + 0x2f64], 0
je 0x10057478
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
mov dword [esp + 0x1c], eax
cmp esi, eax
jne 0x100573b1
xorps xmm0, xmm0
jmp 0x10057400
movss xmm3, dword [0x1012c9d0]
movss xmm2, dword [ebx + 0x1940]
push 0
push eax
push esi
push ecx
mov ecx, dword [ebx + 0x193c]
lea eax, [esp + 0x50]
mov dword [esp], 0xbf800000
push eax
call fcn.100524f0
movss xmm0, dword [esp + 0x40]
addss xmm0, dword [0x1012c83c]
cvttss2si eax, xmm0
movd xmm0, eax
mov eax, dword [esp + 0x1c]
cvtdq2ps xmm0, xmm0
movss dword [esp + 0x40], xmm0
push dword [esp + 0x3c]
maxss xmm0, dword [esp + 0x34]
push dword [esp + 0x3c]
mov edx, eax
mov ecx, esi
push 0
movss dword [esp + 0x3c], xmm0
call fcn.100385f0
movss xmm5, dword [esp + 0x20]
add esp, 0xc
movss xmm2, dword [esp + 0x20]
movss xmm0, dword [esp + 0x24]
addss xmm2, xmm5
movss xmm1, dword [esp + 0x3c]
addss xmm0, xmm5
mov esi, dword [esp + 0x1c]
addss xmm1, xmm5
inc esi
movss dword [esp + 0x20], xmm2
movss dword [esp + 0x24], xmm0
movss dword [esp + 0x3c], xmm1
cmp esi, edi
jae 0x10057478
movss xmm3, dword [esp + 0x28]
movss xmm4, dword [esp + 0x10]
mov ebx, dword [0x10132b9c]
jmp 0x10057350
xor eax, eax
mov dword [esp + 0x24], eax
cmp esi, edi
jae 0x10057526
and dword [ebp + 8], 1
nop word [eax + eax]
mov eax, edi
sub eax, esi
push eax
push 0xa
push esi
call sub.VCRUNTIME140.dll_memchr
mov ebx, eax
add esp, 0xc
test ebx, ebx
cmove ebx, edi
cmp dword [ebp + 8], 0
jne 0x10057512
cmp esi, ebx
jne 0x100574b6
xorps xmm0, xmm0
jmp 0x10057506
movss xmm3, dword [0x1012c9d0]
lea eax, [esp + 0x40]
push 0
push ebx
push esi
push ecx
mov dword [esp], 0xbf800000
push eax
mov eax, dword [0x10132b9c]
movss xmm2, dword [eax + 0x1940]
mov ecx, dword [eax + 0x193c]
call fcn.100524f0
movss xmm0, dword [esp + 0x40]
addss xmm0, dword [0x1012c83c]
cvttss2si eax, xmm0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [esp + 0x40], xmm0
maxss xmm0, dword [esp + 0x30]
movss dword [esp + 0x30], xmm0
mov eax, dword [esp + 0x24]
lea esi, [ebx + 1]
inc eax
mov dword [esp + 0x24], eax
cmp esi, edi
jb 0x10057490
movss xmm3, dword [esp + 0x18]
movd xmm0, eax
cvtdq2ps xmm1, xmm0
mulss xmm1, dword [esp + 0x14]
addss xmm1, dword [esp + 0x3c]
movss xmm2, dword [esp + 0x10]
lea ecx, [esp + 0x30]
movaps xmm0, xmm1
movss dword [esp + 0x4c], xmm1
subss xmm0, xmm3
movss dword [esp + 0x40], xmm2
xorps xmm1, xmm1
movss dword [esp + 0x44], xmm3
movss dword [esp + 0x34], xmm0
movaps xmm0, xmm2
addss xmm0, dword [esp + 0x30]
movss dword [esp + 0x48], xmm0
call fcn.10044a40
push ecx
push 0
xor edx, edx
lea ecx, [esp + 0x48]
call fcn.10044b70
add esp, 8
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
test cl, cl
je 0x100575e5
comiss xmm0, xmm1
ja 0x100575e5
ucomiss xmm1, xmm0
mov ecx, edx
lahf
test ah, 0x44
jp 0x100575c1
movss xmm1, dword [ecx + 0x228]
subss xmm1, xmm4
maxss xmm1, dword [0x1012c844]
jmp 0x100575e8
comiss xmm1, xmm0
jbe 0x100575d7
movss xmm0, dword [ecx + 0x14]
subss xmm0, dword [ecx + 0x78]
addss xmm1, xmm0
xorps xmm0, xmm0
subss xmm1, xmm4
maxss xmm1, dword [0x1012c844]
jmp 0x100575e8
xorps xmm1, xmm1
movss xmm2, dword [ebx + 0x1940]
movss dword [esp + 0x14], xmm1
cmp esi, edi
je 0x10057647
movss xmm3, dword [0x1012c9d0]
lea eax, [esp + 0x40]
push 0
push edi
push esi
push ecx
mov ecx, dword [ebx + 0x193c]
movss dword [esp], xmm1
push eax
call fcn.100524f0
movss xmm0, dword [esp + 0x40]
addss xmm0, dword [0x1012c83c]
movss xmm2, dword [esp + 0x44]
movss xmm4, dword [esp + 0x10]
movss xmm3, dword [esp + 0x18]
cvttss2si eax, xmm0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movaps xmm1, xmm4
movss dword [esp + 0x38], xmm0
addss xmm1, xmm0
movss dword [esp + 0x3c], xmm2
movaps xmm0, xmm3
movss dword [esp + 0x40], xmm4
addss xmm0, xmm2
movss dword [esp + 0x44], xmm3
lea ecx, [esp + 0x38]
movss dword [esp + 0x48], xmm1
xorps xmm1, xmm1
movss dword [esp + 0x4c], xmm0
call fcn.10044a40
push ecx
push 0
xor edx, edx
lea ecx, [esp + 0x48]
call fcn.10044b70
add esp, 8
test al, al
je 0x100576b4
push dword [esp + 0x44]
movss xmm2, dword [esp + 0x18]
mov edx, edi
push dword [esp + 0x44]
mov ecx, esi
call fcn.100387c0
add esp, 8
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret