Function at 0x4e31c4
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 0x4e3611
push dword fs:[eax]
mov dword fs:[eax], esp
mov dl, 1
mov eax, dword [0x414440]
call fcn.00403720
mov edi, eax
push edi
push 0x4e31ac
call sub.user32.dll_EnumWindows
xor eax, eax
mov dword [ebp - 0x14], eax
mov ebx, dword [edi + 8]
dec ebx
test ebx, ebx
jl 0x4e35d4
inc ebx
xor esi, esi
push 0x7f
lea eax, [ebp - 0x9c]
push eax
mov edx, esi
mov eax, edi
call fcn.00416d5c
push eax
call sub.user32.dll_GetWindowTextA
test eax, eax
jle case.0x4e32e3.0
lea eax, [ebp - 0x10]
lea edx, [ebp - 0x9c]
mov ecx, 0x80
call fcn.004047c4
mov eax, dword [ebp - 0x10]
call fcn.004e2eac
test al, al
je case.0x4e32e3.0
lea eax, [ebp - 8]
push eax
mov edx, esi
mov eax, edi
call fcn.00416d5c
push eax
call sub.user32.dll_GetWindowThreadProcessId
cmp dword [ebp - 0x14], 0
jne 0x4e32d2
mov eax, dword [0x5304c4]
mov edx, dword [ebp - 0x10]
call fcn.00404958
je 0x4e32d2
mov eax, 0x5304c4
mov edx, dword [ebp - 0x10]
call fcn.004045b0
cmp dword [0x5385b0], 0
jl 0x4e32a9
cmp dword [0x5385b0], 3
jle 0x4e32b2
cmp dword [0x5385b0], 9
jne 0x4e32d2
push 0
push 0
mov eax, dword [0x5304c4]
push eax
push 0
push 0
mov ecx, 3
mov edx, 0x91
mov eax, dword [ebp - 4]
call fcn.004d3220
inc dword [ebp - 0x14]
mov eax, dword [0x5385b0]
cmp eax, 0xa
ja case.0x4e32e3.0
jmp dword [eax*4 + 0x4e32ea]
mov eax, dword [0x5317d0]
mov edx, dword [eax + 4]
mov eax, dword [eax]
cmp edx, dword [0x52fee0]
jne 0x4e3336
cmp eax, dword [0x52fedc]
jae case.0x4e32e3.0
jmp 0x4e333c
jge case.0x4e32e3.0
lea edx, [ebp - 0xb0]
mov eax, 0x1d
call fcn.004a8b2c
mov ecx, dword [ebp - 0xb0]
mov dx, word [0x4e3620]
mov al, 1
call fcn.004ab928
jmp case.0x4e32e3.0
mov edx, 3
mov eax, dword [0x53848c]
call fcn.004e4688
jmp case.0x4e32e3.0
lea edx, [ebp - 0xb4]
mov eax, dword [ebp - 0x10]
call fcn.00408d5c
mov eax, dword [ebp - 0xb4]
call fcn.004e3144
test al, al
je 0x4e34cc
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.00416d5c
push eax
call sub.user32.dll_GetWindowRect
mov eax, dword [ebp - 0xac]
test eax, eax
jge 0x4e33d3
sub dword [ebp - 0xa4], eax
xor eax, eax
mov dword [ebp - 0xac], eax
jmp 0x4e3413
mov eax, dword [0x5319fc]
mov eax, dword [eax]
call fcn.00444ab0
cmp eax, dword [ebp - 0xa4]
jge 0x4e3413
mov eax, dword [0x5319fc]
mov eax, dword [eax]
call fcn.00444ab0
mov edx, dword [ebp - 0xa4]
sub edx, eax
sub dword [ebp - 0xac], edx
mov eax, dword [0x5319fc]
mov eax, dword [eax]
call fcn.00444ab0
mov dword [ebp - 0xa4], eax
mov eax, dword [ebp - 0xa8]
test eax, eax
jge 0x4e342d
sub dword [ebp - 0xa0], eax
xor eax, eax
mov dword [ebp - 0xa8], eax
jmp 0x4e346d
mov eax, dword [0x5319fc]
mov eax, dword [eax]
call fcn.00444aa4
cmp eax, dword [ebp - 0xa0]
jge 0x4e346d
mov eax, dword [0x5319fc]
mov eax, dword [eax]
call fcn.00444aa4
mov edx, dword [ebp - 0xa0]
sub edx, eax
sub dword [ebp - 0xa8], edx
mov eax, dword [0x5319fc]
mov eax, dword [eax]
call fcn.00444aa4
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.00416d5c
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.004e2e10
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.00416d5c
push eax
call sub.user32.dll_PostMessageA
jmp case.0x4e32e3.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 0x4e3503
cmp eax, 0xffffffff
je 0x4e3524
cmp dword [ebp - 0xc], 0
je 0x4e3524
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.0x4e32e3.0
cmp byte [0x530608], 0
je 0x4e3552
push 0x43
push 0
push 0
push 0
push 0
push 0xffffffffffffffff
mov edx, esi
mov eax, edi
call fcn.00416d5c
push eax
call sub.user32.dll_SetWindowPos
mov eax, 0x14
call fcn.004d0bb8
push 0
push 0
push 0x10
mov edx, esi
mov eax, edi
call fcn.00416d5c
push eax
call sub.user32.dll_PostMessageA
cmp byte [0x530608], 0
je case.0x4e32e3.0
mov eax, 0x14
call fcn.004d0bb8
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.0x4e32e3.0
mov edx, esi
mov eax, edi
call fcn.00416d5c
cmp eax, dword [0x5385b4]
je case.0x4e32e3.0
mov edx, esi
mov eax, edi
call fcn.00416d5c
mov dword [0x5385b4], eax
push 0
push 0xf020
push 0x112
mov eax, dword [0x5385b4]
push eax
call sub.user32.dll_PostMessageA
inc esi
dec ebx
jne 0x4e321f
cmp dword [ebp - 0x14], 0
jne 0x4e35e4
mov eax, 0x5304c4
call fcn.0040455c
mov eax, edi
call fcn.00403750
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4e3618
lea eax, [ebp - 0xb4]
mov edx, 2
call fcn.00404580
lea eax, [ebp - 0x10]
call fcn.0040455c
ret