Function at 0x4ce3c0
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5e4628
mov eax, dword fs:[0]
push eax
sub esp, 0x28
push ebx
push esi
push edi
mov eax, dword [0x69001c]
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 + 0x258]
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 0x4ce52a
push dword [edi]
mov ecx, edi
call fcn.004d01f0
mov esi, eax
mov dword [ebp - 0x30], esi
mov dword [ebp - 4], ebx
test esi, esi
jne 0x4ce437
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x14]
call fcn.004ce000
jmp 0x4ce52a
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]
neg eax
sbb edx, edx
and edx, 0xfffffffe
add edx, 2
test ecx, ecx
je 0x4ce46c
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 0x4ce48e
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 0x4ce4a9
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 0x4ce51b
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 0x4ce80e
push str.AI_TREE_ITEMS_IMAGES
mov ecx, edi
call fcn.004d01f0
mov esi, eax
mov dword [ebp - 0x34], esi
mov dword [ebp - 4], 3
test esi, esi
jne 0x4ce71e
mov dword [ebp - 4], 0xffffffff
mov dword [ebp - 0x20], eax
mov dword [ebp - 4], 6
push 0x278d
push dword [0x696b88]
call dword [sym.imp.USER32.dll_LoadBitmapW]
mov esi, eax
mov dword [ebp - 0x20], esi
test esi, esi
je 0x4ce6f7
mov dword [ebp - 0x1c], 0
mov byte [ebp - 4], 7
mov ecx, esi
call fcn.00542330
mov edi, eax
test edi, edi
jne 0x4ce5e9
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 0x4ce5e3
mov dword [edi], 0x618940
mov byte [ebp - 4], 9
lea eax, [ebp - 0x28]
push eax
push 0
push esi
mov dword [edi], 0x618948
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 0x4ce5e5
xor edi, edi
mov byte [ebp - 4], 7
mov dword [ebp - 0x34], edi
mov byte [ebp - 4], 0xa
mov ecx, edi
call fcn.00541fd0
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 0x4ce61c
mov eax, dword [ebp - 0x24]
mov dword [eax + 8], ecx
mov dword [ebp - 0x18], 0
mov byte [ebp - 4], 7
test edi, edi
je 0x4ce633
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 0x4ce658
mov dword [edi + 8], eax
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 0x24], ecx
mov eax, dword [eax + 0x29c]
test eax, eax
jne 0x4ce69e
test ecx, ecx
je 0x4ce69e
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 + 0x29c], eax
call dword [sym.imp.COMCTL32.dll_ImageList_AddMasked]
mov ecx, dword [ebp - 0x14]
mov eax, dword [ecx + 0x29c]
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 0x4ce6fd
push eax
call ebx
mov ecx, dword [ebp - 0x1c]
xor edx, edx
test eax, eax
cmovne ecx, edx
mov dword [ebp - 0x1c], ecx
jmp 0x4ce6fd
mov ebx, dword [sym.imp.GDI32.dll_DeleteObject]
mov dword [ebp - 4], 0xffffffff
test esi, esi
je 0x4ce80e
push esi
call ebx
xor ecx, ecx
test eax, eax
cmovne esi, ecx
mov dword [ebp - 0x20], esi
jmp 0x4ce80e
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 0x4ce756
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 0x4ce778
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 0x4ce793
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 0x4ce7ff
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]
sub esp, 0xc
lea ecx, [ecx + 0x18c]
call fcn.004d0100
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret