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

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r14
sub rsp, 0x20
mov rsi, qword [0x1400baf00]
mov r14, rdx
and byte [rcx + 0x445], 0xf8
mov rbx, rcx
cmp byte [rsi + 0x5a], 0
jne 0x14003c8ae
cmp byte [rcx + 0x3c], 0
je 0x14003c92d
test dword [rcx + 0x14], 0x1080001
jne 0x14003c92d
cmp byte [rcx + 0x108], 0
jne 0x14003c92d
cmp dword [rcx + 0x478], 0
jne 0x14003c963
cmp qword [rcx + 0x468], 0
je 0x14003c8f1
mov r8d, 0x4b74
lea rdx, str.F:devcfgimguidockimguiimgui.cpp
lea rcx, str.window__DockNode__0
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov edi, 1
lea rcx, [rsi + 0x6168]
mov edx, edi
call fcn.14000f380
test rax, rax
je 0x14003c925
nop dword [rax]
inc edi
lea rcx, [rsi + 0x6168]
mov edx, edi
call fcn.14000f380
test rax, rax
jne 0x14003c910
mov dword [rbx + 0x478], edi
jmp 0x14003c963
mov ecx, dword [rcx + 0x14]
shr ecx, 0x13
and cl, 1
test byte [rsi + 0x4b78], 1
je 0x14003c95b
movsx eax, byte [rbx + 0x124]
test dword [rsi + 0x4b7c], eax
je 0x14003c95b
cmp byte [rsi + 0x4bb8], 0
jne 0x14003ccb1
test cl, cl
jne 0x14003ccb1
mov rdi, qword [rbx + 0x468]
test rdi, rdi
je 0x14003c993
mov eax, dword [rdi]
cmp dword [rbx + 0x478], eax
je 0x14003c993
mov r8d, 0x4b88
lea rdx, str.F:devcfgimguidockimguiimgui.cpp
lea rcx, str.window__DockId__node__ID
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
cmp dword [rbx + 0x478], 0
je 0x14003c9b8
test rdi, rdi
jne 0x14003c9b8
mov rdx, rbx
mov rcx, rsi
call fcn.14003c690
mov rdi, rax
test rax, rax
je 0x14003ccbf
mov ecx, dword [rsi + 0x40c8]
cmp dword [rdi + 0xac], ecx
jge 0x14003c9f4
mov rax, qword [rdi + 0x18]
test rax, rax
je 0x14003c9dc
nop
mov rdi, rax
mov rax, qword [rax + 0x18]
test rax, rax
jne 0x14003c9d0
cmp dword [rdi + 0xac], ecx
jl 0x14003ccb1
or byte [rbx + 0x445], 1
jmp 0x14003ccbf
mov r10, qword [0x1400baf00]
lea r8, [0x14009f7d0]
mov r9, rbx
lea r11, [0x14009f7f0]
sub r9, r8
nop
movsxd rcx, dword [r8]
shl rcx, 4
add rcx, 0x3ae8
add rcx, r10
call fcn.14000efd0
mov dword [r9 + r8 + 0x448], eax
add r8, 4
cmp r8, r11
jl 0x14003ca10
cmp qword [rdi + 0x88], 0
jne 0x14003ca83
cmp dword [rdi + 0x14], 2
jne 0x14003ca4e
or byte [rbx + 0x445], 1
cmp dword [rdi + 0x30], 1
jle 0x14003ccbf
cmp byte [rbx + 0x106], 0
je 0x14003ccbf
cmp byte [rbx + 0xff], 0
mov byte [rbx + 0x107], 1
sete al
inc al
mov byte [rbx + 0x120], al
jmp 0x14003ccbf
cmp qword [rdi + 0x20], 0
je 0x14003caa4
mov r8d, 0x4bb7
lea rdx, str.F:devcfgimguidockimguiimgui.cpp
lea rcx, str.node__IsLeafNode__
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
movss xmm0, dword [rdi + 0x50]
xorps xmm1, xmm1
comiss xmm0, xmm1
jb 0x14003cabb
movss xmm0, dword [rdi + 0x54]
comiss xmm0, xmm1
jae 0x14003cad5
mov r8d, 0x4bb8
lea rdx, str.F:devcfgimguidockimguiimgui.cpp
lea rcx, str.node__Size.x___0.0f__node__Size.y___0.0f
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
test byte [rdi + 0x10], 1
mov dword [rdi + 0x14], 3
jne 0x14003cafd
mov rax, qword [rdi + 0x88]
movzx ecx, word [rax + 0x114]
cmp word [rbx + 0x114], cx
jl 0x14003ccb1
mov rcx, qword [0x1400baf00]
xor edx, edx
mov eax, dword [rcx + 0x4b78]
or eax, 1
mov dword [rcx + 0x4b78], eax
or eax, 2
movsd xmm0, qword [rdi + 0x48]
mov dword [rcx + 0x4b78], eax
movsd qword [rcx + 0x4b8c], xmm0
mov qword [rcx + 0x4b94], rdx
mov dword [rcx + 0x4b7c], 1
mov byte [rcx + 0x4bb8], 1
movsd xmm0, qword [rdi + 0x50]
movsd qword [rcx + 0x4b9c], xmm0
mov dword [rcx + 0x4b80], 1
mov byte [rsi + 0x4bb8], dl
movzx eax, byte [rbx + 0x445]
or al, 3
and al, 0xfb
mov byte [rbx + 0x445], al
test byte [rdi + 0x10], 1
jne 0x14003ccbf
cmp qword [rdi + 0x90], rbx
jne 0x14003cb8c
or al, 4
mov byte [rbx + 0x445], al
test dword [rbx + 0x14], 0x1000000
je 0x14003cbaf
mov r8d, 0x4bd1
lea rdx, str.F:devcfgimguidockimguiimgui.cpp
lea rcx, str._window__Flags__ImGuiWindowFlags_ChildWindow___0
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov edx, dword [rbx + 0x14]
or dword [rbx + 0x1c], 2
or edx, 0x1000002
mov dword [rbx + 0x14], edx
mov eax, edx
or eax, 1
and edx, 0xfffffffe
test dword [rdi + 0x10], 0x3000
cmovne edx, eax
mov dword [rbx + 0x14], edx
cmp qword [rdi + 0x40], 0
je 0x14003cc72
cmp byte [rbx + 0x100], 0
je 0x14003cc72
mov rax, qword [rbx + 0x468]
mov rbp, qword [rax + 0x40]
test rbp, rbp
je 0x14003cc66
mov edx, dword [rbx + 0xc0]
mov rcx, rbp
call fcn.14006eae0
mov rsi, rax
test rax, rax
je 0x14003cc66
mov rax, qword [rbp + 8]
cmp rsi, rax
jb 0x14003cc2b
movsxd rcx, dword [rbp]
imul rdx, rcx, 0x38
add rdx, rax
cmp rsi, rdx
jb 0x14003cc45
mov r8d, 0x84a
lea rdx, str.F:devcfgimguidockimguiimgui.h
lea rcx, [0x14009ee98]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
sub rsi, qword [rbp + 8]
movabs rax, 0x4924924924924925
imul rsi
sar rdx, 4
mov rax, rdx
shr rax, 0x3f
add rax, rdx
jmp 0x14003cc6b
mov eax, 0xffffffff
mov word [rbx + 0x446], ax
test byte [rdi + 0xcc], 0x40
jne 0x14003cc89
mov eax, dword [rbx + 0xc0]
cmp dword [rdi + 0xc0], eax
jne 0x14003cc92
test r14, r14
je 0x14003cc92
mov byte [r14], 0
mov rax, qword [rbx + 0x468]
mov rdx, qword [rbx + 8]
mov rcx, qword [rax + 0x88]
call fcn.140021df0
mov dword [rbx + 0xc4], eax
jmp 0x14003ccbf
mov r8b, 1
mov rdx, rbx
mov rcx, rsi
call fcn.140034040
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret