Function at 0x46b898
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffbe0
cmp dword [0x4ad5b4], 0
push ebx
push esi
push edi
mov dword [ebp - 4], edx
mov esi, eax
je 0x46c05c
cmp esi, 1
jne 0x46b8cc
cmp byte [0x4bc91c], 0
jne 0x46b8cc
test cl, cl
je 0x46c05c
cmp dword [0x4bc1d4], 7
je 0x46c05c
cmp dword [ebp - 4], 0
jne 0x46b91b
test esi, esi
jne 0x46b8ea
mov edx, 0x32
jmp 0x46b8ef
mov edx, 0xc8
mov eax, esi
call fcn.004417c0
test al, al
jne 0x46b91b
cmp dword [0x4bc1d4], 8
jne 0x46c05c
mov eax, dword [ebp + 0x10]
mov edx, dword [ebp + 0x14]
cmp edx, dword [ebp + 0xc]
jne 0x46b915
cmp eax, dword [ebp + 8]
jne 0x46c05c
cmp dword [ebp + 0xc], 0
jne 0x46b937
cmp dword [ebp + 8], 0
jne 0x46b937
cmp dword [ebp + 0x14], 0
jne 0x46b937
cmp dword [ebp + 0x10], 0
jne 0x46b937
xor ecx, ecx
jmp 0x46b93c
mov ecx, 1
mov byte [ebp - 5], cl
cmp byte [0x4bc94c], 0
jne 0x46b958
cmp byte [ebp - 5], 0
jne 0x46b958
call fcn.0048e410
mov dword [0x4bc918], eax
cmp dword [ebp + 0xc], 0
jne 0x46b972
cmp dword [ebp + 8], 0
jne 0x46b972
mov dword [ebp + 8], 1
mov dword [ebp + 0xc], 0
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.0040d5f8
mov edi, eax
cmp dword [0x4bc1d4], 0
je 0x46ba29
cmp dword [0x4bc1d0], 0
je 0x46ba29
cmp dword [ebp + 0x14], 0
jne 0x46ba29
cmp dword [ebp + 0x10], 0
jne 0x46ba29
mov dword [ebp - 0x214], 0x1e8
mov eax, dword [0x4ad5b4]
lea edx, [ebp - 0x1fc]
mov dword [ebp - 0x210], eax
mov dword [ebp - 0x20c], 0x7b
mov dword [ebp - 0x208], 4
push 0x80
push edx
push eax
call sub.USER32.DLL_GetWindowTextA
push 0x4bc6d8
lea ecx, [ebp - 0x1fc]
push ecx
call fcn.004829b4
add esp, 8
test eax, eax
je 0x46ba29
lea eax, [ebp - 0x214]
push eax
push 1
call sub.SHELL32.DLL_Shell_NotifyIconA
push 0x1ff
lea edx, [ebp - 0x1fc]
push edx
push 0x4bc6d8
call fcn.00482c50
add esp, 0xc
cmp byte [0x4bc91c], 0
je 0x46bbbd
cmp dword [0x4bc1d0], 0
je 0x46bbbd
cmp esi, 1
jne 0x46bbbd
cmp edi, dword [0x4bc948]
je 0x46bbbd
mov eax, edi
shl eax, 4
mov ecx, 0x64
cdq
idiv ecx
mov dword [ebp - 0xc], eax
mov eax, dword [0x4bc948]
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 0x46bb40
lea edx, [ebp - 0x228]
push edx
push dword [0x4bc1d0]
call sub.USER32.DLL_GetIconInfo
push 0
call sub.GDI32.DLL_CreateCompatibleDC
mov dword [ebp - 0x14], eax
push dword [ebp - 0x218]
push dword [ebp - 0x14]
call sub.GDI32.DLL_SelectObject
mov dword [ebp - 0x18], eax
mov ebx, 0xf
jmp 0x46baec
push 0xffff
push ebx
push 8
push dword [ebp - 0x14]
call sub.GDI32.DLL_SetPixel
push 0xffff
push ebx
push 9
push dword [ebp - 0x14]
call sub.GDI32.DLL_SetPixel
push 0xffff
push ebx
push 0xa
push dword [ebp - 0x14]
call sub.GDI32.DLL_SetPixel
dec ebx
mov eax, 0x10
sub eax, dword [ebp - 0xc]
cmp ebx, eax
jge 0x46babb
push dword [ebp - 0x18]
push dword [ebp - 0x14]
call sub.GDI32.DLL_SelectObject
push dword [ebp - 0x14]
call sub.GDI32.DLL_DeleteDC
lea edx, [ebp - 0x228]
push edx
call sub.USER32.DLL_CreateIconIndirect
push dword [0x4bc1d0]
mov ebx, eax
call sub.USER32.DLL_DestroyIcon
push dword [ebp - 0x21c]
mov dword [0x4bc1d0], ebx
call sub.GDI32.DLL_DeleteObject
push dword [ebp - 0x218]
call sub.GDI32.DLL_DeleteObject
mov dword [ebp - 0x410], 0x1e8
mov eax, dword [0x4ad5b4]
mov dword [ebp - 0x40c], eax
mov dword [ebp - 0x408], 0x7b
mov dword [ebp - 0x404], 5
mov edx, dword [ebp - 0xc]
cmp edx, dword [ebp - 0x10]
je 0x46bb78
or dword [ebp - 0x404], 2
mov dword [ebp - 0x400], 0x47b
mov ecx, dword [0x4bc1d0]
mov dword [ebp - 0x3fc], ecx
push edi
mov eax, 0x2f8
call fcn.00410804
push eax
lea edx, [ebp - 0x3f8]
push edx
call fcn.00486578
add esp, 0xc
lea ecx, [ebp - 0x410]
push ecx
push 1
call sub.SHELL32.DLL_Shell_NotifyIconA
mov dword [0x4bc948], edi
test esi, esi
jne 0x46bc1f
mov eax, dword [ebp + 0x10]
mov dword [0x4bc928], eax
mov eax, dword [ebp + 0x14]
mov dword [0x4bc92c], eax
mov edx, dword [ebp + 8]
mov dword [0x4bc930], edx
mov edx, dword [ebp + 0xc]
mov dword [0x4bc934], edx
cmp dword [0x4bc1d4], 0
je 0x46bc43
cmp byte [0x4bc94c], 0
je 0x46bc43
cmp dword [ebp + 0x14], 0
jne 0x46bc43
cmp dword [ebp + 0x10], 0
jne 0x46bc43
cmp dword [ebp + 0xc], 0
jne 0x46bc18
cmp dword [ebp + 8], 0x10000
jb 0x46c05c
jmp 0x46bc43
jge 0x46bc43
jmp 0x46c05c
mov ecx, dword [ebp + 0x10]
mov dword [0x4bc938], ecx
mov ecx, dword [ebp + 0x14]
mov dword [0x4bc93c], ecx
mov eax, dword [ebp + 8]
mov dword [0x4bc940], eax
mov eax, dword [ebp + 0xc]
mov dword [0x4bc944], eax
push edi
push str._4d__
lea edx, [ebp - 0x24]
push edx
call fcn.00486578
add esp, 0xc
test esi, esi
jne 0x46bc7a
push 0x9e
push dword [0x4ad5b4]
call sub.USER32.DLL_GetDlgItem
mov ebx, eax
lea edx, [ebp - 0x24]
mov eax, 0x99
call fcn.0046a9cc
jmp 0x46bc99
push 0x9d
push dword [0x4ad5b4]
call sub.USER32.DLL_GetDlgItem
mov ebx, eax
lea edx, [ebp - 0x24]
mov eax, 0x98
call fcn.0046a9cc
lea ecx, [ebp - 0x420]
push ecx
push ebx
call sub.USER32.DLL_GetClientRect
push 2
lea eax, [ebp - 0x420]
push eax
push dword [0x4ad5b4]
push ebx
call sub.USER32.DLL_MapWindowPoints
cmp dword [ebp - 4], 0
jne 0x46bcd0
push dword [0x4ad5b4]
call sub.USER32.DLL_GetDC
mov ebx, eax
jmp 0x46bcd3
mov ebx, dword [ebp - 4]
mov eax, dword [ebp + 0x10]
mov edx, dword [ebp + 0x14]
cmp edx, dword [ebp + 0xc]
jne 0x46bce5
cmp eax, dword [ebp + 8]
jbe 0x46bcf3
jmp 0x46bce7
jle 0x46bcf3
mov ecx, dword [ebp + 8]
mov dword [ebp + 0x10], ecx
mov ecx, dword [ebp + 0xc]
mov dword [ebp + 0x14], ecx
xor edi, edi
cmp dword [0x4bc1d4], 0
jne 0x46bd30
dec esi
jne 0x46bd30
push dword [0x4bc924]
push dword [0x4bc920]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.0040d5f8
mov ecx, dword [ebp - 0x418]
sub ecx, dword [ebp - 0x420]
imul ecx
mov ecx, 0x64
cdq
idiv ecx
mov edi, eax
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.0040d5f8
mov ecx, dword [ebp - 0x418]
sub ecx, dword [ebp - 0x420]
imul ecx
mov ecx, 0x64
cdq
idiv ecx
mov esi, eax
cmp esi, edi
jge 0x46bd5f
mov edi, esi
push dword [0x4bc958]
push ebx
call sub.GDI32.DLL_SelectObject
mov dword [ebp - 0x28], eax
push dword [0x4bc974]
push ebx
call sub.GDI32.DLL_SelectObject
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x414]
dec eax
push eax
mov edx, dword [ebp - 0x420]
add edx, esi
push edx
mov ecx, dword [ebp - 0x41c]
inc ecx
push ecx
mov eax, dword [ebp - 0x420]
add eax, edi
inc eax
cmp edi, 1
jle 0x46bdab
mov edx, 2
jmp 0x46bdad
xor edx, edx
sub eax, edx
push eax
push ebx
call sub.GDI32.DLL_Rectangle
test edi, edi
jle 0x46bdf5
push dword [0x4bc978]
push ebx
call sub.GDI32.DLL_SelectObject
push dword [0x4bc964]
push ebx
call sub.GDI32.DLL_SelectObject
mov ecx, dword [ebp - 0x414]
dec ecx
push ecx
mov eax, dword [ebp - 0x420]
mov edx, eax
add edx, edi
push edx
mov ecx, dword [ebp - 0x41c]
inc ecx
inc eax
push ecx
push eax
push ebx
call sub.GDI32.DLL_Rectangle
push dword [0x4bc95c]
push ebx
call sub.GDI32.DLL_SelectObject
push 0
push dword [ebp - 0x41c]
test esi, esi
jle 0x46be12
lea eax, [esi - 1]
jmp 0x46be14
xor eax, eax
add eax, dword [ebp - 0x420]
push eax
push ebx
call sub.GDI32.DLL_MoveToEx
push dword [ebp - 0x41c]
mov edx, dword [ebp - 0x420]
add edx, edi
push edx
push ebx
call sub.GDI32.DLL_LineTo
test edi, edi
jle 0x46be58
push dword [0x4bc960]
push ebx
call sub.GDI32.DLL_SelectObject
push dword [ebp - 0x41c]
push dword [ebp - 0x420]
push ebx
call sub.GDI32.DLL_LineTo
mov ecx, dword [ebp - 0x414]
dec ecx
push ecx
push dword [ebp - 0x420]
push ebx
call sub.GDI32.DLL_LineTo
push dword [0x4bc950]
push ebx
call sub.GDI32.DLL_SelectObject
mov eax, dword [ebp - 0x414]
dec eax
push eax
push dword [ebp - 0x418]
push ebx
call sub.GDI32.DLL_LineTo
push dword [0x4bc96c]
push ebx
call sub.GDI32.DLL_SelectObject
mov edx, dword [ebp - 0x41c]
inc edx
push edx
push dword [ebp - 0x418]
push ebx
call sub.GDI32.DLL_LineTo
push 0
push dword [ebp - 0x414]
mov ecx, dword [ebp - 0x420]
inc ecx
push ecx
push ebx
call sub.GDI32.DLL_MoveToEx
push dword [ebp - 0x414]
mov eax, dword [ebp - 0x418]
inc eax
push eax
push ebx
call sub.GDI32.DLL_LineTo
push dword [0x4bc954]
push ebx
call sub.GDI32.DLL_SelectObject
push dword [0x4bc970]
push ebx
call sub.GDI32.DLL_SelectObject
mov eax, dword [ebp + 0x10]
mov edx, dword [ebp + 0x14]
cmp edx, dword [ebp + 0xc]
jne 0x46bf00
cmp eax, dword [ebp + 8]
jae 0x46bf2c
jmp 0x46bf02
jge 0x46bf2c
mov ecx, dword [ebp - 0x414]
add ecx, 0xfffffffe
push ecx
mov eax, dword [ebp - 0x418]
dec eax
push eax
mov edx, dword [ebp - 0x41c]
inc edx
push edx
mov ecx, dword [ebp - 0x420]
add ecx, esi
inc ecx
push ecx
push ebx
call sub.GDI32.DLL_Rectangle
test esi, esi
jle 0x46bfaf
mov eax, dword [ebp - 0x418]
sub eax, dword [ebp - 0x420]
dec eax
cmp esi, eax
jge 0x46bfaf
push dword [0x4bc950]
push ebx
call sub.GDI32.DLL_SelectObject
push 0
push dword [ebp - 0x41c]
mov edx, dword [ebp - 0x420]
add edx, esi
push edx
push ebx
call sub.GDI32.DLL_MoveToEx
push dword [ebp - 0x414]
mov ecx, dword [ebp - 0x420]
add ecx, esi
push ecx
push ebx
call sub.GDI32.DLL_LineTo
push dword [0x4bc96c]
push ebx
call sub.GDI32.DLL_SelectObject
push 0
push dword [ebp - 0x414]
mov eax, dword [ebp - 0x420]
add eax, esi
push eax
push ebx
call sub.GDI32.DLL_MoveToEx
push dword [ebp - 0x414]
add edi, dword [ebp - 0x420]
push edi
push ebx
call sub.GDI32.DLL_LineTo
mov eax, dword [ebp + 0x10]
mov edx, dword [ebp + 0x14]
cmp edx, dword [ebp + 0xc]
jne 0x46bfc1
cmp eax, dword [ebp + 8]
jae 0x46c02b
jmp 0x46bfc3
jge 0x46c02b
push dword [0x4bc968]
push ebx
call sub.GDI32.DLL_SelectObject
push 0
push dword [ebp - 0x41c]
mov ecx, dword [ebp - 0x420]
add ecx, esi
inc ecx
push ecx
push ebx
call sub.GDI32.DLL_MoveToEx
push dword [ebp - 0x41c]
mov eax, dword [ebp - 0x418]
dec eax
push eax
push ebx
call sub.GDI32.DLL_LineTo
mov edx, dword [ebp - 0x414]
add edx, 0xfffffffe
push edx
mov ecx, dword [ebp - 0x418]
dec ecx
push ecx
push ebx
call sub.GDI32.DLL_LineTo
mov eax, dword [ebp - 0x414]
add eax, 0xfffffffe
push eax
add esi, dword [ebp - 0x420]
inc esi
push esi
push ebx
call sub.GDI32.DLL_LineTo
push dword [ebp - 0x28]
push ebx
call sub.GDI32.DLL_SelectObject
push dword [ebp - 0x2c]
push ebx
call sub.GDI32.DLL_SelectObject
cmp dword [ebp - 4], 0
jne 0x46c04f
push ebx
push dword [0x4ad5b4]
call sub.USER32.DLL_ReleaseDC
cmp byte [ebp - 5], 0
je 0x46c05c
mov byte [0x4bc94c], 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10