Function at 0x4faad4
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
mov ecx, 5
push 0
push 0
dec ecx
jne 0x4faadc
push ecx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4fb37e
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
mov ecx, 0x3c
mov edx, 0x29f
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
call fcn.004c6220
push 0xa
push 0xa
push 0xa
push 0xa
xor ecx, ecx
mov dl, 1
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
call fcn.004c6df0
push 8
push 8
push 0x96
push 0x2d
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
push eax
push 0x3e9
mov eax, dword [0x524c54]
push eax
push 0
lea edx, [ebp - 0xc]
mov eax, dword [0x521dfc]
call fcn.0040c110
mov eax, dword [ebp - 0xc]
call fcn.00408e40
mov edx, eax
mov eax, 0x4fb38c
mov ecx, 0x54010000
call fcn.0040f9a0
mov edx, dword [ebp - 4]
mov dword [edx + 0x64], eax
push 0
push 0xd
mov eax, dword [0x521cc8]
mov eax, dword [eax]
push eax
call sub.comctl32.dll_ImageList_GetIcon
mov dword [ebp - 8], eax
push 0
push 0
push 0x20
push 0x10
push 0x10
call sub.comctl32.dll_ImageList_Create
mov edx, dword [ebp - 4]
mov dword [edx + 0x68], eax
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x68]
call fcn.004c6034
mov eax, dword [ebp - 8]
push eax
call sub.user32.dll_DestroyIcon
mov ecx, dword [0x521e0c]
mov ecx, dword [ecx]
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x68]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x64]
call fcn.004dba58
push 0xa0
push 8
push 0x96
push 0x2d
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
push eax
push 0x3ea
mov eax, dword [0x524c54]
push eax
push 0
lea edx, [ebp - 0x10]
mov eax, dword [0x521d70]
call fcn.0040c110
mov eax, dword [ebp - 0x10]
call fcn.00408e40
mov edx, eax
mov eax, 0x4fb38c
mov ecx, 0x54010000
call fcn.0040f9a0
mov edx, dword [ebp - 4]
mov dword [edx + 0x44], eax
push 0
push 0xe
mov eax, dword [0x521cc8]
mov eax, dword [eax]
push eax
call sub.comctl32.dll_ImageList_GetIcon
mov dword [ebp - 8], eax
push 0
push 0
push 0x20
push 0x10
push 0x10
call sub.comctl32.dll_ImageList_Create
mov edx, dword [ebp - 4]
mov dword [edx + 0x48], eax
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x48]
call fcn.004c6034
mov eax, dword [ebp - 8]
push eax
call sub.user32.dll_DestroyIcon
mov ecx, dword [0x521e0c]
mov ecx, dword [ecx]
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x48]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x44]
call fcn.004dba58
push 0x138
push 8
push 0x96
push 0x2d
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
push eax
push 0x3eb
mov eax, dword [0x524c54]
push eax
push 0
lea edx, [ebp - 0x14]
mov eax, dword [0x521924]
call fcn.0040c110
mov eax, dword [ebp - 0x14]
call fcn.00408e40
mov edx, eax
mov eax, 0x4fb38c
mov ecx, 0x54010000
call fcn.0040f9a0
mov edx, dword [ebp - 4]
mov dword [edx + 0x4c], eax
push 0
push 0
push 0x20
push 0x10
push 0x10
call sub.comctl32.dll_ImageList_Create
mov edx, dword [ebp - 4]
mov dword [edx + 0x50], eax
push 0
push 0x2e
mov eax, dword [0x521cc8]
mov eax, dword [eax]
push eax
call sub.comctl32.dll_ImageList_GetIcon
mov dword [ebp - 8], eax
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x50]
call fcn.004c6034
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x50]
call fcn.004c6034
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x50]
call fcn.004c6034
mov eax, dword [ebp - 8]
push eax
call sub.user32.dll_DestroyIcon
push 0
push 0x2f
mov eax, dword [0x521cc8]
mov eax, dword [eax]
push eax
call sub.comctl32.dll_ImageList_GetIcon
mov dword [ebp - 8], eax
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x50]
call fcn.004c6034
mov eax, dword [ebp - 8]
push eax
call sub.user32.dll_DestroyIcon
push 0
push 0x2e
mov eax, dword [0x521cc8]
mov eax, dword [eax]
push eax
call sub.comctl32.dll_ImageList_GetIcon
mov dword [ebp - 8], eax
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x50]
call fcn.004c6034
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x50]
call fcn.004c6034
mov eax, dword [ebp - 8]
push eax
call sub.user32.dll_DestroyIcon
mov ecx, dword [0x521e0c]
mov ecx, dword [ecx]
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x50]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x4c]
call fcn.004dba58
mov eax, dword [0x521ab4]
cmp dword [eax], 6
jl 0x4fadef
push 0x1d0
push 8
push 0x96
push 0x2d
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
push eax
push 0x3ec
mov eax, dword [0x524c54]
push eax
push 0
lea edx, [ebp - 0x18]
mov eax, dword [0x521ae8]
call fcn.0040c110
mov eax, dword [ebp - 0x18]
call fcn.00408e40
mov edx, eax
mov eax, 0x4fb38c
mov ecx, 0x5401000c
call fcn.0040f9a0
mov edx, dword [ebp - 4]
mov dword [edx + 0x54], eax
jmp 0x4fae3d
push 0x1d0
push 8
push 0x82
push 0x2d
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
push eax
push 0x3ec
mov eax, dword [0x524c54]
push eax
push 0
lea edx, [ebp - 0x1c]
mov eax, dword [0x521ae8]
call fcn.0040c110
mov eax, dword [ebp - 0x1c]
call fcn.00408e40
mov edx, eax
mov eax, 0x4fb38c
mov ecx, 0x54010000
call fcn.0040f9a0
mov edx, dword [ebp - 4]
mov dword [edx + 0x54], eax
push 0
push 0
push 0x20
push 0x10
push 0x10
call sub.comctl32.dll_ImageList_Create
mov edx, dword [ebp - 4]
mov dword [edx + 0x58], eax
push 0
push 1
mov eax, dword [0x521cc8]
mov eax, dword [eax]
push eax
call sub.comctl32.dll_ImageList_GetIcon
mov dword [ebp - 8], eax
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x58]
call fcn.004c6034
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x58]
call fcn.004c6034
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x58]
call fcn.004c6034
mov eax, dword [ebp - 8]
push eax
call sub.user32.dll_DestroyIcon
push 0
push 0x30
mov eax, dword [0x521cc8]
mov eax, dword [eax]
push eax
call sub.comctl32.dll_ImageList_GetIcon
mov dword [ebp - 8], eax
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x58]
call fcn.004c6034
mov eax, dword [ebp - 8]
push eax
call sub.user32.dll_DestroyIcon
push 0
push 1
mov eax, dword [0x521cc8]
mov eax, dword [eax]
push eax
call sub.comctl32.dll_ImageList_GetIcon
mov dword [ebp - 8], eax
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x58]
call fcn.004c6034
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x58]
call fcn.004c6034
mov eax, dword [ebp - 8]
push eax
call sub.user32.dll_DestroyIcon
mov ecx, dword [0x521e0c]
mov ecx, dword [ecx]
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x58]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x54]
call fcn.004dba58
mov eax, dword [ebp - 4]
xor edx, edx
mov dword [eax + 0x60], edx
mov eax, dword [0x521ab4]
cmp dword [eax], 6
jge 0x4fb03b
push 0x252
push 8
push 0x14
push 0x2d
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
push eax
push 0x3ed
mov eax, dword [0x524c54]
push eax
push 0
mov eax, 0x4fb38c
mov ecx, 0x54010000
xor edx, edx
call fcn.0040f9a0
mov edx, dword [ebp - 4]
mov dword [edx + 0x5c], eax
push 0
push 0
push 0x20
push 0x10
push 0x10
call sub.comctl32.dll_ImageList_Create
mov edx, dword [ebp - 4]
mov dword [edx + 0x60], eax
push 0
push 0x31
mov eax, dword [0x521cc8]
mov eax, dword [eax]
push eax
call sub.comctl32.dll_ImageList_GetIcon
mov dword [ebp - 8], eax
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x60]
call fcn.004c6034
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x60]
call fcn.004c6034
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x60]
call fcn.004c6034
mov eax, dword [ebp - 8]
push eax
call sub.user32.dll_DestroyIcon
push 0
push 0x32
mov eax, dword [0x521cc8]
mov eax, dword [eax]
push eax
call sub.comctl32.dll_ImageList_GetIcon
mov dword [ebp - 8], eax
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x60]
call fcn.004c6034
mov eax, dword [ebp - 8]
push eax
call sub.user32.dll_DestroyIcon
push 0
push 0x31
mov eax, dword [0x521cc8]
mov eax, dword [eax]
push eax
call sub.comctl32.dll_ImageList_GetIcon
mov dword [ebp - 8], eax
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x60]
call fcn.004c6034
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x60]
call fcn.004c6034
mov eax, dword [ebp - 8]
push eax
call sub.user32.dll_DestroyIcon
mov ecx, dword [0x521e0c]
mov ecx, dword [ecx]
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x60]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x5c]
call fcn.004dba58
push 0x26c
push 0xd
push 0x2a
push 0x24
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
push eax
push 0x3ee
mov eax, dword [0x524c54]
push eax
push 0
mov eax, 0x4fb38c
mov ecx, 0x54010000
xor edx, edx
call fcn.0040f9a0
mov edx, dword [ebp - 4]
mov dword [edx + 0x6c], eax
push 0
push 0
push 0x20
push 0x18
push 0x18
call sub.comctl32.dll_ImageList_Create
mov edx, dword [ebp - 4]
mov dword [edx + 0x70], eax
push 0
push 0
mov eax, dword [0x521af4]
mov eax, dword [eax]
push eax
call sub.comctl32.dll_ImageList_GetIcon
mov dword [ebp - 8], eax
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x70]
call fcn.004c6034
mov eax, dword [ebp - 8]
push eax
call sub.user32.dll_DestroyIcon
mov ecx, dword [0x521e0c]
mov ecx, dword [ecx]
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x70]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x6c]
call fcn.004dba58
lea edx, [ebp - 0x20]
mov eax, dword [0x52194c]
call fcn.0040c110
mov ecx, dword [ebp - 0x20]
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x6c]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
call fcn.004c7570
push 1
mov eax, dword [0x521e0c]
mov eax, dword [eax]
push eax
push 0x30
push 0xaf
push 0x39
push 0x94
push 0x12
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
push eax
push 0x3ef
mov eax, dword [0x524c54]
push eax
push 0
lea edx, [ebp - 0x24]
mov eax, dword [0x521b80]
call fcn.0040c110
mov eax, dword [ebp - 0x24]
call fcn.00408e40
mov edx, eax
mov eax, 0x4fb38c
mov ecx, 0x44010009
call fcn.0040f9a0
push eax
call sub.user32.dll_SendMessageW
push 0
push 1
push 0xf1
push 0x3ef
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
push eax
call sub.user32.dll_GetDlgItem
push eax
call sub.user32.dll_SendMessageW
push 1
mov eax, dword [0x521e0c]
mov eax, dword [eax]
push eax
push 0x30
push 0x147
push 0x39
push 0xe6
push 0x12
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
push eax
push 0x3f0
mov eax, dword [0x524c54]
push eax
push 0
lea edx, [ebp - 0x28]
mov eax, dword [0x521cd8]
call fcn.0040c110
mov eax, dword [ebp - 0x28]
call fcn.00408e40
mov edx, eax
mov eax, 0x4fb38c
mov ecx, 0x44010009
call fcn.0040f9a0
push eax
call sub.user32.dll_SendMessageW
push 0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x54]
push eax
call sub.user32.dll_EnableWindow
push 0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x5c]
push eax
call sub.user32.dll_EnableWindow
push 0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x4c]
push eax
call sub.user32.dll_EnableWindow
push 1
mov eax, dword [0x521e0c]
mov eax, dword [eax]
push eax
push 0x30
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
push eax
call sub.user32.dll_SendMessageW
push 1
mov eax, dword [0x521e0c]
mov eax, dword [eax]
push eax
push 0x30
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x64]
push eax
call sub.user32.dll_SendMessageW
push 1
mov eax, dword [0x521e0c]
mov eax, dword [eax]
push eax
push 0x30
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x44]
push eax
call sub.user32.dll_SendMessageW
push 1
mov eax, dword [0x521e0c]
mov eax, dword [eax]
push eax
push 0x30
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x4c]
push eax
call sub.user32.dll_SendMessageW
push 1
mov eax, dword [0x521e0c]
mov eax, dword [eax]
push eax
push 0x30
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x54]
push eax
call sub.user32.dll_SendMessageW
push 1
mov eax, dword [0x521e0c]
mov eax, dword [eax]
push eax
push 0x30
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x5c]
push eax
call sub.user32.dll_SendMessageW
push 1
mov eax, dword [0x521e0c]
mov eax, dword [eax]
push eax
push 0x30
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x6c]
push eax
call sub.user32.dll_SendMessageW
mov eax, 0x3bc
call fcn.004050b0
mov edx, dword [ebp - 4]
mov dword [edx + 0x34], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
xor ecx, ecx
mov edx, 0x3bc
call fcn.00405bdc
call fcn.004da378
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x34]
mov dword [edx], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov edx, dword [ebp - 4]
mov edx, dword [edx + 4]
mov dword [eax + 4], edx
mov eax, dword [0x521cb0]
mov eax, dword [eax]
mov edx, dword [eax + 4]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
add eax, 0x18
mov ecx, 0x7f
call fcn.00420190
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov eax, dword [eax + 4]
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x34]
mov dword [edx + 8], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov dword [eax + 0x320], 0x2710
push 0
push 0x10
push 0x10
push 1
lea eax, [ebp - 0x2c]
call fcn.004b0e48
mov eax, dword [ebp - 0x2c]
call fcn.00408e40
push eax
mov eax, dword [0x524c54]
push eax
call sub.user32.dll_LoadImageW
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x34]
mov dword [edx + 0x14], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov dword [eax + 0xc], 7
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov dword [eax + 0x10], 0x401
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
push eax
push 0
call sub.shell32.dll_Shell_NotifyIconW
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4fb385
lea eax, [ebp - 0x2c]
mov edx, 9
call fcn.004081d0
ret