Function at 0x408cea
Capabilities:
Enumerate gui resources

Disassembly:
push ebp
push ebx
mov edx, 9
sub esp, 4
mov dword [esp], 0
dec edx
jne 0x408cf1
call fcn.00451930
mov edx, dword [esp + 0x30]
lea ecx, [esp]
call fcn.00429060
push 2
push 0
push dword [esp + 8]
call sub.KERNEL32.DLL_LoadLibraryExW
mov dword [esp + 4], eax
cmp dword [esp + 4], 0
je 0x408d4b
push 0
lea eax, [0x40c381]
push eax
push dword [esp + 0xc]
call sub.KERNEL32.DLL_EnumResourceTypesW
push dword [esp + 4]
call sub.KERNEL32.DLL_FreeLibrary
push dword [0x6feba0]
call fcn.0044abf0
mov ebx, eax
and ebx, ebx
jle 0x408f99
push dword [0x6feba0]
call fcn.0044aaab
push dword [0x6feba0]
call fcn.0044aac0
or eax, eax
je 0x408df4
mov ebp, dword [0x6feba4]
mov edx, dword [ebp + 8]
push edx
call fcn.004517c0
pop edx
push eax
push edx
call fcn.00451890
lea eax, [esp + 0xc]
push eax
call fcn.00451800
push dword [esp + 8]
call fcn.0044f930
mov ebx, eax
cmp ebx, 0xa
jle 0x408dd3
mov edx, dword [esp + 0xc]
push edx
call fcn.004517c0
pop edx
push eax
push edx
call fcn.00451890
mov edx, dword [esp + 0xc]
push edx
call fcn.00451890
lea eax, [esp + 0x10]
push eax
call fcn.00451800
jmp 0x408def
mov edx, dword [esp + 8]
push edx
call fcn.004517c0
pop edx
push eax
push edx
call fcn.00451890
lea eax, [esp + 0x14]
push eax
call fcn.00451800
jmp 0x408d6b
push dword [0x6feba0]
call fcn.0044aaf4
push edx
call fcn.004517c0
pop edx
push eax
push edx
call fcn.004517c0
pop edx
push eax
push edx
call fcn.004517c0
pop edx
push eax
push edx
call fcn.004517c0
pop edx
push eax
push 1
push edx
call fcn.004517c0
pop edx
push eax
push edx
call fcn.004517c0
pop edx
push eax
push dword [esp + 0x28]
call fcn.0044f890
call fcn.004291f2
add dword [esp], edx
call fcn.00447e30
call fcn.004291f2
add dword [esp], edx
call fcn.0044f750
lea eax, [esp + 0x18]
push eax
call fcn.00451800
mov edx, dword [esp + 0x14]
push edx
call fcn.004517c0
pop edx
push eax
push edx
call fcn.00451890
lea eax, [esp + 0x1c]
push eax
call fcn.00451800
push edx
call fcn.004517c0
pop edx
push eax
push edx
call fcn.004517c0
pop edx
push eax
push edx
call fcn.004517c0
pop edx
push eax
push edx
call fcn.004517c0
pop edx
push eax
push 1
push dword [esp + 0x28]
call fcn.00447e30
call fcn.004291f2
add dword [esp], edx
call fcn.0044f750
lea eax, [esp + 0x18]
push eax
call fcn.00451800
push edx
call fcn.004517c0
pop edx
push eax
push edx
call fcn.004517c0
pop edx
push eax
push 0xa
push dword [esp + 0x20]
call fcn.0044f6e0
lea eax, [esp + 0x18]
push eax
call fcn.00451800
push dword [esp + 0x10]
mov edx, dword [esp + 0x18]
pop ecx
call fcn.00429220
je 0x408f81
mov edx, dword [0x6fe814]
push edx
call fcn.004517c0
pop edx
push eax
push edx
call fcn.00451890
lea eax, [esp + 0x20]
push eax
call fcn.00451800
push dword [esp + 0x1c]
call sub.SHLWAPI.DLL_PathQuoteSpacesW
push edx
call fcn.004517c0
pop edx
push eax
push 4
push dword [0x6fe900]
mov edx, dword [esp + 0x24]
push edx
call fcn.004517c0
pop edx
push eax
push edx
call fcn.00451890
mov edx, 0x4e83a6
push edx
call fcn.00451890
mov edx, dword [esp + 0x2c]
push edx
call fcn.00451890
call fcn.00451990
push dword [esp + 0x10]
call fcn.004291f2
add dword [esp + 4], edx
call fcn.0042b4a4
call fcn.00429210
mov dword [esp + 0x20], eax
jmp 0x408f97
push 0x10
push dword [0x6fe550]
push dword [0x6fe788]
call fcn.0040cd54
jmp 0x408faf
push 0x10
push dword [0x6fe550]
push dword [0x6fe788]
call fcn.0040cd54
jmp 0x408fb3
push dword [esp]
call fcn.004519f0
push dword [esp + 0x1c]
call fcn.004519f0
push dword [esp + 8]
call fcn.004519f0
push dword [esp + 0x10]
call fcn.004519f0
push dword [esp + 0xc]
call fcn.004519f0
push dword [esp + 0x18]
call fcn.004519f0
push dword [esp + 0x14]
call fcn.004519f0
add esp, 0x24
pop ebx
pop ebp
ret 4