Function at 0x4e1c88
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0x2f
push 0
push 0
dec ecx
jne 0x4e1c90
push ebx
push esi
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4e20ee
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, 0x4e2104
call fcn.004e0e78
test al, al
je 0x4e1cbd
call fcn.0040d2fc
call fcn.004e0e68
test al, al
jne 0x4e1ccb
call fcn.0040d2fc
mov eax, 0x4e2114
call fcn.004e18b8
push 0
mov eax, dword [ebp - 4]
call fcn.004475d8
push eax
call sub.user32.dll_GetWindow
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x4e209c
push 0xff
lea eax, [ebp - 0x13b]
push eax
mov eax, dword [ebp - 8]
push eax
call sub.user32.dll_GetWindowTextA
test eax, eax
jle 0x4e2084
lea eax, [ebp - 0x140]
lea edx, [ebp - 0x13b]
mov ecx, 0xff
call fcn.00404a08
mov edx, dword [ebp - 0x140]
mov eax, 0x4e2128
call fcn.00404d9c
test eax, eax
jle 0x4e2084
lea eax, [ebp - 0x20]
call fcn.00404798
mov dl, 1
mov eax, dword [0x41aacc]
call fcn.00403960
mov dword [ebp - 0xc], eax
mov dl, 0x5f
mov eax, dword [ebp - 0xc]
call fcn.0041ee88
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.00408e44
mov edx, dword [ebp - 0x144]
mov eax, dword [ebp - 0xc]
call fcn.0041ecf8
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.004e19a0
push eax
push 0
push 0x1f0fff
call sub.kernel32.dll_OpenProcess
mov dword [ebp - 0x14], eax
mov edx, 0x4e2150
mov eax, dword [ebp - 0x14]
call fcn.004e19f0
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x38]
mov edx, dword [eax]
call dword [edx + 0x14]
dec eax
test eax, eax
jl 0x4e2073
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.00409520
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 0x4e1e55
inc ebx
push 1
lea ecx, [ebp - 0x19]
mov edx, esi
mov eax, dword [ebp - 0x14]
call fcn.004e1c58
lea ecx, [ebp - 0x150]
xor eax, eax
mov al, byte [ebp - 0x19]
mov edx, 2
call fcn.004094c8
mov edx, dword [ebp - 0x150]
lea eax, [ebp - 0x20]
call fcn.00404a60
inc esi
dec ebx
jne 0x4e1e1f
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, 0x4e2170
call fcn.00404ba4
jne 0x4e2067
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 [0x4e2178]
push eax
lea eax, [ebp - 0x30]
push eax
mov ecx, dword [ebp - 0x10]
mov edx, 0x4e2184
mov eax, dword [0x4ecac8]
call fcn.0040e850
mov al, byte [0x4e2178]
push eax
lea eax, [ebp - 0x158]
push eax
mov ecx, dword [ebp - 0x20]
mov edx, 0x4e2194
mov eax, dword [ebp - 0x30]
call fcn.0040e850
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.004e2480
mov eax, dword [ebp - 0x15c]
mov edx, 0x4e21a4
call fcn.00404ba4
jne 0x4e204c
mov al, byte [0x4e2178]
push eax
lea eax, [ebp - 0x24]
push eax
mov ecx, dword [ebp - 0x10]
mov edx, 0x4e2184
mov eax, dword [0x4ecac4]
call fcn.0040e850
mov al, byte [0x4e2178]
push eax
lea eax, [ebp - 0x160]
push eax
mov ecx, dword [ebp - 0x20]
mov edx, 0x4e2194
mov eax, dword [ebp - 0x24]
call fcn.0040e850
mov edx, dword [ebp - 0x160]
lea eax, [ebp - 0x24]
call fcn.00404830
mov al, byte [0x4e2178]
push eax
lea eax, [ebp - 0x28]
push eax
mov ecx, dword [ebp - 0x10]
mov edx, 0x4e2184
mov eax, dword [0x4ecac8]
call fcn.0040e850
mov al, byte [0x4e2178]
push eax
lea eax, [ebp - 0x164]
push eax
mov ecx, dword [ebp - 0x20]
mov edx, 0x4e2194
mov eax, dword [ebp - 0x28]
call fcn.0040e850
mov edx, dword [ebp - 0x164]
lea eax, [ebp - 0x28]
call fcn.00404830
mov al, byte [0x4e2178]
push eax
lea eax, [ebp - 0x2c]
push eax
mov ecx, dword [ebp - 0x10]
mov edx, 0x4e2184
mov eax, dword [0x4ecac0]
call fcn.0040e850
mov al, byte [0x4e2178]
push eax
lea eax, [ebp - 0x168]
push eax
mov ecx, dword [ebp - 0x20]
mov edx, 0x4e2194
mov eax, dword [ebp - 0x2c]
call fcn.0040e850
mov edx, dword [ebp - 0x168]
lea eax, [ebp - 0x2c]
call fcn.00404830
lea edx, [ebp - 0x170]
mov eax, dword [ebp - 0x28]
call fcn.004e0f88
mov eax, dword [ebp - 0x170]
push eax
lea edx, [ebp - 0x174]
mov eax, dword [ebp - 0x24]
call fcn.004e0f88
mov eax, dword [ebp - 0x174]
push eax
lea edx, [ebp - 0x178]
mov eax, dword [ebp - 0x2c]
call fcn.004e0f88
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.004e21b8
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x2fc]
mov eax, dword [eax + 0x220]
mov edx, 0x4e21b0
mov ecx, dword [eax]
call dword [ecx + 0x38]
jmp 0x4e2073
inc dword [ebp - 0x34]
dec dword [ebp - 0x3c]
jne 0x4e1def
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 0x4e1cf2
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 0x4e20bb
mov dl, 1
call fcn.00434a58
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4e20f5
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