Function at 0x4fc4ac
Capabilities:
Enumerate gui resources
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0x3e
push 0
push 0
dec ecx
jne 0x4fc4b4
push ecx
push ebx
push esi
push edi
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4fceac
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
push ebp
push 0x4fce74
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x35c]
xor edx, edx
call fcn.00442bb8
mov byte [ebp - 0x25], 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 0x4fd0d8
call sub.user32.dll_EnumWindows
xor eax, eax
push ebp
push 0x4fce53
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp byte [eax + 0x46c], 1
jne 0x4fc600
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 0x4fc5ab
inc ebx
xor esi, esi
lea ecx, [ebp - 0x154]
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 - 0x154]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x57c]
mov ecx, dword [eax]
call dword [ecx + 0x38]
inc esi
dec ebx
jne 0x4fc57d
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 0x4fc5f1
inc ebx
xor esi, esi
lea ecx, [ebp - 0x158]
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 - 0x158]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x584]
mov ecx, dword [eax]
call dword [ecx + 0x38]
inc esi
dec ebx
jne 0x4fc5c3
mov eax, dword [ebp - 4]
mov byte [eax + 0x46c], 0
jmp 0x4fce3b
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 0x4fc840
lea ecx, [ebp - 0x15c]
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 - 0x15c]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x584]
mov ecx, dword [eax]
call dword [ecx + 0x54]
inc eax
jne 0x4fc834
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x588]
mov edx, dword [eax]
call dword [edx + 0x14]
dec eax
jle 0x4fc6bd
lea eax, [ebp - 0x168]
call fcn.004f7b1c
mov eax, dword [ebp - 0x168]
lea edx, [ebp - 0x164]
call fcn.004f796c
mov eax, dword [ebp - 0x164]
lea ecx, [ebp - 0x160]
mov edx, 1
call fcn.00446c14
mov eax, dword [ebp - 0x160]
mov edx, 0x4fcec4
call fcn.00404b50
je 0x4fc840
lea ecx, [ebp - 0x16c]
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 - 0x16c]
call fcn.00409700
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 - 0x20]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x574]
push eax
call sub.user32.dll_GetWindowThreadProcessId
lea ecx, [ebp - 0x1c]
mov edx, dword [ebp - 0x20]
mov eax, dword [ebp - 4]
call fcn.004fd55c
mov eax, dword [ebp - 0x24]
xor edx, edx
push edx
push eax
lea eax, [ebp - 0x170]
call fcn.004096b0
cmp dword [ebp - 0x170], 0
je 0x4fc74b
cmp dword [ebp - 0x1c], 0
jne 0x4fc74b
mov byte [ebp - 0x25], 1
cmp byte [ebp - 0x25], 0
jne 0x4fc81d
lea edx, [ebp - 0x174]
mov eax, 0x4fced0
call fcn.004fa01c
mov edx, dword [ebp - 0x174]
mov eax, dword [ebp - 0x1c]
call fcn.00404b50
je 0x4fc81d
lea edx, [ebp - 0x178]
mov eax, 0x4fcef4
call fcn.004fa01c
mov edx, dword [ebp - 0x178]
mov eax, dword [ebp - 0x1c]
call fcn.00404b50
je 0x4fc81d
lea edx, [ebp - 0x17c]
mov eax, 0x4fcf14
call fcn.004fa01c
mov edx, dword [ebp - 0x17c]
mov eax, dword [ebp - 0x1c]
call fcn.00404b50
je 0x4fc81d
lea edx, [ebp - 0x180]
mov eax, 0x4fcf38
call fcn.004fa01c
mov edx, dword [ebp - 0x180]
mov eax, dword [ebp - 0x1c]
call fcn.00404b50
je 0x4fc81d
lea edx, [ebp - 0x184]
mov eax, 0x4fcf58
call fcn.004fa01c
mov edx, dword [ebp - 0x184]
mov eax, dword [ebp - 0x1c]
call fcn.00404b50
je 0x4fc81d
lea edx, [ebp - 0x188]
mov eax, 0x4fcf8c
call fcn.004fa01c
mov edx, dword [ebp - 0x188]
mov eax, dword [ebp - 0x1c]
call fcn.00404b50
jne 0x4fc834
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 0x4fc632
test esi, esi
jle 0x4fcd93
lea ecx, [ebp - 0x18c]
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 - 0x18c]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x57c]
mov ecx, dword [eax]
call dword [ecx + 0x54]
inc eax
jne 0x4fcd87
lea ecx, [ebp - 0x190]
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 - 0x190]
call fcn.00409700
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 - 0x20]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x574]
push eax
call sub.user32.dll_GetWindowThreadProcessId
lea ecx, [ebp - 0x1c]
mov edx, dword [ebp - 0x20]
mov eax, dword [ebp - 4]
call fcn.004fd55c
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x574]
mov edx, dword [ebp - 4]
mov dword [edx + 0x578], eax
mov eax, dword [ebp - 0x24]
xor edx, edx
push edx
push eax
lea eax, [ebp - 0x194]
call fcn.004096b0
cmp dword [ebp - 0x194], 0
je 0x4fc913
cmp dword [ebp - 0x1c], 0
jne 0x4fc913
mov byte [ebp - 0x25], 1
cmp byte [ebp - 0x25], 0
jne 0x4fc9e9
lea edx, [ebp - 0x198]
mov eax, 0x4fced0
call fcn.004fa01c
mov edx, dword [ebp - 0x198]
mov eax, dword [ebp - 0x1c]
call fcn.00404b50
je 0x4fc9e9
lea edx, [ebp - 0x19c]
mov eax, 0x4fcef4
call fcn.004fa01c
mov edx, dword [ebp - 0x19c]
mov eax, dword [ebp - 0x1c]
call fcn.00404b50
je 0x4fc9e9
lea edx, [ebp - 0x1a0]
mov eax, 0x4fcf14
call fcn.004fa01c
mov edx, dword [ebp - 0x1a0]
mov eax, dword [ebp - 0x1c]
call fcn.00404b50
je 0x4fc9e9
lea edx, [ebp - 0x1a4]
mov eax, 0x4fcf38
call fcn.004fa01c
mov edx, dword [ebp - 0x1a4]
mov eax, dword [ebp - 0x1c]
call fcn.00404b50
je 0x4fc9e9
lea edx, [ebp - 0x1a8]
mov eax, 0x4fcf58
call fcn.004fa01c
mov edx, dword [ebp - 0x1a8]
mov eax, dword [ebp - 0x1c]
call fcn.00404b50
je 0x4fc9e9
lea edx, [ebp - 0x1ac]
mov eax, 0x4fcf8c
call fcn.004fa01c
mov edx, dword [ebp - 0x1ac]
mov eax, dword [ebp - 0x1c]
call fcn.00404b50
jne 0x4fcd87
lea eax, [ebp - 0x1b0]
mov edx, dword [ebp - 4]
add edx, 0x474
mov ecx, 0xff
call fcn.004049b4
mov eax, dword [ebp - 0x1b0]
push eax
lea edx, [ebp - 0x1b4]
mov eax, 0x4fcfb0
call fcn.004fa01c
mov edx, dword [ebp - 0x1b4]
pop eax
call fcn.00404b50
jne 0x4fca9d
push 0xc8
call sub.kernel32.dll_Sleep_1
push 0
lea edx, [ebp - 0x1b8]
mov eax, 0x4fcfe4
call fcn.004fa01c
mov eax, dword [ebp - 0x1b8]
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 0x4fca8a
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x580]
mov edx, dword [eax]
call dword [edx + 0x14]
dec eax
jne 0x4fcd87
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x358]
call fcn.004aadf8
jmp 0x4fcd87
lea eax, [ebp - 0x1bc]
mov edx, dword [ebp - 4]
add edx, 0x474
mov ecx, 0xff
call fcn.004049b4
mov eax, dword [ebp - 0x1bc]
push eax
lea edx, [ebp - 0x1c0]
mov eax, 0x4fcfe4
call fcn.004fa01c
mov edx, dword [ebp - 0x1c0]
pop eax
call fcn.00404b50
jne 0x4fcb47
push 0
lea edx, [ebp - 0x1c4]
mov eax, 0x4fd014
call fcn.004fa01c
mov eax, dword [ebp - 0x1c4]
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 0x4fcb34
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x580]
mov edx, dword [eax]
call dword [edx + 0x14]
dec eax
jne 0x4fcd87
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x358]
call fcn.004aadf8
jmp 0x4fcd87
lea eax, [ebp - 0x1c8]
mov edx, dword [ebp - 4]
add edx, 0x474
mov ecx, 0xff
call fcn.004049b4
mov eax, dword [ebp - 0x1c8]
push eax
lea edx, [ebp - 0x1cc]
mov eax, 0x4fd054
call fcn.004fa01c
mov edx, dword [ebp - 0x1cc]
pop eax
call fcn.00404b50
je 0x4fcbc3
lea eax, [ebp - 0x1d0]
mov edx, dword [ebp - 4]
add edx, 0x474
mov ecx, 0xff
call fcn.004049b4
mov eax, dword [ebp - 0x1d0]
push eax
lea edx, [ebp - 0x1d4]
mov eax, 0x4fd078
call fcn.004fa01c
mov edx, dword [ebp - 0x1d4]
pop eax
call fcn.00404b50
jne 0x4fcbd6
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x358]
call fcn.004aadf8
jmp 0x4fcd87
lea eax, [ebp - 0x1d8]
mov edx, dword [ebp - 4]
add edx, 0x474
mov ecx, 0xff
call fcn.004049b4
mov eax, dword [ebp - 0x1d8]
push eax
lea edx, [ebp - 0x1dc]
mov eax, 0x4fd0ac
call fcn.004fa01c
mov edx, dword [ebp - 0x1dc]
pop eax
call fcn.00404b50
jne 0x4fcc87
push 0x64
call sub.kernel32.dll_Sleep_1
push 0
lea edx, [ebp - 0x1e0]
mov eax, 0x4fcfe4
call fcn.004fa01c
mov eax, dword [ebp - 0x1e0]
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 0x4fcc74
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x580]
mov edx, dword [eax]
call dword [edx + 0x14]
dec eax
jne 0x4fcd87
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x358]
call fcn.004aadf8
jmp 0x4fcd87
push 0
push 2
call sub.kernel32.dll_CreateToolhelp32Snapshot
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x150], 0x128
lea eax, [ebp - 0x150]
push eax
mov eax, dword [ebp - 0x18]
push eax
call sub.kernel32.dll_Process32First
cmp eax, 1
sbb eax, eax
inc eax
mov byte [ebp - 0x11], al
jmp 0x4fcd13
mov eax, dword [ebp - 0x148]
cmp eax, dword [ebp - 0x20]
jne 0x4fccfa
lea eax, [ebp - 0x1e8]
lea edx, [ebp - 0x12c]
mov ecx, 0x104
call fcn.004049b4
mov eax, dword [ebp - 0x1e8]
lea edx, [ebp - 0x1e4]
call fcn.00408fa0
mov eax, dword [ebp - 0x1e4]
lea edx, [ebp - 0x10]
call fcn.004fa108
jmp 0x4fcd19
lea eax, [ebp - 0x150]
push eax
mov eax, dword [ebp - 0x18]
push eax
call sub.kernel32.dll_Process32Next
cmp eax, 1
sbb eax, eax
inc eax
mov byte [ebp - 0x11], al
cmp byte [ebp - 0x11], 0
jne 0x4fccb8
lea ecx, [ebp - 0x1ec]
mov edx, dword [ebp - 0x148]
mov eax, dword [ebp - 4]
call fcn.004fa6a4
mov edx, dword [ebp - 0x1ec]
mov eax, 0x516548
call fcn.00404798
mov eax, dword [0x516548]
call fcn.00409acc
test al, al
je 0x4fcd87
mov eax, dword [ebp - 0x10]
call fcn.004fa1a8
mov eax, dword [ebp - 0x148]
mov dword [0x51653c], eax
call fcn.0040beb4
fstp qword [0x516540]
wait
mov eax, 0x51654c
mov edx, dword [ebp - 0x10]
call fcn.00404798
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x2fc]
call fcn.004aadf8
jmp 0x4fcd93
dec esi
inc dword [ebp - 0xc]
test esi, esi
jg 0x4fc848
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 0x4fcde7
inc ebx
xor esi, esi
lea ecx, [ebp - 0x1f0]
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 - 0x1f0]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x584]
mov ecx, dword [eax]
call dword [ecx + 0x38]
inc esi
dec ebx
jne 0x4fcdb9
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 0x4fce3b
inc ebx
xor esi, esi
lea ecx, [ebp - 0x1f4]
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 - 0x1f4]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x57c]
mov ecx, dword [eax]
call dword [ecx + 0x38]
inc esi
dec ebx
jne 0x4fce0d
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 0x4fce5a
ret