Function at 0x4789d0
Capabilities:
Enumerate gui resources

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4a1038
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push ebx
push esi
push edi
mov eax, dword [0x4e3ec8]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
cmp byte [ebp + 0x10], 0
mov dword [ebp - 4], 0
je 0x478a38
mov ecx, dword [ebp + 8]
test ecx, ecx
je 0x478a38
lea eax, [ebp - 0x10]
push eax
call fcn.004122d0
push 0
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 1
call dword [sym.imp.mfc100.dll_Ordinal_1448]
push eax
call dword [sym.imp.USER32.dll_FindWindowA]
test eax, eax
jne 0x478a55
lea ecx, [ebp - 0x10]
call dword [sym.imp.mfc100.dll_Ordinal_901]
lea ecx, [ebp + 0xc]
call dword [sym.imp.mfc100.dll_Ordinal_901]
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0x4ae26b
mov ecx, 0x4e5b74
call dword [sym.imp.mfc100.dll_Ordinal_1316]
push 0x4c4fdc
lea ecx, [ebp + 0x10]
call dword [sym.imp.mfc100.dll_Ordinal_310]
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 2
call dword [sym.imp.mfc100.dll_Ordinal_1448]
push eax
push 0x4778d0
call dword [sym.imp.USER32.dll_EnumWindows]
lea ecx, [ebp + 0x10]
push ecx
mov ecx, 0x4e5b74
call dword [sym.imp.mfc100.dll_Ordinal_1479]
lea ecx, [ebp - 0x24]
call dword [sym.imp.mfc100.dll_Ordinal_316]
push 0
lea ecx, [ebp + 0x10]
mov byte [ebp - 4], 3
call dword [sym.imp.mfc100.dll_Ordinal_1448]
push eax
mov ecx, 0x4e5b74
call dword [sym.imp.mfc100.dll_Ordinal_4144]
push ecx
lea edx, [ebp - 0x10]
mov ecx, esp
mov dword [ebp - 0x20], esp
push edx
call dword [sym.imp.mfc100.dll_Ordinal_300]
lea eax, [ebp - 0x18]
push eax
call fcn.00478450
lea ecx, [ebp - 0x18]
push ecx
lea edx, [ebp + 0x10]
push edx
lea eax, [ebp - 0x14]
push eax
mov byte [ebp - 4], 4
call fcn.004018e0
add esp, 0x14
lea ecx, [ebp + 0xc]
mov byte [ebp - 4], 5
call dword [sym.imp.mfc100.dll_Ordinal_5207]
sub eax, 5
push eax
lea ecx, [ebp - 0x1c]
push ecx
lea ecx, [ebp + 0xc]
call dword [sym.imp.mfc100.dll_Ordinal_7487]
push eax
lea ecx, [ebp + 0xc]
mov byte [ebp - 4], 6
call dword [sym.imp.mfc100.dll_Ordinal_1313]
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 5
call dword [sym.imp.mfc100.dll_Ordinal_901]
push 0
lea ecx, [ebp - 0x14]
call dword [sym.imp.mfc100.dll_Ordinal_1448]
push eax
mov ecx, 0x4e5b74
call dword [sym.imp.mfc100.dll_Ordinal_4144]
push 0
lea ecx, [ebp + 0xc]
mov esi, eax
call dword [sym.imp.mfc100.dll_Ordinal_1448]
push eax
mov ecx, 0x4e5b74
call dword [sym.imp.mfc100.dll_Ordinal_4144]
lea ecx, [ebp - 0x14]
mov dword [ebp - 0x20], eax
call dword [sym.imp.mfc100.dll_Ordinal_5207]
mov ebx, eax
cmp esi, 0xffffffff
je 0x478be9
lea esp, [esp]
lea edi, [esi + 1]
push edi
lea ecx, [ebp + 0x10]
call dword [sym.imp.mfc100.dll_Ordinal_1448]
push eax
mov ecx, 0x4e5b74
call dword [sym.imp.mfc100.dll_Ordinal_4144]
sub eax, ebx
sub eax, esi
push eax
lea edx, [ebx + esi]
push edx
lea eax, [ebp - 0x1c]
push eax
mov ecx, 0x4e5b74
call dword [sym.imp.mfc100.dll_Ordinal_7876]
push 0x4ae26b
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 7
call dword [sym.imp.mfc100.dll_Ordinal_1448]
push eax
mov ecx, 0x4e5b74
call dword [sym.imp.mfc100.dll_Ordinal_11627]
push edi
lea ecx, [ebp - 0x14]
call dword [sym.imp.mfc100.dll_Ordinal_1448]
push eax
mov ecx, 0x4e5b74
call dword [sym.imp.mfc100.dll_Ordinal_4144]
lea ecx, [ebp - 0x1c]
mov esi, eax
mov byte [ebp - 4], 5
call dword [sym.imp.mfc100.dll_Ordinal_901]
cmp esi, 0xffffffff
jne 0x478b70
push 0x4ae26b
lea ecx, [ebp + 0x10]
call dword [sym.imp.mfc100.dll_Ordinal_1448]
push eax
mov ecx, 0x4e5b74
call dword [sym.imp.mfc100.dll_Ordinal_11627]
push 0x4ae26b
lea ecx, [ebp - 0x18]
call dword [sym.imp.mfc100.dll_Ordinal_1448]
push eax
mov ecx, 0x4e5b74
call dword [sym.imp.mfc100.dll_Ordinal_11627]
push 0x4ae26b
push str..docx
mov ecx, 0x4e5b74
call dword [sym.imp.mfc100.dll_Ordinal_11627]
push 0x4ae26b
push 0x4c5100
mov ecx, 0x4e5b74
call dword [sym.imp.mfc100.dll_Ordinal_11627]
push 0x4ae26b
push str..pptx
mov ecx, 0x4e5b74
call dword [sym.imp.mfc100.dll_Ordinal_11627]
push 0x4ae26b
push str..xlsm
mov ecx, 0x4e5b74
call dword [sym.imp.mfc100.dll_Ordinal_11627]
push 0x4ae26b
push str..xlsx
mov ecx, 0x4e5b74
call dword [sym.imp.mfc100.dll_Ordinal_11627]
push 0x4ae26b
push str.___Microsoft_PowerPoint
mov ecx, 0x4e5b74
call dword [sym.imp.mfc100.dll_Ordinal_11627]
push 0x4ae26b
push str.___Microsoft_Word
mov ecx, 0x4e5b74
call dword [sym.imp.mfc100.dll_Ordinal_11627]
push 0x4ae26b
push str.___Microsoft_Excel
mov ecx, 0x4e5b74
call dword [sym.imp.mfc100.dll_Ordinal_11627]
push 0x4ae26b
push 0x4c50ac
mov ecx, 0x4e5b74
call dword [sym.imp.mfc100.dll_Ordinal_11627]
push 0x4ae26b
push 0x4c50a8
mov ecx, 0x4e5b74
call dword [sym.imp.mfc100.dll_Ordinal_11627]
cmp dword [ebp - 0x20], 0xffffffff
je 0x478d0f
push 0x4ae26b
lea ecx, [ebp + 0xc]
call dword [sym.imp.mfc100.dll_Ordinal_1448]
push eax
mov ecx, 0x4e5b74
call dword [sym.imp.mfc100.dll_Ordinal_11627]
push 0x4ae26b
mov ecx, 0x4e5b74
call dword [sym.imp.mfc100.dll_Ordinal_2611]
test eax, eax
lea ecx, [ebp - 0x14]
setne bl
call dword [sym.imp.mfc100.dll_Ordinal_901]
lea ecx, [ebp - 0x18]
call dword [sym.imp.mfc100.dll_Ordinal_901]
lea ecx, [ebp - 0x24]
call dword [sym.imp.mfc100.dll_Ordinal_901]
lea ecx, [ebp + 0x10]
call dword [sym.imp.mfc100.dll_Ordinal_901]
lea ecx, [ebp - 0x10]
call dword [sym.imp.mfc100.dll_Ordinal_901]
lea ecx, [ebp + 0xc]
call dword [sym.imp.mfc100.dll_Ordinal_901]
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret