Function at 0x4fcb48
Capabilities:
Enumerate gui resources

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0x19
push 0
push 0
dec ecx
jne 0x4fcb50
push ecx
push ebx
push esi
push edi
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4fd49e
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
push ebp
push 0x4fd46e
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x35c]
xor edx, edx
call fcn.00443208
mov byte [ebp - 0x19], 0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x5c0]
mov edx, dword [eax]
call dword [edx + 0x44]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x5c8]
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 0x4fd8ac
call sub.user32.dll_EnumWindows
push 0x4014
push 0x99626800
push 0
call fcn.0042f028
cmp eax, 0xb5da45
jne 0x4fcbe9
mov eax, 0x4fd4b4
call fcn.00446774
xor eax, eax
push ebp
push 0x4fd432
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp byte [eax + 0x4ac], 1
jne 0x4fccca
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x5c8]
mov edx, dword [eax]
call dword [edx + 0x14]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x5c0]
mov edx, dword [eax]
call dword [edx + 0x14]
lea eax, [ebp - 0x20]
push eax
mov ecx, 0x4fd4c4
mov edx, 0x4fd4d4
mov eax, 0x4fd4e0
call fcn.004471f4
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x5c0]
mov edx, dword [eax]
call dword [edx + 0x14]
mov ebx, eax
dec ebx
test ebx, ebx
jl 0x4fcc7b
inc ebx
xor esi, esi
lea ecx, [ebp - 0x24]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x5c0]
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 + 0x5bc]
mov ecx, dword [eax]
call dword [ecx + 0x38]
inc esi
dec ebx
jne 0x4fcc53
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x5c8]
mov edx, dword [eax]
call dword [edx + 0x14]
mov ebx, eax
dec ebx
test ebx, ebx
jl 0x4fccbb
inc ebx
xor esi, esi
lea ecx, [ebp - 0x28]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x5c8]
mov edx, esi
mov edi, dword [eax]
call dword [edi + 0xc]
mov edx, dword [ebp - 0x28]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x5c4]
mov ecx, dword [eax]
call dword [ecx + 0x38]
inc esi
dec ebx
jne 0x4fcc93
mov eax, dword [ebp - 4]
mov byte [eax + 0x4ac], 0
jmp 0x4fd41a
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x5c8]
mov edx, dword [eax]
call dword [edx + 0x14]
mov ebx, eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x5c0]
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 0x4fcee5
lea ecx, [ebp - 0x2c]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x5c8]
mov edx, dword [ebp - 8]
mov edi, dword [eax]
call dword [edi + 0xc]
mov edx, dword [ebp - 0x2c]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x5c4]
mov ecx, dword [eax]
call dword [ecx + 0x54]
inc eax
jne 0x4fced9
lea eax, [ebp - 0x30]
push eax
mov ecx, 0x4fd4c4
mov edx, 0x4fd4d4
mov eax, 0x4fd510
call fcn.004471f4
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x5c8]
mov edx, dword [eax]
call dword [edx + 0x14]
dec eax
jle 0x4fcd87
lea eax, [ebp - 0x3c]
call fcn.004f714c
mov eax, dword [ebp - 0x3c]
lea edx, [ebp - 0x38]
call fcn.004f6f9c
mov eax, dword [ebp - 0x38]
lea ecx, [ebp - 0x34]
mov edx, 1
call fcn.00447290
mov eax, dword [ebp - 0x34]
mov edx, 0x4fd540
call fcn.00404b28
je 0x4fcee5
lea ecx, [ebp - 0x40]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x5c8]
mov edx, dword [ebp - 8]
mov edi, dword [eax]
call dword [edi + 0xc]
mov eax, dword [ebp - 0x40]
call fcn.00409550
mov edx, dword [ebp - 4]
mov dword [edx + 0x5b4], eax
push 0xff
mov eax, dword [ebp - 4]
add eax, 0x4b4
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x5b4]
push eax
call sub.user32.dll_GetClassNameA
lea eax, [ebp - 0x14]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x5b4]
push eax
call sub.user32.dll_GetWindowThreadProcessId
lea ecx, [ebp - 0x10]
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 4]
call fcn.004fddb0
mov eax, dword [ebp - 0x18]
xor edx, edx
push edx
push eax
lea eax, [ebp - 0x44]
call fcn.00409500
cmp dword [ebp - 0x44], 0
je 0x4fce09
cmp dword [ebp - 0x10], 0
jne 0x4fce09
mov byte [ebp - 0x19], 1
cmp byte [ebp - 0x19], 0
jne 0x4fceb3
lea edx, [ebp - 0x48]
mov eax, 0x4fd54c
call fcn.004facec
mov edx, dword [ebp - 0x48]
mov eax, dword [ebp - 0x10]
call fcn.00404b28
je 0x4fceb3
lea edx, [ebp - 0x4c]
mov eax, 0x4fd570
call fcn.004facec
mov edx, dword [ebp - 0x4c]
mov eax, dword [ebp - 0x10]
call fcn.00404b28
je 0x4fceb3
lea edx, [ebp - 0x50]
mov eax, 0x4fd590
call fcn.004facec
mov edx, dword [ebp - 0x50]
mov eax, dword [ebp - 0x10]
call fcn.00404b28
je 0x4fceb3
lea edx, [ebp - 0x54]
mov eax, 0x4fd5b4
call fcn.004facec
mov edx, dword [ebp - 0x54]
mov eax, dword [ebp - 0x10]
call fcn.00404b28
je 0x4fceb3
lea edx, [ebp - 0x58]
mov eax, 0x4fd5d4
call fcn.004facec
mov edx, dword [ebp - 0x58]
mov eax, dword [ebp - 0x10]
call fcn.00404b28
je 0x4fceb3
lea edx, [ebp - 0x5c]
mov eax, 0x4fd608
call fcn.004facec
mov edx, dword [ebp - 0x5c]
mov eax, dword [ebp - 0x10]
call fcn.00404b28
jne 0x4fceca
mov eax, dword [ebp - 4]
mov edi, dword [eax + 0x3ac]
xor edx, edx
mov eax, dword [edi + 0x124]
call dword [edi + 0x120]
mov edx, 0x4fd62c
mov eax, 0x4fd65c
call fcn.0040e798
dec ebx
inc dword [ebp - 8]
test ebx, ebx
jg 0x4fccfc
test esi, esi
jle 0x4fd326
lea ecx, [ebp - 0x60]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x5c0]
mov edx, dword [ebp - 0xc]
mov ebx, dword [eax]
call dword [ebx + 0xc]
mov edx, dword [ebp - 0x60]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x5bc]
mov ecx, dword [eax]
call dword [ecx + 0x54]
inc eax
jne 0x4fd31a
lea ecx, [ebp - 0x64]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x5c0]
mov edx, dword [ebp - 0xc]
mov ebx, dword [eax]
call dword [ebx + 0xc]
mov eax, dword [ebp - 0x64]
call fcn.00409550
mov ebx, eax
mov eax, dword [ebp - 4]
mov dword [eax + 0x5b4], ebx
push 0xff
mov eax, dword [ebp - 4]
add eax, 0x4b4
push eax
push ebx
call sub.user32.dll_GetClassNameA
lea eax, [ebp - 0x14]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x5b4]
push eax
call sub.user32.dll_GetWindowThreadProcessId
lea ecx, [ebp - 0x10]
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 4]
call fcn.004fddb0
mov edx, 0x4fd68c
mov eax, 0x4fd6bc
call fcn.0040e798
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x5b4]
mov edx, dword [ebp - 4]
mov dword [edx + 0x5b8], eax
mov eax, dword [ebp - 0x18]
xor edx, edx
push edx
push eax
lea eax, [ebp - 0x68]
call fcn.00409500
cmp dword [ebp - 0x68], 0
je 0x4fcfb5
cmp dword [ebp - 0x10], 0
jne 0x4fcfb5
mov byte [ebp - 0x19], 1
cmp byte [ebp - 0x19], 0
jne 0x4fd063
lea edx, [ebp - 0x6c]
mov eax, 0x4fd54c
call fcn.004facec
mov edx, dword [ebp - 0x6c]
mov eax, dword [ebp - 0x10]
call fcn.00404b28
je 0x4fd063
lea edx, [ebp - 0x70]
mov eax, 0x4fd570
call fcn.004facec
mov edx, dword [ebp - 0x70]
mov eax, dword [ebp - 0x10]
call fcn.00404b28
je 0x4fd063
lea edx, [ebp - 0x74]
mov eax, 0x4fd590
call fcn.004facec
mov edx, dword [ebp - 0x74]
mov eax, dword [ebp - 0x10]
call fcn.00404b28
je 0x4fd063
lea edx, [ebp - 0x78]
mov eax, 0x4fd5b4
call fcn.004facec
mov edx, dword [ebp - 0x78]
mov eax, dword [ebp - 0x10]
call fcn.00404b28
je 0x4fd063
lea edx, [ebp - 0x7c]
mov eax, 0x4fd5d4
call fcn.004facec
mov edx, dword [ebp - 0x7c]
mov eax, dword [ebp - 0x10]
call fcn.00404b28
je 0x4fd063
lea edx, [ebp - 0x80]
mov eax, 0x4fd608
call fcn.004facec
mov edx, dword [ebp - 0x80]
mov eax, dword [ebp - 0x10]
call fcn.00404b28
jne 0x4fd2f8
lea eax, [ebp - 0x84]
mov edx, dword [ebp - 4]
add edx, 0x4b4
mov ecx, 0xff
call fcn.0040498c
mov eax, dword [ebp - 0x84]
push eax
lea edx, [ebp - 0x88]
mov eax, 0x4fd6ec
call fcn.004facec
mov edx, dword [ebp - 0x88]
pop eax
call fcn.00404b28
jne 0x4fd117
push 0x3e8
call sub.kernel32.dll_Sleep_1
push 0
lea edx, [ebp - 0x8c]
mov eax, 0x4fd720
call fcn.004facec
mov eax, dword [ebp - 0x8c]
call fcn.00404bdc
push eax
push 0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x5b4]
push eax
call sub.user32.dll_FindWindowExA
mov edx, dword [ebp - 4]
mov dword [edx + 0x5b8], eax
mov eax, dword [ebp - 4]
cmp dword [eax + 0x5b8], 0
jne 0x4fd104
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x5c0]
mov edx, dword [eax]
call dword [edx + 0x14]
dec eax
jne 0x4fd2f8
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x358]
call fcn.004c09a4
jmp 0x4fd2f8
lea eax, [ebp - 0x90]
mov edx, dword [ebp - 4]
add edx, 0x4b4
mov ecx, 0xff
call fcn.0040498c
mov eax, dword [ebp - 0x90]
push eax
lea edx, [ebp - 0x94]
mov eax, 0x4fd720
call fcn.004facec
mov edx, dword [ebp - 0x94]
pop eax
call fcn.00404b28
jne 0x4fd1c1
push 0
lea edx, [ebp - 0x98]
mov eax, 0x4fd750
call fcn.004facec
mov eax, dword [ebp - 0x98]
call fcn.00404bdc
push eax
push 0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x5b4]
push eax
call sub.user32.dll_FindWindowExA
mov edx, dword [ebp - 4]
mov dword [edx + 0x5b8], eax
mov eax, dword [ebp - 4]
cmp dword [eax + 0x5b8], 0
jne 0x4fd1ae
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x5c0]
mov edx, dword [eax]
call dword [edx + 0x14]
dec eax
jne 0x4fd2f8
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x358]
call fcn.004c09a4
jmp 0x4fd2f8
lea eax, [ebp - 0x9c]
mov edx, dword [ebp - 4]
add edx, 0x4b4
mov ecx, 0xff
call fcn.0040498c
mov eax, dword [ebp - 0x9c]
push eax
lea edx, [ebp - 0xa0]
mov eax, 0x4fd790
call fcn.004facec
mov edx, dword [ebp - 0xa0]
pop eax
call fcn.00404b28
je 0x4fd23d
lea eax, [ebp - 0xa4]
mov edx, dword [ebp - 4]
add edx, 0x4b4
mov ecx, 0xff
call fcn.0040498c
mov eax, dword [ebp - 0xa4]
push eax
lea edx, [ebp - 0xa8]
mov eax, 0x4fd7b4
call fcn.004facec
mov edx, dword [ebp - 0xa8]
pop eax
call fcn.00404b28
jne 0x4fd250
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x358]
call fcn.004c09a4
jmp 0x4fd2f8
lea eax, [ebp - 0xac]
mov edx, dword [ebp - 4]
add edx, 0x4b4
mov ecx, 0xff
call fcn.0040498c
mov eax, dword [ebp - 0xac]
push eax
lea edx, [ebp - 0xb0]
mov eax, 0x4fd7e8
call fcn.004facec
mov edx, dword [ebp - 0xb0]
pop eax
call fcn.00404b28
jne 0x4fd2f8
push 0x64
call sub.kernel32.dll_Sleep_1
push 0
lea edx, [ebp - 0xb4]
mov eax, 0x4fd720
call fcn.004facec
mov eax, dword [ebp - 0xb4]
call fcn.00404bdc
push eax
push 0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x5b4]
push eax
call sub.user32.dll_FindWindowExA
mov edx, dword [ebp - 4]
mov dword [edx + 0x5b8], eax
mov eax, dword [ebp - 4]
cmp dword [eax + 0x5b8], 0
jne 0x4fd2ea
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x5c0]
mov edx, dword [eax]
call dword [edx + 0x14]
dec eax
jne 0x4fd2f8
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x358]
call fcn.004c09a4
push 0x4013
push 0xa2bcc800
push 0
call fcn.0042f028
cmp eax, 0xaaab65
jne 0x4fd31a
mov eax, 0x4fd81c
call fcn.00446774
dec esi
inc dword [ebp - 0xc]
test esi, esi
jg 0x4fceed
lea ecx, [ebp - 0xb8]
mov edx, 6
mov eax, 0x4fd82c
call fcn.00447290
mov eax, dword [ebp - 0xb8]
push eax
lea ecx, [ebp - 0xbc]
xor edx, edx
mov eax, 0x4fd4c4
call fcn.00447290
mov edx, dword [ebp - 0xbc]
pop eax
call fcn.00404b28
jne 0x4fd372
lea edx, [ebp - 0xc0]
mov eax, 0x4fd85c
call fcn.004fae28
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x5c4]
mov edx, dword [eax]
call dword [edx + 0x44]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x5c8]
mov edx, dword [eax]
call dword [edx + 0x14]
mov ebx, eax
dec ebx
test ebx, ebx
jl 0x4fd3c6
inc ebx
xor esi, esi
lea ecx, [ebp - 0xc4]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x5c8]
mov edx, esi
mov edi, dword [eax]
call dword [edi + 0xc]
mov edx, dword [ebp - 0xc4]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x5c4]
mov ecx, dword [eax]
call dword [ecx + 0x38]
inc esi
dec ebx
jne 0x4fd398
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x5bc]
mov edx, dword [eax]
call dword [edx + 0x44]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x5c0]
mov edx, dword [eax]
call dword [edx + 0x14]
mov ebx, eax
dec ebx
test ebx, ebx
jl 0x4fd41a
inc ebx
xor esi, esi
lea ecx, [ebp - 0xc8]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x5c0]
mov edx, esi
mov edi, dword [eax]
call dword [edi + 0xc]
mov edx, dword [ebp - 0xc8]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x5bc]
mov ecx, dword [eax]
call dword [ecx + 0x38]
inc esi
dec ebx
jne 0x4fd3ec
mov eax, dword [ebp - 4]
mov byte [eax + 0x4ac], 0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4fd439
ret