Function at 0x45eaf8
Capabilities:
Enumerate gui resources

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, 0xc
push 0
push 0
dec ecx
jne 0x45eb01
push ecx
xchg dword [ebp - 4], ecx
push ebx
push esi
push edi
mov ebx, ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00404374
xor eax, eax
push ebp
push 0x45ee57
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 9], 1
xor edx, edx
push ebp
push 0x45edcd
push dword fs:[edx]
mov dword fs:[edx], esp
xor edx, edx
push ebp
push 0x45edbc
push dword fs:[edx]
mov dword fs:[edx], esp
mov dl, 1
mov eax, dword [0x417344]
call fcn.00403144
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
push eax
push 0x45e9a8
call sub.user32.dll_EnumWindows
mov eax, dword [ebp - 0x18]
mov eax, dword [eax + 8]
test eax, eax
jle 0x45ed7c
mov esi, eax
dec esi
test esi, esi
jl 0x45ed7c
inc esi
xor edi, edi
mov edx, edi
mov eax, dword [ebp - 0x18]
call fcn.004196ac
mov edx, ebx
call fcn.0045e5f0
cmp dword [ebx], 0
je 0x45ed74
lea eax, [ebp - 0x1c]
push eax
mov eax, dword [ebx]
push eax
mov eax, dword [eax]
call dword [eax + 0xe0]
call fcn.00405be8
cmp dword [ebp - 0x1c], 4
jne 0x45ed74
mov eax, dword [ebp - 8]
sub eax, 1
jb 0x45ebdb
je 0x45ec2e
dec eax
je 0x45ec83
dec eax
je 0x45ecd7
jmp 0x45ed74
lea eax, [ebp - 0x24]
call fcn.004045a4
push eax
mov eax, dword [ebx]
push eax
mov eax, dword [eax]
call dword [eax + 0x78]
call fcn.00405be8
mov eax, dword [ebp - 0x24]
lea edx, [ebp - 0x20]
call fcn.004082b8
mov eax, dword [ebp - 0x20]
push eax
lea edx, [ebp - 0x2c]
mov eax, dword [ebp - 4]
call fcn.00408268
mov edx, dword [ebp - 0x2c]
lea eax, [ebp - 0x28]
call fcn.004046f0
mov edx, dword [ebp - 0x28]
pop eax
call fcn.0040477c
jne 0x45ed74
mov byte [ebp - 9], 0
jmp 0x45ed7c
lea eax, [ebp - 0x34]
call fcn.004045a4
push eax
mov eax, dword [ebx]
push eax
mov eax, dword [eax]
call dword [eax + 0x78]
call fcn.00405be8
mov eax, dword [ebp - 0x34]
lea edx, [ebp - 0x30]
call fcn.004082b8
mov eax, dword [ebp - 0x30]
push eax
lea edx, [ebp - 0x3c]
mov eax, dword [ebp - 4]
call fcn.00408268
mov edx, dword [ebp - 0x3c]
lea eax, [ebp - 0x38]
call fcn.004046f0
mov eax, dword [ebp - 0x38]
pop edx
call fcn.0040484c
test eax, eax
jle 0x45ed74
mov byte [ebp - 9], 0
jmp 0x45ed7c
lea eax, [ebp - 0x44]
call fcn.004045a4
push eax
mov eax, dword [ebx]
push eax
mov eax, dword [eax]
call dword [eax + 0x78]
call fcn.00405be8
mov eax, dword [ebp - 0x44]
lea edx, [ebp - 0x40]
call fcn.004082b8
mov eax, dword [ebp - 0x40]
push eax
lea edx, [ebp - 0x4c]
mov eax, dword [ebp - 4]
call fcn.00408268
mov edx, dword [ebp - 0x4c]
lea eax, [ebp - 0x48]
call fcn.004046f0
mov eax, dword [ebp - 0x48]
pop edx
call fcn.0040484c
dec eax
jne 0x45ed74
mov byte [ebp - 9], 0
jmp 0x45ed7c
lea eax, [ebp - 0x54]
call fcn.004045a4
push eax
mov eax, dword [ebx]
push eax
mov eax, dword [eax]
call dword [eax + 0x78]
call fcn.00405be8
mov eax, dword [ebp - 0x54]
lea edx, [ebp - 0x50]
call fcn.004082b8
mov eax, dword [ebp - 0x50]
push eax
lea edx, [ebp - 0x5c]
mov eax, dword [ebp - 4]
call fcn.00408268
mov edx, dword [ebp - 0x5c]
lea eax, [ebp - 0x58]
call fcn.004046f0
mov eax, dword [ebp - 0x58]
pop edx
call fcn.0040484c
mov dword [ebp - 0x10], eax
lea edx, [ebp - 0x60]
mov eax, dword [ebp - 4]
call fcn.00408268
mov eax, dword [ebp - 0x60]
call fcn.00404184
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x10], 0
jle 0x45ed74
lea eax, [ebp - 0x68]
call fcn.004045a4
push eax
mov eax, dword [ebx]
push eax
mov eax, dword [eax]
call dword [eax + 0x78]
call fcn.00405be8
mov eax, dword [ebp - 0x68]
lea edx, [ebp - 0x64]
call fcn.004082b8
mov eax, dword [ebp - 0x64]
call fcn.00404710
mov edx, dword [ebp - 0x10]
dec edx
add edx, dword [ebp - 0x14]
cmp eax, edx
jne 0x45ed74
mov byte [ebp - 9], 0
jmp 0x45ed7c
inc edi
dec esi
jne 0x45eb86
cmp byte [ebp - 9], 0
jne 0x45ed9c
mov eax, dword [ebx]
call fcn.0046108c
test al, al
je 0x45ed9c
call fcn.004039ac
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x45eddb
mov byte [ebp - 9], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45edc3
cmp dword [ebp - 0x18], 0
je 0x45edbb
mov eax, dword [ebp - 0x18]
call fcn.00403174
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45ee5e
lea eax, [ebp - 0x68]
mov edx, 2
call fcn.004045bc
lea eax, [ebp - 0x60]
mov edx, 2
call fcn.00403ee8
lea eax, [ebp - 0x58]
mov edx, 3
call fcn.004045bc
lea eax, [ebp - 0x4c]
call fcn.00403ec4
lea eax, [ebp - 0x48]
mov edx, 3
call fcn.004045bc
lea eax, [ebp - 0x3c]
call fcn.00403ec4
lea eax, [ebp - 0x38]
mov edx, 3
call fcn.004045bc
lea eax, [ebp - 0x2c]
call fcn.00403ec4
lea eax, [ebp - 0x28]
mov edx, 3
call fcn.004045bc
lea eax, [ebp - 4]
call fcn.00403ec4
ret