Function at 0x4fc254
Capabilities:
Enumerate gui resources

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0x16
push 0
push 0
dec ecx
jne 0x4fc25c
push ecx
push ebx
push esi
push edi
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4fcaa5
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
push ebp
push 0x4fca75
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x35c]
xor edx, edx
call fcn.00442b98
mov byte [ebp - 0x19], 0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x580]
mov edx, dword [eax]
call dword [edx + 0x44]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x588]
mov edx, dword [eax]
call dword [edx + 0x44]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x350]
mov edx, dword [eax]
call dword [edx + 0xd8]
push 0
push 0x4fccd0
call sub.user32.dll_EnumWindows
xor eax, eax
push ebp
push 0x4fca54
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp byte [eax + 0x46c], 1
jne 0x4fc39c
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x588]
mov edx, dword [eax]
call dword [edx + 0x14]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x580]
mov edx, dword [eax]
call dword [edx + 0x14]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x580]
mov edx, dword [eax]
call dword [edx + 0x14]
mov ebx, eax
dec ebx
test ebx, ebx
jl 0x4fc34d
inc ebx
xor esi, esi
lea ecx, [ebp - 0x20]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x580]
mov edx, esi
mov edi, dword [eax]
call dword [edi + 0xc]
mov edx, dword [ebp - 0x20]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x57c]
mov ecx, dword [eax]
call dword [ecx + 0x38]
inc esi
dec ebx
jne 0x4fc325
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x588]
mov edx, dword [eax]
call dword [edx + 0x14]
mov ebx, eax
dec ebx
test ebx, ebx
jl 0x4fc38d
inc ebx
xor esi, esi
lea ecx, [ebp - 0x24]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x588]
mov edx, esi
mov edi, dword [eax]
call dword [edi + 0xc]
mov edx, dword [ebp - 0x24]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x584]
mov ecx, dword [eax]
call dword [ecx + 0x38]
inc esi
dec ebx
jne 0x4fc365
mov eax, dword [ebp - 4]
mov byte [eax + 0x46c], 0
jmp 0x4fca3c
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x588]
mov edx, dword [eax]
call dword [edx + 0x14]
mov ebx, eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x580]
mov edx, dword [eax]
call dword [edx + 0x14]
mov esi, eax
xor eax, eax
mov dword [ebp - 8], eax
xor eax, eax
mov dword [ebp - 0xc], eax
test ebx, ebx
jle 0x4fc590
lea ecx, [ebp - 0x28]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x588]
mov edx, dword [ebp - 8]
mov edi, dword [eax]
call dword [edi + 0xc]
mov edx, dword [ebp - 0x28]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x584]
mov ecx, dword [eax]
call dword [ecx + 0x54]
inc eax
jne 0x4fc584
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x588]
mov edx, dword [eax]
call dword [edx + 0x14]
dec eax
jle 0x4fc441
lea eax, [ebp - 0x34]
call fcn.004e724c
mov eax, dword [ebp - 0x34]
lea edx, [ebp - 0x30]
call fcn.004e709c
mov eax, dword [ebp - 0x30]
lea ecx, [ebp - 0x2c]
mov edx, 1
call fcn.00446bf4
mov eax, dword [ebp - 0x2c]
mov edx, 0x4fcabc
call fcn.00404b50
je 0x4fc590
lea ecx, [ebp - 0x38]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x588]
mov edx, dword [ebp - 8]
mov edi, dword [eax]
call dword [edi + 0xc]
mov eax, dword [ebp - 0x38]
call fcn.004096e0
mov edx, dword [ebp - 4]
mov dword [edx + 0x574], eax
push 0xff
mov eax, dword [ebp - 4]
add eax, 0x474
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x574]
push eax
call sub.user32.dll_GetClassNameA
lea eax, [ebp - 0x14]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x574]
push eax
call sub.user32.dll_GetWindowThreadProcessId
lea ecx, [ebp - 0x10]
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 4]
call fcn.004fd0e4
mov eax, dword [ebp - 0x18]
xor edx, edx
push edx
push eax
lea eax, [ebp - 0x3c]
call fcn.00409690
cmp dword [ebp - 0x3c], 0
je 0x4fc4c3
cmp dword [ebp - 0x10], 0
jne 0x4fc4c3
mov byte [ebp - 0x19], 1
cmp byte [ebp - 0x19], 0
jne 0x4fc56d
lea edx, [ebp - 0x40]
mov eax, 0x4fcac8
call fcn.004fa160
mov edx, dword [ebp - 0x40]
mov eax, dword [ebp - 0x10]
call fcn.00404b50
je 0x4fc56d
lea edx, [ebp - 0x44]
mov eax, 0x4fcaec
call fcn.004fa160
mov edx, dword [ebp - 0x44]
mov eax, dword [ebp - 0x10]
call fcn.00404b50
je 0x4fc56d
lea edx, [ebp - 0x48]
mov eax, 0x4fcb0c
call fcn.004fa160
mov edx, dword [ebp - 0x48]
mov eax, dword [ebp - 0x10]
call fcn.00404b50
je 0x4fc56d
lea edx, [ebp - 0x4c]
mov eax, 0x4fcb30
call fcn.004fa160
mov edx, dword [ebp - 0x4c]
mov eax, dword [ebp - 0x10]
call fcn.00404b50
je 0x4fc56d
lea edx, [ebp - 0x50]
mov eax, 0x4fcb50
call fcn.004fa160
mov edx, dword [ebp - 0x50]
mov eax, dword [ebp - 0x10]
call fcn.00404b50
je 0x4fc56d
lea edx, [ebp - 0x54]
mov eax, 0x4fcb84
call fcn.004fa160
mov edx, dword [ebp - 0x54]
mov eax, dword [ebp - 0x10]
call fcn.00404b50
jne 0x4fc584
mov eax, dword [ebp - 4]
mov edi, dword [eax + 0x3ac]
xor edx, edx
mov eax, dword [edi + 0x124]
call dword [edi + 0x120]
dec ebx
inc dword [ebp - 8]
test ebx, ebx
jg 0x4fc3ce
test esi, esi
jle 0x4fc994
lea ecx, [ebp - 0x58]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x580]
mov edx, dword [ebp - 0xc]
mov ebx, dword [eax]
call dword [ebx + 0xc]
mov edx, dword [ebp - 0x58]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x57c]
mov ecx, dword [eax]
call dword [ecx + 0x54]
inc eax
jne 0x4fc988
lea ecx, [ebp - 0x5c]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x580]
mov edx, dword [ebp - 0xc]
mov ebx, dword [eax]
call dword [ebx + 0xc]
mov eax, dword [ebp - 0x5c]
call fcn.004096e0
mov ebx, eax
mov eax, dword [ebp - 4]
mov dword [eax + 0x574], ebx
push 0xff
mov eax, dword [ebp - 4]
add eax, 0x474
push eax
push ebx
call sub.user32.dll_GetClassNameA
lea eax, [ebp - 0x14]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x574]
push eax
call sub.user32.dll_GetWindowThreadProcessId
lea ecx, [ebp - 0x10]
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 4]
call fcn.004fd0e4
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x574]
mov edx, dword [ebp - 4]
mov dword [edx + 0x578], eax
mov eax, dword [ebp - 0x18]
xor edx, edx
push edx
push eax
lea eax, [ebp - 0x60]
call fcn.00409690
cmp dword [ebp - 0x60], 0
je 0x4fc651
cmp dword [ebp - 0x10], 0
jne 0x4fc651
mov byte [ebp - 0x19], 1
cmp byte [ebp - 0x19], 0
jne 0x4fc6ff
lea edx, [ebp - 0x64]
mov eax, 0x4fcac8
call fcn.004fa160
mov edx, dword [ebp - 0x64]
mov eax, dword [ebp - 0x10]
call fcn.00404b50
je 0x4fc6ff
lea edx, [ebp - 0x68]
mov eax, 0x4fcaec
call fcn.004fa160
mov edx, dword [ebp - 0x68]
mov eax, dword [ebp - 0x10]
call fcn.00404b50
je 0x4fc6ff
lea edx, [ebp - 0x6c]
mov eax, 0x4fcb0c
call fcn.004fa160
mov edx, dword [ebp - 0x6c]
mov eax, dword [ebp - 0x10]
call fcn.00404b50
je 0x4fc6ff
lea edx, [ebp - 0x70]
mov eax, 0x4fcb30
call fcn.004fa160
mov edx, dword [ebp - 0x70]
mov eax, dword [ebp - 0x10]
call fcn.00404b50
je 0x4fc6ff
lea edx, [ebp - 0x74]
mov eax, 0x4fcb50
call fcn.004fa160
mov edx, dword [ebp - 0x74]
mov eax, dword [ebp - 0x10]
call fcn.00404b50
je 0x4fc6ff
lea edx, [ebp - 0x78]
mov eax, 0x4fcb84
call fcn.004fa160
mov edx, dword [ebp - 0x78]
mov eax, dword [ebp - 0x10]
call fcn.00404b50
jne 0x4fc988
lea eax, [ebp - 0x7c]
mov edx, dword [ebp - 4]
add edx, 0x474
mov ecx, 0xff
call fcn.004049b4
mov eax, dword [ebp - 0x7c]
push eax
lea edx, [ebp - 0x80]
mov eax, 0x4fcba8
call fcn.004fa160
mov edx, dword [ebp - 0x80]
pop eax
call fcn.00404b50
jne 0x4fc7a7
push 0x3e8
call sub.kernel32.dll_Sleep_1
push 0
lea edx, [ebp - 0x84]
mov eax, 0x4fcbdc
call fcn.004fa160
mov eax, dword [ebp - 0x84]
call fcn.00404c04
push eax
push 0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x574]
push eax
call sub.user32.dll_FindWindowExA
mov edx, dword [ebp - 4]
mov dword [edx + 0x578], eax
mov eax, dword [ebp - 4]
cmp dword [eax + 0x578], 0
jne 0x4fc794
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x580]
mov edx, dword [eax]
call dword [edx + 0x14]
dec eax
jne 0x4fc988
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x358]
call fcn.004aadd8
jmp 0x4fc988
lea eax, [ebp - 0x88]
mov edx, dword [ebp - 4]
add edx, 0x474
mov ecx, 0xff
call fcn.004049b4
mov eax, dword [ebp - 0x88]
push eax
lea edx, [ebp - 0x8c]
mov eax, 0x4fcbdc
call fcn.004fa160
mov edx, dword [ebp - 0x8c]
pop eax
call fcn.00404b50
jne 0x4fc851
push 0
lea edx, [ebp - 0x90]
mov eax, 0x4fcc0c
call fcn.004fa160
mov eax, dword [ebp - 0x90]
call fcn.00404c04
push eax
push 0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x574]
push eax
call sub.user32.dll_FindWindowExA
mov edx, dword [ebp - 4]
mov dword [edx + 0x578], eax
mov eax, dword [ebp - 4]
cmp dword [eax + 0x578], 0
jne 0x4fc83e
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x580]
mov edx, dword [eax]
call dword [edx + 0x14]
dec eax
jne 0x4fc988
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x358]
call fcn.004aadd8
jmp 0x4fc988
lea eax, [ebp - 0x94]
mov edx, dword [ebp - 4]
add edx, 0x474
mov ecx, 0xff
call fcn.004049b4
mov eax, dword [ebp - 0x94]
push eax
lea edx, [ebp - 0x98]
mov eax, 0x4fcc4c
call fcn.004fa160
mov edx, dword [ebp - 0x98]
pop eax
call fcn.00404b50
je 0x4fc8cd
lea eax, [ebp - 0x9c]
mov edx, dword [ebp - 4]
add edx, 0x474
mov ecx, 0xff
call fcn.004049b4
mov eax, dword [ebp - 0x9c]
push eax
lea edx, [ebp - 0xa0]
mov eax, 0x4fcc70
call fcn.004fa160
mov edx, dword [ebp - 0xa0]
pop eax
call fcn.00404b50
jne 0x4fc8e0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x358]
call fcn.004aadd8
jmp 0x4fc988
lea eax, [ebp - 0xa4]
mov edx, dword [ebp - 4]
add edx, 0x474
mov ecx, 0xff
call fcn.004049b4
mov eax, dword [ebp - 0xa4]
push eax
lea edx, [ebp - 0xa8]
mov eax, 0x4fcca4
call fcn.004fa160
mov edx, dword [ebp - 0xa8]
pop eax
call fcn.00404b50
jne 0x4fc988
push 0x64
call sub.kernel32.dll_Sleep_1
push 0
lea edx, [ebp - 0xac]
mov eax, 0x4fcbdc
call fcn.004fa160
mov eax, dword [ebp - 0xac]
call fcn.00404c04
push eax
push 0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x574]
push eax
call sub.user32.dll_FindWindowExA
mov edx, dword [ebp - 4]
mov dword [edx + 0x578], eax
mov eax, dword [ebp - 4]
cmp dword [eax + 0x578], 0
jne 0x4fc97a
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x580]
mov edx, dword [eax]
call dword [edx + 0x14]
dec eax
jne 0x4fc988
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x358]
call fcn.004aadd8
dec esi
inc dword [ebp - 0xc]
test esi, esi
jg 0x4fc598
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x584]
mov edx, dword [eax]
call dword [edx + 0x44]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x588]
mov edx, dword [eax]
call dword [edx + 0x14]
mov ebx, eax
dec ebx
test ebx, ebx
jl 0x4fc9e8
inc ebx
xor esi, esi
lea ecx, [ebp - 0xb0]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x588]
mov edx, esi
mov edi, dword [eax]
call dword [edi + 0xc]
mov edx, dword [ebp - 0xb0]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x584]
mov ecx, dword [eax]
call dword [ecx + 0x38]
inc esi
dec ebx
jne 0x4fc9ba
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x57c]
mov edx, dword [eax]
call dword [edx + 0x44]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x580]
mov edx, dword [eax]
call dword [edx + 0x14]
mov ebx, eax
dec ebx
test ebx, ebx
jl 0x4fca3c
inc ebx
xor esi, esi
lea ecx, [ebp - 0xb4]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x580]
mov edx, esi
mov edi, dword [eax]
call dword [edi + 0xc]
mov edx, dword [ebp - 0xb4]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x57c]
mov ecx, dword [eax]
call dword [ecx + 0x38]
inc esi
dec ebx
jne 0x4fca0e
mov eax, dword [ebp - 4]
mov byte [eax + 0x46c], 0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4fca5b
ret