Function at 0x462b20
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x54de2a
mov eax, dword fs:[0]
push eax
sub esp, 0x28
push ebx
push esi
push edi
mov eax, dword [0x5cf024]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, ecx
mov dword [ebp - 0x14], eax
lea edi, [eax + 0x208]
xor ebx, ebx
xor ecx, ecx
mov dword [ebp - 0x10], ebx
test edi, edi
mov dword [ebp - 0x2c], edi
cmove eax, ecx
mov dword [ebp - 0x20], eax
cmp dword [edi + 8], ecx
jne 0x462c8c
push dword [edi]
mov ecx, edi
call fcn.00465280
mov esi, eax
mov dword [ebp - 0x30], esi
mov dword [ebp - 4], ebx
test esi, esi
jne 0x462b97
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x14]
call fcn.00462870
jmp 0x462c8c
mov ebx, dword [ebp - 0x20]
mov dword [ebp - 0x24], 0xff000000
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_IsWindowEnabled]
mov ecx, dword [ebx + 0x148]
mov edx, eax
neg edx
sbb edx, edx
and edx, 0xfffffffe
add edx, 2
test ecx, ecx
je 0x462bce
mov eax, dword [ecx]
lea ebx, [ebp - 0x24]
push ebx
push edx
push 0
call dword [eax]
mov ebx, dword [ebp - 0x20]
mov dword [ebp - 0x18], 0
mov byte [ebp - 4], 1
lea eax, [ebp - 0x18]
push dword [ebp - 0x24]
push eax
push dword [esi + 4]
call dword [sym.imp.gdiplus.dll_GdipCreateHBITMAPFromBitmap]
test eax, eax
je 0x462bf0
mov dword [esi + 8], eax
lea eax, [ebp - 0x28]
mov dword [ebp - 0x28], 0
push eax
push dword [esi + 4]
call dword [sym.imp.gdiplus.dll_GdipGetImageHeight]
test eax, eax
je 0x462c0b
mov dword [esi + 8], eax
mov eax, dword [ebp - 0x28]
push 1
push 1
push 0x21
push eax
push eax
call dword [sym.imp.COMCTL32.dll_ImageList_Create]
push 0
push dword [ebp - 0x18]
mov dword [edi + 8], eax
push eax
call dword [sym.imp.COMCTL32.dll_ImageList_Add]
mov eax, dword [edi + 8]
mov byte [ebp - 4], 2
push eax
push 2
push 0x1109
push dword [ebx + 0x130]
call dword [sym.imp.USER32.dll_SendMessageW]
mov ebx, 1
mov dword [ebp - 0x10], 1
mov dword [ebp - 0x10], ebx
and ebx, 0xfffffffe
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x10], ebx
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x462c7d
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
mov ecx, dword [ebp - 0x18]
xor edx, edx
test eax, eax
cmovne ecx, edx
mov dword [ebp - 0x18], ecx
mov dword [ebp - 4], 0xffffffff
mov ecx, esi
mov eax, dword [esi]
push 1
call dword [eax]
cmp dword [edi + 0xc], 0
jne 0x462f70
push str.AI_TREE_ITEMS_IMAGES
mov ecx, edi
call fcn.00465280
mov esi, eax
mov dword [ebp - 0x34], esi
mov dword [ebp - 4], 3
test esi, esi
jne 0x462e80
mov dword [ebp - 4], 0xffffffff
mov dword [ebp - 0x20], eax
mov dword [ebp - 4], 6
push 0x278d
push dword [0x5d4350]
call dword [sym.imp.USER32.dll_LoadBitmapW]
mov esi, eax
mov dword [ebp - 0x20], esi
test esi, esi
je 0x462e59
mov dword [ebp - 0x1c], 0
mov byte [ebp - 4], 7
mov ecx, esi
call fcn.004d26e0
mov edi, eax
test edi, edi
jne 0x462d4b
push 0x10
call dword [sym.imp.gdiplus.dll_GdipAlloc]
mov edi, eax
mov dword [ebp - 0x34], edi
mov byte [ebp - 4], 8
test edi, edi
je 0x462d45
mov dword [edi], 0x57ebc8
mov byte [ebp - 4], 9
lea eax, [ebp - 0x28]
push eax
push 0
push esi
mov dword [edi], 0x57ebd0
mov dword [ebp - 0x28], 0
call dword [sym.imp.gdiplus.dll_GdipCreateBitmapFromHBITMAP]
mov dword [edi + 8], eax
mov eax, dword [ebp - 0x28]
mov dword [edi + 4], eax
mov byte [ebp - 4], 8
jmp 0x462d47
xor edi, edi
mov byte [ebp - 4], 7
mov dword [ebp - 0x34], edi
mov byte [ebp - 4], 0xa
mov ecx, edi
call fcn.004d2490
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x18], eax
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x1c]
push 0xffffffffffffffff
push ecx
push dword [eax + 4]
call dword [sym.imp.gdiplus.dll_GdipCreateHBITMAPFromBitmap]
mov ecx, eax
test ecx, ecx
je 0x462d7e
mov eax, dword [ebp - 0x24]
mov dword [eax + 8], ecx
mov dword [ebp - 0x18], 0
mov byte [ebp - 4], 7
test edi, edi
je 0x462d95
mov eax, dword [edi]
mov ecx, edi
push 1
call dword [eax]
mov edi, dword [ebp - 0x24]
mov dword [ebp - 0x34], edi
mov byte [ebp - 4], 0xc
lea eax, [ebp - 0x28]
push eax
push dword [edi + 4]
mov dword [ebp - 0x28], 0
call dword [sym.imp.gdiplus.dll_GdipGetImageHeight]
test eax, eax
je 0x462dba
mov dword [edi + 8], eax
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 0x24], ecx
mov eax, dword [eax + 0x24c]
test eax, eax
jne 0x462e00
test ecx, ecx
je 0x462e00
mov eax, dword [ebp - 0x28]
push 1
push 3
push 0x21
push eax
push eax
call dword [sym.imp.COMCTL32.dll_ImageList_Create]
mov ecx, dword [ebp - 0x14]
push 0
push dword [ebp - 0x24]
push eax
mov dword [ecx + 0x24c], eax
call dword [sym.imp.COMCTL32.dll_ImageList_AddMasked]
mov ecx, dword [ebp - 0x14]
mov eax, dword [ecx + 0x24c]
mov byte [ebp - 4], 0xd
push eax
mov eax, dword [ebp - 0x14]
push 0
push 0x1109
push dword [eax + 0x130]
call dword [sym.imp.USER32.dll_SendMessageW]
or ebx, 4
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x10], ebx
and ebx, 0xfffffffb
mov dword [ebp - 0x10], ebx
mov byte [ebp - 4], 7
mov ecx, edi
mov eax, dword [edi]
push 1
call dword [eax]
mov byte [ebp - 4], 6
mov eax, dword [ebp - 0x1c]
mov ebx, dword [sym.imp.GDI32.dll_DeleteObject]
test eax, eax
je 0x462e5f
push eax
call ebx
mov ecx, dword [ebp - 0x1c]
xor edx, edx
test eax, eax
cmovne ecx, edx
mov dword [ebp - 0x1c], ecx
jmp 0x462e5f
mov ebx, dword [sym.imp.GDI32.dll_DeleteObject]
mov dword [ebp - 4], 0xffffffff
test esi, esi
je 0x462f70
push esi
call ebx
xor ecx, ecx
test eax, eax
cmovne esi, ecx
mov dword [ebp - 0x20], esi
jmp 0x462f70
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x28], 0xff000000
push dword [eax + 4]
call dword [sym.imp.USER32.dll_IsWindowEnabled]
neg eax
sbb edx, edx
mov eax, dword [ebp - 0x20]
and edx, 0xfffffffe
add edx, 2
mov ecx, dword [eax + 0x148]
test ecx, ecx
je 0x462eb8
mov eax, dword [ecx]
lea edi, [ebp - 0x28]
push edi
push edx
push 0
call dword [eax]
mov edi, dword [ebp - 0x2c]
mov dword [ebp - 0x18], 0
mov byte [ebp - 4], 4
lea eax, [ebp - 0x18]
push dword [ebp - 0x28]
push eax
push dword [esi + 4]
call dword [sym.imp.gdiplus.dll_GdipCreateHBITMAPFromBitmap]
test eax, eax
je 0x462eda
mov dword [esi + 8], eax
lea eax, [ebp - 0x24]
mov dword [ebp - 0x24], 0
push eax
push dword [esi + 4]
call dword [sym.imp.gdiplus.dll_GdipGetImageHeight]
test eax, eax
je 0x462ef5
mov dword [esi + 8], eax
mov eax, dword [ebp - 0x24]
push 1
push 1
push 0x21
push eax
push eax
call dword [sym.imp.COMCTL32.dll_ImageList_Create]
push 0
push dword [ebp - 0x18]
mov dword [edi + 0xc], eax
push eax
call dword [sym.imp.COMCTL32.dll_ImageList_Add]
mov eax, dword [edi + 0xc]
mov byte [ebp - 4], 5
push eax
mov eax, dword [ebp - 0x20]
push 0
push 0x1109
push dword [eax + 0x130]
call dword [sym.imp.USER32.dll_SendMessageW]
or ebx, 2
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x10], ebx
and ebx, 0xfffffffd
mov dword [ebp - 0x10], ebx
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x462f61
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
mov ecx, dword [ebp - 0x18]
xor edx, edx
test eax, eax
cmovne ecx, edx
mov dword [ebp - 0x18], ecx
mov dword [ebp - 4], 0xffffffff
mov ecx, esi
mov eax, dword [esi]
push 1
call dword [eax]
mov ecx, dword [ebp - 0x14]
lea ecx, [ecx + 0x18c]
call fcn.004651a0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret