Function at 0x47da14
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffba8
push ebx
push esi
push edi
mov ebx, ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
test eax, eax
jne 0x47da37
mov edx, dword [0x4c144c]
jmp 0x47da39
mov edx, eax
mov dword [ebp - 0xc], edx
cmp dword [ebp - 4], 1
jne 0x47da82
cmp byte [0x4d06c8], 0
jne 0x47da82
cmp byte [0x4d06c9], 0
jne 0x47da82
cmp dword [0x4c144c], 0
je 0x47da82
mov eax, dword [0x4cff7c]
cmp eax, 1
je 0x47da6c
cmp eax, 2
jne 0x47da82
mov cl, 1
mov edx, 0xa2
mov eax, dword [ebp - 0xc]
call fcn.0046edec
mov byte [0x4d06c8], 1
cmp dword [ebp - 0xc], 0
je 0x47e32c
cmp dword [ebp - 4], 1
jne 0x47daa3
cmp byte [0x4d06c8], 0
jne 0x47daa3
test bl, bl
je 0x47e32c
cmp dword [0x4cff7c], 7
je 0x47e32c
cmp dword [0x4cff7c], 0xa
je 0x47e32c
cmp dword [ebp - 8], 0
jne 0x47db01
cmp dword [ebp - 4], 0
mov edx, 0x32
je 0x47dad4
add edx, 0x96
mov eax, dword [ebp - 4]
call fcn.00448b10
test al, al
jne 0x47db01
cmp dword [0x4cff7c], 8
jne 0x47e32c
mov eax, dword [ebp + 0x14]
mov edx, dword [ebp + 0x18]
cmp edx, dword [ebp + 0x10]
jne 0x47dafb
cmp eax, dword [ebp + 0xc]
jne 0x47e32c
cmp dword [ebp + 0x10], 0
jne 0x47db1d
cmp dword [ebp + 0xc], 0
jne 0x47db1d
cmp dword [ebp + 0x18], 0
jne 0x47db1d
cmp dword [ebp + 0x14], 0
jne 0x47db1d
xor ecx, ecx
jmp 0x47db22
mov ecx, 1
mov byte [ebp - 0xd], cl
cmp byte [0x4d06f8], 0
jne 0x47db3e
cmp byte [ebp - 0xd], 0
jne 0x47db3e
call fcn.0049cdec
mov dword [0x4d06c4], eax
cmp dword [ebp + 0x10], 0
jne 0x47db58
cmp dword [ebp + 0xc], 0
jne 0x47db58
mov dword [ebp + 0xc], 1
mov dword [ebp + 0x10], 0
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
call fcn.0040eba8
mov dword [ebp - 0x14], eax
cmp dword [0x4cff7c], 0
je 0x47dc10
cmp dword [0x4cff78], 0
je 0x47dc10
cmp dword [ebp + 0x18], 0
jne 0x47dc10
cmp dword [ebp + 0x14], 0
jne 0x47dc10
mov dword [ebp - 0x234], 0x1e8
mov ecx, dword [ebp - 0xc]
lea eax, [ebp - 0x21c]
mov dword [ebp - 0x230], ecx
mov dword [ebp - 0x22c], 0x7b
mov dword [ebp - 0x228], 4
push 0x80
push eax
push dword [ebp - 0xc]
call sub.USER32.DLL_GetWindowTextA
push 0x4d0480
lea edx, [ebp - 0x21c]
push edx
call fcn.0049497c
add esp, 8
test eax, eax
je 0x47dc10
lea ecx, [ebp - 0x234]
push ecx
push 1
call sub.SHELL32.DLL_Shell_NotifyIconA
push 0x1ff
lea eax, [ebp - 0x21c]
push eax
push 0x4d0480
call fcn.00494ba8
add esp, 0xc
cmp byte [0x4d06c8], 0
je 0x47de7b
cmp dword [0x4cff78], 0
je 0x47de7b
cmp dword [ebp - 4], 1
jne 0x47de7b
mov edx, dword [0x4d06f4]
cmp edx, dword [ebp - 0x14]
je 0x47de7b
mov eax, dword [ebp - 0x14]
shl eax, 4
mov ecx, 0x64
cdq
idiv ecx
mov dword [ebp - 0x18], eax
mov eax, dword [0x4d06f4]
shl eax, 4
mov ecx, 0x64
cdq
idiv ecx
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x18]
cmp eax, dword [ebp - 0x1c]
je 0x47ddfc
call fcn.0046ed80
cmp eax, 0x20
setl dl
and edx, 1
mov byte [ebp - 0x1d], dl
push 0
call sub.GDI32.DLL_CreateCompatibleDC
mov dword [ebp - 0x24], eax
push 0
call sub.GDI32.DLL_CreateCompatibleDC
mov dword [ebp - 0x28], eax
lea ecx, [ebp - 0x248]
push ecx
push dword [0x4cff78]
call sub.USER32.DLL_GetIconInfo
mov ebx, dword [ebp - 0x244]
mov esi, dword [ebp - 0x240]
push dword [ebp - 0x238]
push dword [ebp - 0x24]
add ebx, ebx
add esi, esi
call sub.GDI32.DLL_SelectObject
mov dword [ebp - 0x2c], eax
lea eax, [ebp - 0x260]
push eax
push 0x18
push dword [ebp - 0x238]
call sub.GDI32.DLL_GetObjectA
push 0
movzx edx, word [ebp - 0x24e]
push edx
movzx ecx, word [ebp - 0x250]
push ecx
push esi
push ebx
call sub.GDI32.DLL_CreateBitmap
mov dword [ebp - 0x30], eax
push dword [ebp - 0x30]
push dword [ebp - 0x28]
call sub.GDI32.DLL_SelectObject
mov dword [ebp - 0x34], eax
cmp byte [ebp - 0x1d], 0
jne 0x47dd18
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x238], eax
mov edi, 1
cmp dword [0x4c1d94], 0xffffffff
setne al
and eax, 1
test al, al
jne 0x47dd2f
dec edi
mov esi, 0xf
xor ebx, ebx
mov eax, 8
sub eax, edi
cmp ebx, eax
jl 0x47dd75
mov edx, 0xa
sub edx, edi
cmp ebx, edx
jg 0x47dd75
mov ecx, 0x10
sub ecx, dword [ebp - 0x18]
cmp esi, ecx
jl 0x47dd75
push 0xffff
push esi
push ebx
cmp byte [ebp - 0x1d], 0
je 0x47dd6a
mov eax, dword [ebp - 0x24]
jmp 0x47dd6d
mov eax, dword [ebp - 0x28]
push eax
call sub.GDI32.DLL_SetPixel
jmp 0x47dd8a
push esi
push ebx
push dword [ebp - 0x24]
call sub.GDI32.DLL_GetPixel
push eax
push esi
push ebx
push dword [ebp - 0x28]
call sub.GDI32.DLL_SetPixel
inc ebx
cmp ebx, 0x10
jl 0x47dd36
dec esi
test esi, esi
jge 0x47dd34
push dword [ebp - 0x2c]
push dword [ebp - 0x24]
call sub.GDI32.DLL_SelectObject
push dword [ebp - 0x34]
push dword [ebp - 0x28]
call sub.GDI32.DLL_SelectObject
push dword [ebp - 0x24]
call sub.GDI32.DLL_DeleteDC
push dword [ebp - 0x28]
call sub.GDI32.DLL_DeleteDC
lea edx, [ebp - 0x248]
push edx
call sub.USER32.DLL_CreateIconIndirect
mov dword [ebp - 0x38], eax
push dword [0x4cff78]
call sub.USER32.DLL_DestroyIcon
mov ecx, dword [ebp - 0x38]
push dword [ebp - 0x23c]
mov dword [0x4cff78], ecx
call sub.GDI32.DLL_DeleteObject
push dword [ebp - 0x238]
call sub.GDI32.DLL_DeleteObject
push dword [ebp - 0x30]
call sub.GDI32.DLL_DeleteObject
mov dword [ebp - 0x448], 0x1e8
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x444], eax
mov dword [ebp - 0x440], 0x7b
mov dword [ebp - 0x43c], 5
mov edx, dword [ebp - 0x18]
cmp edx, dword [ebp - 0x1c]
je 0x47de32
or dword [ebp - 0x43c], 2
mov dword [ebp - 0x438], 0x47b
mov ecx, dword [0x4cff78]
mov dword [ebp - 0x434], ecx
push dword [ebp - 0x14]
mov eax, 0x2f8
call fcn.00411fe8
push eax
lea edx, [ebp - 0x430]
push edx
call fcn.00497928
add esp, 0xc
lea ecx, [ebp - 0x448]
push ecx
push 1
call sub.SHELL32.DLL_Shell_NotifyIconA
mov eax, dword [ebp - 0x14]
mov dword [0x4d06f4], eax
cmp dword [ebp - 4], 0
jne 0x47dedf
mov edx, dword [ebp + 0x14]
mov dword [0x4d06d4], edx
mov edx, dword [ebp + 0x18]
mov dword [0x4d06d8], edx
mov ecx, dword [ebp + 0xc]
mov dword [0x4d06dc], ecx
mov ecx, dword [ebp + 0x10]
mov dword [0x4d06e0], ecx
cmp dword [0x4cff7c], 0
je 0x47df03
cmp byte [0x4d06f8], 0
je 0x47df03
cmp dword [ebp + 0x18], 0
jne 0x47df03
cmp dword [ebp + 0x14], 0
jne 0x47df03
cmp dword [ebp + 0x10], 0
jne 0x47ded8
cmp dword [ebp + 0xc], 0x10000
jb 0x47e32c
jmp 0x47df03
jge 0x47df03
jmp 0x47e32c
mov eax, dword [ebp + 0x14]
mov dword [0x4d06e4], eax
mov eax, dword [ebp + 0x18]
mov dword [0x4d06e8], eax
mov edx, dword [ebp + 0xc]
mov dword [0x4d06ec], edx
mov edx, dword [ebp + 0x10]
mov dword [0x4d06f0], edx
push dword [ebp - 0x14]
push str._4d__
lea ecx, [ebp - 0x44]
push ecx
call fcn.00497928
add esp, 0xc
cmp dword [ebp - 4], 0
jne 0x47df3b
push 0x9e
push dword [ebp - 0xc]
call sub.USER32.DLL_GetDlgItem
mov ebx, eax
lea edx, [ebp - 0x44]
mov eax, 0x99
call fcn.0047c762
jmp 0x47df57
push 0x9d
push dword [ebp - 0xc]
call sub.USER32.DLL_GetDlgItem
mov ebx, eax
lea edx, [ebp - 0x44]
mov eax, 0x98
call fcn.0047c762
test ebx, ebx
jne 0x47df70
push 0x10
push 0
lea ecx, [ebp - 0x458]
push ecx
call fcn.00494848
add esp, 0xc
jmp 0x47df8f
lea eax, [ebp - 0x458]
push eax
push ebx
call sub.USER32.DLL_GetClientRect
push 2
lea edx, [ebp - 0x458]
push edx
push dword [ebp - 0xc]
push ebx
call sub.USER32.DLL_MapWindowPoints
cmp dword [ebp - 8], 0
jne 0x47dfa1
push dword [ebp - 0xc]
call sub.USER32.DLL_GetDC
mov ebx, eax
jmp 0x47dfa4
mov ebx, dword [ebp - 8]
mov eax, dword [ebp + 0x14]
mov edx, dword [ebp + 0x18]
cmp edx, dword [ebp + 0x10]
jne 0x47dfb6
cmp eax, dword [ebp + 0xc]
jbe 0x47dfc4
jmp 0x47dfb8
jle 0x47dfc4
mov ecx, dword [ebp + 0xc]
mov dword [ebp + 0x14], ecx
mov ecx, dword [ebp + 0x10]
mov dword [ebp + 0x18], ecx
xor edi, edi
cmp dword [0x4cff7c], 0
jne 0x47e004
cmp dword [ebp - 4], 1
jne 0x47e004
push dword [0x4d06d0]
push dword [0x4d06cc]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
call fcn.0040eba8
mov ecx, dword [ebp - 0x450]
sub ecx, dword [ebp - 0x458]
imul ecx
mov ecx, 0x64
cdq
idiv ecx
mov edi, eax
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
call fcn.0040eba8
mov ecx, dword [ebp - 0x450]
sub ecx, dword [ebp - 0x458]
imul ecx
mov ecx, 0x64
cdq
idiv ecx
mov esi, eax
cmp esi, edi
jge 0x47e033
mov edi, esi
push dword [0x4d0708]
push ebx
call sub.GDI32.DLL_SelectObject
mov dword [ebp - 0x48], eax
push dword [0x4d0724]
push ebx
call sub.GDI32.DLL_SelectObject
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0x44c]
dec eax
push eax
mov edx, dword [ebp - 0x458]
add edx, esi
push edx
mov ecx, dword [ebp - 0x454]
inc ecx
push ecx
mov eax, dword [ebp - 0x458]
add eax, edi
inc eax
mov edx, 2
cmp edi, 1
jg 0x47e080
add edx, 0xfffffffe
sub eax, edx
push eax
push ebx
call sub.GDI32.DLL_Rectangle
test edi, edi
jle 0x47e0c8
push dword [0x4d0728]
push ebx
call sub.GDI32.DLL_SelectObject
push dword [0x4d0714]
push ebx
call sub.GDI32.DLL_SelectObject
mov ecx, dword [ebp - 0x44c]
dec ecx
push ecx
mov eax, dword [ebp - 0x458]
mov edx, eax
add edx, edi
push edx
mov ecx, dword [ebp - 0x454]
inc ecx
inc eax
push ecx
push eax
push ebx
call sub.GDI32.DLL_Rectangle
push dword [0x4d070c]
push ebx
call sub.GDI32.DLL_SelectObject
push 0
push dword [ebp - 0x454]
test esi, esi
jle 0x47e0e5
lea eax, [esi - 1]
jmp 0x47e0e7
xor eax, eax
add eax, dword [ebp - 0x458]
push eax
push ebx
call sub.GDI32.DLL_MoveToEx
push dword [ebp - 0x454]
mov edx, dword [ebp - 0x458]
add edx, edi
push edx
push ebx
call sub.GDI32.DLL_LineTo
test edi, edi
jle 0x47e12b
push dword [0x4d0710]
push ebx
call sub.GDI32.DLL_SelectObject
push dword [ebp - 0x454]
push dword [ebp - 0x458]
push ebx
call sub.GDI32.DLL_LineTo
mov ecx, dword [ebp - 0x44c]
dec ecx
push ecx
push dword [ebp - 0x458]
push ebx
call sub.GDI32.DLL_LineTo
push dword [0x4d0700]
push ebx
call sub.GDI32.DLL_SelectObject
mov eax, dword [ebp - 0x44c]
dec eax
push eax
push dword [ebp - 0x450]
push ebx
call sub.GDI32.DLL_LineTo
push dword [0x4d071c]
push ebx
call sub.GDI32.DLL_SelectObject
mov edx, dword [ebp - 0x454]
inc edx
push edx
push dword [ebp - 0x450]
push ebx
call sub.GDI32.DLL_LineTo
push 0
push dword [ebp - 0x44c]
mov ecx, dword [ebp - 0x458]
inc ecx
push ecx
push ebx
call sub.GDI32.DLL_MoveToEx
push dword [ebp - 0x44c]
mov eax, dword [ebp - 0x450]
inc eax
push eax
push ebx
call sub.GDI32.DLL_LineTo
push dword [0x4d0704]
push ebx
call sub.GDI32.DLL_SelectObject
push dword [0x4d0720]
push ebx
call sub.GDI32.DLL_SelectObject
mov eax, dword [ebp + 0x14]
mov edx, dword [ebp + 0x18]
cmp edx, dword [ebp + 0x10]
jne 0x47e1d3
cmp eax, dword [ebp + 0xc]
jae 0x47e1ff
jmp 0x47e1d5
jge 0x47e1ff
mov ecx, dword [ebp - 0x44c]
add ecx, 0xfffffffe
push ecx
mov eax, dword [ebp - 0x450]
dec eax
push eax
mov edx, dword [ebp - 0x454]
inc edx
push edx
mov ecx, dword [ebp - 0x458]
add ecx, esi
inc ecx
push ecx
push ebx
call sub.GDI32.DLL_Rectangle
test esi, esi
jle 0x47e282
mov eax, dword [ebp - 0x450]
sub eax, dword [ebp - 0x458]
dec eax
cmp esi, eax
jge 0x47e282
push dword [0x4d0700]
push ebx
call sub.GDI32.DLL_SelectObject
push 0
push dword [ebp - 0x454]
mov edx, dword [ebp - 0x458]
add edx, esi
push edx
push ebx
call sub.GDI32.DLL_MoveToEx
push dword [ebp - 0x44c]
mov ecx, dword [ebp - 0x458]
add ecx, esi
push ecx
push ebx
call sub.GDI32.DLL_LineTo
push dword [0x4d071c]
push ebx
call sub.GDI32.DLL_SelectObject
push 0
push dword [ebp - 0x44c]
mov eax, dword [ebp - 0x458]
add eax, esi
push eax
push ebx
call sub.GDI32.DLL_MoveToEx
push dword [ebp - 0x44c]
add edi, dword [ebp - 0x458]
push edi
push ebx
call sub.GDI32.DLL_LineTo
mov eax, dword [ebp + 0x14]
mov edx, dword [ebp + 0x18]
cmp edx, dword [ebp + 0x10]
jne 0x47e294
cmp eax, dword [ebp + 0xc]
jae 0x47e2fe
jmp 0x47e296
jge 0x47e2fe
push dword [0x4d0718]
push ebx
call sub.GDI32.DLL_SelectObject
push 0
push dword [ebp - 0x454]
mov ecx, dword [ebp - 0x458]
add ecx, esi
inc ecx
push ecx
push ebx
call sub.GDI32.DLL_MoveToEx
push dword [ebp - 0x454]
mov eax, dword [ebp - 0x450]
dec eax
push eax
push ebx
call sub.GDI32.DLL_LineTo
mov edx, dword [ebp - 0x44c]
add edx, 0xfffffffe
push edx
mov ecx, dword [ebp - 0x450]
dec ecx
push ecx
push ebx
call sub.GDI32.DLL_LineTo
mov eax, dword [ebp - 0x44c]
add eax, 0xfffffffe
push eax
add esi, dword [ebp - 0x458]
inc esi
push esi
push ebx
call sub.GDI32.DLL_LineTo
push dword [ebp - 0x48]
push ebx
call sub.GDI32.DLL_SelectObject
push dword [ebp - 0x4c]
push ebx
call sub.GDI32.DLL_SelectObject
cmp dword [ebp - 8], 0
jne 0x47e31f
push ebx
push dword [ebp - 0xc]
call sub.USER32.DLL_ReleaseDC
cmp byte [ebp - 0xd], 0
je 0x47e32c
mov byte [0x4d06f8], 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x14