Function at 0x4e3900
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 0x4e3d4d
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 0x4e38e8
call sub.user32.dll_EnumWindows
xor eax, eax
mov dword [ebp - 0x14], eax
mov ebx, dword [edi + 8]
dec ebx
test ebx, ebx
jl 0x4e3d10
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.0x4e3a1f.0
lea eax, [ebp - 0x10]
lea edx, [ebp - 0x9c]
mov ecx, 0x80
call fcn.004047c4
mov eax, dword [ebp - 0x10]
call fcn.004e35e8
test al, al
je case.0x4e3a1f.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 0x4e3a0e
mov eax, dword [0x5304c8]
mov edx, dword [ebp - 0x10]
call fcn.00404958
je 0x4e3a0e
mov eax, 0x5304c8
mov edx, dword [ebp - 0x10]
call fcn.004045b0
cmp dword [0x5385b8], 0
jl 0x4e39e5
cmp dword [0x5385b8], 3
jle 0x4e39ee
cmp dword [0x5385b8], 9
jne 0x4e3a0e
push 0
push 0
mov eax, dword [0x5304c8]
push eax
push 0
push 0
mov ecx, 3
mov edx, 0x91
mov eax, dword [ebp - 4]
call fcn.004d34d4
inc dword [ebp - 0x14]
mov eax, dword [0x5385b8]
cmp eax, 0xa
ja case.0x4e3a1f.0
jmp dword [eax*4 + 0x4e3a26]
mov eax, dword [0x5317e0]
mov edx, dword [eax + 4]
mov eax, dword [eax]
cmp edx, dword [0x52fee4]
jne 0x4e3a72
cmp eax, dword [0x52fee0]
jae case.0x4e3a1f.0
jmp 0x4e3a78
jge case.0x4e3a1f.0
lea edx, [ebp - 0xb0]
mov eax, 0x1d
call fcn.004a8ac0
mov ecx, dword [ebp - 0xb0]
mov dx, word [0x4e3d5c]
mov al, 1
call fcn.004ab8bc
jmp case.0x4e3a1f.0
mov edx, 3
mov eax, dword [0x538494]
call fcn.004e4dc4
jmp case.0x4e3a1f.0
lea edx, [ebp - 0xb4]
mov eax, dword [ebp - 0x10]
call fcn.00408d5c
mov eax, dword [ebp - 0xb4]
call fcn.004e3880
test al, al
je 0x4e3c08
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 0x4e3b0f
sub dword [ebp - 0xa4], eax
xor eax, eax
mov dword [ebp - 0xac], eax
jmp 0x4e3b4f
mov eax, dword [0x531a0c]
mov eax, dword [eax]
call fcn.00444ab0
cmp eax, dword [ebp - 0xa4]
jge 0x4e3b4f
mov eax, dword [0x531a0c]
mov eax, dword [eax]
call fcn.00444ab0
mov edx, dword [ebp - 0xa4]
sub edx, eax
sub dword [ebp - 0xac], edx
mov eax, dword [0x531a0c]
mov eax, dword [eax]
call fcn.00444ab0
mov dword [ebp - 0xa4], eax
mov eax, dword [ebp - 0xa8]
test eax, eax
jge 0x4e3b69
sub dword [ebp - 0xa0], eax
xor eax, eax
mov dword [ebp - 0xa8], eax
jmp 0x4e3ba9
mov eax, dword [0x531a0c]
mov eax, dword [eax]
call fcn.00444aa4
cmp eax, dword [ebp - 0xa0]
jge 0x4e3ba9
mov eax, dword [0x531a0c]
mov eax, dword [eax]
call fcn.00444aa4
mov edx, dword [ebp - 0xa0]
sub edx, eax
sub dword [ebp - 0xa8], edx
mov eax, dword [0x531a0c]
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.004e354c
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.0x4e3a1f.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 0x4e3c3f
cmp eax, 0xffffffff
je 0x4e3c60
cmp dword [ebp - 0xc], 0
je 0x4e3c60
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.0x4e3a1f.0
cmp byte [0x53060c], 0
je 0x4e3c8e
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.004d0e6c
push 0
push 0
push 0x10
mov edx, esi
mov eax, edi
call fcn.00416d5c
push eax
call sub.user32.dll_PostMessageA
cmp byte [0x53060c], 0
je case.0x4e3a1f.0
mov eax, 0x14
call fcn.004d0e6c
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.0x4e3a1f.0
mov edx, esi
mov eax, edi
call fcn.00416d5c
cmp eax, dword [0x5385bc]
je case.0x4e3a1f.0
mov edx, esi
mov eax, edi
call fcn.00416d5c
mov dword [0x5385bc], eax
push 0
push 0xf020
push 0x112
mov eax, dword [0x5385bc]
push eax
call sub.user32.dll_PostMessageA
inc esi
dec ebx
jne 0x4e395b
cmp dword [ebp - 0x14], 0
jne 0x4e3d20
mov eax, 0x5304c8
call fcn.0040455c
mov eax, edi
call fcn.00403750
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4e3d54
lea eax, [ebp - 0xb4]
mov edx, 2
call fcn.00404580
lea eax, [ebp - 0x10]
call fcn.0040455c
ret