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

Disassembly:
push rbx
push rbp
push rsi
push r15
sub rsp, 0x58
mov rbx, qword [0x180103740]
xor esi, esi
xor r15b, r15b
mov ebp, esi
mov eax, dword [rbx + 0x1b08]
sub eax, 1
js 0x180053b9f
mov r8, qword [rbx + 0x1b10]
movsxd rdx, eax
add r8, 8
lea rcx, [rdx + rdx*2]
shl rcx, 4
add r8, rcx
nop dword [rax]
mov rax, qword [r8]
test rax, rax
je 0x180053b95
test dword [rax + 0xc], 0x8000000
jne 0x180053c32
sub r8, 0x30
sub rdx, 1
jns 0x180053b80
mov qword [rsp + 0x90], rdi
mov qword [rsp + 0x98], r12
mov qword [rsp + 0x50], r14
movaps xmmword [rsp + 0x40], xmm6
xorps xmm6, xmm6
cmp qword [rbx + 0x1bf0], rsi
je 0x180053c08
cmp qword [rbx + 0x1be8], rsi
jne 0x180053c08
comiss xmm6, dword [rbx + 0x1d58]
movss xmm1, dword [rbx + 0x1c04]
movss xmm0, dword [rbx + 0x18]
mulss xmm0, dword [0x1800d496c]
subss xmm1, xmm0
maxss xmm1, xmm6
movss dword [rbx + 0x1c04], xmm1
jb 0x180053c08
comiss xmm6, xmm1
jb 0x180053c08
mov qword [rbx + 0x1bf0], rsi
mov r9, qword [rbx + 0x1be8]
mov r12d, 1
test r9, r9
jne 0x180053c43
mov edx, r12d
mov ecx, 3
call fcn.180051eb0
comiss xmm0, xmm6
jbe 0x180053c43
movzx r8d, dl
jmp 0x180053c4b
mov qword [rbx + 0x1be8], rsi
add rsp, 0x58
pop r15
pop rsi
pop rbp
pop rbx
ret
xor r8b, r8b
test r9, r9
jne 0x180053c70
cmp byte [rbx + 0x138], sil
je 0x180053c70
mov ecx, dword [rbx + 0x3c]
test ecx, ecx
js 0x180053c70
call fcn.180038f60
test al, al
je 0x180053c70
test byte [rbx + 8], r12b
je 0x180053c70
movzx edi, r12b
jmp 0x180053c73
xor dil, dil
mov r14d, 0xffffffff
test r8b, r8b
jne 0x180053c83
test dil, dil
je 0x180053cd4
mov rax, qword [rbx + 0x1ba0]
test rax, rax
jne 0x180053ca9
mov ecx, dword [rbx + 0x1a08]
mov r8d, r14d
dec ecx
mov edx, 0x80000001
call fcn.180053940
test rax, rax
je 0x180053cd4
xor dil, r12b
mov qword [rbx + 0x1bf0], rax
mov qword [rbx + 0x1be8], rax
movzx eax, dil
mov byte [rbx + 0x1c08], al
add eax, 3
mov dword [rbx + 0x1bcc], eax
mov qword [rbx + 0x1c00], rsi
mov r10, qword [rbx + 0x1be8]
movss xmm0, dword [rbx + 0x18]
mov r8, r10
movss xmm5, dword [0x1800d48d0]
movaps xmmword [rsp + 0x30], xmm7
addss xmm0, dword [rbx + 0x1c00]
movss dword [rbx + 0x1c00], xmm0
test r10, r10
je 0x180053dd7
cmp dword [rbx + 0x1bcc], 4
jne 0x180053dd7
subss xmm0, dword [0x1800d4884]
divss xmm0, dword [0x1800d4870]
comiss xmm6, xmm0
jbe 0x180053d30
xorps xmm1, xmm1
jmp 0x180053d37
movaps xmm1, xmm5
minss xmm1, xmm0
movss xmm7, dword [rbx + 0x1c04]
mov edx, 4
maxss xmm7, xmm1
mov ecx, 0xd
movss dword [rbx + 0x1c04], xmm7
call fcn.180051eb0
comiss xmm0, xmm6
mov r9d, esi
mov ecx, 0xc
seta r9b
call fcn.180051eb0
comiss xmm0, xmm6
mov ecx, esi
mov r8, r10
seta cl
sub ecx, r9d
je 0x180053d97
call fcn.1800539d0
mov r8, qword [rbx + 0x1be8]
movaps xmm7, xmm5
mov dword [rbx + 0x1c04], 0x3f800000
movss xmm0, dword [rbx + 0x348]
comiss xmm0, xmm6
ja 0x180053dd7
comiss xmm5, xmm7
seta al
and byte [rbx + 0x1c08], al
je 0x180053dcb
cmp qword [rbx + 0x1ba0], rsi
je 0x180053dce
movzx r15d, r12b
mov qword [rbx + 0x1be8], rsi
jmp 0x180053e54
mov rbp, r8
mov qword [rbx + 0x1be8], rsi
jmp 0x180053e54
test r8, r8
je 0x180053e54
cmp dword [rbx + 0x1bcc], 3
jne 0x180053e54
movss xmm0, dword [rbx + 0x1c00]
subss xmm0, dword [0x1800d4884]
divss xmm0, dword [0x1800d4870]
comiss xmm6, xmm0
jbe 0x180053e07
xorps xmm5, xmm5
jmp 0x180053e0b
minss xmm5, xmm0
movss xmm0, dword [rbx + 0x1c04]
maxss xmm0, xmm5
movss dword [rbx + 0x1c04], xmm0
mov ecx, dword [rbx + 0x3c]
test ecx, ecx
js 0x180053e49
call fcn.180038f60
test al, al
je 0x180053e49
cmp byte [rbx + 0x139], sil
cmovne r14d, r12d
mov ecx, r14d
call fcn.1800539d0
mov r8, qword [rbx + 0x1be8]
cmp byte [rbx + 0x138], sil
cmove rbp, r8
mov edx, r12d
mov ecx, 0x10
call fcn.180051eb0
comiss xmm0, xmm6
mov r14, qword [rsp + 0x50]
movaps xmm7, xmmword [rsp + 0x30]
jbe 0x180053e76
mov byte [rbx + 0x1c08], dl
cmp dword [rbx + 0x1a7c], esi
je 0x180053e8b
cmp byte [rbx + 0x1a8d], sil
je 0x180053f1a
cmp byte [rbx + 0x1c08], sil
je 0x180053f1a
mov edx, 2
mov ecx, 0x10
call fcn.180051eb0
comiss xmm0, xmm6
jbe 0x180053f1a
lea rax, [rbx + 0x3bc]
test rax, rax
jne 0x180053ebf
lea rax, [rbx + 0x120]
movss xmm0, dword [rax]
movss xmm1, dword [0x1800d4ab0]
comiss xmm0, xmm1
movss xmm2, dword [rax + 4]
jb 0x180053ee0
comiss xmm2, xmm1
jb 0x180053ee0
movzx ecx, r12b
jmp 0x180053ee2
xor cl, cl
lea rax, [rbx + 0x120]
test rax, rax
jne 0x180053ef5
lea rax, [rbx + 0x120]
movss xmm0, dword [rax]
comiss xmm0, xmm1
movss xmm2, dword [rax + 4]
jb 0x180053f0e
comiss xmm2, xmm1
jb 0x180053f0e
movzx eax, r12b
jmp 0x180053f10
xor al, al
cmp al, cl
movzx r15d, r15b
cmove r15d, r12d
mov rdi, qword [rbx + 0x1be8]
test rdi, rdi
je 0x18005400c
test byte [rdi + 0xc], 4
jne 0x18005400c
mov eax, dword [rbx + 0x1bcc]
cmp eax, 3
jne 0x180053f59
cmp byte [rbx + 0x139], sil
jne 0x18005400c
mov edx, r12d
lea rcx, [rsp + 0x80]
jmp 0x180053f6c
cmp eax, 4
jne 0x18005400c
mov edx, eax
lea rcx, [rsp + 0x88]
xorps xmm3, xmm3
movss dword [rsp + 0x20], xmm6
xor r8d, r8d
call fcn.180052040
movss xmm4, dword [rax]
ucomiss xmm4, xmm6
movss xmm3, dword [rax + 4]
jp 0x180053f94
jne 0x180053f94
ucomiss xmm3, xmm6
jp 0x180053f94
je 0x18005400c
movss xmm1, dword [rbx + 0xb8]
movss xmm0, dword [rbx + 0x18]
minss xmm1, dword [rbx + 0xbc]
mulss xmm0, dword [0x1800d4a48]
mulss xmm1, xmm0
cvttss2si eax, xmm1
movd xmm2, eax
mov rax, qword [rdi + 0x360]
cvtdq2ps xmm2, xmm2
mulss xmm4, xmm2
mulss xmm3, xmm2
addss xmm4, dword [rax + 0x10]
addss xmm3, dword [rax + 0x14]
movss dword [rax + 0x10], xmm4
movss dword [rax + 0x14], xmm3
mov rax, qword [rbx + 0x1be8]
mov byte [rbx + 0x1c17], r12b
test dword [rax + 0xc], 0x100
jne 0x18005400c
comiss xmm6, dword [rbx + 0x2ef0]
jb 0x18005400c
mov eax, dword [rbx + 0x1c]
mov dword [rbx + 0x2ef0], eax
movaps xmm6, xmmword [rsp + 0x40]
test rbp, rbp
je 0x18005410f
mov rax, qword [rbx + 0x1ba0]
test rax, rax
je 0x180054033
cmp rbp, qword [rax + 0x360]
je 0x180054108
mov word [rbx + 0x1c16], 0x100
mov rax, qword [rbp + 0x378]
test rax, rax
cmovne rbp, rax
mov rcx, rbp
call fcn.1800508d0
mov rdi, qword [0x180103740]
mov ecx, dword [rdi + 0x1a7c]
test ecx, ecx
setne al
mov byte [rdi + 0x1a8c], al
test ecx, ecx
je 0x18005407b
mov dword [rdi + 0x1a88], esi
mov word [rdi + 0x1a8e], si
mov rcx, rbp
mov dword [rdi + 0x1a7c], esi
mov qword [rdi + 0x1a94], rsi
mov byte [rdi + 0x1a8d], sil
mov qword [rdi + 0x1aa8], rsi
call fcn.18004f550
mov eax, dword [rbp + 0x380]
test eax, eax
jne 0x1800540f8
test dword [rbp + 0xc], 0x40000
jne 0x1800540f2
movsxd rcx, dword [rdi + 0x1c0c]
mov rax, qword [rdi + 0x1ba0]
movdqa xmm0, xmmword [0x1800d5160]
mov dword [rdi + 0x1ba8], esi
mov dword [rax + rcx*4 + 0x380], esi
mov word [rdi + 0x1c19], r12w
mov dword [rdi + 0x1c1c], esi
movups xmmword [rdi + 0x1c20], xmm0
mov byte [rdi + 0x1c18], r12b
jmp 0x1800540f8
mov dword [rdi + 0x1ba8], eax
cmp dword [rbp + 0x140], 2
jne 0x180054108
mov dword [rbx + 0x1c0c], r12d
mov qword [rbx + 0x1be8], rsi
mov r12, qword [rsp + 0x98]
test r15b, r15b
je 0x1800541ab
mov rdi, qword [rbx + 0x1ba0]
test rdi, rdi
je 0x1800541ab
lea rcx, [rdi + 0x358]
cmp qword [rcx], rsi
je 0x180054167
nop dword [rax + rax]
test byte [rdi + 0x140], 2
jne 0x180054167
mov eax, dword [rdi + 0xc]
and eax, 0x15000000
cmp eax, 0x1000000
jne 0x180054167
mov rdi, qword [rcx]
lea rcx, [rdi + 0x358]
cmp qword [rcx], rsi
jne 0x180054140
mov rbp, qword [rbx + 0x1ba0]
cmp rdi, rbp
je 0x180054182
mov rcx, rdi
call fcn.18004f550
mov qword [rdi + 0x378], rbp
mov rax, qword [rbx + 0x1ba0]
mov word [rbx + 0x1c16], 0x100
test byte [rax + 0x140], 2
je 0x1800541a4
mov esi, dword [rbx + 0x1c0c]
xor esi, 1
mov ecx, esi
call fcn.180051cb0
mov rdi, qword [rsp + 0x90]
add rsp, 0x58
pop r15
pop rsi
pop rbp
pop rbx
ret