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

Disassembly:
push rbx
sub rsp, 0x50
mov rbx, qword [0x18016bb80]
mov eax, dword [rbx + 0x40b8]
sub eax, 1
js 0x180054d1d
mov r8, qword [rbx + 0x40c0]
movsxd rdx, eax
add r8, 8
imul rcx, rdx, 0x38
add r8, rcx
nop dword [rax]
mov rcx, qword [r8]
test rcx, rcx
je 0x180054d13
test dword [rcx + 0x24], 0x8000000
je 0x180054d13
cmp byte [rcx + 0xae], 0
je 0x180054d13
cmp byte [rcx + 0xb5], 0
je 0x180054d1f
sub r8, 0x38
sub rdx, 1
jns 0x180054cf0
xor ecx, ecx
movss xmm1, dword [rbx + 0x428c]
xorps xmm0, xmm0
comiss xmm1, xmm0
ja 0x180054d3c
comiss xmm0, dword [rbx + 0x4274]
jae 0x180054fde
mov r8, qword [rbx + 0x4260]
test r8, r8
je 0x180054d56
cmp byte [r8 + 0xae], 0
je 0x180054d56
mov al, 1
jmp 0x180054d58
xor al, al
test rcx, rcx
jne 0x180054f22
test al, al
je 0x180054fde
mov qword [rsp + 0x68], rsi
mov ecx, 0x37
mov qword [rsp + 0x70], rdi
call fcn.18004edc0
mov edx, eax
mov rcx, r8
call fcn.180054a70
mov rdi, qword [rbx + 0x4260]
movss xmm1, dword [rbx + 0x3c40]
mov rax, qword [0x18016bb80]
movss xmm5, dword [rdi + 0x30]
movss xmm3, dword [rdi + 0x34]
movaps xmm4, xmm5
addss xmm5, dword [rdi + 0x38]
mov rcx, qword [rax + 0x40e8]
subss xmm4, xmm1
movaps xmm2, xmm3
addss xmm3, dword [rdi + 0x3c]
subss xmm2, xmm1
mov rsi, qword [rcx]
addss xmm5, xmm1
movss dword [rsp + 0x40], xmm4
addss xmm3, xmm1
movss dword [rsp + 0x44], xmm2
movaps xmm0, xmm5
movss dword [rsp + 0x48], xmm5
subss xmm0, xmm4
movss dword [rsp + 0x4c], xmm3
comiss xmm0, dword [rsi + 0xc]
jb 0x180054e3d
movaps xmm0, xmm3
subss xmm0, xmm2
comiss xmm0, dword [rsi + 0x10]
jb 0x180054e3d
xorps xmm1, xmmword [0x18012f220]
subss xmm1, dword [0x18012e72c]
movaps xmm0, xmm1
subss xmm4, xmm1
subss xmm2, xmm1
addss xmm0, xmm5
addss xmm1, xmm3
movss dword [rsp + 0x40], xmm4
movss dword [rsp + 0x44], xmm2
movss dword [rsp + 0x48], xmm0
movss dword [rsp + 0x4c], xmm1
mov rcx, qword [rdi + 0x2a8]
cmp dword [rcx], 0
jne 0x180054e4e
call fcn.180064660
movss xmm0, dword [rsi + 4]
lea rdx, [rsi + 4]
movss xmm2, dword [rdx + 4]
lea r8, [rsp + 0x60]
addss xmm0, dword [rsi + 0xc]
addss xmm2, dword [rsi + 0x10]
mov rcx, qword [rdi + 0x2a8]
xor r9d, r9d
movss dword [rsp + 0x60], xmm0
movss dword [rsp + 0x64], xmm2
call fcn.180064920
movss xmm1, dword [rbx + 0x4274]
mov ecx, 0x36
call fcn.18004edc0
movss xmm0, dword [0x18012e82c]
lea r8, [rsp + 0x48]
mov rcx, qword [rdi + 0x2a8]
lea rdx, [rsp + 0x40]
movss dword [rsp + 0x30], xmm0
mov r9d, eax
movss xmm0, dword [rdi + 0x68]
movss dword [rsp + 0x20], xmm0
call fcn.180066ce0
mov rcx, qword [rdi + 0x2a8]
mov rdi, qword [rsp + 0x70]
mov rsi, qword [rsp + 0x68]
mov eax, dword [rcx + 0x58]
sub eax, 1
mov dword [rcx + 0x58], eax
jne 0x180054f02
mov rax, qword [rcx + 0x38]
add rax, 0x1c
movups xmm0, xmmword [rax]
movups xmmword [rcx + 0x88], xmm0
add rsp, 0x50
pop rbx
jmp fcn.180064720
dec eax
cdqe
shl rax, 4
add rax, qword [rcx + 0x60]
movups xmm0, xmmword [rax]
movups xmmword [rcx + 0x88], xmm0
add rsp, 0x50
pop rbx
jmp fcn.180064720
mov r11, qword [rbx + 0x3e88]
mov r10, rcx
movsxd rax, dword [rbx + 0x3e80]
mov rdx, r11
lea r8, [r11 + rax*8]
cmp r11, r8
jae 0x180054f4e
nop
cmp qword [rdx], rcx
je 0x180054f4e
add rdx, 8
cmp rdx, r8
jb 0x180054f40
sub rdx, r11
sar rdx, 3
test edx, edx
js 0x180054fc5
movsxd r9, edx
lea r11, [r11 + r9*8]
mov rdx, qword [r11]
mov r8d, dword [rdx + 0x24]
bt r8d, 0x18
jb 0x180054fbb
mov rax, rdx
cmp qword [rdx + 0x388], rcx
je 0x180054f93
nop word [rax + rax]
cmp rax, rcx
je 0x180054f93
mov rax, qword [rax + 0x380]
test rax, rax
jne 0x180054f80
jmp 0x180054fc5
cmp byte [rdx + 0xae], 0
je 0x180054fbb
cmp byte [rdx + 0xb5], 0
jne 0x180054fbb
mov eax, dword [rcx + 0x24]
and r8d, 0x2000000
and eax, 0x2000000
cmp r8d, eax
cmovbe r10, rdx
sub r11, 8
sub r9, 1
jns 0x180054f60
mov ecx, 0x38
call fcn.18004edc0
mov edx, eax
mov rcx, r10
add rsp, 0x50
pop rbx
jmp fcn.180054a70
add rsp, 0x50
pop rbx
ret