Function at 0x4e2c74
Capabilities:
Enumerate gui resources
Get graphical window text
Terminate process

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff4c
push ebx
push esi
push edi
xor edx, edx
mov dword [ebp - 0xb4], edx
mov dword [ebp - 0xb0], edx
mov dword [ebp - 0x10], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4e3082
push dword fs:[eax]
mov dword fs:[eax], esp
mov dl, 1
mov eax, dword [0x4143a4]
call fcn.00403720
mov edi, eax
push edi
push 0x4e2c5c
call sub.user32.dll_EnumWindows
xor eax, eax
mov dword [ebp - 0x14], eax
mov ebx, dword [edi + 8]
dec ebx
test ebx, ebx
jl 0x4e3045
inc ebx
xor esi, esi
push 0x7f
lea eax, [ebp - 0x9c]
push eax
mov edx, esi
mov eax, edi
call fcn.00416cc0
push eax
call sub.user32.dll_GetWindowTextA
test eax, eax
jle case.0x4e2d93.0
lea eax, [ebp - 0x10]
lea edx, [ebp - 0x9c]
mov ecx, 0x80
call fcn.004047c4
mov eax, dword [ebp - 0x10]
call fcn.004e298c
test al, al
je case.0x4e2d93.0
lea eax, [ebp - 8]
push eax
mov edx, esi
mov eax, edi
call fcn.00416cc0
push eax
call sub.user32.dll_GetWindowThreadProcessId
cmp dword [ebp - 0x14], 0
jne 0x4e2d82
mov eax, dword [0x52f4c8]
mov edx, dword [ebp - 0x10]
call fcn.00404958
je 0x4e2d82
mov eax, 0x52f4c8
mov edx, dword [ebp - 0x10]
call fcn.004045b0
cmp dword [0x537588], 0
jl 0x4e2d59
cmp dword [0x537588], 3
jle 0x4e2d62
cmp dword [0x537588], 9
jne 0x4e2d82
push 0
push 0
mov eax, dword [0x52f4c8]
push eax
push 0
push 0
mov ecx, 3
mov edx, 0x91
mov eax, dword [ebp - 4]
call fcn.004d2c2c
inc dword [ebp - 0x14]
mov eax, dword [0x537588]
cmp eax, 9
ja case.0x4e2d93.0
jmp dword [eax*4 + 0x4e2d9a]
mov eax, dword [0x5307c8]
mov edx, dword [eax + 4]
mov eax, dword [eax]
cmp edx, dword [0x52eee4]
jne 0x4e2de2
cmp eax, dword [0x52eee0]
jae case.0x4e2d93.0
jmp 0x4e2de8
jge case.0x4e2d93.0
lea edx, [ebp - 0xb0]
mov eax, 0x1d
call fcn.004a88fc
mov ecx, dword [ebp - 0xb0]
mov dx, word [0x4e3090]
mov al, 1
call fcn.004ab558
jmp case.0x4e2d93.0
mov edx, 3
mov eax, dword [0x537478]
call fcn.004e3fcc
jmp case.0x4e2d93.0
lea edx, [ebp - 0xb4]
mov eax, dword [ebp - 0x10]
call fcn.00408d5c
mov eax, dword [ebp - 0xb4]
call fcn.004e2bf4
test al, al
je 0x4e2f78
lea eax, [ebp - 0x1c]
push eax
call sub.user32.dll_GetCursorPos
lea eax, [ebp - 0xac]
push eax
mov edx, esi
mov eax, edi
call fcn.00416cc0
push eax
call sub.user32.dll_GetWindowRect
mov eax, dword [ebp - 0xac]
test eax, eax
jge 0x4e2e7f
sub dword [ebp - 0xa4], eax
xor eax, eax
mov dword [ebp - 0xac], eax
jmp 0x4e2ebf
mov eax, dword [0x5309f4]
mov eax, dword [eax]
call fcn.00445c90
cmp eax, dword [ebp - 0xa4]
jge 0x4e2ebf
mov eax, dword [0x5309f4]
mov eax, dword [eax]
call fcn.00445c90
mov edx, dword [ebp - 0xa4]
sub edx, eax
sub dword [ebp - 0xac], edx
mov eax, dword [0x5309f4]
mov eax, dword [eax]
call fcn.00445c90
mov dword [ebp - 0xa4], eax
mov eax, dword [ebp - 0xa8]
test eax, eax
jge 0x4e2ed9
sub dword [ebp - 0xa0], eax
xor eax, eax
mov dword [ebp - 0xa8], eax
jmp 0x4e2f19
mov eax, dword [0x5309f4]
mov eax, dword [eax]
call fcn.00445c84
cmp eax, dword [ebp - 0xa0]
jge 0x4e2f19
mov eax, dword [0x5309f4]
mov eax, dword [eax]
call fcn.00445c84
mov edx, dword [ebp - 0xa0]
sub edx, eax
sub dword [ebp - 0xa8], edx
mov eax, dword [0x5309f4]
mov eax, dword [eax]
call fcn.00445c84
mov dword [ebp - 0xa0], eax
push 0x40
mov eax, dword [ebp - 0xa0]
sub eax, dword [ebp - 0xa8]
push eax
mov eax, dword [ebp - 0xa4]
sub eax, dword [ebp - 0xac]
push eax
mov eax, dword [ebp - 0xa8]
push eax
mov eax, dword [ebp - 0xac]
push eax
push 0xffffffffffffffff
mov edx, esi
mov eax, edi
call fcn.00416cc0
push eax
call sub.user32.dll_SetWindowPos
mov edx, dword [ebp - 0xa8]
add edx, 0xc
mov eax, dword [ebp - 0xa4]
sub eax, 0xf
call fcn.004e28f0
mov eax, dword [ebp - 0x18]
push eax
mov eax, dword [ebp - 0x1c]
push eax
call sub.user32.dll_SetCursorPos
push 0
push 0
push 0x10
mov edx, esi
mov eax, edi
call fcn.00416cc0
push eax
call sub.user32.dll_PostMessageA
jmp case.0x4e2d93.0
mov eax, dword [ebp - 8]
push eax
push 0
push 1
call sub.kernel32.dll_OpenProcess
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
xor edx, edx
cmp edx, 0xffffffff
jne 0x4e2faf
cmp eax, 0xffffffff
je 0x4e2fcd
cmp dword [ebp - 0xc], 0
je 0x4e2fcd
push 0x31
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_TerminateProcess
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_CloseHandle_1
jmp case.0x4e2d93.0
cmp byte [0x52f604], 0
je 0x4e2ffb
push 0x43
push 0
push 0
push 0
push 0
push 0xffffffffffffffff
mov edx, esi
mov eax, edi
call fcn.00416cc0
push eax
call sub.user32.dll_SetWindowPos
mov eax, 0x14
call fcn.004d06d0
push 0
push 0
push 0x10
mov edx, esi
mov eax, edi
call fcn.00416cc0
push eax
call sub.user32.dll_PostMessageA
cmp byte [0x52f604], 0
je case.0x4e2d93.0
mov eax, 0x14
call fcn.004d06d0
push 0
push 0
push 0
push 0x59
call sub.user32.dll_keybd_event
push 0
push 2
push 0
push 0x59
call sub.user32.dll_keybd_event
inc esi
dec ebx
jne 0x4e2ccf
cmp dword [ebp - 0x14], 0
jne 0x4e3055
mov eax, 0x52f4c8
call fcn.0040455c
mov eax, edi
call fcn.00403750
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4e3089
lea eax, [ebp - 0xb4]
mov edx, 2
call fcn.00404580
lea eax, [ebp - 0x10]
call fcn.0040455c
ret