Function at 0x14005d38c
Capabilities:
Enumerate gui resources

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x5f]
sub rsp, 0x100
mov rax, qword [0x1400a0018]
xor rax, rsp
mov qword [rbp + 0x27], rax
mov r13, rcx
xor edi, edi
mov r14d, edi
mov dword [rsp + 0x20], edi
lea edx, [rdi + 0xa]
lea rcx, [rbp - 0x71]
call qword [sym.imp.mfc140u.dll_CHwndRenderTarget::CHwndRenderTarget]
nop
lea edx, [rdi + 4]
lea rcx, [rsp + 0x38]
call fcn.140037610
nop
mov r15d, edi
mov r12d, edi
mov edx, 0xe8
mov rcx, qword [rsp + 0x38]
call fcn.1400371bc
test rax, rax
je 0x14005d403
mov r12d, dword [rax + 0x28]
call fcn.140036eb0
mov dword [rsp + 0x28], eax
test r12d, r12d
je 0x14005d5b0
jle 0x14005d59a
xor edx, edx
lea r8d, [rdx + 0x58]
lea rcx, [rbp - 0x39]
call sub.VCRUNTIME140.dll_memset
lea r8, [rbp - 0x39]
mov edx, r15d
lea rcx, [rsp + 0x38]
call fcn.1400380c0
mov ecx, 0x50
call qword [sym.imp.mfc140u.dll_CMFCRibbonInfo::XElementButtonLinkCtrl::XElementButtonLinkCtrl]
mov rsi, rax
mov qword [rbp - 0x79], rax
test rax, rax
je 0x14005d483
lea rax, vtable.CSpyTreeNode.0
mov qword [rsi], rax
lea rcx, [rsi + 8]
mov edx, 0xa
call qword [sym.imp.mfc140u.dll_CMFCZoomKernel::CMFCZoomKernel]
nop
lea rax, vtable.CThdTreeNode.0
mov qword [rsi], rax
lea rcx, [rsi + 0x48]
call qword [sym.imp.mfc140u.dll_Ordinal_296]
nop
jmp 0x14005d486
mov rsi, rdi
mov r8d, r15d
lea rdx, [rsp + 0x38]
mov rcx, rsi
call fcn.14003ca34
mov rax, qword [rsi]
mov rcx, rsi
call qword [rax + 0x50]
mov ecx, dword [rsi + 0x44]
mov dword [rsp + 0x24], ecx
test eax, eax
jne 0x14005d504
mov rax, qword [rsi]
lea rdx, [rsp + 0x48]
mov rcx, rsi
call qword [rax + 0x78]
mov rbx, rax
or r14d, 1
mov dword [rsp + 0x20], r14d
mov rcx, rax
call qword [sym.imp.mfc140u.dll_CMFCRibbonUndoButton::GetIconSize]
mov r8, rax
lea rdx, str._TOTAL
lea rcx, [rsp + 0x30]
call qword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__4]
nop
mov rdx, qword [rsp + 0x30]
mov rcx, rbx
call qword [sym.imp.mfc140u.dll_Ordinal_2903]
mov ebx, eax
lea rcx, [rsp + 0x30]
call qword [sym.imp.mfc140u.dll_CMFCRibbonInfo::XElementButtonGallery::XGalleryGroup::XGalleryGroup]
test ebx, ebx
mov bl, 1
je 0x14005d507
mov bl, dil
test r14b, 1
je 0x14005d521
and r14d, 0xfffffffe
mov dword [rsp + 0x20], r14d
lea rcx, [rsp + 0x48]
call qword [sym.imp.mfc140u.dll_CMFCRibbonInfo::XElementButtonGallery::XGalleryGroup::XGalleryGroup]
test bl, bl
jne 0x14005d555
mov ebx, dword [rsp + 0x24]
cmp dword [r13 + 0x1d8], edi
jne 0x14005d541
mov edx, dword [rsp + 0x28]
mov ecx, ebx
call fcn.140036f48
test eax, eax
je 0x14005d555
cmp dword [r13 + 0x1d4], edi
jne 0x14005d565
mov ecx, ebx
call fcn.140036ff8
test eax, eax
je 0x14005d565
mov rax, qword [rsi]
mov edx, 1
mov rcx, rsi
call qword [rax + 8]
jmp 0x14005d58e
lea rcx, [r13 + 0x180]
mov rdx, rsi
call qword [sym.imp.mfc140u.dll_CPaneFrameWnd::AddRemovePaneFromGlobalList]
mov rax, qword [rsi]
mov rcx, rsi
call qword [rax + 0x50]
mov rdx, rax
lea rcx, [rbp - 0x71]
call qword [sym.imp.mfc140u.dll_Ordinal_1633]
mov qword [rax], rsi
inc r15d
cmp r15d, r12d
jl 0x14005d41b
lea rdx, [rbp - 0x71]
lea rcx, [0x14003cbb8]
call qword [sym.imp.USER32.dll_EnumWindows]
mov edi, 1
lea rcx, [rsp + 0x38]
call fcn.140037788
nop
lea rcx, [rbp - 0x71]
call qword [sym.imp.mfc140u.dll_CGopherFileFind::CGopherFileFind]
mov eax, edi
mov rcx, qword [rbp + 0x27]
xor rcx, rsp
call fcn.1400615f0
lea r11, [rsp + 0x100]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret