Function at 0x473c8c
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffa9c
push ebx
push esi
push edi
mov ebx, ecx
mov dword [ebp - 4], edx
mov edi, eax
mov eax, dword [ebp + 8]
test eax, eax
jne 0x473cae
mov edx, dword [0x4c4e70]
jmp 0x473cb0
mov edx, eax
mov dword [ebp - 8], edx
cmp edi, 1
jne 0x473d16
cmp byte [0x4d2234], 0
jne 0x473d16
cmp byte [0x4d2235], 0
jne 0x473d16
cmp dword [0x4c4e70], 0
je 0x473d16
mov eax, dword [0x4d1ae8]
cmp eax, 1
je 0x473ce2
cmp eax, 2
jne 0x473d16
mov cl, 1
mov edx, 0xa2
mov eax, dword [ebp - 8]
call fcn.00464534
mov cl, 1
mov edx, 0xa6
mov eax, dword [ebp - 8]
call fcn.00464534
mov cl, 1
mov edx, 0xa1
mov eax, dword [ebp - 8]
call fcn.00464534
mov byte [0x4d2234], 1
cmp dword [ebp - 8], 0
je 0x47470d
cmp edi, 1
jne 0x473d36
cmp byte [0x4d2234], 0
jne 0x473d36
test bl, bl
je 0x47470d
cmp dword [0x4d1ae8], 7
je 0x47470d
cmp dword [0x4d1ae8], 0xa
je 0x47470d
cmp dword [ebp - 4], 0
jne 0x473d91
mov edx, 0x32
test edi, edi
je 0x473d65
add edx, 0x96
mov eax, edi
call fcn.0047d668
test al, al
jne 0x473d91
cmp dword [0x4d1ae8], 8
jne 0x47470d
mov eax, dword [ebp + 0x14]
mov edx, dword [ebp + 0x18]
cmp edx, dword [ebp + 0x10]
jne 0x473d8b
cmp eax, dword [ebp + 0xc]
jne 0x47470d
cmp dword [ebp + 0x10], 0
jne 0x473dad
cmp dword [ebp + 0xc], 0
jne 0x473dad
cmp dword [ebp + 0x18], 0
jne 0x473dad
cmp dword [ebp + 0x14], 0
jne 0x473dad
xor ecx, ecx
jmp 0x473db2
mov ecx, 1
mov byte [ebp - 9], cl
cmp byte [0x4d2284], 0
jne 0x473dd7
cmp byte [0x4d2285], 0
jne 0x473dd7
cmp byte [ebp - 9], 0
jne 0x473dd7
call fcn.004a0080
mov dword [0x4d2230], eax
cmp dword [ebp + 0x10], 0
jne 0x473df1
cmp dword [ebp + 0xc], 0
jne 0x473df1
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.0040efe4
mov dword [ebp - 0x10], eax
cmp dword [0x4d1ae8], 0
je 0x473ea1
cmp dword [0x4d1ae4], 0
je 0x473ea1
cmp dword [ebp + 0x18], 0
jne 0x473ea1
cmp dword [ebp + 0x14], 0
jne 0x473ea1
mov dword [ebp - 0x240], 0x1e8
mov ecx, dword [ebp - 8]
lea eax, [ebp - 0x228]
mov dword [ebp - 0x23c], ecx
mov dword [ebp - 0x238], 0x7b
mov dword [ebp - 0x234], 4
push 0x80
push eax
push dword [ebp - 8]
call sub.USER32.DLL_GetWindowTextA
push 0x4d1fec
lea edx, [ebp - 0x228]
push edx
call fcn.00497c34
add esp, 8
test eax, eax
je 0x473ea1
lea ecx, [ebp - 0x240]
push ecx
push 1
call sub.SHELL32.DLL_Shell_NotifyIconA
lea edx, [ebp - 0x228]
mov eax, 0x4d1fec
mov ecx, pe_nt_image_headers32
call fcn.0040f43c
cmp byte [0x4d2234], 0
je 0x47418d
cmp dword [0x4d1ae4], 0
je 0x47418d
cmp edi, 1
jne 0x47418d
mov eax, dword [0x4d2280]
cmp eax, dword [ebp - 0x10]
jne 0x473ee5
mov edx, 0xbb8
mov eax, 5
call fcn.0047d668
test al, al
je 0x47418d
mov eax, dword [ebp - 0x10]
shl eax, 4
mov ecx, 0x64
cdq
idiv ecx
mov dword [ebp - 0x14], eax
mov eax, dword [0x4d2280]
shl eax, 4
mov ecx, 0x64
cdq
idiv ecx
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0x18]
je 0x4740ad
call fcn.004642b4
cmp eax, 0x20
setl dl
and edx, 1
mov byte [ebp - 0x19], dl
push 0
call sub.GDI32.DLL_CreateCompatibleDC
mov dword [ebp - 0x20], eax
push 0
call sub.GDI32.DLL_CreateCompatibleDC
mov dword [ebp - 0x24], eax
lea ecx, [ebp - 0x254]
push ecx
push dword [0x4d1ae4]
call sub.USER32.DLL_GetIconInfo
mov eax, dword [ebp - 0x250]
add eax, eax
mov dword [ebp - 0x28], eax
mov edx, dword [ebp - 0x24c]
add edx, edx
mov dword [ebp - 0x2c], edx
push dword [ebp - 0x244]
push dword [ebp - 0x20]
call sub.GDI32.DLL_SelectObject
mov dword [ebp - 0x30], eax
lea ecx, [ebp - 0x26c]
push ecx
push 0x18
push dword [ebp - 0x244]
call sub.GDI32.DLL_GetObjectA
push 0
movzx eax, word [ebp - 0x25a]
push eax
movzx edx, word [ebp - 0x25c]
push edx
push dword [ebp - 0x2c]
push dword [ebp - 0x28]
call sub.GDI32.DLL_CreateBitmap
mov dword [ebp - 0x34], eax
push dword [ebp - 0x34]
push dword [ebp - 0x24]
call sub.GDI32.DLL_SelectObject
mov dword [ebp - 0x38], eax
cmp byte [ebp - 0x19], 0
jne 0x473fc4
mov ecx, dword [ebp - 0x34]
mov dword [ebp - 0x244], ecx
mov eax, 1
cmp dword [0x4c57b8], 0xffffffff
setne dl
and edx, 1
test dl, dl
jne 0x473fdb
dec eax
mov dword [ebp - 0x3c], eax
mov esi, 0xf
xor ebx, ebx
mov eax, 8
sub eax, dword [ebp - 0x3c]
cmp ebx, eax
jl 0x474026
mov edx, 0xa
sub edx, dword [ebp - 0x3c]
cmp ebx, edx
jg 0x474026
mov ecx, 0x10
sub ecx, dword [ebp - 0x14]
cmp esi, ecx
jl 0x474026
push 0xffff
push esi
push ebx
cmp byte [ebp - 0x19], 0
je 0x47401b
mov eax, dword [ebp - 0x20]
jmp 0x47401e
mov eax, dword [ebp - 0x24]
push eax
call sub.GDI32.DLL_SetPixel
jmp 0x47403b
push esi
push ebx
push dword [ebp - 0x20]
call sub.GDI32.DLL_GetPixel
push eax
push esi
push ebx
push dword [ebp - 0x24]
call sub.GDI32.DLL_SetPixel
inc ebx
cmp ebx, 0x10
jl 0x473fe5
dec esi
test esi, esi
jge 0x473fe3
push dword [ebp - 0x30]
push dword [ebp - 0x20]
call sub.GDI32.DLL_SelectObject
push dword [ebp - 0x38]
push dword [ebp - 0x24]
call sub.GDI32.DLL_SelectObject
push dword [ebp - 0x20]
call sub.GDI32.DLL_DeleteDC
push dword [ebp - 0x24]
call sub.GDI32.DLL_DeleteDC
lea edx, [ebp - 0x254]
push edx
call sub.USER32.DLL_CreateIconIndirect
mov dword [ebp - 0x40], eax
push dword [0x4d1ae4]
call sub.USER32.DLL_DestroyIcon
mov ecx, dword [ebp - 0x40]
push dword [ebp - 0x248]
mov dword [0x4d1ae4], ecx
call sub.GDI32.DLL_DeleteObject
push dword [ebp - 0x244]
call sub.GDI32.DLL_DeleteObject
push dword [ebp - 0x34]
call sub.GDI32.DLL_DeleteObject
mov dword [ebp - 0x454], 0x1e8
mov eax, dword [ebp - 8]
mov dword [ebp - 0x450], eax
mov dword [ebp - 0x44c], 0x7b
mov dword [ebp - 0x448], 5
mov edx, dword [ebp - 0x14]
cmp edx, dword [ebp - 0x18]
je 0x4740e3
or dword [ebp - 0x448], 2
mov dword [ebp - 0x444], 0x47b
mov ecx, dword [0x4d1ae4]
mov dword [ebp - 0x440], ecx
mov byte [ebp - 0x554], 0
cmp byte [0x4d2237], 0
je 0x47412d
push 0x4d2237
mov eax, 0x5aa
call fcn.004125d0
push eax
push 0x4ab59f
lea edx, [ebp - 0x554]
push edx
call fcn.0049abd0
add esp, 0x10
push dword [ebp - 0x10]
mov eax, 0x2f8
call fcn.004125d0
push eax
lea edx, [ebp - 0x554]
push edx
call fcn.00497cb0
pop ecx
lea ecx, [ebp - 0x554]
add eax, ecx
push eax
call fcn.0049abd0
add esp, 0xc
lea edx, [ebp - 0x554]
lea eax, [ebp - 0x43c]
mov ecx, 0x80
call fcn.0040f43c
mov byte [ebp - 0x3bd], 0
lea eax, [ebp - 0x454]
push eax
push 1
call sub.SHELL32.DLL_Shell_NotifyIconA
mov edx, dword [ebp - 0x10]
mov dword [0x4d2280], edx
test edi, edi
jne 0x4741ef
mov ecx, dword [ebp + 0x14]
mov dword [0x4d2260], ecx
mov ecx, dword [ebp + 0x18]
mov dword [0x4d2264], ecx
mov eax, dword [ebp + 0xc]
mov dword [0x4d2268], eax
mov eax, dword [ebp + 0x10]
mov dword [0x4d226c], eax
cmp dword [0x4d1ae8], 0
je 0x474213
cmp byte [0x4d2284], 0
je 0x474213
cmp dword [ebp + 0x18], 0
jne 0x474213
cmp dword [ebp + 0x14], 0
jne 0x474213
cmp dword [ebp + 0x10], 0
jne 0x4741e8
cmp dword [ebp + 0xc], 0x10000
jb 0x47470d
jmp 0x474213
jge 0x474213
jmp 0x47470d
mov edx, dword [ebp + 0x14]
mov dword [0x4d2270], edx
mov edx, dword [ebp + 0x18]
mov dword [0x4d2274], edx
mov ecx, dword [ebp + 0xc]
mov dword [0x4d2278], ecx
mov ecx, dword [ebp + 0x10]
mov dword [0x4d227c], ecx
push dword [ebp - 0x10]
push 0x4ab5a8
lea eax, [ebp - 0x4c]
push eax
call fcn.0049abd0
add esp, 0xc
test edi, edi
jne 0x474249
push 0x9e
push dword [ebp - 8]
call sub.USER32.DLL_GetDlgItem
mov ebx, eax
lea edx, [ebp - 0x4c]
mov eax, 0x99
call fcn.00472916
jmp 0x4742a9
push 0x9d
push dword [ebp - 8]
call sub.USER32.DLL_GetDlgItem
mov ebx, eax
lea edx, [ebp - 0x4c]
mov eax, 0x98
call fcn.00472916
cmp dword [0x4d1ae8], 0
jne 0x4742a9
cmp edi, 1
jne 0x4742a9
push dword [0x4d225c]
push dword [0x4d2258]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
call fcn.0040efe4
push eax
push 0x4ab5a8
lea edx, [ebp - 0x4c]
push edx
call fcn.0049abd0
add esp, 0xc
lea edx, [ebp - 0x4c]
mov eax, 0xa4
call fcn.00472916
mov eax, dword [ebp + 0x14]
mov edx, dword [ebp + 0x18]
cmp edx, dword [ebp + 0x10]
jne 0x4742bb
cmp eax, dword [ebp + 0xc]
jbe 0x4742c9
jmp 0x4742bd
jle 0x4742c9
mov ecx, dword [ebp + 0xc]
mov dword [ebp + 0x14], ecx
mov ecx, dword [ebp + 0x10]
mov dword [ebp + 0x18], ecx
cmp byte [0x4d2236], 0
je 0x474331
cmp byte [0x4d2284], 0
jne 0x4742df
test edi, edi
je 0x4742ed
cmp byte [0x4d2285], 0
jne 0x47430d
cmp edi, 1
jne 0x47430d
mov eax, dword [0x4d1ae8]
test eax, eax
je 0x474305
cmp eax, 1
je 0x474305
cmp eax, 2
je 0x474305
cmp eax, 8
jne 0x47430d
push 9
push ebx
call sub.USER32.DLL_ShowWindow
push 0
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
call fcn.0040efe4
push eax
push 0x402
push ebx
call sub.USER32.DLL_SendMessageA
jmp 0x4746f3
test ebx, ebx
jne 0x47434a
push 0x10
push 0
lea eax, [ebp - 0x564]
push eax
call fcn.00497b00
add esp, 0xc
jmp 0x47436f
lea edx, [ebp - 0x564]
push edx
push ebx
call sub.USER32.DLL_GetClientRect
push 2
lea ecx, [ebp - 0x564]
push ecx
push dword [ebp - 8]
push ebx
call sub.USER32.DLL_MapWindowPoints
inc dword [ebp - 0x558]
cmp dword [ebp - 4], 0
jne 0x474381
push dword [ebp - 8]
call sub.USER32.DLL_GetDC
mov ebx, eax
jmp 0x474384
mov ebx, dword [ebp - 4]
xor eax, eax
cmp dword [0x4d1ae8], 0
mov dword [ebp - 0x50], eax
jne 0x4743c7
cmp edi, 1
jne 0x4743c7
push dword [0x4d225c]
push dword [0x4d2258]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
call fcn.0040efe4
mov edx, dword [ebp - 0x55c]
mov ecx, 0x64
sub edx, dword [ebp - 0x564]
imul edx
cdq
idiv ecx
mov dword [ebp - 0x50], eax
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
call fcn.0040efe4
mov edx, dword [ebp - 0x55c]
mov ecx, 0x64
sub edx, dword [ebp - 0x564]
imul edx
cdq
idiv ecx
mov esi, eax
cmp esi, dword [ebp - 0x50]
jge 0x4743f8
mov dword [ebp - 0x50], esi
push dword [0x4d2294]
push ebx
call sub.GDI32.DLL_SelectObject
mov dword [ebp - 0x54], eax
push dword [0x4d22b0]
push ebx
call sub.GDI32.DLL_SelectObject
mov dword [ebp - 0x58], eax
mov eax, dword [ebp - 0x558]
dec eax
push eax
mov edx, dword [ebp - 0x564]
add edx, esi
push edx
mov ecx, dword [ebp - 0x560]
inc ecx
push ecx
mov eax, dword [ebp - 0x564]
add eax, dword [ebp - 0x50]
inc eax
mov edx, 2
cmp dword [ebp - 0x50], 1
jg 0x474447
add edx, 0xfffffffe
sub eax, edx
push eax
push ebx
call sub.GDI32.DLL_Rectangle
cmp dword [ebp - 0x50], 0
jle 0x474492
push dword [0x4d22b4]
push ebx
call sub.GDI32.DLL_SelectObject
push dword [0x4d22a0]
push ebx
call sub.GDI32.DLL_SelectObject
mov ecx, dword [ebp - 0x558]
dec ecx
push ecx
mov eax, dword [ebp - 0x564]
mov edx, eax
add edx, dword [ebp - 0x50]
push edx
mov ecx, dword [ebp - 0x560]
inc ecx
inc eax
push ecx
push eax
push ebx
call sub.GDI32.DLL_Rectangle
push dword [0x4d2298]
push ebx
call sub.GDI32.DLL_SelectObject
push 0
push dword [ebp - 0x560]
test esi, esi
jle 0x4744af
lea eax, [esi - 1]
jmp 0x4744b1
xor eax, eax
add eax, dword [ebp - 0x564]
push eax
push ebx
call sub.GDI32.DLL_MoveToEx
push dword [ebp - 0x560]
mov edx, dword [ebp - 0x564]
add edx, dword [ebp - 0x50]
push edx
push ebx
call sub.GDI32.DLL_LineTo
cmp dword [ebp - 0x50], 0
jle 0x4744f8
push dword [0x4d229c]
push ebx
call sub.GDI32.DLL_SelectObject
push dword [ebp - 0x560]
push dword [ebp - 0x564]
push ebx
call sub.GDI32.DLL_LineTo
mov ecx, dword [ebp - 0x558]
dec ecx
push ecx
push dword [ebp - 0x564]
push ebx
call sub.GDI32.DLL_LineTo
push dword [0x4d228c]
push ebx
call sub.GDI32.DLL_SelectObject
mov eax, dword [ebp - 0x558]
dec eax
push eax
push dword [ebp - 0x55c]
push ebx
call sub.GDI32.DLL_LineTo
push dword [0x4d22a8]
push ebx
call sub.GDI32.DLL_SelectObject
mov edx, dword [ebp - 0x560]
inc edx
push edx
push dword [ebp - 0x55c]
push ebx
call sub.GDI32.DLL_LineTo
push 0
push dword [ebp - 0x558]
mov ecx, dword [ebp - 0x564]
inc ecx
push ecx
push ebx
call sub.GDI32.DLL_MoveToEx
push dword [ebp - 0x558]
mov eax, dword [ebp - 0x55c]
inc eax
push eax
push ebx
call sub.GDI32.DLL_LineTo
push dword [0x4d2290]
push ebx
call sub.GDI32.DLL_SelectObject
push dword [0x4d22ac]
push ebx
call sub.GDI32.DLL_SelectObject
mov eax, dword [ebp + 0x14]
mov edx, dword [ebp + 0x18]
cmp edx, dword [ebp + 0x10]
jne 0x4745a0
cmp eax, dword [ebp + 0xc]
jae 0x4745cc
jmp 0x4745a2
jge 0x4745cc
mov ecx, dword [ebp - 0x558]
add ecx, 0xfffffffe
push ecx
mov eax, dword [ebp - 0x55c]
dec eax
push eax
mov edx, dword [ebp - 0x560]
inc edx
push edx
mov ecx, dword [ebp - 0x564]
add ecx, esi
inc ecx
push ecx
push ebx
call sub.GDI32.DLL_Rectangle
test esi, esi
jle 0x474656
mov eax, dword [ebp - 0x55c]
sub eax, dword [ebp - 0x564]
dec eax
cmp esi, eax
jge 0x474656
push dword [0x4d228c]
push ebx
call sub.GDI32.DLL_SelectObject
push 0
push dword [ebp - 0x560]
mov edx, dword [ebp - 0x564]
add edx, esi
push edx
push ebx
call sub.GDI32.DLL_MoveToEx
push dword [ebp - 0x558]
mov ecx, dword [ebp - 0x564]
add ecx, esi
push ecx
push ebx
call sub.GDI32.DLL_LineTo
push dword [0x4d22a8]
push ebx
call sub.GDI32.DLL_SelectObject
push 0
push dword [ebp - 0x558]
mov eax, dword [ebp - 0x564]
add eax, esi
push eax
push ebx
call sub.GDI32.DLL_MoveToEx
push dword [ebp - 0x558]
mov edx, dword [ebp - 0x564]
add edx, dword [ebp - 0x50]
push edx
push ebx
call sub.GDI32.DLL_LineTo
mov eax, dword [ebp + 0x14]
mov edx, dword [ebp + 0x18]
cmp edx, dword [ebp + 0x10]
jne 0x474668
cmp eax, dword [ebp + 0xc]
jae 0x4746d2
jmp 0x47466a
jge 0x4746d2
push dword [0x4d22a4]
push ebx
call sub.GDI32.DLL_SelectObject
push 0
push dword [ebp - 0x560]
mov ecx, dword [ebp - 0x564]
add ecx, esi
inc ecx
push ecx
push ebx
call sub.GDI32.DLL_MoveToEx
push dword [ebp - 0x560]
mov eax, dword [ebp - 0x55c]
dec eax
push eax
push ebx
call sub.GDI32.DLL_LineTo
mov edx, dword [ebp - 0x558]
add edx, 0xfffffffe
push edx
mov ecx, dword [ebp - 0x55c]
dec ecx
push ecx
push ebx
call sub.GDI32.DLL_LineTo
mov eax, dword [ebp - 0x558]
add eax, 0xfffffffe
push eax
add esi, dword [ebp - 0x564]
inc esi
push esi
push ebx
call sub.GDI32.DLL_LineTo
push dword [ebp - 0x54]
push ebx
call sub.GDI32.DLL_SelectObject
push dword [ebp - 0x58]
push ebx
call sub.GDI32.DLL_SelectObject
cmp dword [ebp - 4], 0
jne 0x4746f3
push ebx
push dword [ebp - 8]
call sub.USER32.DLL_ReleaseDC
cmp byte [ebp - 9], 0
je 0x47470d
test edi, edi
jne 0x474706
mov byte [0x4d2284], 1
jmp 0x47470d
mov byte [0x4d2285], 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x14