Function at 0x4635a0
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x552e48
mov eax, dword fs:[0]
push eax
sub esp, 0x28
push ebx
push esi
push edi
mov eax, dword [0x5d8024]
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 0x46370a
push dword [edi]
mov ecx, edi
call fcn.00465d20
mov esi, eax
mov dword [ebp - 0x30], esi
mov dword [ebp - 4], ebx
test esi, esi
jne 0x463617
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x14]
call fcn.004632f0
jmp 0x46370a
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 0x46364c
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 0x46366e
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 0x463689
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 0x4636fb
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 0x4639ee
push str.AI_TREE_ITEMS_IMAGES
mov ecx, edi
call fcn.00465d20
mov esi, eax
mov dword [ebp - 0x34], esi
mov dword [ebp - 4], 3
test esi, esi
jne 0x4638fe
mov dword [ebp - 4], 0xffffffff
mov dword [ebp - 0x20], eax
mov dword [ebp - 4], 6
push 0x278d
push dword [0x5dd430]
call dword [sym.imp.USER32.dll_LoadBitmapW]
mov esi, eax
mov dword [ebp - 0x20], esi
test esi, esi
je 0x4638d7
mov dword [ebp - 0x1c], 0
mov byte [ebp - 4], 7
mov ecx, esi
call fcn.004d61b0
mov edi, eax
test edi, edi
jne 0x4637c9
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 0x4637c3
mov dword [edi], 0x58751c
mov byte [ebp - 4], 9
lea eax, [ebp - 0x28]
push eax
push 0
push esi
mov dword [edi], 0x587524
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 0x4637c5
xor edi, edi
mov byte [ebp - 4], 7
mov dword [ebp - 0x34], edi
mov byte [ebp - 4], 0xa
mov ecx, edi
call fcn.004d5f60
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 0x4637fc
mov eax, dword [ebp - 0x24]
mov dword [eax + 8], ecx
mov dword [ebp - 0x18], 0
mov byte [ebp - 4], 7
test edi, edi
je 0x463813
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 0x463838
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 0x46387e
test ecx, ecx
je 0x46387e
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 0x4638dd
push eax
call ebx
mov ecx, dword [ebp - 0x1c]
xor edx, edx
test eax, eax
cmovne ecx, edx
mov dword [ebp - 0x1c], ecx
jmp 0x4638dd
mov ebx, dword [sym.imp.GDI32.dll_DeleteObject]
mov dword [ebp - 4], 0xffffffff
test esi, esi
je 0x4639ee
push esi
call ebx
xor ecx, ecx
test eax, eax
cmovne esi, ecx
mov dword [ebp - 0x20], esi
jmp 0x4639ee
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 0x463936
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 0x463958
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 0x463973
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 0x4639df
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.00465c40
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret