Function at 0x4e557c
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 0x4e59c9
push dword fs:[eax]
mov dword fs:[eax], esp
mov dl, 1
mov eax, dword [0x41446c]
call fcn.00403720
mov edi, eax
push edi
push 0x4e5564
call sub.user32.dll_EnumWindows
xor eax, eax
mov dword [ebp - 0x14], eax
mov ebx, dword [edi + 8]
dec ebx
test ebx, ebx
jl 0x4e598c
inc ebx
xor esi, esi
push 0x7f
lea eax, [ebp - 0x9c]
push eax
mov edx, esi
mov eax, edi
call fcn.00416d88
push eax
call sub.user32.dll_GetWindowTextA
test eax, eax
jle case.0x4e569b.0
lea eax, [ebp - 0x10]
lea edx, [ebp - 0x9c]
mov ecx, 0x80
call fcn.004047c4
mov eax, dword [ebp - 0x10]
call fcn.004e5264
test al, al
je case.0x4e569b.0
lea eax, [ebp - 8]
push eax
mov edx, esi
mov eax, edi
call fcn.00416d88
push eax
call sub.user32.dll_GetWindowThreadProcessId
cmp dword [ebp - 0x14], 0
jne 0x4e568a
mov eax, dword [0x5324e4]
mov edx, dword [ebp - 0x10]
call fcn.00404958
je 0x4e568a
mov eax, 0x5324e4
mov edx, dword [ebp - 0x10]
call fcn.004045b0
cmp dword [0x53a5fc], 0
jl 0x4e5661
cmp dword [0x53a5fc], 3
jle 0x4e566a
cmp dword [0x53a5fc], 9
jne 0x4e568a
push 0
push 0
mov eax, dword [0x5324e4]
push eax
push 0
push 0
mov ecx, 3
mov edx, 0x91
mov eax, dword [ebp - 4]
call fcn.004d48b8
inc dword [ebp - 0x14]
mov eax, dword [0x53a5fc]
cmp eax, 0xa
ja case.0x4e569b.0
jmp dword [eax*4 + 0x4e56a2]
mov eax, dword [0x5337f4]
mov edx, dword [eax + 4]
mov eax, dword [eax]
cmp edx, dword [0x531ef4]
jne 0x4e56ee
cmp eax, dword [0x531ef0]
jae case.0x4e569b.0
jmp 0x4e56f4
jge case.0x4e569b.0
lea edx, [ebp - 0xb0]
mov eax, 0x1d
call fcn.004a9d54
mov ecx, dword [ebp - 0xb0]
mov dx, word [0x4e59d8]
mov al, 1
call fcn.004acb50
jmp case.0x4e569b.0
mov edx, 3
mov eax, dword [0x53a4b4]
call fcn.004e69dc
jmp case.0x4e569b.0
lea edx, [ebp - 0xb4]
mov eax, dword [ebp - 0x10]
call fcn.00408d64
mov eax, dword [ebp - 0xb4]
call fcn.004e54fc
test al, al
je 0x4e5884
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.00416d88
push eax
call sub.user32.dll_GetWindowRect
mov eax, dword [ebp - 0xac]
test eax, eax
jge 0x4e578b
sub dword [ebp - 0xa4], eax
xor eax, eax
mov dword [ebp - 0xac], eax
jmp 0x4e57cb
mov eax, dword [0x533a20]
mov eax, dword [eax]
call fcn.00446f54
cmp eax, dword [ebp - 0xa4]
jge 0x4e57cb
mov eax, dword [0x533a20]
mov eax, dword [eax]
call fcn.00446f54
mov edx, dword [ebp - 0xa4]
sub edx, eax
sub dword [ebp - 0xac], edx
mov eax, dword [0x533a20]
mov eax, dword [eax]
call fcn.00446f54
mov dword [ebp - 0xa4], eax
mov eax, dword [ebp - 0xa8]
test eax, eax
jge 0x4e57e5
sub dword [ebp - 0xa0], eax
xor eax, eax
mov dword [ebp - 0xa8], eax
jmp 0x4e5825
mov eax, dword [0x533a20]
mov eax, dword [eax]
call fcn.00446f48
cmp eax, dword [ebp - 0xa0]
jge 0x4e5825
mov eax, dword [0x533a20]
mov eax, dword [eax]
call fcn.00446f48
mov edx, dword [ebp - 0xa0]
sub edx, eax
sub dword [ebp - 0xa8], edx
mov eax, dword [0x533a20]
mov eax, dword [eax]
call fcn.00446f48
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.00416d88
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.004e51c8
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.00416d88
push eax
call sub.user32.dll_PostMessageA
jmp case.0x4e569b.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 0x4e58bb
cmp eax, 0xffffffff
je 0x4e58dc
cmp dword [ebp - 0xc], 0
je 0x4e58dc
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.0x4e569b.0
cmp byte [0x53262c], 0
je 0x4e590a
push 0x43
push 0
push 0
push 0
push 0
push 0xffffffffffffffff
mov edx, esi
mov eax, edi
call fcn.00416d88
push eax
call sub.user32.dll_SetWindowPos
mov eax, 0x14
call fcn.004d1e78
push 0
push 0
push 0x10
mov edx, esi
mov eax, edi
call fcn.00416d88
push eax
call sub.user32.dll_PostMessageA
cmp byte [0x53262c], 0
je case.0x4e569b.0
mov eax, 0x14
call fcn.004d1e78
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.0x4e569b.0
mov edx, esi
mov eax, edi
call fcn.00416d88
cmp eax, dword [0x53a600]
je case.0x4e569b.0
mov edx, esi
mov eax, edi
call fcn.00416d88
mov dword [0x53a600], eax
push 0
push 0xf020
push 0x112
mov eax, dword [0x53a600]
push eax
call sub.user32.dll_PostMessageA
inc esi
dec ebx
jne 0x4e55d7
cmp dword [ebp - 0x14], 0
jne 0x4e599c
mov eax, 0x5324e4
call fcn.0040455c
mov eax, edi
call fcn.00403750
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4e59d0
lea eax, [ebp - 0xb4]
mov edx, 2
call fcn.00404580
lea eax, [ebp - 0x10]
call fcn.0040455c
ret