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

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x64
mov eax, dword [0x1012d240]
xor eax, esp
mov dword [esp + 0x60], eax
mov ebp, dword [0x1012d4e8]
mov eax, dword [ebp + 0x1b98]
mov byte [eax + 0x8c], 1
mov esi, dword [ebp + 0x1b98]
cmp byte [esi + 0x8f], 0
jne 0x100547d8
mov ebx, dword [esp + 0x78]
mov ecx, esi
push 0
push ebx
call fcn.10026510
mov edi, eax
lea eax, [esp + 0x58]
push 0xbf800000
push 1
push 0
push ebx
push eax
call fcn.10025630
add esp, 0x14
call fcn.10038970
fstp dword [esp + 0x10]
vmovss xmm5, dword [esp + 0x10]
vmovsd xmm4, qword [esi + 0xd0]
vmovss xmm0, dword [ebp + 0x1558]
vmovss xmm1, dword [0x100f55a4]
vfmadd213ss xmm1, xmm0, dword [esp + 0x5c]
vmovss xmm3, dword [esp + 0x58]
vxorps xmm2, xmm2, xmm2
vucomiss xmm3, xmm2
jbe 0x10054605
vaddss xmm2, xmm3, dword [ebp + 0x156c]
vaddss xmm2, xmm5, xmm2
vinsertps xmm1, xmm2, xmm1, 0x10
vaddps xmm1, xmm1, xmm4
vmovlhps xmm1, xmm4, xmm1
vmovups xmmword [esp + 0x48], xmm1
sub esp, 8
vmovss dword [esp + 4], xmm0
lea ebx, [esp + 0x50]
mov dword [esp], ebx
vmovups xmmword [esp + 0x1c], xmm4
vmovss dword [esp + 0xc], xmm5
call fcn.10038580
add esp, 8
push 0
push 0
push edi
push ebx
call fcn.10036230
add esp, 0x10
test al, al
je 0x100547d8
lea eax, [esp + 0x46]
lea ecx, [esp + 0x47]
push 0
push eax
push ecx
push edi
push ebx
call fcn.10052a80
add esp, 0x14
mov ecx, ebx
mov ebx, eax
test al, al
je 0x10054689
mov eax, dword [esp + 0x7c]
xor byte [eax], 1
push edi
call fcn.10027400
lea ecx, [esp + 0x4c]
add esp, 4
vmovups xmm1, xmmword [esp + 0x14]
vmovshdup xmm2, xmm1
vmovups xmmword [esp + 0x24], xmm2
vmovss xmm0, dword [esp + 4]
vaddss xmm2, xmm0, xmm2
vmovss dword [esp + 8], xmm2
vaddss xmm0, xmm0, xmm1
vmovss dword [esp], xmm0
push 1
push edi
push ecx
call fcn.10025dc0
add esp, 0xc
cmp byte [esp + 0x46], 1
mov eax, 9
sbb eax, 0
cmp byte [esp + 0x47], 0
vmovss xmm0, dword [ebp + 0x155c]
vmovss dword [esp + 0xc], xmm0
mov ecx, 7
cmovne ecx, eax
push 0x3f800000
push ecx
call fcn.10024660
sub esp, 0x14
vmovss xmm0, dword [esp + 0x28]
vmovss dword [esp + 0x18], xmm0
mov dword [esp + 0x10], eax
vmovss xmm0, dword [esp + 0x24]
vmovss dword [esp + 0xc], xmm0
vmovss xmm0, dword [esp + 0x1c]
vmovss dword [esp + 8], xmm0
vmovups xmm0, xmmword [esp + 0x40]
vmovss dword [esp + 4], xmm0
vmovups xmm0, xmmword [esp + 0x30]
vmovss dword [esp], xmm0
mov dword [esp + 0x14], 1
call fcn.100257b0
add esp, 0x1c
push 0x3f800000
push 0x12
call fcn.10024660
add esp, 8
mov edx, dword [ebp + 0x1c3c]
test dl, 0x40
jne 0x100547ef
mov ecx, dword [esp + 0x7c]
cmp byte [ecx], 0
je 0x1005487c
vmovss xmm2, dword [esp + 4]
vdivss xmm0, xmm2, dword [0x100f5508]
vcvttps2dq xmm0, xmm0
vcvtdq2ps xmm0, xmm0
vmovss xmm1, dword [0x100f54d0]
vmaxss xmm0, xmm1, xmm0
vfmadd231ss xmm2, xmm0, dword [0x100f5608]
vaddss xmm1, xmm0, dword [esp + 0x24]
vaddss xmm0, xmm0, dword [esp + 0x14]
mov ecx, dword [esi + 0x240]
sub esp, 0x14
mov dword [esp + 0xc], eax
mov dword [esp], ecx
vmovss dword [esp + 0x10], xmm2
vmovss dword [esp + 8], xmm1
vmovss dword [esp + 4], xmm0
mov esi, edx
call fcn.1004b9e0
mov edx, esi
add esp, 0x14
jmp 0x1005487c
xor ebx, ebx
mov ecx, dword [esp + 0x60]
xor ecx, esp
call fcn.100f1e99
mov eax, ebx
add esp, 0x64
pop esi
pop edi
pop ebx
pop ebp
ret
vmovss xmm0, dword [esp + 4]
vdivss xmm0, xmm0, dword [0x100fd69c]
vcvttps2dq xmm0, xmm0
vcvtdq2ps xmm0, xmm0
vmovss xmm1, dword [0x100f54d0]
vmaxss xmm0, xmm1, xmm0
mov ecx, dword [esi + 0x240]
vmovss xmm1, dword [ebp + 0x155c]
vmovss xmm2, dword [esp + 8]
vsubss xmm2, xmm2, xmm0
vmovss xmm3, dword [esp]
vsubss xmm3, xmm3, xmm0
vmovss dword [esp + 0x3c], xmm3
vmovss dword [esp + 0x40], xmm2
vbroadcastss xmm0, xmm0
vaddps xmm0, xmm0, xmmword [esp + 0x14]
vmovlps qword [esp + 0x34], xmm0
sub esp, 0x14
vmovss dword [esp + 0xc], xmm1
mov dword [esp + 8], eax
lea eax, [esp + 0x50]
mov dword [esp + 4], eax
lea eax, [esp + 0x48]
mov dword [esp], eax
mov dword [esp + 0x10], 0
mov esi, edx
call fcn.1003fee0
mov edx, esi
vmovups xmm0, xmmword [esp + 0x24]
vaddss xmm0, xmm0, dword [ebp + 0x1558]
vmovss xmm1, dword [esp]
vaddss xmm1, xmm1, dword [ebp + 0x156c]
vmovss dword [esp + 0x3c], xmm1
vmovss dword [esp + 0x40], xmm0
cmp byte [ebp + 0x2f64], 0
je 0x100548da
mov eax, 0x10121e29
test dl, 0x40
jne 0x100548ca
mov eax, dword [esp + 0x7c]
cmp byte [eax], 0
mov ecx, 0x10121eaf
mov eax, 0x10121e2d
cmove eax, ecx
lea ecx, [esp + 0x3c]
push 0
push eax
push ecx
call fcn.10024f30
add esp, 0xc
vmovss xmm0, dword [esp + 0x58]
vxorps xmm1, xmm1, xmm1
vucomiss xmm0, xmm1
jbe 0x100547da
vmovss xmm0, dword [esp + 0x3c]
vmovss xmm1, dword [esp + 0x40]
sub esp, 0x14
mov eax, dword [esp + 0x8c]
mov dword [esp + 8], eax
vmovss dword [esp + 4], xmm1
vmovss dword [esp], xmm0
mov dword [esp + 0x10], 1
mov dword [esp + 0xc], 0
call fcn.10024d50
add esp, 0x14
jmp 0x100547da