Function at 0x544b40
Capabilities:
Enumerate gui resources

Disassembly:
push ebp
mov ebp, esp
mov ecx, 5
push 0
push 0
dec ecx
jne 0x544b48
push ecx
push ebx
push esi
push edi
xor eax, eax
push ebp
push 0x544d67
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, 0x5d1c98
mov edx, dword [0x541790]
call fcn.004058bc
push 0
push 0x5418cc
call sub.user32.dll_EnumWindows
mov dl, 1
mov eax, dword [0x41eb20]
call fcn.00403a48
mov dword [ebp - 0xc], eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 8]
mov eax, dword [eax + 0x34]
mov esi, dword [eax + 8]
dec esi
test esi, esi
jl 0x544bf7
inc esi
xor ebx, ebx
mov eax, dword [ebp + 8]
mov eax, dword [eax - 8]
mov eax, dword [eax + 0x34]
mov edx, ebx
call fcn.00420df8
call fcn.004c36dc
call fcn.004b2308
xor edx, edx
push edx
push eax
lea eax, [ebp - 0x18]
call fcn.0040bf3c
push dword [ebp - 0x18]
push 0x544d80
lea edx, [ebp - 0x1c]
mov eax, ebx
call fcn.0040bf0c
push dword [ebp - 0x1c]
lea eax, [ebp - 0x14]
mov edx, 3
call fcn.00404d0c
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax]
call dword [ecx + 0x38]
inc ebx
dec esi
jne 0x544ba0
xor eax, eax
mov dword [ebp - 8], eax
mov eax, dword [0x5d1c98]
call fcn.004061fc
mov ebx, eax
cmp ebx, 0
jl 0x544ca8
mov eax, dword [0x5d1c98]
mov eax, dword [eax + ebx*4]
xor edx, edx
push edx
push eax
lea eax, [ebp - 0x20]
call fcn.0040bf3c
mov edx, dword [ebp - 0x20]
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax]
call dword [ecx + 0x58]
inc eax
je 0x544c91
mov eax, dword [ebp - 0xc]
mov edx, dword [eax]
call dword [edx + 0x14]
mov esi, eax
dec esi
test esi, esi
jl 0x544c91
inc esi
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x24]
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 0xc]
call fcn.00422a08
mov eax, dword [ebp - 0x24]
push eax
mov eax, dword [0x5d1c98]
mov eax, dword [eax + ebx*4]
xor edx, edx
push edx
push eax
lea eax, [ebp - 0x28]
call fcn.0040bf3c
mov edx, dword [ebp - 0x28]
pop eax
call fcn.00404d90
jne 0x544c8b
xor ecx, ecx
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 0xc]
mov edi, dword [eax]
call dword [edi + 0x70]
inc dword [ebp - 8]
inc dword [ebp - 4]
dec esi
jne 0x544c4a
mov eax, dword [ebp - 0xc]
mov edx, dword [eax]
call dword [edx + 0x14]
cmp eax, dword [ebp - 8]
je 0x544ca8
dec ebx
cmp ebx, 0xffffffff
jne 0x544c11
mov eax, dword [ebp + 8]
add eax, 0xfffffffc
mov edx, dword [0x544b1c]
call fcn.004058bc
mov eax, dword [ebp - 0xc]
mov edx, dword [eax]
call dword [edx + 0x14]
mov esi, eax
dec esi
test esi, esi
jl 0x544d4c
inc esi
xor ebx, ebx
lea ecx, [ebp - 0x10]
mov edx, ebx
mov eax, dword [ebp - 0xc]
mov edi, dword [eax]
call dword [edi + 0xc]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
call fcn.004061fc
add eax, 2
push eax
mov eax, dword [ebp + 8]
add eax, 0xfffffffc
mov ecx, 1
mov edx, dword [0x544b1c]
call fcn.004063b0
add esp, 4
lea eax, [ebp - 0x2c]
push eax
mov edx, dword [ebp - 0x10]
mov eax, 0x544d80
call fcn.00404f88
inc eax
push eax
mov eax, dword [ebp - 0x10]
call fcn.00404c4c
mov ecx, eax
mov eax, dword [ebp - 0x10]
pop edx
call fcn.00404ea4
mov eax, dword [ebp - 0x2c]
call fcn.005417b4
mov edi, eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
call fcn.004061fc
mov edx, dword [ebp + 8]
mov edx, dword [edx - 4]
mov dword [edx + eax*4], edi
inc ebx
dec esi
jne 0x544ccf
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x544d6e
lea eax, [ebp - 0x2c]
mov edx, 8
call fcn.0040498c
ret