Function at 0x4076f4
Capabilities:
Enumerate gui resources

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffe8c
push ebx
push esi
xor ebx, ebx
mov dword [ebp - 0x170], ebx
mov dword [ebp - 0x174], ebx
mov dword [ebp - 0x16c], ebx
mov dword [ebp - 0x168], ebx
mov dword [ebp - 0x164], ebx
mov dword [ebp - 0x15c], ebx
mov dword [ebp - 0x160], ebx
mov dword [ebp - 0x158], ebx
mov dword [ebp - 0x154], ebx
mov dword [ebp - 0x150], ebx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.0040418c
mov eax, dword [ebp - 8]
call fcn.0040418c
xor eax, eax
push ebp
push 0x4079ae
push dword fs:[eax]
mov dword fs:[eax], esp
or ebx, 0xffffffff
mov eax, dword [ebp - 4]
call fcn.00403f9c
mov edx, dword [ebp - 4]
cmp byte [edx + eax - 1], 0x5c
je 0x407786
lea eax, [ebp - 4]
mov edx, 0x4079c4
call fcn.00403fa4
lea eax, [ebp - 0x14c]
push eax
lea eax, [ebp - 0x150]
mov ecx, 0x4079d0
mov edx, dword [ebp - 4]
call fcn.00403fe8
mov eax, dword [ebp - 0x150]
call fcn.0040419c
push eax
call fcn.00404ce8
mov esi, eax
jmp 0x40786b
test dword [ebp - 0x14c], 0x10
seta al
neg al
sbb eax, eax
test eax, eax
je 0x40785c
lea eax, [ebp - 0x154]
lea edx, [ebp - 0x120]
mov ecx, 0x104
call fcn.00403f84
mov eax, dword [ebp - 0x154]
mov edx, 0x4079dc
call fcn.004040e8
je 0x40785c
lea eax, [ebp - 0x158]
lea edx, [ebp - 0x120]
mov ecx, 0x104
call fcn.00403f84
mov eax, dword [ebp - 0x158]
mov edx, 0x4079e8
call fcn.004040e8
je 0x40785c
lea eax, [ebp - 0x160]
lea edx, [ebp - 0x120]
mov ecx, 0x104
call fcn.00403f84
mov ecx, dword [ebp - 0x160]
lea eax, [ebp - 0x15c]
mov edx, dword [ebp - 4]
call fcn.00403fe8
mov eax, dword [ebp - 0x15c]
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 8]
call fcn.004076f4
lea eax, [ebp - 0x14c]
push eax
push esi
call fcn.00404cf0
mov ebx, eax
test ebx, ebx
jne 0x4077b8
mov eax, dword [ebp - 4]
call fcn.00403f9c
mov edx, dword [ebp - 4]
cmp byte [edx + eax - 1], 0x5c
je 0x407892
lea eax, [ebp - 4]
mov edx, 0x4079c4
call fcn.00403fa4
lea eax, [ebp - 0x14c]
push eax
lea eax, [ebp - 0x164]
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 4]
call fcn.00403fe8
mov eax, dword [ebp - 0x164]
call fcn.0040419c
push eax
call fcn.00404ce8
mov esi, eax
cmp esi, 0xffffffff
je 0x407983
or ebx, 0xffffffff
jmp 0x40797b
lea eax, [ebp - 0x168]
lea edx, [ebp - 0x120]
mov ecx, 0x104
call fcn.00403f84
mov eax, dword [ebp - 0x168]
mov edx, 0x4079dc
call fcn.004040e8
je 0x407965
lea eax, [ebp - 0x16c]
lea edx, [ebp - 0x120]
mov ecx, 0x104
call fcn.00403f84
mov eax, dword [ebp - 0x16c]
mov edx, 0x4079e8
call fcn.004040e8
je 0x407965
push 0x4079f4
push dword [ebp - 4]
lea eax, [ebp - 0x174]
lea edx, [ebp - 0x120]
mov ecx, 0x104
call fcn.00403f84
push dword [ebp - 0x174]
push 0x407a08
lea eax, [ebp - 0x170]
mov edx, 4
call fcn.0040405c
mov edx, dword [ebp - 0x170]
mov eax, dword [ebp - 0xc]
call fcn.0040910c
push 0x64
call sub.user32.dll_EnumWindows
lea eax, [ebp - 0x14c]
push eax
push esi
call fcn.00404cf0
mov ebx, eax
test ebx, ebx
jne 0x4078ce
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4079b5
lea eax, [ebp - 0x174]
mov edx, 0xa
call fcn.00403e3c
lea eax, [ebp - 8]
mov edx, 2
call fcn.00403e3c
ret