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

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x50
mov rax, qword [0x1400f5040]
xor rax, rsp
mov qword [rsp + 0x48], rax
mov r11d, ecx
mov dword [rsp + 0x2c], ecx
mov r13, qword [0x1400f6dc0]
lea r15, [r13 + 0x5dc8]
xor r8d, r8d
test ecx, ecx
je 0x14006c55b
mov edx, ecx
mov rcx, r15
call fcn.140048f60
mov rbx, rax
mov qword [rsp + 0x30], rax
test rax, rax
je 0x14006c94d
mov byte [rsp + 0x20], 0
mov r12d, dword [rax + 0xc8]
shl r12d, 0x1d
sar r12d, 0x1d
mov eax, dword [rax + 0xc8]
shl eax, 0x1a
sar eax, 0x1d
mov dword [rsp + 0x28], eax
xor r8d, r8d
jmp 0x14006c56f
mov rbx, r8
mov qword [rsp + 0x30], rbx
mov byte [rsp + 0x20], bl
mov r12d, r8d
mov dword [rsp + 0x28], r8d
mov dword [rsp + 0x24], r12d
mov esi, r8d
mov dword [rsp + 0x3c], r8d
mov edi, r8d
mov dword [rsp + 0x38], edi
mov r10, r8
mov qword [rsp + 0x40], r8
mov ebp, r8d
cmp dword [r15], 0
jle 0x14006c734
mov r15, r8
mov edx, 1
mov r12d, dword [rsp + 0x20]
nop word [rax + rax]
mov rax, qword [r13 + 0x5dd0]
mov r14, qword [r15 + rax + 8]
test r14, r14
je 0x14006c710
test r11d, r11d
je 0x14006c5f5
cmp dword [r14], r11d
je 0x14006c710
mov rax, qword [r14 + 0x18]
test rax, rax
je 0x14006c710
lea rcx, [rax]
mov rax, qword [rax + 0x18]
test rax, rax
jne 0x14006c5e0
cmp dword [rcx], r11d
jne 0x14006c710
mov eax, dword [r14 + 0x10]
shr eax, 0xb
test al, 1
movzx r12d, r12b
cmovne r12d, edx
test r11d, r11d
je 0x14006c641
mov edx, r8d
cmp dword [r13 + 0x5dd8], 0
jle 0x14006c641
mov rcx, r8
nop dword [rax + rax]
mov rax, qword [r13 + 0x5de0]
cmp qword [rax + rcx + 0x10], r14
jne 0x14006c632
mov dword [rax + rcx], r8d
inc edx
add rcx, 0x40
cmp edx, dword [r13 + 0x5dd8]
jl 0x14006c620
test rbx, rbx
je 0x14006c660
mov rdx, r14
mov rcx, rbx
call fcn.140067040
mov edx, dword [rbx]
mov ecx, dword [r14]
call fcn.14006d450
mov r10, qword [rsp + 0x40]
cmp edi, esi
jne 0x14006c6f6
lea ebx, [rdi + 1]
test esi, esi
je 0x14006c67a
mov eax, esi
cdq
sub eax, edx
sar eax, 1
add eax, esi
jmp 0x14006c67f
mov eax, 8
cmp eax, ebx
cmovg ebx, eax
cmp ebx, esi
jle 0x14006c6f1
mov rax, qword [0x1400f6dc0]
test rax, rax
je 0x14006c69a
inc dword [rax + 0xf4]
movsxd rcx, ebx
shl rcx, 3
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rsi, rax
mov rax, qword [rsp + 0x40]
test rax, rax
je 0x14006c6e3
movsxd r8, edi
shl r8, 3
mov rdx, rax
mov rcx, rsi
call sub.VCRUNTIME140.dll_memcpy
mov rdx, qword [0x1400f6dc0]
test rdx, rdx
je 0x14006c6d8
dec dword [rdx + 0xf4]
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov r10, rsi
mov qword [rsp + 0x40], rsi
mov esi, ebx
mov dword [rsp + 0x3c], ebx
mov rbx, qword [rsp + 0x30]
movsxd rax, edi
mov qword [r10 + rax*8], r14
inc edi
mov dword [rsp + 0x38], edi
mov r11d, dword [rsp + 0x2c]
xor r8d, r8d
mov edx, 1
inc ebp
add r15, 0x10
cmp ebp, dword [r13 + 0x5dc8]
jl 0x14006c5b0
mov dword [rsp + 0x20], r12d
mov r12d, dword [rsp + 0x24]
lea r15, [r13 + 0x5dc8]
test rbx, rbx
je 0x14006c762
mov ecx, dword [rsp + 0x28]
lea ecx, [rcx*8]
mov edx, r12d
xor edx, dword [rbx + 0xc8]
and edx, 0xffffffc0
mov eax, ecx
xor eax, r12d
and eax, 0xffffffc7
xor edx, eax
xor edx, ecx
mov dword [rbx + 0xc8], edx
mov rcx, qword [r13 + 0x5e38]
lea rax, [rcx + 4]
xor r12d, r12d
mov r9d, r12d
test rcx, rcx
cmovne r9, rax
test r9, r9
je 0x14006c7d6
nop
mov r8d, dword [r9 + 0x14]
test r8d, r8d
je 0x14006c7ab
mov edx, r12d
test edi, edi
jle 0x14006c7ab
mov rcx, r10
mov rax, qword [rcx]
cmp dword [rax], r8d
je 0x14006c7a7
inc edx
add rcx, 8
cmp edx, edi
jl 0x14006c793
jmp 0x14006c7ab
mov dword [r9 + 0x14], r11d
movsxd r8, dword [r9 - 4]
add r8, r9
movsxd rcx, dword [r13 + 0x5e30]
mov rdx, qword [r13 + 0x5e38]
add rdx, 4
add rdx, rcx
mov r9, r12
cmp r8, rdx
cmovne r9, r8
test r9, r9
jne 0x14006c780
cmp edi, 1
jle 0x14006c7fa
movsxd rdx, edi
cmp rdx, 1
jbe 0x14006c7fa
lea r9, [0x140065530]
mov r8d, 8
mov rcx, r10
call qword [sym.imp.api_ms_win_crt_utility_l1_1_0.dll_qsort]
mov r14, qword [rsp + 0x40]
test edi, edi
jle 0x14006c8b1
mov rsi, r14
nop word [rax + rax]
mov rbx, qword [rsi]
test byte [r13 + 0x5ef4], 0x80
je 0x14006c82b
mov edx, dword [rbx]
lea rcx, str._docking__DockContextRemoveNode_0x_08X_n
call fcn.14006e360
mov rax, qword [rbx + 0x88]
test rax, rax
je 0x14006c83e
mov qword [rax + 0x450], r12
mov rdx, qword [rbx + 0x18]
test rdx, rdx
je 0x14006c86a
mov ecx, 0x20
nop dword [rax]
cmp rcx, 0x30
jge 0x14006c86a
cmp qword [rdx + rcx], rbx
jne 0x14006c864
mov rax, qword [rbx + 0x18]
mov qword [rcx + rax], r12
add rcx, 8
jmp 0x14006c850
xor r8d, r8d
mov edx, dword [rbx]
lea rcx, [r13 + 0x5dc8]
call fcn.140049100
mov rcx, rbx
call fcn.1400669d0
mov rax, qword [0x1400f6dc0]
test rax, rax
je 0x14006c895
dec dword [rax + 0xf4]
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
add rsi, 8
sub rdi, 1
jne 0x14006c810
mov rbx, qword [rsp + 0x30]
cmp dword [rsp + 0x2c], r12d
jne 0x14006c90b
mov rcx, qword [r15 + 8]
test rcx, rcx
je 0x14006c8e0
mov qword [r15], r12
mov rax, qword [0x1400f6dc0]
test rax, rax
je 0x14006c8d6
dec dword [rax + 0xf4]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [r15 + 8], r12
mov rcx, qword [r15 + 0x18]
test rcx, rcx
je 0x14006c92c
mov qword [r15 + 0x10], r12
mov rax, qword [0x1400f6dc0]
test rax, rax
je 0x14006c8ff
dec dword [rax + 0xf4]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [r15 + 0x18], r12
jmp 0x14006c92c
cmp byte [rsp + 0x20], r12b
je 0x14006c92c
mov qword [rbx + 0x98], rbx
or dword [rbx + 8], 0x800
mov eax, dword [rbx + 0xc]
or eax, dword [rbx + 4]
or eax, dword [rbx + 8]
mov dword [rbx + 0x10], eax
test r14, r14
je 0x14006c94d
mov rax, qword [0x1400f6dc0]
test rax, rax
je 0x14006c943
dec dword [rax + 0xf4]
mov rcx, r14
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
nop
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.1400a49e0
lea r11, [rsp + 0x50]
mov rbx, qword [r11 + 0x38]
mov rbp, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret