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

Disassembly:
push rbx
push rsi
push r14
push r15
sub rsp, 0x78
mov rsi, qword [0x14008fd50]
mov rbx, rcx
mov r15d, dword [rcx + 0xc]
mov dword [rcx + 0x44], 0xffffffff
cmp dword [rsi + 0x49c8], 0
jg 0x140021e93
mov r8d, 0x745
lea rdx, str.G:VisualStudioProjectsMove_Splicerimgui.h
lea rcx, str.i___0__i___Size
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
test dword [rsi + 0x3d28], 0x400
mov rax, qword [rsi + 0x49d0]
mov qword [rsp + 0x70], rdi
mov r14, qword [rax]
jne 0x140021ef4
cmp byte [rbx + 0xe2], 0
je 0x140021eca
mov rax, qword [rbx + 0x30]
cmp qword [rax + 0x88], rbx
jne 0x140021eca
xor edi, edi
mov qword [rax + 0x10], rdi
mov qword [rbx + 0x30], r14
mov eax, dword [r14]
mov dword [rbx + 0x38], eax
cmp qword [r14 + 0x88], rbx
sete al
mov byte [rbx + 0xe2], al
mov rdi, qword [rsp + 0x70]
add rsp, 0x78
pop r15
pop r14
pop rsi
pop rbx
ret
mov qword [rsp + 0x68], r12
xor edi, edi
mov qword [rsp + 0x60], r13
mov r13d, r15d
movaps xmmword [rsp + 0x30], xmm8
mov byte [rbx + 0xe2], 0
and r13d, 0x6000000
je 0x140021f29
cmp byte [rbx + 0xe9], dil
je 0x140021f29
mov qword [rbx + 0x30], rdi
mov dword [rbx + 0x38], edi
test dword [rsi + 0x48b0], 0x100
jne 0x140021fbd
mov rax, qword [rbx + 0x30]
test rax, rax
jne 0x140021fbd
mov rax, qword [rbx + 0x3a0]
test rax, rax
je 0x140021f6d
cmp byte [rax + 0xeb], dil
je 0x140021f60
cmp byte [rax + 0xe4], dil
je 0x140021f6d
mov rax, qword [rax + 0x30]
mov qword [rbx + 0x30], rax
test rax, rax
jne 0x140021fbd
mov ecx, dword [rbx + 0x38]
test ecx, ecx
je 0x140021fbd
call fcn.140020630
mov qword [rbx + 0x30], rax
test rax, rax
jne 0x140021fbd
movss xmm0, dword [rbx + 0x3c]
lea r8, [rbx + 0x3c]
movss xmm1, dword [0x140082ea8]
ucomiss xmm0, xmm1
jp 0x140021f9a
je 0x140021fbd
movss xmm0, dword [rbx + 0x40]
ucomiss xmm0, xmm1
jp 0x140021fa6
je 0x140021fbd
mov edx, dword [rbx + 8]
lea r9, [rbx + 0x50]
mov rcx, rbx
mov dword [rsp + 0x20], edi
call fcn.1400218b0
mov qword [rbx + 0x30], rax
movss xmm8, dword [0x140082ec4]
xor r12b, r12b
test dword [rsi + 0x48b0], 0x100
mov qword [rsp + 0xb0], rbp
je 0x140021ffd
mov ecx, dword [rsi + 0x4914]
call fcn.140020630
mov qword [rbx + 0x30], rax
mov r12b, 1
mov eax, dword [rsi + 0x4914]
mov dword [rbx + 0x38], eax
jmp 0x1400221db
mov rax, qword [rbx + 0x430]
test r15d, 0x11000000
jne 0x140022190
test rax, rax
je 0x14002202f
mov rax, qword [rax + 0x88]
test rax, rax
je 0x14002202f
mov rax, qword [rax + 0x30]
mov qword [rbx + 0x30], rax
jmp 0x1400221db
bt r15d, 0x19
jae 0x140022046
mov rax, qword [rsi + 0x49e8]
mov qword [rbx + 0x30], rax
jmp 0x1400221db
mov rax, qword [0x14008fd50]
cmp byte [rax + 0x7c], dil
jne 0x14002205c
test dword [rbx + 0x1c], 0x800
je 0x140022087
test dword [rax + 0x3d28], 0x400
je 0x140022087
test byte [rbx + 0x415], 1
jne 0x140022087
mov eax, dword [rbx + 0xc]
test eax, 0x13000000
jne 0x140022087
and eax, 0xc000000
cmp eax, 0x4000000
jne 0x140022104
mov rax, qword [rsi + 0x3ff0]
test rax, rax
je 0x140022124
cmp qword [rax + 0x3c0], rbx
jne 0x140022124
cmp qword [0x14008fd50], rdi
jne 0x1400220c7
mov r8d, 0x220c
lea rdx, str.G:VisualStudioProjectsMove_Splicerimgui.cpp
lea rcx, str.GImGui___0
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov rax, qword [0x14008fd50]
movss xmm0, dword [rax + 0xe04]
comiss xmm0, xmm8
movss xmm1, dword [rax + 0xe08]
jb 0x140022124
comiss xmm1, xmm8
jb 0x140022124
mov rax, qword [rbx + 0x30]
test rax, rax
je 0x1400221db
cmp qword [rax + 0x88], rbx
jne 0x1400221db
mov edx, dword [rbx + 8]
lea r9, [rbx + 0x50]
lea r8, [rbx + 0x48]
mov dword [rsp + 0x20], edi
mov rcx, rbx
call fcn.1400218b0
mov qword [rbx + 0x30], rax
jmp 0x1400221db
mov rax, qword [rbx + 0x30]
test rax, rax
je 0x1400221db
cmp rbx, qword [rax + 0x88]
jne 0x1400221db
cmp dword [rsi + 0x4038], edi
je 0x140022153
cmp byte [rsi + 0x4045], dil
je 0x1400221db
mov rbp, qword [0x14008fd50]
cmp dword [rbp + 0x49c8], edi
jg 0x14002217c
mov r8d, 0x745
lea rdx, str.G:VisualStudioProjectsMove_Splicerimgui.h
lea rcx, str.i___0__i___Size
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov rdx, qword [rbp + 0x49d0]
mov rcx, rbx
mov rdx, qword [rdx]
call fcn.1400207b0
jmp 0x1400221db
test rax, rax
je 0x1400221cc
mov rdx, qword [rax + 0x88]
test rdx, rdx
je 0x1400221cc
mov rax, qword [rbx + 0x3a0]
mov rcx, qword [rax + 0x30]
cmp qword [rdx + 0x30], rcx
je 0x1400221cc
mov r8d, 0x368e
lea rdx, str.G:VisualStudioProjectsMove_Splicerimgui.cpp
lea rcx, str.window__DockNode__HostWindow__Viewport__window__ParentWindow__Viewport
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov rax, qword [rbx + 0x3a0]
mov rcx, qword [rax + 0x30]
mov qword [rbx + 0x30], rcx
cmp qword [rbx + 0x30], rdi
jne 0x14002220b
mov rdx, r14
mov rcx, rbx
call fcn.1400207b0
test al, al
jne 0x14002220b
mov edx, dword [rbx + 8]
lea r9, [rbx + 0x50]
lea r8, [rbx + 0x48]
mov dword [rsp + 0x20], edi
mov rcx, rbx
call fcn.1400218b0
mov qword [rbx + 0x30], rax
test r12b, r12b
mov r12, qword [rsp + 0x68]
jne 0x140022504
test r13d, r13d
je 0x1400223f1
movaps xmmword [rsp + 0x50], xmm6
movaps xmmword [rsp + 0x40], xmm7
bt r15d, 0x19
jae 0x14002223c
lea rax, [rsi + 0xe04]
jmp 0x14002227d
mov eax, dword [rsi + 0x49b0]
test eax, eax
jg 0x140022266
mov r8d, 0x74e
lea rdx, str.G:VisualStudioProjectsMove_Splicerimgui.h
lea rcx, str.Size___0
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov eax, dword [rsi + 0x49b0]
dec eax
movsxd rcx, eax
mov rax, qword [rsi + 0x49b8]
imul rdx, rcx, 0x38
add rax, 0x2c
add rax, rdx
movss xmm6, dword [rax]
movss xmm7, dword [rax + 4]
cmp byte [rsi + 0x4a6a], dil
jne 0x1400222a6
cmp byte [rsi + 0x4a6b], dil
je 0x1400222a6
cmp qword [rsi + 0x4a28], rdi
je 0x1400222a6
xor sil, sil
jmp 0x1400222a9
mov sil, 1
cmp qword [0x14008fd50], rdi
jne 0x1400222cc
mov r8d, 0x220c
lea rdx, str.G:VisualStudioProjectsMove_Splicerimgui.cpp
lea rcx, str.GImGui___0
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
comiss xmm6, xmm8
jb 0x1400222dc
comiss xmm7, xmm8
jb 0x1400222dc
mov al, 1
jmp 0x1400222de
xor al, al
cmp byte [rbx + 0xe9], dil
jne 0x1400222f0
test r15d, 0x12000000
je 0x1400222f9
test sil, sil
je 0x140022332
test al, al
jne 0x140022316
mov rax, qword [rbx + 0x30]
movsx edi, word [rax + 0x80]
mov dword [rbx + 0x44], edi
movaps xmm7, xmmword [rsp + 0x40]
movaps xmm6, xmmword [rsp + 0x50]
jmp 0x140022504
movss dword [rsp + 0xa0], xmm6
lea r15, [rsp + 0xa0]
movss dword [rsp + 0xa4], xmm7
jmp 0x140022342
lea rcx, [rsp + 0xa8]
call fcn.14001ba30
mov r15, rax
mov r14, qword [0x14008fd50]
mov ecx, dword [r14 + 0x38b0]
test ecx, ecx
jle 0x1400223da
mov rbp, rdi
mov rsi, rdi
nop
test rbp, rbp
js 0x140022369
cmp edi, ecx
jl 0x140022383
mov r8d, 0x745
lea rdx, str.G:VisualStudioProjectsMove_Splicerimgui.h
lea rcx, str.i___0__i___Size
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov rax, qword [r14 + 0x38b8]
movss xmm4, dword [r15]
movss xmm0, dword [rsi + rax]
comiss xmm4, xmm0
movss xmm3, dword [rsi + rax + 4]
movaps xmm1, xmm0
addss xmm1, dword [rsi + rax + 8]
movaps xmm2, xmm3
addss xmm2, dword [rsi + rax + 0xc]
jb 0x1400223c6
movss xmm0, dword [r15 + 4]
comiss xmm0, xmm3
jb 0x1400223c6
comiss xmm1, xmm4
jbe 0x1400223c6
comiss xmm2, xmm0
ja 0x1400223df
mov ecx, dword [r14 + 0x38b0]
inc edi
inc rbp
add rsi, 0x24
cmp edi, ecx
jl 0x140022360
mov edi, 0xffffffff
mov dword [rbx + 0x44], edi
movaps xmm7, xmmword [rsp + 0x40]
movaps xmm6, xmmword [rsp + 0x50]
jmp 0x140022504
mov rcx, qword [rbx + 0x30]
test rcx, rcx
je 0x1400224ee
mov r9, qword [rcx + 0x88]
cmp rbx, r9
je 0x1400224ee
test r9, r9
je 0x1400224ee
bt r15d, 0x18
jb 0x1400224ee
cmp qword [rbx + 0x430], rdi
jne 0x1400224ee
movzx edx, byte [rbx + 0x415]
and dl, 5
test dword [rbx + 0xc], 0x20000000
je 0x14002248d
mov eax, dword [rsi + 0x3f58]
cmp dword [rcx + 0x64], eax
jge 0x14002248d
cmp dl, 1
je 0x14002248d
test byte [rsi + 0x5e44], 0x80
je 0x140022474
mov r8d, dword [rcx]
lea rcx, str._viewport__Window__s_steal_Viewport__08X_from_Window__s_n
mov r9, qword [r9]
mov rdx, qword [rbx]
call fcn.14002eac0
mov rcx, qword [rbx + 0x30]
mov qword [rcx + 0x88], rbx
mov eax, dword [rbx + 8]
mov rcx, qword [rbx + 0x30]
mov dword [rcx], eax
mov rax, qword [rbx + 0x30]
mov dword [rax + 0x6c], edi
jmp 0x140022504
mov rdi, qword [0x14008fd50]
cmp dword [rdi + 0x49c8], 0
jg 0x1400224b7
mov r8d, 0x745
lea rdx, str.G:VisualStudioProjectsMove_Splicerimgui.h
lea rcx, str.i___0__i___Size
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov rdx, qword [rdi + 0x49d0]
mov rcx, rbx
mov rdx, qword [rdx]
call fcn.1400207b0
test al, al
jne 0x140022504
mov edx, dword [rbx + 8]
lea r9, [rbx + 0x50]
lea r8, [rbx + 0x48]
mov dword [rsp + 0x20], 0x20
mov rcx, rbx
call fcn.1400218b0
mov qword [rbx + 0x30], rax
jmp 0x140022504
cmp dword [rbx + 0x44], edi
jge 0x140022504
bt r15d, 0x18
jb 0x140022504
movsx eax, word [rcx + 0x80]
mov dword [rbx + 0x44], eax
mov rcx, qword [rbx + 0x30]
movaps xmm8, xmmword [rsp + 0x30]
mov r13, qword [rsp + 0x60]
mov rbp, qword [rsp + 0xb0]
cmp rbx, qword [rcx + 0x88]
mov rdi, qword [rsp + 0x70]
sete al
mov byte [rbx + 0xe2], al
mov eax, dword [rcx]
mov dword [rbx + 0x38], eax
add rsp, 0x78
pop r15
pop r14
pop rsi
pop rbx
ret