Function at 0x4e18ac
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0x2f
push 0
push 0
dec ecx
jne 0x4e18b4
push ebx
push esi
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4e1d12
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, 0x4e1d28
call fcn.004e0a9c
test al, al
je 0x4e18e1
call fcn.0040d2c8
call fcn.004e0a8c
test al, al
jne 0x4e18ef
call fcn.0040d2c8
mov eax, 0x4e1d38
call fcn.004e14dc
push 0
mov eax, dword [ebp - 4]
call fcn.00446f40
push eax
call sub.user32.dll_GetWindow
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x4e1cc0
push 0xff
lea eax, [ebp - 0x13b]
push eax
mov eax, dword [ebp - 8]
push eax
call sub.user32.dll_GetWindowTextA
test eax, eax
jle 0x4e1ca8
lea eax, [ebp - 0x140]
lea edx, [ebp - 0x13b]
mov ecx, 0xff
call fcn.00404a08
mov edx, dword [ebp - 0x140]
mov eax, 0x4e1d4c
call fcn.00404d9c
test eax, eax
jle 0x4e1ca8
lea eax, [ebp - 0x20]
call fcn.00404798
mov dl, 1
mov eax, dword [0x41aa88]
call fcn.00403960
mov dword [ebp - 0xc], eax
mov dl, 0x5f
mov eax, dword [ebp - 0xc]
call fcn.0041ee44
lea eax, [ebp - 0x148]
lea edx, [ebp - 0x13b]
mov ecx, 0xff
call fcn.00404a08
mov eax, dword [ebp - 0x148]
lea edx, [ebp - 0x144]
call fcn.00408e34
mov edx, dword [ebp - 0x144]
mov eax, dword [ebp - 0xc]
call fcn.0041ecb4
lea ecx, [ebp - 0x10]
mov edx, 3
mov eax, dword [ebp - 0xc]
mov ebx, dword [eax]
call dword [ebx + 0xc]
mov eax, dword [ebp - 0xc]
call fcn.00403990
mov eax, dword [ebp - 8]
call fcn.004e15c4
push eax
push 0
push 0x1f0fff
call sub.kernel32.dll_OpenProcess
mov dword [ebp - 0x14], eax
mov edx, 0x4e1d74
mov eax, dword [ebp - 0x14]
call fcn.004e1614
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x38]
mov edx, dword [eax]
call dword [edx + 0x14]
dec eax
test eax, eax
jl 0x4e1c97
inc eax
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x34], 0
lea ecx, [ebp - 0x14c]
mov edx, dword [ebp - 0x34]
mov eax, dword [ebp - 0x38]
mov ebx, dword [eax]
call dword [ebx + 0xc]
mov eax, dword [ebp - 0x14c]
call fcn.00409510
add eax, 8
mov dword [ebp - 0x18], eax
mov esi, dword [ebp - 0x18]
mov ebx, dword [ebp - 0x18]
add ebx, 0x6f
sub ebx, esi
jl 0x4e1a79
inc ebx
push 1
lea ecx, [ebp - 0x19]
mov edx, esi
mov eax, dword [ebp - 0x14]
call fcn.004e187c
lea ecx, [ebp - 0x150]
xor eax, eax
mov al, byte [ebp - 0x19]
mov edx, 2
call fcn.004094b8
mov edx, dword [ebp - 0x150]
lea eax, [ebp - 0x20]
call fcn.00404a60
inc esi
dec ebx
jne 0x4e1a43
lea eax, [ebp - 0x154]
push eax
mov ecx, 5
mov edx, 1
mov eax, dword [ebp - 0x20]
call fcn.00404cb8
mov eax, dword [ebp - 0x154]
mov edx, 0x4e1d94
call fcn.00404ba4
jne 0x4e1c8b
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x2fc]
mov eax, dword [eax + 0x220]
mov edx, dword [ebp - 0x10]
mov ecx, dword [eax]
call dword [ecx + 0x38]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x2fc]
mov eax, dword [eax + 0x220]
mov edx, dword [ebp - 0x20]
mov ecx, dword [eax]
call dword [ecx + 0x38]
mov al, byte [0x4e1d9c]
push eax
lea eax, [ebp - 0x30]
push eax
mov ecx, dword [ebp - 0x10]
mov edx, 0x4e1da8
mov eax, dword [0x4ecac8]
call fcn.0040e81c
mov al, byte [0x4e1d9c]
push eax
lea eax, [ebp - 0x158]
push eax
mov ecx, dword [ebp - 0x20]
mov edx, 0x4e1db8
mov eax, dword [ebp - 0x30]
call fcn.0040e81c
mov edx, dword [ebp - 0x158]
lea eax, [ebp - 0x30]
call fcn.00404830
lea ecx, [ebp - 0x15c]
mov edx, dword [ebp - 0x30]
mov eax, dword [ebp - 4]
call fcn.004e20a4
mov eax, dword [ebp - 0x15c]
mov edx, 0x4e1dc8
call fcn.00404ba4
jne 0x4e1c70
mov al, byte [0x4e1d9c]
push eax
lea eax, [ebp - 0x24]
push eax
mov ecx, dword [ebp - 0x10]
mov edx, 0x4e1da8
mov eax, dword [0x4ecac4]
call fcn.0040e81c
mov al, byte [0x4e1d9c]
push eax
lea eax, [ebp - 0x160]
push eax
mov ecx, dword [ebp - 0x20]
mov edx, 0x4e1db8
mov eax, dword [ebp - 0x24]
call fcn.0040e81c
mov edx, dword [ebp - 0x160]
lea eax, [ebp - 0x24]
call fcn.00404830
mov al, byte [0x4e1d9c]
push eax
lea eax, [ebp - 0x28]
push eax
mov ecx, dword [ebp - 0x10]
mov edx, 0x4e1da8
mov eax, dword [0x4ecac8]
call fcn.0040e81c
mov al, byte [0x4e1d9c]
push eax
lea eax, [ebp - 0x164]
push eax
mov ecx, dword [ebp - 0x20]
mov edx, 0x4e1db8
mov eax, dword [ebp - 0x28]
call fcn.0040e81c
mov edx, dword [ebp - 0x164]
lea eax, [ebp - 0x28]
call fcn.00404830
mov al, byte [0x4e1d9c]
push eax
lea eax, [ebp - 0x2c]
push eax
mov ecx, dword [ebp - 0x10]
mov edx, 0x4e1da8
mov eax, dword [0x4ecac0]
call fcn.0040e81c
mov al, byte [0x4e1d9c]
push eax
lea eax, [ebp - 0x168]
push eax
mov ecx, dword [ebp - 0x20]
mov edx, 0x4e1db8
mov eax, dword [ebp - 0x2c]
call fcn.0040e81c
mov edx, dword [ebp - 0x168]
lea eax, [ebp - 0x2c]
call fcn.00404830
lea edx, [ebp - 0x170]
mov eax, dword [ebp - 0x28]
call fcn.004e0bac
mov eax, dword [ebp - 0x170]
push eax
lea edx, [ebp - 0x174]
mov eax, dword [ebp - 0x24]
call fcn.004e0bac
mov eax, dword [ebp - 0x174]
push eax
lea edx, [ebp - 0x178]
mov eax, dword [ebp - 0x2c]
call fcn.004e0bac
mov eax, dword [ebp - 0x178]
push eax
lea eax, [ebp - 0x16c]
push eax
mov ecx, dword [ebp - 0x10]
mov edx, dword [0x4e9d98]
mov eax, dword [ebp - 4]
call fcn.004e1ddc
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x2fc]
mov eax, dword [eax + 0x220]
mov edx, 0x4e1dd4
mov ecx, dword [eax]
call dword [ecx + 0x38]
jmp 0x4e1c97
inc dword [ebp - 0x34]
dec dword [ebp - 0x3c]
jne 0x4e1a13
mov eax, dword [ebp - 0x14]
push eax
call sub.kernel32.dll_CloseHandle
mov eax, dword [ebp - 0x38]
call fcn.00403990
push 2
mov eax, dword [ebp - 8]
push eax
call sub.user32.dll_GetWindow
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x4e1916
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_CloseHandle
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x314]
cmp byte [eax + 0x40], 0
jne 0x4e1cdf
mov dl, 1
call fcn.00434a14
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4e1d19
lea eax, [ebp - 0x178]
mov edx, 0xf
call fcn.004047bc
lea eax, [ebp - 0x30]
mov edx, 5
call fcn.004047bc
lea eax, [ebp - 0x10]
call fcn.00404798
ret