Function at 0x401af8
Capabilities:
Enumerate gui resources

Disassembly:
push ebp
push ebx
xor eax, eax
push eax
push eax
push eax
push eax
push eax
push eax
call fcn.0040e600
push edx
call fcn.0040e4c0
pop edx
push eax
push 2
push 0
push edx
call fcn.0040e4c0
pop edx
push eax
push edx
call fcn.0040e4c0
pop edx
push eax
call fcn.00409638
call fcn.00405182
add dword [esp], edx
call sub.KERNEL32.dll_LoadLibraryExW
call fcn.004051a0
mov dword [esp], eax
push 0
lea eax, [0x401f8b]
push eax
push dword [esp + 8]
call sub.KERNEL32.dll_EnumResourceTypesW
push dword [esp]
call sub.KERNEL32.dll_FreeLibrary
push dword [0x418108]
call fcn.0040aa63
mov ebx, eax
and ebx, ebx
jle 0x401d84
push dword [0x418108]
call fcn.0040aa6d
push dword [0x418108]
call fcn.0040aa82
or eax, eax
je 0x401c09
mov ebp, dword [0x41810c]
mov edx, dword [ebp + 8]
push edx
call fcn.0040e4c0
pop edx
push eax
push edx
call fcn.0040e660
lea eax, [esp + 8]
push eax
call fcn.0040e500
push dword [esp + 4]
call fcn.00405700
mov ebx, eax
cmp ebx, 0xa
jle 0x401be8
mov edx, dword [esp + 8]
push edx
call fcn.0040e4c0
pop edx
push eax
push edx
call fcn.0040e660
mov edx, dword [esp + 8]
push edx
call fcn.0040e660
lea eax, [esp + 0xc]
push eax
call fcn.0040e500
jmp 0x401c04
mov edx, dword [esp + 4]
push edx
call fcn.0040e4c0
pop edx
push eax
push edx
call fcn.0040e660
lea eax, [esp + 0x10]
push eax
call fcn.0040e500
jmp 0x401b80
push dword [0x418108]
call fcn.0040aab6
push edx
call fcn.0040e4c0
pop edx
push eax
push edx
call fcn.0040e4c0
pop edx
push eax
push edx
call fcn.0040e4c0
pop edx
push eax
push edx
call fcn.0040e4c0
pop edx
push eax
push 1
push edx
call fcn.0040e4c0
pop edx
push eax
push edx
call fcn.0040e4c0
pop edx
push eax
push dword [esp + 0x24]
call fcn.00405db0
call fcn.00405182
add dword [esp], edx
call fcn.0040d720
call fcn.00405182
add dword [esp], edx
call fcn.00405e50
lea eax, [esp + 0x14]
push eax
call fcn.0040e500
mov edx, dword [esp + 0x10]
push edx
call fcn.0040e4c0
pop edx
push eax
push edx
call fcn.0040e660
lea eax, [esp + 0x18]
push eax
call fcn.0040e500
push edx
call fcn.0040e4c0
pop edx
push eax
push edx
call fcn.0040e4c0
pop edx
push eax
push edx
call fcn.0040e4c0
pop edx
push eax
push edx
call fcn.0040e4c0
pop edx
push eax
push 1
push dword [esp + 0x24]
call fcn.0040d720
call fcn.00405182
add dword [esp], edx
call fcn.00405e50
lea eax, [esp + 0x14]
push eax
call fcn.0040e500
push edx
call fcn.0040e4c0
pop edx
push eax
push edx
call fcn.0040e4c0
pop edx
push eax
push 0xa
push dword [esp + 0x1c]
call fcn.00405ec0
lea eax, [esp + 0x14]
push eax
call fcn.0040e500
push dword [esp + 0xc]
mov edx, dword [esp + 0x14]
pop ecx
call fcn.00405120
je 0x401d7f
call fcn.004097fe
and eax, eax
je 0x401d7b
push edx
call fcn.0040e4c0
pop edx
push eax
push edx
call fcn.0040e4c0
pop edx
push eax
push 0
call fcn.00409812
call fcn.0040e6c0
mov edx, dword [esp + 0x18]
pop ecx
push ecx
call fcn.00405160
mov ecx, eax
call fcn.00405120
je 0x401d7b
mov dword [0x4180b0], 1
push edx
call fcn.0040e4c0
pop edx
push eax
push edx
call fcn.0040e4c0
pop edx
push eax
push 1
call fcn.00409812
lea eax, [0x418080]
push eax
call fcn.0040e500
jmp 0x401d8b
jmp 0x4011b1
jmp 0x4011b1
push dword [esp + 4]
call fcn.0040e590
push dword [esp + 0xc]
call fcn.0040e590
push dword [esp + 8]
call fcn.0040e590
push dword [esp + 0x14]
call fcn.0040e590
push dword [esp + 0x10]
call fcn.0040e590
add esp, 0x18
pop ebx
pop ebp
ret