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

Disassembly:
push rbp
push r12
push r14
lea rbp, [rsp - 0x47]
sub rsp, 0xf0
mov rax, qword [rcx]
mov r12, rdx
mov r14, rcx
cmp byte [rax], 0
je 0x18000bd46
mov qword [rsp + 0x118], rbx
mov rbx, qword [rcx + 8]
mov rcx, rbx
mov edx, dword [rbx + 0x4c]
not edx
and edx, 0xfc1
call fcn.180009d30
mov eax, dword [rbx + 0x4c]
and eax, 0xfc1
cmp eax, 0xfc1
jne 0x18000bd3e
mov rbx, qword [r14 + 8]
mov eax, dword [rbx + 0x4c]
shr eax, 0xd
test al, 1
jne 0x18000b5b1
mov edx, 0x2000
mov rcx, rbx
call fcn.180009d30
mov eax, dword [rbx + 0x4c]
shr eax, 0xd
test al, 1
je 0x18000bd3e
mov rbx, qword [r14 + 8]
mov qword [rsp + 0xe0], rdi
xor edi, edi
mov rax, qword [rbx]
movsxd rcx, dword [rax + 0x24]
lea rax, [r12 + rcx]
test ecx, ecx
jne 0x18000b5de
mov eax, edi
movzx r8d, byte [rax]
mov byte [rbp + 0x67], r8b
lea eax, [r8 - 2]
cmp al, 1
ja 0x18000bd36
mov rax, qword [r14]
cmp byte [rax + 1], dil
je 0x18000b6cc
test ecx, ecx
jne 0x18000b607
xor al, al
jmp 0x18000b64f
mov eax, dword [rbx + 0x4c]
shr eax, 4
test al, 1
jne 0x18000b623
mov edx, 0x10
mov rcx, rbx
call fcn.180009d30
movzx r8d, byte [rbp + 0x67]
mov eax, dword [rbx + 0x4c]
shr eax, 4
test al, 1
jne 0x18000b631
xor al, al
jmp 0x18000b64f
mov rcx, qword [r14 + 8]
mov rax, qword [rcx]
movsxd rdx, dword [rax + 0x24]
test edx, edx
je 0x18000b649
mov rax, rdx
add rax, qword [rcx + 0x10]
jmp 0x18000b64c
mov rax, rdi
movzx eax, byte [rax]
cmp r8b, al
jne 0x18000b6cc
mov rbx, qword [r14 + 8]
mov eax, dword [rbx + 0x4c]
shr eax, 0x15
test al, 1
jne 0x18000b66f
mov edx, 0x200000
mov rcx, rbx
call fcn.180009d30
mov eax, dword [rbx + 0x4c]
shr eax, 0x15
test al, 1
je 0x18000b6cc
mov rdx, qword [r14 + 8]
mov rax, qword [rdx + 8]
mov r8, qword [rdx]
cmp byte [rdx + 0x49], dil
jne 0x18000b6c2
mov rcx, qword [rax + 0x218]
test rcx, rcx
je 0x18000b6cc
movsx r9, byte [r8 + 1]
test r9b, r9b
je 0x18000b6cc
movsx rax, byte [r8]
test al, al
je 0x18000b6ae
cmp word [rax + rcx], di
jne 0x18000b6cc
movzx ecx, byte [r9 + rcx]
mov byte [rbp + 0x77], cl
mov byte [rbp + 0x78], 1
movzx eax, word [rbp + 0x77]
mov word [rdx + 0x48], ax
cmp byte [rdx + 0x48], dil
je 0x18000bd36
mov rbx, qword [r14 + 8]
mov rcx, qword [rbx]
movsxd rax, dword [rcx + 0x20]
test eax, eax
je 0x18000b6e5
cmp byte [rax + r12], dil
jne 0x18000bd36
cmp dword [rcx + 0x124], edi
je 0x18000bd36
mov eax, dword [rbx + 0x4c]
shr eax, 3
test al, 1
jne 0x18000b708
mov edx, 8
mov rcx, rbx
call fcn.180009d30
mov eax, dword [rbx + 0x4c]
shr eax, 3
test al, 1
je 0x18000bd36
mov rbx, qword [r14 + 8]
mov rax, qword [rbx]
mov rdx, qword [rbx + 0x18]
movsxd rcx, dword [rax + 0x124]
lea rax, [r12 + rcx]
test ecx, ecx
jne 0x18000b733
mov rax, rdi
mov ecx, dword [rax]
mov eax, ecx
and eax, 0x7fff
cmp eax, 0x7ffe
ja 0x18000bd36
shr rax, 9
mov rdx, qword [rdx + rax*8]
test rdx, rdx
je 0x18000bd36
mov eax, ecx
mov qword [rsp + 0xd0], r15
and eax, 0x1ff
imul r15, rax, 0x78
cmp dword [r15 + rdx + 0x10], ecx
jne 0x18000bd2e
mov r15, qword [r15 + rdx]
test r15, r15
je 0x18000bd2e
mov eax, dword [rbx + 0x4c]
shr eax, 4
test al, 1
jne 0x18000b79a
mov edx, 0x10
mov rcx, rbx
call fcn.180009d30
mov eax, dword [rbx + 0x4c]
shr eax, 4
test al, 1
je 0x18000b7b2
mov rax, qword [r14 + 8]
cmp qword [rax + 0x10], r15
je 0x18000bd2e
mov qword [rsp + 0xd8], r13
mov r13, qword [r14 + 8]
mov eax, dword [r13 + 0x4c]
shr eax, 0xc
test al, 1
jne 0x18000b7d6
mov edx, 0x1000
mov rcx, r13
call fcn.180009d30
mov r13d, dword [r13 + 0x4c]
shr r13d, 0xc
and r13b, 1
je 0x18000b80a
mov rax, qword [r14 + 8]
mov rcx, qword [rax]
movsxd rax, dword [rcx + 0x1c]
test eax, eax
je 0x18000b7f8
add rax, r12
jmp 0x18000b7fb
mov rax, rdi
mov edx, dword [rax]
mov dword [rbp + 0x7f], edx
test edx, edx
jle 0x18000bd26
jmp 0x18000b811
mov dword [rbp + 0x7f], 0x64
mov r8, qword [r14 + 8]
mov rcx, qword [r8]
movsxd rax, dword [rcx + 0x18]
test eax, eax
je 0x18000b825
add rax, r12
jmp 0x18000b828
mov rax, rdi
mov rdx, qword [rax]
test rdx, rdx
je 0x18000bd26
movsxd rax, dword [rcx + 0x50]
movaps xmmword [rsp + 0xa0], xmm8
movaps xmmword [rsp + 0x80], xmm10
movaps xmmword [rsp + 0x70], xmm11
movaps xmmword [rsp + 0x60], xmm12
test eax, eax
je 0x18000b85f
add rax, rdx
jmp 0x18000b862
mov rax, rdi
movss xmm2, dword [rax + 8]
movsd xmm0, qword [rax]
movaps xmm1, xmm2
mov r8, qword [r8 + 8]
movaps xmm8, xmm0
movsd qword [rsp + 0x20], xmm0
movss xmm3, dword [rsp + 0x20]
shufps xmm8, xmm8, 0x55
movaps xmm0, xmm3
mov rcx, qword [r8 + 0x20]
movaps xmm10, xmm8
movaps xmm12, xmm8
movaps xmm11, xmm8
mulss xmm0, dword [rcx]
mulss xmm1, dword [rcx + 8]
mulss xmm10, dword [rcx + 4]
mulss xmm12, dword [rcx + 0x14]
mulss xmm8, dword [rcx + 0x34]
addss xmm10, xmm0
mulss xmm11, dword [rcx + 0x24]
movaps xmm0, xmm3
mulss xmm0, dword [rcx + 0x10]
addss xmm10, xmm1
movaps xmm1, xmm2
mulss xmm1, dword [rcx + 0x18]
addss xmm12, xmm0
movaps xmm0, xmm3
mulss xmm3, dword [rcx + 0x30]
mulss xmm0, dword [rcx + 0x20]
addss xmm10, dword [rcx + 0xc]
addss xmm12, xmm1
movaps xmm1, xmm2
mulss xmm2, dword [rcx + 0x38]
addss xmm8, xmm3
mulss xmm1, dword [rcx + 0x28]
addss xmm11, xmm0
addss xmm12, dword [rcx + 0x1c]
addss xmm8, xmm2
addss xmm11, xmm1
addss xmm8, dword [rcx + 0x3c]
addss xmm11, dword [rcx + 0x2c]
comiss xmm8, dword [0x180012eb4]
jb 0x18000bd08
lea r9, [r8 + 0x38]
mov qword [rsp + 0xe8], rsi
lea rcx, [r8 + 0x28]
mov r8, qword [r8]
lea rdx, [rbp + 0x77]
call fcn.180006f90
mov rsi, qword [rbp + 0x77]
test rsi, rsi
je 0x18000bd00
mov rax, qword [0x180015028]
movsx rcx, byte [rax + 0xfc]
test cl, cl
je 0x18000bd00
mov rbx, rcx
add rbx, rsi
je 0x18000bd00
mov rdi, qword [r14]
mov rcx, rsi
call fcn.180007330
cmp dword [rdi + 8], eax
jne 0x18000b998
shr rax, 0x20
cmp dword [rdi + 0xc], eax
je 0x18000b9b2
mov rax, qword [r14]
mov rcx, rsi
mov qword [rax + 0x20], 0
call fcn.180007330
mov rcx, qword [r14]
mov qword [rcx + 8], rax
mov rax, qword [r14 + 8]
mov rcx, qword [r14]
mov r8, qword [r14 + 0x10]
mov r9, qword [rax + 8]
mov rax, qword [rcx + 0x20]
add r9, 0x38
cmp r8, rax
jae 0x18000b9ff
mov rdx, qword [rcx + 0x18]
mov r11d, dword [rbx]
movzx r10d, word [rdx + r8*2]
test r11d, r11d
jle 0x18000b9f1
cmp r10d, r11d
jae 0x18000b9f1
mov rdi, qword [rbx + 8]
mov rdi, qword [rdi + r10*8]
test rdi, rdi
jne 0x18000ba66
movzx eax, word [rdx + rax*2 - 2]
mov word [rdx + r8*2], ax
dec qword [rcx + 0x20]
mov rax, qword [r14 + 8]
lea r8, [rbp - 0x79]
mov qword [rbp - 0x61], rax
lea rdx, [rbp + 0x77]
lea rcx, [rbp - 0x69]
mov qword [rbp - 0x69], rsi
mov qword [rbp - 0x59], r9
mov rax, qword [rax + 8]
movups xmm0, xmmword [rax + 0x10]
movaps xmmword [rbp - 0x79], xmm0
call fcn.1800061a0
mov rdi, qword [rbp + 0x77]
test rdi, rdi
je 0x18000bd00
mov eax, dword [rbx]
lea rdx, [rbp + 0x77]
test eax, eax
lea ecx, [rax - 1]
mov eax, 0
cmovle cx, ax
mov word [rbp + 0x77], cx
mov rcx, qword [r14]
add rcx, 0x10
call fcn.180009fc0
test rdi, rdi
je 0x18000bd00
mov rax, qword [0x180015028]
movsx rcx, byte [rax + 0xfc]
test cl, cl
je 0x18000bd00
mov rax, rcx
add rax, rdi
je 0x18000bd00
cmp dword [rax], 3
jne 0x18000bd00
mov rax, qword [rax + 8]
mov rdx, qword [rax]
mov rbx, qword [rax + 8]
mov rsi, qword [rax + 0x10]
test rdx, rdx
je 0x18000bd00
movzx r9d, byte [rbp + 0x67]
mov r8, r15
mov rcx, r14
call fcn.18000c3a0
test r13b, r13b
je 0x18000bace
mov r8d, dword [rbp + 0x7f]
mov rdx, rbx
mov rcx, r14
call fcn.18000c5e0
mov r8, r12
mov rdx, rsi
mov rcx, r14
call fcn.18000c060
mov rax, qword [0x180015028]
movsx rcx, byte [rax + 0x104]
test cl, cl
je 0x18000bd00
add rcx, rdi
je 0x18000bd00
mov rbx, qword [r14 + 8]
movaps xmmword [rsp + 0xc0], xmm6
movaps xmmword [rsp + 0xb0], xmm7
movaps xmmword [rsp + 0x90], xmm9
mov rax, qword [rbx + 8]
add rax, 0x38
mov qword [rsp + 0x20], rcx
mov qword [rsp + 0x28], rax
mov eax, dword [rbx + 0x4c]
shr eax, 0x14
test al, 1
jne 0x18000bb42
mov edx, 0x100000
mov rcx, rbx
call fcn.180009d30
mov eax, dword [rbx + 0x4c]
movss xmm6, dword [0x180012ed0]
movss xmm9, dword [0x180012ec4]
shr eax, 0x14
test al, 1
je 0x18000bb81
mov rax, qword [r14 + 8]
mov rcx, qword [rax]
movsxd rax, dword [rcx + 0x11c]
test eax, eax
je 0x18000bb74
add rax, r12
jmp 0x18000bb76
xor eax, eax
cmp byte [rax], 0
je 0x18000bb81
movaps xmm1, xmm9
jmp 0x18000bb84
movaps xmm1, xmm6
lea rcx, [rsp + 0x20]
call fcn.18000ca80
movaps xmm1, xmm11
lea rcx, [rsp + 0x20]
xorps xmm1, xmmword [0x180012f10]
call fcn.18000cd60
mov rcx, qword [r14 + 8]
movaps xmm7, xmm6
mov eax, dword [rcx + 0x4c]
lea rbx, [rcx + 0x4c]
divss xmm7, xmm8
shr eax, 0xe
mov r8, rcx
mov dword [rbp + 0x7f], 0x3f800000
mov dword [rbp + 0x67], 0x3ecccccd
movaps xmm8, xmm7
mulss xmm7, xmm12
mulss xmm8, xmm10
movss xmm10, dword [0x180012ec0]
test al, 1
jne 0x18000bbf6
mov edx, 0x4000
call fcn.180009d30
mov rcx, qword [r14 + 8]
mov r8, rcx
mov eax, dword [rbx]
shr eax, 0xe
test al, 1
je 0x18000bc07
movss xmm0, dword [r8 + 0x24]
jmp 0x18000bc0d
movaps xmm0, xmm6
mov r8, rcx
mov rcx, qword [r8 + 8]
lea rax, [rbp + 0x77]
divss xmm11, xmm0
lea rdx, [rbp + 0x67]
movss xmm0, dword [0x180012f00]
addss xmm11, dword [0x180012efc]
divss xmm0, xmm11
comiss xmm10, xmm0
movss dword [rbp + 0x77], xmm0
cmovbe rdx, rax
add rcx, 0x10
comiss xmm0, xmm6
lea rax, [rbp + 0x7f]
cmovbe rax, rdx
movss xmm1, dword [rax]
call fcn.18000bfe0
addss xmm8, xmm6
mov qword [rbp - 0x79], rax
mov rax, qword [r14 + 8]
movaps xmm0, xmm6
subss xmm0, xmm7
mov dword [rbp + 0x6b], 2
mov dword [rbp + 0x7b], 2
mov rcx, qword [rax + 8]
mulss xmm8, xmm9
add rcx, 0x10
mulss xmm0, xmm9
mulss xmm8, dword [0x180012ef4]
mulss xmm0, dword [0x180012ef4]
movss dword [rbp + 0x77], xmm8
mov rdx, qword [rbp + 0x77]
movss dword [rbp + 0x67], xmm0
mov r8, qword [rbp + 0x67]
call fcn.18000d0e0
mov rcx, qword [rsp + 0x20]
lea rdx, [rbp - 0x69]
mov qword [rbp - 0x71], rax
lea rax, [rbp - 0x79]
mov qword [rbp - 0x59], 2
mov qword [rbp - 0x61], rax
mov dword [rbp - 0x69], 2
mov rax, qword [rcx]
call qword [rax + 0x88]
inc qword [r14 + 0x10]
movaps xmm9, xmmword [rsp + 0x90]
movaps xmm7, xmmword [rsp + 0xb0]
movaps xmm6, xmmword [rsp + 0xc0]
mov rsi, qword [rsp + 0xe8]
movaps xmm10, xmmword [rsp + 0x80]
movaps xmm8, xmmword [rsp + 0xa0]
movaps xmm11, xmmword [rsp + 0x70]
movaps xmm12, xmmword [rsp + 0x60]
mov r13, qword [rsp + 0xd8]
mov r15, qword [rsp + 0xd0]
mov rdi, qword [rsp + 0xe0]
mov rbx, qword [rsp + 0x118]
add rsp, 0xf0
pop r14
pop r12
pop rbp
ret