Function at 0x4fcb5c
Capabilities:
Enumerate gui resources

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0x19
push 0
push 0
dec ecx
jne 0x4fcb64
push ecx
push ebx
push esi
push edi
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4fd4b2
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
push ebp
push 0x4fd482
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 0x4fd8b4
call sub.user32.dll_EnumWindows
push 0x4015
push 0x95025a00
push 0
call fcn.0042f028
cmp eax, 0xbe8db0
jne 0x4fcbfd
mov eax, 0x4fd4c8
call fcn.00446774
xor eax, eax
push ebp
push 0x4fd446
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp byte [eax + 0x4ac], 1
jne 0x4fcd06
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 ecx, [ebp - 0x20]
mov edx, 6
mov eax, 0x4fd4d8
call fcn.00447290
mov eax, dword [ebp - 0x20]
push eax
lea ecx, [ebp - 0x24]
mov edx, 2
mov eax, 0x4fd508
call fcn.00447290
mov edx, dword [ebp - 0x24]
pop eax
call fcn.00404b28
jne 0x4fcc77
lea edx, [ebp - 0x28]
mov eax, 0x4fd518
call fcn.004faeb0
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 0x4fccb7
inc ebx
xor esi, esi
lea ecx, [ebp - 0x2c]
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 - 0x2c]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x5bc]
mov ecx, dword [eax]
call dword [ecx + 0x38]
inc esi
dec ebx
jne 0x4fcc8f
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 0x4fccf7
inc ebx
xor esi, esi
lea ecx, [ebp - 0x30]
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 - 0x30]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x5c4]
mov ecx, dword [eax]
call dword [ecx + 0x38]
inc esi
dec ebx
jne 0x4fcccf
mov eax, dword [ebp - 4]
mov byte [eax + 0x4ac], 0
jmp 0x4fd42e
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 0x4fcf2b
lea ecx, [ebp - 0x34]
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 - 0x34]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x5c4]
mov ecx, dword [eax]
call dword [ecx + 0x54]
inc eax
jne 0x4fcf1f
push 0x4012
push 0xf0a74000
push 0
call fcn.0042f028
cmp eax, 0xa4c8f0
jne 0x4fcd86
mov eax, 0x4fd528
call fcn.00446774
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x5c8]
mov edx, dword [eax]
call dword [edx + 0x14]
dec eax
jle 0x4fcdcd
lea eax, [ebp - 0x40]
call fcn.004f714c
mov eax, dword [ebp - 0x40]
lea edx, [ebp - 0x3c]
call fcn.004f6f9c
mov eax, dword [ebp - 0x3c]
lea ecx, [ebp - 0x38]
mov edx, 1
call fcn.00447290
mov eax, dword [ebp - 0x38]
mov edx, 0x4fd538
call fcn.00404b28
je 0x4fcf2b
lea ecx, [ebp - 0x44]
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 - 0x44]
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.004fdd60
mov eax, dword [ebp - 0x18]
xor edx, edx
push edx
push eax
lea eax, [ebp - 0x48]
call fcn.00409500
cmp dword [ebp - 0x48], 0
je 0x4fce4f
cmp dword [ebp - 0x10], 0
jne 0x4fce4f
mov byte [ebp - 0x19], 1
cmp byte [ebp - 0x19], 0
jne 0x4fcef9
lea edx, [ebp - 0x4c]
mov eax, 0x4fd544
call fcn.004fad74
mov edx, dword [ebp - 0x4c]
mov eax, dword [ebp - 0x10]
call fcn.00404b28
je 0x4fcef9
lea edx, [ebp - 0x50]
mov eax, 0x4fd568
call fcn.004fad74
mov edx, dword [ebp - 0x50]
mov eax, dword [ebp - 0x10]
call fcn.00404b28
je 0x4fcef9
lea edx, [ebp - 0x54]
mov eax, 0x4fd588
call fcn.004fad74
mov edx, dword [ebp - 0x54]
mov eax, dword [ebp - 0x10]
call fcn.00404b28
je 0x4fcef9
lea edx, [ebp - 0x58]
mov eax, 0x4fd5ac
call fcn.004fad74
mov edx, dword [ebp - 0x58]
mov eax, dword [ebp - 0x10]
call fcn.00404b28
je 0x4fcef9
lea edx, [ebp - 0x5c]
mov eax, 0x4fd5cc
call fcn.004fad74
mov edx, dword [ebp - 0x5c]
mov eax, dword [ebp - 0x10]
call fcn.00404b28
je 0x4fcef9
lea edx, [ebp - 0x60]
mov eax, 0x4fd600
call fcn.004fad74
mov edx, dword [ebp - 0x60]
mov eax, dword [ebp - 0x10]
call fcn.00404b28
jne 0x4fcf10
mov eax, dword [ebp - 4]
mov edi, dword [eax + 0x3ac]
xor edx, edx
mov eax, dword [edi + 0x124]
call dword [edi + 0x120]
mov edx, 0x4fd624
mov eax, 0x4fd654
call fcn.0040e798
dec ebx
inc dword [ebp - 8]
test ebx, ebx
jg 0x4fcd38
test esi, esi
jle 0x4fd36b
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 edx, dword [ebp - 0x64]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x5bc]
mov ecx, dword [eax]
call dword [ecx + 0x54]
inc eax
jne 0x4fd35f
lea ecx, [ebp - 0x68]
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 - 0x68]
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.004fdd60
mov edx, 0x4fd680
mov eax, 0x4fd6b0
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 - 0x6c]
call fcn.00409500
cmp dword [ebp - 0x6c], 0
je 0x4fcffb
cmp dword [ebp - 0x10], 0
jne 0x4fcffb
mov byte [ebp - 0x19], 1
cmp byte [ebp - 0x19], 0
jne 0x4fd0af
lea edx, [ebp - 0x70]
mov eax, 0x4fd544
call fcn.004fad74
mov edx, dword [ebp - 0x70]
mov eax, dword [ebp - 0x10]
call fcn.00404b28
je 0x4fd0af
lea edx, [ebp - 0x74]
mov eax, 0x4fd568
call fcn.004fad74
mov edx, dword [ebp - 0x74]
mov eax, dword [ebp - 0x10]
call fcn.00404b28
je 0x4fd0af
lea edx, [ebp - 0x78]
mov eax, 0x4fd588
call fcn.004fad74
mov edx, dword [ebp - 0x78]
mov eax, dword [ebp - 0x10]
call fcn.00404b28
je 0x4fd0af
lea edx, [ebp - 0x7c]
mov eax, 0x4fd5ac
call fcn.004fad74
mov edx, dword [ebp - 0x7c]
mov eax, dword [ebp - 0x10]
call fcn.00404b28
je 0x4fd0af
lea edx, [ebp - 0x80]
mov eax, 0x4fd5cc
call fcn.004fad74
mov edx, dword [ebp - 0x80]
mov eax, dword [ebp - 0x10]
call fcn.00404b28
je 0x4fd0af
lea edx, [ebp - 0x84]
mov eax, 0x4fd600
call fcn.004fad74
mov edx, dword [ebp - 0x84]
mov eax, dword [ebp - 0x10]
call fcn.00404b28
jne 0x4fd344
lea eax, [ebp - 0x88]
mov edx, dword [ebp - 4]
add edx, 0x4b4
mov ecx, 0xff
call fcn.0040498c
mov eax, dword [ebp - 0x88]
push eax
lea edx, [ebp - 0x8c]
mov eax, 0x4fd6e0
call fcn.004fad74
mov edx, dword [ebp - 0x8c]
pop eax
call fcn.00404b28
jne 0x4fd163
push 0x3e8
call sub.kernel32.dll_Sleep_1
push 0
lea edx, [ebp - 0x90]
mov eax, 0x4fd714
call fcn.004fad74
mov eax, dword [ebp - 0x90]
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 0x4fd150
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x5c0]
mov edx, dword [eax]
call dword [edx + 0x14]
dec eax
jne 0x4fd344
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x358]
call fcn.004c09a4
jmp 0x4fd344
lea eax, [ebp - 0x94]
mov edx, dword [ebp - 4]
add edx, 0x4b4
mov ecx, 0xff
call fcn.0040498c
mov eax, dword [ebp - 0x94]
push eax
lea edx, [ebp - 0x98]
mov eax, 0x4fd714
call fcn.004fad74
mov edx, dword [ebp - 0x98]
pop eax
call fcn.00404b28
jne 0x4fd20d
push 0
lea edx, [ebp - 0x9c]
mov eax, 0x4fd744
call fcn.004fad74
mov eax, dword [ebp - 0x9c]
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 0x4fd1fa
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x5c0]
mov edx, dword [eax]
call dword [edx + 0x14]
dec eax
jne 0x4fd344
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x358]
call fcn.004c09a4
jmp 0x4fd344
lea eax, [ebp - 0xa0]
mov edx, dword [ebp - 4]
add edx, 0x4b4
mov ecx, 0xff
call fcn.0040498c
mov eax, dword [ebp - 0xa0]
push eax
lea edx, [ebp - 0xa4]
mov eax, 0x4fd784
call fcn.004fad74
mov edx, dword [ebp - 0xa4]
pop eax
call fcn.00404b28
je 0x4fd289
lea eax, [ebp - 0xa8]
mov edx, dword [ebp - 4]
add edx, 0x4b4
mov ecx, 0xff
call fcn.0040498c
mov eax, dword [ebp - 0xa8]
push eax
lea edx, [ebp - 0xac]
mov eax, 0x4fd7a8
call fcn.004fad74
mov edx, dword [ebp - 0xac]
pop eax
call fcn.00404b28
jne 0x4fd29c
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x358]
call fcn.004c09a4
jmp 0x4fd344
lea eax, [ebp - 0xb0]
mov edx, dword [ebp - 4]
add edx, 0x4b4
mov ecx, 0xff
call fcn.0040498c
mov eax, dword [ebp - 0xb0]
push eax
lea edx, [ebp - 0xb4]
mov eax, 0x4fd7dc
call fcn.004fad74
mov edx, dword [ebp - 0xb4]
pop eax
call fcn.00404b28
jne 0x4fd344
push 0x64
call sub.kernel32.dll_Sleep_1
push 0
lea edx, [ebp - 0xb8]
mov eax, 0x4fd714
call fcn.004fad74
mov eax, dword [ebp - 0xb8]
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 0x4fd336
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x5c0]
mov edx, dword [eax]
call dword [edx + 0x14]
dec eax
jne 0x4fd344
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x358]
call fcn.004c09a4
lea eax, [ebp - 0xbc]
push eax
mov ecx, 0x4fd810
mov edx, 0x4fd820
mov eax, 0x4fd82c
call fcn.004471f4
dec esi
inc dword [ebp - 0xc]
test esi, esi
jg 0x4fcf33
lea eax, [ebp - 0xc0]
push eax
mov ecx, 0x4fd810
mov edx, 0x4fd820
mov eax, 0x4fd85c
call fcn.004471f4
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 0x4fd3da
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 0x4fd3ac
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 0x4fd42e
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 0x4fd400
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 0x4fd44d
ret