Function at 0x4132a8
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffec8
cmp dword [0x4656e4], 0
push ebx
push esi
push edi
mov esi, dword [ebp + 0x18]
je 0x413b7f
add esp, 0xfffffff8
push 0
lea eax, [esp + 4]
push eax
call fcn.004262cc
add esp, 0xfffffff8
mov edx, dword [ebp + 0x10]
mov dword [esp], edx
mov ecx, dword [ebp + 0x14]
mov dword [esp + 4], ecx
call fcn.004267ac
test al, al
je 0x413308
add esp, 0xfffffff8
push 1
lea eax, [esp + 4]
push eax
call fcn.004262cc
lea edx, [ebp + 0x10]
push edx
lea ecx, [ebp - 8]
push ecx
call fcn.004262f8
add esp, 0xfffffff8
mov eax, dword [ebp + 0x10]
mov dword [esp], eax
mov edx, dword [ebp + 0x14]
mov dword [esp + 4], edx
add esp, 0xfffffff8
mov ecx, dword [ebp + 8]
mov dword [esp], ecx
mov eax, dword [ebp + 0xc]
mov dword [esp + 4], eax
call fcn.0043c6e0
mov ebx, eax
cmp dword [0x46ed60], 0
je 0x4133fd
cmp dword [0x46ed5c], 0
je 0x4133fd
add esp, 0xfffffff8
push 0
lea eax, [esp + 4]
push eax
call fcn.004262cc
add esp, 0xfffffff8
mov edx, dword [ebp + 8]
mov dword [esp], edx
mov ecx, dword [ebp + 0xc]
mov dword [esp + 4], ecx
call fcn.004267ac
test al, al
je 0x4133fd
mov dword [ebp - 0xbc], 0x58
mov eax, dword [0x4656e4]
lea edx, [ebp - 0xa4]
mov dword [ebp - 0xb8], eax
mov dword [ebp - 0xb4], 0x7b
mov dword [ebp - 0xb0], 4
push 0x40
push edx
push eax
call sub.USER32.dll_GetWindowTextA
lea eax, [ebp - 0xa4]
mov edx, 0x46f2e4
mov cl, byte [eax]
cmp cl, byte [edx]
jne 0x4133d4
test cl, cl
je 0x4133fd
mov cl, byte [eax + 1]
cmp cl, byte [edx + 1]
jne 0x4133d4
add eax, 2
add edx, 2
test cl, cl
jne 0x4133b8
je 0x4133fd
lea eax, [ebp - 0xbc]
push eax
push 1
call sub.SHELL32.DLL_Shell_NotifyIconA
push 0x1ff
lea edx, [ebp - 0xa4]
push edx
push 0x46f2e4
call fcn.00453048
add esp, 0xc
cmp dword [0x46ed60], 0
jne 0x41359c
cmp dword [0x46ed5c], 0
je 0x41359c
cmp esi, 1
jne 0x41359c
cmp ebx, dword [0x46f51c]
je 0x41359c
mov eax, ebx
shl eax, 4
mov ecx, 0x64
cdq
idiv ecx
mov dword [ebp - 0xc], eax
mov eax, dword [0x46f51c]
shl eax, 4
mov ecx, 0x64
cdq
idiv ecx
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0xc]
cmp eax, dword [ebp - 0x10]
je 0x41351f
lea edx, [ebp - 0xd0]
push edx
mov ecx, dword [0x46ed5c]
push ecx
call sub.USER32.dll_GetIconInfo
push 0
call sub.GDI32.dll_CreateCompatibleDC
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0xc0]
push eax
mov edx, dword [ebp - 0x14]
push edx
call sub.GDI32.dll_SelectObject
mov dword [ebp - 0x18], eax
mov edi, 0xf
jmp 0x4134c6
push 0xffff
push edi
push 5
mov eax, dword [ebp - 0x14]
push eax
call sub.GDI32.dll_SetPixel
push 0xffff
push edi
push 6
mov edx, dword [ebp - 0x14]
push edx
call sub.GDI32.dll_SetPixel
push 0xffff
push edi
push 7
mov ecx, dword [ebp - 0x14]
push ecx
call sub.GDI32.dll_SetPixel
dec edi
mov eax, 0x10
sub eax, dword [ebp - 0xc]
cmp edi, eax
jge 0x413492
mov edx, dword [ebp - 0x18]
push edx
mov ecx, dword [ebp - 0x14]
push ecx
call sub.GDI32.dll_SelectObject
mov eax, dword [ebp - 0x14]
push eax
call sub.GDI32.dll_DeleteDC
lea edx, [ebp - 0xd0]
push edx
call sub.USER32.dll_CreateIconIndirect
mov edi, eax
mov eax, dword [0x46ed5c]
push eax
call sub.USER32.dll_DestroyIcon
mov dword [0x46ed5c], edi
mov edx, dword [ebp - 0xc4]
push edx
call sub.GDI32.dll_DeleteObject
mov ecx, dword [ebp - 0xc0]
push ecx
call sub.GDI32.dll_DeleteObject
mov dword [ebp - 0x128], 0x58
mov eax, dword [0x4656e4]
mov dword [ebp - 0x124], eax
mov dword [ebp - 0x120], 0x7b
mov dword [ebp - 0x11c], 5
mov edx, dword [ebp - 0xc]
cmp edx, dword [ebp - 0x10]
je 0x413557
or dword [ebp - 0x11c], 2
mov dword [ebp - 0x118], 0x47b
mov ecx, dword [0x46ed5c]
mov dword [ebp - 0x114], ecx
push ebx
push 0x2f8
call fcn.00408028
push eax
lea eax, [ebp - 0x110]
push eax
call fcn.00456f9c
add esp, 0xc
lea edx, [ebp - 0x128]
push edx
push 1
call sub.SHELL32.DLL_Shell_NotifyIconA
mov dword [0x46f51c], ebx
cmp dword [0x46ed60], 0
jne 0x41362f
test esi, esi
jne 0x4135ee
add esp, 0xfffffff8
mov ecx, dword [ebp + 8]
lea edx, [ebp - 0x20]
mov dword [esp], ecx
mov eax, dword [ebp + 0xc]
mov dword [esp + 4], eax
push 0x46f4ec
push edx
call fcn.004262f8
add esp, 0xfffffff8
mov ecx, dword [ebp + 0x10]
lea edx, [ebp - 0x28]
mov dword [esp], ecx
mov eax, dword [ebp + 0x14]
mov dword [esp + 4], eax
push 0x46f514
push edx
call fcn.004262f8
jmp 0x4136e7
add esp, 0xfffffff8
mov ecx, dword [ebp + 8]
lea edx, [ebp - 0x30]
mov dword [esp], ecx
mov eax, dword [ebp + 0xc]
mov dword [esp + 4], eax
push 0x46f4f4
push edx
call fcn.004262f8
add esp, 0xfffffff8
mov ecx, dword [ebp + 0x10]
lea edx, [ebp - 0x38]
mov dword [esp], ecx
mov eax, dword [ebp + 0x14]
mov dword [esp + 4], eax
push 0x46f504
push edx
call fcn.004262f8
jmp 0x4136e7
test esi, esi
jne 0x4136e7
add esp, 0xfffffff8
mov ecx, dword [ebp + 8]
lea edx, [ebp - 0x40]
mov dword [esp], ecx
mov eax, dword [ebp + 0xc]
mov dword [esp + 4], eax
push 0x46f50c
push edx
call fcn.004262f8
add esp, 0xfffffff8
mov ecx, dword [ebp + 0x10]
lea edx, [ebp - 0x48]
mov dword [esp], ecx
mov eax, dword [ebp + 0x14]
mov dword [esp + 4], eax
push 0x46f514
push edx
call fcn.004262f8
cmp dword [0x46f520], 0
je 0x4136dd
add esp, 0xfffffff8
push 0
lea ecx, [esp + 4]
push ecx
call fcn.004262cc
add esp, 0xfffffff8
mov eax, dword [0x46f50c]
mov dword [esp], eax
mov edx, dword [0x46f510]
mov dword [esp + 4], edx
call fcn.004267ac
test al, al
je 0x4136dd
add esp, 0xfffffff8
push 0x10000
lea ecx, [esp + 4]
push ecx
call fcn.004262cc
add esp, 0xfffffff8
mov eax, dword [0x46f514]
mov dword [esp], eax
mov edx, dword [0x46f518]
mov dword [esp + 4], edx
call fcn.004267f4
test al, al
jne 0x413b7f
mov dword [0x46f520], 1
push ebx
push 0x45faf2
lea ecx, [ebp - 0x54]
push ecx
call fcn.00456f9c
add esp, 0xc
test esi, esi
jne 0x413719
push 0x6c
mov eax, dword [0x4656e4]
push eax
call sub.USER32.dll_GetDlgItem
mov ebx, eax
lea eax, [ebp - 0x54]
push eax
push 0x67
call fcn.00413fc0
jmp 0x413734
push 0x6b
mov edx, dword [0x4656e4]
push edx
call sub.USER32.dll_GetDlgItem
mov ebx, eax
lea eax, [ebp - 0x54]
push eax
push 0x66
call fcn.00413fc0
lea edx, [ebp - 0x138]
push edx
push ebx
call sub.USER32.dll_GetClientRect
push 2
lea ecx, [ebp - 0x138]
push ecx
mov eax, dword [0x4656e4]
push eax
push ebx
call sub.USER32.dll_MapWindowPoints
cmp dword [ebp + 0x1c], 0
jne 0x41376c
mov edx, dword [0x4656e4]
push edx
call sub.USER32.dll_GetDC
mov ebx, eax
jmp 0x41376f
mov ebx, dword [ebp + 0x1c]
add esp, 0xfffffff8
mov eax, dword [ebp + 0x10]
mov dword [esp], eax
mov edx, dword [ebp + 0x14]
mov dword [esp + 4], edx
add esp, 0xfffffff8
mov ecx, dword [ebp + 8]
mov dword [esp], ecx
mov eax, dword [ebp + 0xc]
mov dword [esp + 4], eax
call fcn.004267cc
test al, al
je 0x4137b5
add esp, 0xfffffff8
mov edx, dword [ebp + 0x10]
lea eax, [ebp + 8]
mov dword [esp], edx
mov ecx, dword [ebp + 0x14]
lea edx, [ebp - 0x5c]
mov dword [esp + 4], ecx
push eax
push edx
call fcn.004262f8
xor edi, edi
cmp dword [0x46ed60], 0
jne 0x413805
dec esi
jne 0x413805
add esp, 0xfffffff8
mov eax, dword [ebp + 0x10]
mov dword [esp], eax
mov edx, dword [ebp + 0x14]
mov dword [esp + 4], edx
add esp, 0xfffffff8
mov ecx, dword [0x46f4fc]
mov dword [esp], ecx
mov eax, dword [0x46f500]
mov dword [esp + 4], eax
call fcn.0043c6e0
mov edx, dword [ebp - 0x130]
mov ecx, 0x64
sub edx, dword [ebp - 0x138]
imul edx
cdq
idiv ecx
mov edi, eax
add esp, 0xfffffff8
mov eax, dword [ebp + 0x10]
mov dword [esp], eax
mov edx, dword [ebp + 0x14]
mov dword [esp + 4], edx
add esp, 0xfffffff8
mov ecx, dword [ebp + 8]
mov dword [esp], ecx
mov eax, dword [ebp + 0xc]
mov dword [esp + 4], eax
call fcn.0043c6e0
mov edx, dword [ebp - 0x130]
mov ecx, 0x64
sub edx, dword [ebp - 0x138]
imul edx
cdq
idiv ecx
mov esi, eax
cmp esi, edi
jge 0x413848
mov edi, esi
mov eax, dword [0x46f56c]
push eax
push ebx
call sub.GDI32.dll_SelectObject
mov dword [ebp - 0x60], eax
mov edx, dword [0x46f588]
push edx
push ebx
call sub.GDI32.dll_SelectObject
mov dword [ebp - 0x64], eax
mov ecx, dword [ebp - 0x12c]
dec ecx
push ecx
mov eax, dword [ebp - 0x138]
add eax, esi
push eax
mov edx, dword [ebp - 0x134]
inc edx
push edx
mov ecx, dword [ebp - 0x138]
add ecx, edi
inc ecx
mov eax, 2
cmp edi, 1
jg 0x413896
add eax, 0xfffffffe
sub ecx, eax
push ecx
push ebx
call sub.GDI32.dll_Rectangle
test edi, edi
jle 0x4138e0
mov edx, dword [0x46f58c]
push edx
push ebx
call sub.GDI32.dll_SelectObject
mov ecx, dword [0x46f578]
push ecx
push ebx
call sub.GDI32.dll_SelectObject
mov edx, dword [ebp - 0x12c]
dec edx
push edx
mov eax, dword [ebp - 0x138]
mov ecx, eax
add ecx, edi
push ecx
mov edx, dword [ebp - 0x134]
inc edx
inc eax
push edx
push eax
push ebx
call sub.GDI32.dll_Rectangle
mov eax, dword [0x46f570]
push eax
push ebx
call sub.GDI32.dll_SelectObject
push 0
test esi, esi
mov ecx, dword [ebp - 0x134]
push ecx
jle 0x4138fe
lea eax, [esi - 1]
jmp 0x413900
xor eax, eax
add eax, dword [ebp - 0x138]
push eax
push ebx
call sub.GDI32.dll_MoveToEx
mov edx, dword [ebp - 0x134]
push edx
mov ecx, dword [ebp - 0x138]
add ecx, edi
push ecx
push ebx
call sub.GDI32.dll_LineTo
test edi, edi
jle 0x413947
mov eax, dword [0x46f574]
push eax
push ebx
call sub.GDI32.dll_SelectObject
mov edx, dword [ebp - 0x134]
push edx
mov ecx, dword [ebp - 0x138]
push ecx
push ebx
call sub.GDI32.dll_LineTo
mov eax, dword [ebp - 0x12c]
dec eax
push eax
mov edx, dword [ebp - 0x138]
push edx
push ebx
call sub.GDI32.dll_LineTo
mov ecx, dword [0x46f564]
push ecx
push ebx
call sub.GDI32.dll_SelectObject
mov eax, dword [ebp - 0x12c]
dec eax
push eax
mov edx, dword [ebp - 0x130]
push edx
push ebx
call sub.GDI32.dll_LineTo
mov ecx, dword [0x46f580]
push ecx
push ebx
call sub.GDI32.dll_SelectObject
mov eax, dword [ebp - 0x134]
inc eax
push eax
mov edx, dword [ebp - 0x130]
push edx
push ebx
call sub.GDI32.dll_LineTo
push 0
mov ecx, dword [ebp - 0x12c]
push ecx
mov eax, dword [ebp - 0x138]
inc eax
push eax
push ebx
call sub.GDI32.dll_MoveToEx
mov edx, dword [ebp - 0x12c]
push edx
mov ecx, dword [ebp - 0x130]
inc ecx
push ecx
push ebx
call sub.GDI32.dll_LineTo
mov eax, dword [0x46f568]
push eax
push ebx
call sub.GDI32.dll_SelectObject
mov edx, dword [0x46f584]
push edx
push ebx
call sub.GDI32.dll_SelectObject
add esp, 0xfffffff8
mov ecx, dword [ebp + 0x10]
mov dword [esp], ecx
mov eax, dword [ebp + 0x14]
mov dword [esp + 4], eax
add esp, 0xfffffff8
mov edx, dword [ebp + 8]
mov dword [esp], edx
mov ecx, dword [ebp + 0xc]
mov dword [esp + 4], ecx
call fcn.004267f4
test al, al
je 0x413a38
mov eax, dword [ebp - 0x12c]
add eax, 0xfffffffe
push eax
mov edx, dword [ebp - 0x130]
dec edx
push edx
mov ecx, dword [ebp - 0x134]
inc ecx
push ecx
mov eax, dword [ebp - 0x138]
add eax, esi
inc eax
push eax
push ebx
call sub.GDI32.dll_Rectangle
test esi, esi
jle 0x413ac5
mov edx, dword [ebp - 0x130]
sub edx, dword [ebp - 0x138]
dec edx
cmp esi, edx
jge 0x413ac5
mov ecx, dword [0x46f564]
push ecx
push ebx
call sub.GDI32.dll_SelectObject
push 0
mov eax, dword [ebp - 0x134]
push eax
mov edx, dword [ebp - 0x138]
add edx, esi
push edx
push ebx
call sub.GDI32.dll_MoveToEx
mov ecx, dword [ebp - 0x12c]
push ecx
mov eax, dword [ebp - 0x138]
add eax, esi
push eax
push ebx
call sub.GDI32.dll_LineTo
mov edx, dword [0x46f580]
push edx
push ebx
call sub.GDI32.dll_SelectObject
push 0
mov ecx, dword [ebp - 0x12c]
push ecx
mov eax, dword [ebp - 0x138]
add eax, esi
push eax
push ebx
call sub.GDI32.dll_MoveToEx
mov edx, dword [ebp - 0x12c]
push edx
add edi, dword [ebp - 0x138]
push edi
push ebx
call sub.GDI32.dll_LineTo
add esp, 0xfffffff8
mov ecx, dword [ebp + 0x10]
mov dword [esp], ecx
mov eax, dword [ebp + 0x14]
mov dword [esp + 4], eax
add esp, 0xfffffff8
mov edx, dword [ebp + 8]
mov dword [esp], edx
mov ecx, dword [ebp + 0xc]
mov dword [esp + 4], ecx
call fcn.004267f4
test al, al
je 0x413b58
mov eax, dword [0x46f57c]
push eax
push ebx
call sub.GDI32.dll_SelectObject
push 0
mov edx, dword [ebp - 0x134]
push edx
mov ecx, dword [ebp - 0x138]
add ecx, esi
inc ecx
push ecx
push ebx
call sub.GDI32.dll_MoveToEx
mov eax, dword [ebp - 0x134]
push eax
mov edx, dword [ebp - 0x130]
dec edx
push edx
push ebx
call sub.GDI32.dll_LineTo
mov ecx, dword [ebp - 0x12c]
add ecx, 0xfffffffe
push ecx
mov eax, dword [ebp - 0x130]
dec eax
push eax
push ebx
call sub.GDI32.dll_LineTo
mov edx, dword [ebp - 0x12c]
add edx, 0xfffffffe
push edx
add esi, dword [ebp - 0x138]
inc esi
push esi
push ebx
call sub.GDI32.dll_LineTo
mov ecx, dword [ebp - 0x60]
push ecx
push ebx
call sub.GDI32.dll_SelectObject
mov eax, dword [ebp - 0x64]
push eax
push ebx
call sub.GDI32.dll_SelectObject
cmp dword [ebp + 0x1c], 0
jne 0x413b7f
push ebx
mov edx, dword [0x4656e4]
push edx
call sub.USER32.dll_ReleaseDC
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x18