Function at 0x4e64e0
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 0x4e692d
push dword fs:[eax]
mov dword fs:[eax], esp
mov dl, 1
mov eax, dword [0x41448c]
call fcn.00403740
mov edi, eax
push edi
push 0x4e64c8
call sub.user32.dll_EnumWindows
xor eax, eax
mov dword [ebp - 0x14], eax
mov ebx, dword [edi + 8]
dec ebx
test ebx, ebx
jl 0x4e68f0
inc ebx
xor esi, esi
push 0x7f
lea eax, [ebp - 0x9c]
push eax
mov edx, esi
mov eax, edi
call fcn.00416da8
push eax
call sub.user32.dll_GetWindowTextA
test eax, eax
jle case.0x4e65ff.0
lea eax, [ebp - 0x10]
lea edx, [ebp - 0x9c]
mov ecx, 0x80
call fcn.004047e4
mov eax, dword [ebp - 0x10]
call fcn.004e61c8
test al, al
je case.0x4e65ff.0
lea eax, [ebp - 8]
push eax
mov edx, esi
mov eax, edi
call fcn.00416da8
push eax
call sub.user32.dll_GetWindowThreadProcessId
cmp dword [ebp - 0x14], 0
jne 0x4e65ee
mov eax, dword [0x5334f4]
mov edx, dword [ebp - 0x10]
call fcn.00404978
je 0x4e65ee
mov eax, 0x5334f4
mov edx, dword [ebp - 0x10]
call fcn.004045d0
cmp dword [0x53b618], 0
jl 0x4e65c5
cmp dword [0x53b618], 3
jle 0x4e65ce
cmp dword [0x53b618], 9
jne 0x4e65ee
push 0
push 0
mov eax, dword [0x5334f4]
push eax
push 0
push 0
mov ecx, 3
mov edx, 0x91
mov eax, dword [ebp - 4]
call fcn.004d5178
inc dword [ebp - 0x14]
mov eax, dword [0x53b618]
cmp eax, 0xa
ja case.0x4e65ff.0
jmp dword [eax*4 + 0x4e6606]
mov eax, dword [0x534800]
mov edx, dword [eax + 4]
mov eax, dword [eax]
cmp edx, dword [0x532efc]
jne 0x4e6652
cmp eax, dword [0x532ef8]
jae case.0x4e65ff.0
jmp 0x4e6658
jge case.0x4e65ff.0
lea edx, [ebp - 0xb0]
mov eax, 0x1d
call fcn.004a9d74
mov ecx, dword [ebp - 0xb0]
mov dx, word [0x4e693c]
mov al, 1
call fcn.004acb70
jmp case.0x4e65ff.0
mov edx, 3
mov eax, dword [0x53b4cc]
call fcn.004e794c
jmp case.0x4e65ff.0
lea edx, [ebp - 0xb4]
mov eax, dword [ebp - 0x10]
call fcn.00408d84
mov eax, dword [ebp - 0xb4]
call fcn.004e6460
test al, al
je 0x4e67e8
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.00416da8
push eax
call sub.user32.dll_GetWindowRect
mov eax, dword [ebp - 0xac]
test eax, eax
jge 0x4e66ef
sub dword [ebp - 0xa4], eax
xor eax, eax
mov dword [ebp - 0xac], eax
jmp 0x4e672f
mov eax, dword [0x534a2c]
mov eax, dword [eax]
call fcn.00445cf8
cmp eax, dword [ebp - 0xa4]
jge 0x4e672f
mov eax, dword [0x534a2c]
mov eax, dword [eax]
call fcn.00445cf8
mov edx, dword [ebp - 0xa4]
sub edx, eax
sub dword [ebp - 0xac], edx
mov eax, dword [0x534a2c]
mov eax, dword [eax]
call fcn.00445cf8
mov dword [ebp - 0xa4], eax
mov eax, dword [ebp - 0xa8]
test eax, eax
jge 0x4e6749
sub dword [ebp - 0xa0], eax
xor eax, eax
mov dword [ebp - 0xa8], eax
jmp 0x4e6789
mov eax, dword [0x534a2c]
mov eax, dword [eax]
call fcn.00445cec
cmp eax, dword [ebp - 0xa0]
jge 0x4e6789
mov eax, dword [0x534a2c]
mov eax, dword [eax]
call fcn.00445cec
mov edx, dword [ebp - 0xa0]
sub edx, eax
sub dword [ebp - 0xa8], edx
mov eax, dword [0x534a2c]
mov eax, dword [eax]
call fcn.00445cec
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.00416da8
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.004e612c
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.00416da8
push eax
call sub.user32.dll_PostMessageA
jmp case.0x4e65ff.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 0x4e681f
cmp eax, 0xffffffff
je 0x4e6840
cmp dword [ebp - 0xc], 0
je 0x4e6840
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.0x4e65ff.0
cmp byte [0x533634], 0
je 0x4e686e
push 0x43
push 0
push 0
push 0
push 0
push 0xffffffffffffffff
mov edx, esi
mov eax, edi
call fcn.00416da8
push eax
call sub.user32.dll_SetWindowPos
mov eax, 0x14
call fcn.004d25dc
push 0
push 0
push 0x10
mov edx, esi
mov eax, edi
call fcn.00416da8
push eax
call sub.user32.dll_PostMessageA
cmp byte [0x533634], 0
je case.0x4e65ff.0
mov eax, 0x14
call fcn.004d25dc
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
jmp case.0x4e65ff.0
mov edx, esi
mov eax, edi
call fcn.00416da8
cmp eax, dword [0x53b61c]
je case.0x4e65ff.0
mov edx, esi
mov eax, edi
call fcn.00416da8
mov dword [0x53b61c], eax
push 0
push 0xf020
push 0x112
mov eax, dword [0x53b61c]
push eax
call sub.user32.dll_PostMessageA
inc esi
dec ebx
jne 0x4e653b
cmp dword [ebp - 0x14], 0
jne 0x4e6900
mov eax, 0x5334f4
call fcn.0040457c
mov eax, edi
call fcn.00403770
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4e6934
lea eax, [ebp - 0xb4]
mov edx, 2
call fcn.004045a0
lea eax, [ebp - 0x10]
call fcn.0040457c
ret