Function at 0x473c3c
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 0x473c5e
mov edx, dword [0x4c4e30]
jmp 0x473c60
mov edx, eax
mov dword [ebp - 8], edx
cmp edi, 1
jne 0x473cc6
cmp byte [0x4d21f4], 0
jne 0x473cc6
cmp byte [0x4d21f5], 0
jne 0x473cc6
cmp dword [0x4c4e30], 0
je 0x473cc6
mov eax, dword [0x4d1aa8]
cmp eax, 1
je 0x473c92
cmp eax, 2
jne 0x473cc6
mov cl, 1
mov edx, 0xa2
mov eax, dword [ebp - 8]
call fcn.00464504
mov cl, 1
mov edx, 0xa6
mov eax, dword [ebp - 8]
call fcn.00464504
mov cl, 1
mov edx, 0xa1
mov eax, dword [ebp - 8]
call fcn.00464504
mov byte [0x4d21f4], 1
cmp dword [ebp - 8], 0
je 0x4746bd
cmp edi, 1
jne 0x473ce6
cmp byte [0x4d21f4], 0
jne 0x473ce6
test bl, bl
je 0x4746bd
cmp dword [0x4d1aa8], 7
je 0x4746bd
cmp dword [0x4d1aa8], 0xa
je 0x4746bd
cmp dword [ebp - 4], 0
jne 0x473d41
mov edx, 0x32
test edi, edi
je 0x473d15
add edx, 0x96
mov eax, edi
call fcn.0047d618
test al, al
jne 0x473d41
cmp dword [0x4d1aa8], 8
jne 0x4746bd
mov eax, dword [ebp + 0x14]
mov edx, dword [ebp + 0x18]
cmp edx, dword [ebp + 0x10]
jne 0x473d3b
cmp eax, dword [ebp + 0xc]
jne 0x4746bd
cmp dword [ebp + 0x10], 0
jne 0x473d5d
cmp dword [ebp + 0xc], 0
jne 0x473d5d
cmp dword [ebp + 0x18], 0
jne 0x473d5d
cmp dword [ebp + 0x14], 0
jne 0x473d5d
xor ecx, ecx
jmp 0x473d62
mov ecx, 1
mov byte [ebp - 9], cl
cmp byte [0x4d2244], 0
jne 0x473d87
cmp byte [0x4d2245], 0
jne 0x473d87
cmp byte [ebp - 9], 0
jne 0x473d87
call fcn.004a0084
mov dword [0x4d21f0], eax
cmp dword [ebp + 0x10], 0
jne 0x473da1
cmp dword [ebp + 0xc], 0
jne 0x473da1
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.0040efc8
mov dword [ebp - 0x10], eax
cmp dword [0x4d1aa8], 0
je 0x473e51
cmp dword [0x4d1aa4], 0
je 0x473e51
cmp dword [ebp + 0x18], 0
jne 0x473e51
cmp dword [ebp + 0x14], 0
jne 0x473e51
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 0x4d1fac
lea edx, [ebp - 0x228]
push edx
call fcn.00497c14
add esp, 8
test eax, eax
je 0x473e51
lea ecx, [ebp - 0x240]
push ecx
push 1
call sub.SHELL32.DLL_Shell_NotifyIconA
lea edx, [ebp - 0x228]
mov eax, 0x4d1fac
mov ecx, pe_nt_image_headers32
call fcn.0040f420
cmp byte [0x4d21f4], 0
je 0x47413d
cmp dword [0x4d1aa4], 0
je 0x47413d
cmp edi, 1
jne 0x47413d
mov eax, dword [0x4d2240]
cmp eax, dword [ebp - 0x10]
jne 0x473e95
mov edx, 0xbb8
mov eax, 5
call fcn.0047d618
test al, al
je 0x47413d
mov eax, dword [ebp - 0x10]
shl eax, 4
mov ecx, 0x64
cdq
idiv ecx
mov dword [ebp - 0x14], eax
mov eax, dword [0x4d2240]
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 0x47405d
call fcn.00464284
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 [0x4d1aa4]
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 0x473f74
mov ecx, dword [ebp - 0x34]
mov dword [ebp - 0x244], ecx
mov eax, 1
cmp dword [0x4c5778], 0xffffffff
setne dl
and edx, 1
test dl, dl
jne 0x473f8b
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 0x473fd6
mov edx, 0xa
sub edx, dword [ebp - 0x3c]
cmp ebx, edx
jg 0x473fd6
mov ecx, 0x10
sub ecx, dword [ebp - 0x14]
cmp esi, ecx
jl 0x473fd6
push 0xffff
push esi
push ebx
cmp byte [ebp - 0x19], 0
je 0x473fcb
mov eax, dword [ebp - 0x20]
jmp 0x473fce
mov eax, dword [ebp - 0x24]
push eax
call sub.GDI32.DLL_SetPixel
jmp 0x473feb
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 0x473f95
dec esi
test esi, esi
jge 0x473f93
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 [0x4d1aa4]
call sub.USER32.DLL_DestroyIcon
mov ecx, dword [ebp - 0x40]
push dword [ebp - 0x248]
mov dword [0x4d1aa4], 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 0x474093
or dword [ebp - 0x448], 2
mov dword [ebp - 0x444], 0x47b
mov ecx, dword [0x4d1aa4]
mov dword [ebp - 0x440], ecx
mov byte [ebp - 0x554], 0
cmp byte [0x4d21f7], 0
je 0x4740dd
push 0x4d21f7
mov eax, 0x5aa
call fcn.004125b4
push eax
push str._s:__s_r_n
lea edx, [ebp - 0x554]
push edx
call fcn.0049abc0
add esp, 0x10
push dword [ebp - 0x10]
mov eax, 0x2f8
call fcn.004125b4
push eax
lea edx, [ebp - 0x554]
push edx
call fcn.00497c90
pop ecx
lea ecx, [ebp - 0x554]
add eax, ecx
push eax
call fcn.0049abc0
add esp, 0xc
lea edx, [ebp - 0x554]
lea eax, [ebp - 0x43c]
mov ecx, 0x80
call fcn.0040f420
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 [0x4d2240], edx
test edi, edi
jne 0x47419f
mov ecx, dword [ebp + 0x14]
mov dword [0x4d2220], ecx
mov ecx, dword [ebp + 0x18]
mov dword [0x4d2224], ecx
mov eax, dword [ebp + 0xc]
mov dword [0x4d2228], eax
mov eax, dword [ebp + 0x10]
mov dword [0x4d222c], eax
cmp dword [0x4d1aa8], 0
je 0x4741c3
cmp byte [0x4d2244], 0
je 0x4741c3
cmp dword [ebp + 0x18], 0
jne 0x4741c3
cmp dword [ebp + 0x14], 0
jne 0x4741c3
cmp dword [ebp + 0x10], 0
jne 0x474198
cmp dword [ebp + 0xc], 0x10000
jb 0x4746bd
jmp 0x4741c3
jge 0x4741c3
jmp 0x4746bd
mov edx, dword [ebp + 0x14]
mov dword [0x4d2230], edx
mov edx, dword [ebp + 0x18]
mov dword [0x4d2234], edx
mov ecx, dword [ebp + 0xc]
mov dword [0x4d2238], ecx
mov ecx, dword [ebp + 0x10]
mov dword [0x4d223c], ecx
push dword [ebp - 0x10]
push str._4d__
lea eax, [ebp - 0x4c]
push eax
call fcn.0049abc0
add esp, 0xc
test edi, edi
jne 0x4741f9
push 0x9e
push dword [ebp - 8]
call sub.USER32.DLL_GetDlgItem
mov ebx, eax
lea edx, [ebp - 0x4c]
mov eax, 0x99
call fcn.004728c6
jmp 0x474259
push 0x9d
push dword [ebp - 8]
call sub.USER32.DLL_GetDlgItem
mov ebx, eax
lea edx, [ebp - 0x4c]
mov eax, 0x98
call fcn.004728c6
cmp dword [0x4d1aa8], 0
jne 0x474259
cmp edi, 1
jne 0x474259
push dword [0x4d221c]
push dword [0x4d2218]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
call fcn.0040efc8
push eax
push str._4d__
lea edx, [ebp - 0x4c]
push edx
call fcn.0049abc0
add esp, 0xc
lea edx, [ebp - 0x4c]
mov eax, 0xa4
call fcn.004728c6
mov eax, dword [ebp + 0x14]
mov edx, dword [ebp + 0x18]
cmp edx, dword [ebp + 0x10]
jne 0x47426b
cmp eax, dword [ebp + 0xc]
jbe 0x474279
jmp 0x47426d
jle 0x474279
mov ecx, dword [ebp + 0xc]
mov dword [ebp + 0x14], ecx
mov ecx, dword [ebp + 0x10]
mov dword [ebp + 0x18], ecx
cmp byte [0x4d21f6], 0
je 0x4742e1
cmp byte [0x4d2244], 0
jne 0x47428f
test edi, edi
je 0x47429d
cmp byte [0x4d2245], 0
jne 0x4742bd
cmp edi, 1
jne 0x4742bd
mov eax, dword [0x4d1aa8]
test eax, eax
je 0x4742b5
cmp eax, 1
je 0x4742b5
cmp eax, 2
je 0x4742b5
cmp eax, 8
jne 0x4742bd
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.0040efc8
push eax
push 0x402
push ebx
call sub.USER32.DLL_SendMessageA
jmp 0x4746a3
test ebx, ebx
jne 0x4742fa
push 0x10
push 0
lea eax, [ebp - 0x564]
push eax
call fcn.00497ae0
add esp, 0xc
jmp 0x47431f
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 0x474331
push dword [ebp - 8]
call sub.USER32.DLL_GetDC
mov ebx, eax
jmp 0x474334
mov ebx, dword [ebp - 4]
xor eax, eax
cmp dword [0x4d1aa8], 0
mov dword [ebp - 0x50], eax
jne 0x474377
cmp edi, 1
jne 0x474377
push dword [0x4d221c]
push dword [0x4d2218]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
call fcn.0040efc8
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.0040efc8
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 0x4743a8
mov dword [ebp - 0x50], esi
push dword [0x4d2254]
push ebx
call sub.GDI32.DLL_SelectObject
mov dword [ebp - 0x54], eax
push dword [0x4d2270]
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 0x4743f7
add edx, 0xfffffffe
sub eax, edx
push eax
push ebx
call sub.GDI32.DLL_Rectangle
cmp dword [ebp - 0x50], 0
jle 0x474442
push dword [0x4d2274]
push ebx
call sub.GDI32.DLL_SelectObject
push dword [0x4d2260]
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 [0x4d2258]
push ebx
call sub.GDI32.DLL_SelectObject
push 0
push dword [ebp - 0x560]
test esi, esi
jle 0x47445f
lea eax, [esi - 1]
jmp 0x474461
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 0x4744a8
push dword [0x4d225c]
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 [0x4d224c]
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 [0x4d2268]
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 [0x4d2250]
push ebx
call sub.GDI32.DLL_SelectObject
push dword [0x4d226c]
push ebx
call sub.GDI32.DLL_SelectObject
mov eax, dword [ebp + 0x14]
mov edx, dword [ebp + 0x18]
cmp edx, dword [ebp + 0x10]
jne 0x474550
cmp eax, dword [ebp + 0xc]
jae 0x47457c
jmp 0x474552
jge 0x47457c
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 0x474606
mov eax, dword [ebp - 0x55c]
sub eax, dword [ebp - 0x564]
dec eax
cmp esi, eax
jge 0x474606
push dword [0x4d224c]
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 [0x4d2268]
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 0x474618
cmp eax, dword [ebp + 0xc]
jae 0x474682
jmp 0x47461a
jge 0x474682
push dword [0x4d2264]
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 0x4746a3
push ebx
push dword [ebp - 8]
call sub.USER32.DLL_ReleaseDC
cmp byte [ebp - 9], 0
je 0x4746bd
test edi, edi
jne 0x4746b6
mov byte [0x4d2244], 1
jmp 0x4746bd
mov byte [0x4d2245], 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x14