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

Disassembly:
mov r11, rsp
push rbx
push r14
push r15
sub rsp, 0x90
mov rax, qword [0x180092190]
xor rax, rsp
mov qword [rsp + 0x68], rax
mov rbx, r8
movsxd r8, edx
movsxd rdx, ecx
mov eax, dword [rbx + 0xf8]
xor ecx, ecx
mov dword [rsp + 0x44], r9d
shl eax, 3
mov dword [rsp + 0x40], r8d
mov dword [rsp + 0x3c], edx
mov dword [rsp + 0x60], eax
add eax, 8
mov r14d, ecx
mov dword [rsp + 0x64], eax
lea eax, [rdx + 0x20]
mov r15d, ecx
mov r9d, ecx
mov dword [rsp + 0x30], ecx
mov dword [rsp + 0x34], ecx
mov dword [rsp + 0x58], ecx
mov dword [rsp + 0x5c], 8
cmp eax, 0x3f
ja 0x18006f365
lea eax, [r8 + 0x20]
cmp eax, 0x3f
ja 0x18006f365
mov qword [r11 + 0x20], rbp
mov qword [r11 - 0x28], rdi
mov qword [r11 - 0x30], r12
mov qword [r11 - 0x38], r13
mov r12d, ecx
mov r13d, ecx
mov rcx, 0xfffffffffffffe8c
mov r10, rdx
mov rdi, r8
sub rcx, rbx
lea rbp, [rbx + 0x174]
mov qword [r11 - 0x20], rsi
mov qword [rsp + 0x50], rcx
nop word [rax + rax]
mov eax, dword [rbp - 0x20]
lea r11d, [rdx + rax]
test r10, r10
jne 0x18006f061
mov esi, dword [rbp]
jmp 0x18006f071
mov rax, qword [rbx + 0x198]
mov esi, r11d
add rax, rcx
sub esi, dword [rax + rbp]
mov eax, dword [rbp - 0x1c]
lea r10d, [r8 + rax]
test rdi, rdi
jne 0x18006f082
mov edi, dword [rbp + 4]
jmp 0x18006f093
mov rax, qword [rbx + 0x198]
mov edi, r10d
add rax, rcx
sub edi, dword [rax + rbp + 4]
mov eax, dword [rbx]
cmp r11d, eax
jg 0x18006f343
mov ecx, dword [rbx + 4]
cmp r11d, ecx
jl 0x18006f343
mov edx, dword [rbx + 8]
cmp r10d, edx
jg 0x18006f343
mov r8d, dword [rbx + 0xc]
cmp r10d, r8d
jl 0x18006f343
cmp esi, eax
jg 0x18006f343
cmp esi, ecx
jl 0x18006f343
cmp edi, edx
jg 0x18006f343
cmp edi, r8d
jl 0x18006f343
cmp dword [rbx + 0x100], 0
je 0x18006f171
mov eax, r11d
cdq
sub eax, edx
sar eax, 1
add r15d, eax
mov eax, r10d
cdq
sub eax, edx
sar eax, 1
add r9d, eax
mov eax, esi
cdq
mov dword [rsp + 0x38], r9d
sub eax, edx
sar eax, 1
add dword [rsp + 0x30], eax
mov eax, edi
cdq
sub eax, edx
sar eax, 1
add dword [rsp + 0x34], eax
cmp dword [rbx + 0x104], 0
je 0x18006f165
xor r9d, r9d
mov r8d, r12d
mov edx, r10d
mov ecx, r11d
mov qword [rsp + 0x20], rbx
call fcn.180065420
mov r9d, 1
mov r8d, r12d
mov edx, edi
mov ecx, esi
mov qword [rsp + 0x20], rbx
mov qword [rsp + 0x48], rax
call fcn.180065420
mov r11, rax
jmp 0x18006f1f2
sar r11d, 1
sar r10d, 1
sar esi, 1
sar edi, 1
jmp 0x18006f184
add dword [rsp + 0x30], esi
add r9d, r10d
add r15d, r11d
add dword [rsp + 0x34], edi
mov dword [rsp + 0x38], r9d
mov edx, dword [rbx + 0xf8]
movsxd r8, dword [rsp + r13*4 + 0x58]
mov eax, r11d
and eax, 1
sar r11d, 1
add eax, eax
movsxd rcx, eax
mov eax, r10d
sar r10d, 1
and eax, 1
or rcx, rax
imul r10d, edx
lea eax, [r11 + r10]
mov rcx, qword [rbx + rcx*8 + 0xa0]
cdqe
add rcx, rax
mov eax, esi
sar esi, 1
and eax, 1
add rcx, r8
add eax, eax
mov qword [rsp + 0x48], rcx
movsxd rcx, eax
mov eax, edi
sar edi, 1
and eax, 1
or rcx, rax
imul edi, edx
lea eax, [rsi + rdi]
mov r11, qword [rbx + rcx*8 + 0x110]
cdqe
add r11, rax
add r11, r8
movsxd rcx, dword [rsp + r13*4 + 0x58]
mov r9d, dword [rbx + 0xf8]
mov rdx, qword [rsp + 0x48]
add rcx, qword [rbx + 0xd0]
mov r8, r11
call qword [0x1801090a0]
add r14d, eax
mov dword [rbx + r13*4 + 0x14], eax
cmp r14d, dword [rbx + 0x10]
jg 0x18006f343
movsxd rdx, dword [rsp + 0x3c]
movsxd r8, dword [rsp + 0x40]
mov r9d, dword [rsp + 0x38]
mov rcx, qword [rsp + 0x50]
inc r12d
inc r13
add rbp, 8
mov r10, rdx
mov rdi, r8
cmp r12d, 4
jb 0x18006f050
mov edi, dword [rsp + 0x3c]
mov rax, qword [0x180088ef0]
mov esi, dword [rsp + 0x40]
shr rax, 0x20
lea r9, [0x180089000]
mov r10d, esi
sub r10d, eax
mov r8, r9
mov eax, r10d
cdq
xor eax, edx
sub eax, edx
movsxd rcx, eax
mov eax, edi
shl rcx, 2
cdq
sub r8, rcx
xor eax, edx
sub eax, edx
xor edx, edx
movsxd rcx, eax
mov eax, edx
shl rcx, 2
sub r9, rcx
mov ecx, dword [r8]
add ecx, dword [r9]
test r10d, r10d
setne al
add ecx, eax
test edi, edi
setne dl
add ecx, edx
imul ecx, dword [rbx + 0xf0]
add r14d, ecx
cmp dword [rbx + 0x108], 0
je 0x18006f329
cmp r14d, dword [rbx + 0x10]
jge 0x18006f343
mov r8d, dword [rsp + 0x34]
mov ecx, dword [rsp + 0x30]
mov edx, dword [rsp + 0x38]
mov eax, r8d
lea r9, [0x180087e70]
sar r8d, 3
and eax, 0xf
mov qword [rsp + 0x20], rbx
add r8d, dword [r9 + rax*4]
mov eax, ecx
sar ecx, 3
and eax, 0xf
add ecx, dword [r9 + rax*4]
mov eax, edx
sar edx, 3
and eax, 0xf
add edx, dword [r9 + rax*4]
mov eax, r15d
sar r15d, 3
and eax, 0xf
add r15d, dword [r9 + rax*4]
mov r9d, r8d
mov r8d, ecx
mov ecx, r15d
call fcn.18006e9a0
add r14d, eax
cmp r14d, dword [rbx + 0x10]
jge 0x18006f343
mov eax, dword [rsp + 0x44]
mov dword [rbx + 0x10], r14d
mov dword [rbx + 0x24], edi
mov dword [rbx + 0x84], eax
mov dword [rbx + 0x28], esi
mov rsi, qword [rsp + 0x88]
mov rdi, qword [rsp + 0x80]
mov r12, qword [rsp + 0x78]
mov rbp, qword [rsp + 0xc8]
mov r13, qword [rsp + 0x70]
mov rcx, qword [rsp + 0x68]
xor rcx, rsp
call fcn.18000caa0
add rsp, 0x90
pop r15
pop r14
pop rbx
ret