Function at 0x47dde0
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 0x47de03
mov edx, dword [0x4c234c]
jmp 0x47de05
mov edx, eax
mov dword [ebp - 0xc], edx
cmp dword [ebp - 4], 1
jne 0x47de4e
cmp byte [0x4d15c8], 0
jne 0x47de4e
cmp byte [0x4d15c9], 0
jne 0x47de4e
cmp dword [0x4c234c], 0
je 0x47de4e
mov eax, dword [0x4d0e7c]
cmp eax, 1
je 0x47de38
cmp eax, 2
jne 0x47de4e
mov cl, 1
mov edx, 0xa2
mov eax, dword [ebp - 0xc]
call fcn.0046f080
mov byte [0x4d15c8], 1
cmp dword [ebp - 0xc], 0
je 0x47e6fd
cmp dword [ebp - 4], 1
jne 0x47de6f
cmp byte [0x4d15c8], 0
jne 0x47de6f
test bl, bl
je 0x47e6fd
cmp dword [0x4d0e7c], 7
je 0x47e6fd
cmp dword [0x4d0e7c], 0xa
je 0x47e6fd
cmp dword [ebp - 8], 0
jne 0x47dece
cmp dword [ebp - 4], 0
jne 0x47de9c
mov edx, 0x32
jmp 0x47dea1
mov edx, 0xc8
mov eax, dword [ebp - 4]
call fcn.00448d18
test al, al
jne 0x47dece
cmp dword [0x4d0e7c], 8
jne 0x47e6fd
mov eax, dword [ebp + 0x14]
mov edx, dword [ebp + 0x18]
cmp edx, dword [ebp + 0x10]
jne 0x47dec8
cmp eax, dword [ebp + 0xc]
jne 0x47e6fd
cmp dword [ebp + 0x10], 0
jne 0x47deea
cmp dword [ebp + 0xc], 0
jne 0x47deea
cmp dword [ebp + 0x18], 0
jne 0x47deea
cmp dword [ebp + 0x14], 0
jne 0x47deea
xor ecx, ecx
jmp 0x47deef
mov ecx, 1
mov byte [ebp - 0xd], cl
cmp byte [0x4d15f8], 0
jne 0x47df0b
cmp byte [ebp - 0xd], 0
jne 0x47df0b
call fcn.0049d288
mov dword [0x4d15c4], eax
cmp dword [ebp + 0x10], 0
jne 0x47df25
cmp dword [ebp + 0xc], 0
jne 0x47df25
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.0040ebdc
mov dword [ebp - 0x14], eax
cmp dword [0x4d0e7c], 0
je 0x47dfdd
cmp dword [0x4d0e78], 0
je 0x47dfdd
cmp dword [ebp + 0x18], 0
jne 0x47dfdd
cmp dword [ebp + 0x14], 0
jne 0x47dfdd
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 0x4d1380
lea edx, [ebp - 0x21c]
push edx
call fcn.00494e18
add esp, 8
test eax, eax
je 0x47dfdd
lea ecx, [ebp - 0x234]
push ecx
push 1
call sub.SHELL32.DLL_Shell_NotifyIconA
push 0x1ff
lea eax, [ebp - 0x21c]
push eax
push 0x4d1380
call fcn.00495044
add esp, 0xc
cmp byte [0x4d15c8], 0
je 0x47e24b
cmp dword [0x4d0e78], 0
je 0x47e24b
cmp dword [ebp - 4], 1
jne 0x47e24b
mov edx, dword [0x4d15f4]
cmp edx, dword [ebp - 0x14]
je 0x47e24b
mov eax, dword [ebp - 0x14]
shl eax, 4
mov ecx, 0x64
cdq
idiv ecx
mov dword [ebp - 0x18], eax
mov eax, dword [0x4d15f4]
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 0x47e1cc
call fcn.0046f014
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 [0x4d0e78]
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 0x47e0e5
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x238], eax
cmp dword [0x4c2c94], 0xffffffff
setne dl
and edx, 1
test dl, dl
je 0x47e0fd
mov edi, 1
jmp 0x47e0ff
xor edi, edi
mov esi, 0xf
xor ebx, ebx
mov eax, 8
sub eax, edi
cmp ebx, eax
jl 0x47e145
mov edx, 0xa
sub edx, edi
cmp ebx, edx
jg 0x47e145
mov ecx, 0x10
sub ecx, dword [ebp - 0x18]
cmp esi, ecx
jl 0x47e145
push 0xffff
push esi
push ebx
cmp byte [ebp - 0x1d], 0
je 0x47e13a
mov eax, dword [ebp - 0x24]
jmp 0x47e13d
mov eax, dword [ebp - 0x28]
push eax
call sub.GDI32.DLL_SetPixel
jmp 0x47e15a
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 0x47e106
dec esi
test esi, esi
jge 0x47e104
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 [0x4d0e78]
call sub.USER32.DLL_DestroyIcon
mov ecx, dword [ebp - 0x38]
push dword [ebp - 0x23c]
mov dword [0x4d0e78], 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 0x47e202
or dword [ebp - 0x43c], 2
mov dword [ebp - 0x438], 0x47b
mov ecx, dword [0x4d0e78]
mov dword [ebp - 0x434], ecx
push dword [ebp - 0x14]
mov eax, 0x2f8
call fcn.0041202c
push eax
lea edx, [ebp - 0x430]
push edx
call fcn.00497dc4
add esp, 0xc
lea ecx, [ebp - 0x448]
push ecx
push 1
call sub.SHELL32.DLL_Shell_NotifyIconA
mov eax, dword [ebp - 0x14]
mov dword [0x4d15f4], eax
cmp dword [ebp - 4], 0
jne 0x47e2af
mov edx, dword [ebp + 0x14]
mov dword [0x4d15d4], edx
mov edx, dword [ebp + 0x18]
mov dword [0x4d15d8], edx
mov ecx, dword [ebp + 0xc]
mov dword [0x4d15dc], ecx
mov ecx, dword [ebp + 0x10]
mov dword [0x4d15e0], ecx
cmp dword [0x4d0e7c], 0
je 0x47e2d3
cmp byte [0x4d15f8], 0
je 0x47e2d3
cmp dword [ebp + 0x18], 0
jne 0x47e2d3
cmp dword [ebp + 0x14], 0
jne 0x47e2d3
cmp dword [ebp + 0x10], 0
jne 0x47e2a8
cmp dword [ebp + 0xc], 0x10000
jb 0x47e6fd
jmp 0x47e2d3
jge 0x47e2d3
jmp 0x47e6fd
mov eax, dword [ebp + 0x14]
mov dword [0x4d15e4], eax
mov eax, dword [ebp + 0x18]
mov dword [0x4d15e8], eax
mov edx, dword [ebp + 0xc]
mov dword [0x4d15ec], edx
mov edx, dword [ebp + 0x10]
mov dword [0x4d15f0], edx
push dword [ebp - 0x14]
push 0x4aa0d8
lea ecx, [ebp - 0x44]
push ecx
call fcn.00497dc4
add esp, 0xc
cmp dword [ebp - 4], 0
jne 0x47e30b
push 0x9e
push dword [ebp - 0xc]
call sub.USER32.DLL_GetDlgItem
mov ebx, eax
lea edx, [ebp - 0x44]
mov eax, 0x99
call fcn.0047cb1e
jmp 0x47e327
push 0x9d
push dword [ebp - 0xc]
call sub.USER32.DLL_GetDlgItem
mov ebx, eax
lea edx, [ebp - 0x44]
mov eax, 0x98
call fcn.0047cb1e
test ebx, ebx
jne 0x47e340
push 0x10
push 0
lea ecx, [ebp - 0x458]
push ecx
call fcn.00494ce4
add esp, 0xc
jmp 0x47e35f
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 0x47e371
push dword [ebp - 0xc]
call sub.USER32.DLL_GetDC
mov ebx, eax
jmp 0x47e374
mov ebx, dword [ebp - 8]
mov eax, dword [ebp + 0x14]
mov edx, dword [ebp + 0x18]
cmp edx, dword [ebp + 0x10]
jne 0x47e386
cmp eax, dword [ebp + 0xc]
jbe 0x47e394
jmp 0x47e388
jle 0x47e394
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 [0x4d0e7c], 0
jne 0x47e3d4
cmp dword [ebp - 4], 1
jne 0x47e3d4
push dword [0x4d15d0]
push dword [0x4d15cc]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
call fcn.0040ebdc
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.0040ebdc
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 0x47e403
mov edi, esi
push dword [0x4d1608]
push ebx
call sub.GDI32.DLL_SelectObject
mov dword [ebp - 0x48], eax
push dword [0x4d1624]
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
cmp edi, 1
jle 0x47e44f
mov edx, 2
jmp 0x47e451
xor edx, edx
sub eax, edx
push eax
push ebx
call sub.GDI32.DLL_Rectangle
test edi, edi
jle 0x47e499
push dword [0x4d1628]
push ebx
call sub.GDI32.DLL_SelectObject
push dword [0x4d1614]
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 [0x4d160c]
push ebx
call sub.GDI32.DLL_SelectObject
push 0
push dword [ebp - 0x454]
test esi, esi
jle 0x47e4b6
lea eax, [esi - 1]
jmp 0x47e4b8
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 0x47e4fc
push dword [0x4d1610]
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 [0x4d1600]
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 [0x4d161c]
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 [0x4d1604]
push ebx
call sub.GDI32.DLL_SelectObject
push dword [0x4d1620]
push ebx
call sub.GDI32.DLL_SelectObject
mov eax, dword [ebp + 0x14]
mov edx, dword [ebp + 0x18]
cmp edx, dword [ebp + 0x10]
jne 0x47e5a4
cmp eax, dword [ebp + 0xc]
jae 0x47e5d0
jmp 0x47e5a6
jge 0x47e5d0
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 0x47e653
mov eax, dword [ebp - 0x450]
sub eax, dword [ebp - 0x458]
dec eax
cmp esi, eax
jge 0x47e653
push dword [0x4d1600]
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 [0x4d161c]
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 0x47e665
cmp eax, dword [ebp + 0xc]
jae 0x47e6cf
jmp 0x47e667
jge 0x47e6cf
push dword [0x4d1618]
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 0x47e6f0
push ebx
push dword [ebp - 0xc]
call sub.USER32.DLL_ReleaseDC
cmp byte [ebp - 0xd], 0
je 0x47e6fd
mov byte [0x4d15f8], 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x14