Function at 0x466670
Capabilities:
Get graphical window text

Disassembly:
sub esp, 0x64
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov eax, dword [esi + 0x44]
lea edi, [esi + 0x44]
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x46691a
mov eax, dword [esi + 0x3c]
mov ebp, dword [sym.imp.USER32.dll_SendMessageW]
add eax, 4
push 0
push 0
push 0x229
mov ecx, dword [eax + 4]
push ecx
call ebp
push 0
push eax
mov dword [esp + 0x24], eax
call dword [sym.imp.USER32.dll_GetWindow]
mov ebx, eax
mov dword [esi + 0x2c], 0
test ebx, ebx
mov dword [esp + 0x14], ebx
je 0x46691a
jmp 0x4666d1
mov ebx, dword [esp + 0x14]
mov eax, dword [esi + 0x2c]
inc eax
mov dword [esi + 0x2c], eax
mov ecx, dword [esi + 0xac]
xor eax, eax
test ecx, ecx
jle 0x46670d
mov edx, dword [esi + 0xa4]
cmp dword [edx], ebx
je 0x4666f8
inc eax
add edx, 4
cmp eax, ecx
jl 0x4666ea
jmp 0x46670d
cmp eax, 0xffffffff
je 0x46670d
mov edx, dword [esi + 0xa8]
cmp dword [edx + eax*4], 0
jne 0x4668a0
mov eax, dword [edi]
mov dword [esp + 0x10], ebx
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x466905
mov edx, dword [edi]
mov ecx, dword [esp + 0x10]
push 0
push 0
push 0x1304
push edx
mov dword [esp + 0x4c], 8
mov dword [esp + 0x64], ecx
call ebp
mov ebx, eax
mov eax, dword [esp + 0x10]
push 0xffffffffffffffde
push eax
call dword [sym.imp.USER32.dll_GetClassLongW]
mov ecx, dword [edi]
push 0
push 0
push 0x1304
push ecx
mov dword [esp + 0x28], eax
call ebp
test eax, eax
jne 0x466792
mov eax, dword [esi + 0x84]
mov dword [esi + 0x84], 0
push eax
call dword [sym.imp.COMCTL32.dll_ImageList_Destroy]
push 0
push 0
push 0x21
push 0x10
push 0x10
call dword [sym.imp.COMCTL32.dll_ImageList_Create]
mov dword [esi + 0x84], eax
lea ecx, [esp + 0x24]
call fcn.00467610
mov edx, dword [esp + 0x18]
mov eax, dword [esi + 0x84]
push edx
push 0xffffffffffffffff
push eax
mov dword [esp + 0x30], 1
call dword [sym.imp.COMCTL32.dll_ImageList_ReplaceIcon]
push 0x200
push 0x201
lea ecx, [esp + 0x3c]
mov dword [esp + 0x2c], eax
call fcn.0040f900
mov ecx, dword [esp + 0x14]
push eax
push ecx
call dword [sym.imp.USER32.dll_GetWindowTextW]
push 0xffffffffffffffff
lea ecx, [esp + 0x38]
call fcn.00401970
mov edx, dword [esp + 0x10]
lea eax, [esp + 0x24]
lea ecx, [esp + 0x10]
push eax
push ecx
lea ecx, [esi + 0x94]
mov dword [esp + 0x30], edx
call fcn.00466f40
mov ecx, eax
call fcn.00467070
mov edx, dword [esp + 0x3c]
mov eax, dword [esi + 0x84]
or edx, 2
lea ecx, [esp + 0x20]
mov dword [esp + 0x3c], edx
mov edx, dword [esp + 0x24]
push eax
push ecx
mov ecx, edi
mov dword [esp + 0x58], edx
call fcn.0043d400
lea edx, [esp + 0x3c]
mov ecx, edi
push edx
push ebx
call fcn.0043d460
mov eax, dword [edi]
push 0x3c
push 0
push 0x1331
push eax
call ebp
push 0x8c
lea ecx, [esi + 0x40]
call fcn.004672c0
mov ecx, dword [esp + 0x10]
push 1
push ecx
lea ecx, [esi + 0xa4]
call fcn.004a4d20
mov edx, dword [esp + 0x10]
push 0
push ebx
push edx
mov ecx, esi
call fcn.00465560
mov eax, dword [edi]
push 0
push 0
push 0x1304
push eax
call ebp
cmp eax, dword [esi + 0x28]
jne 0x466895
mov ecx, dword [esi + 0x3c]
push 0
call fcn.00462000
lea ecx, [esp + 0x24]
call fcn.004662e0
jmp 0x466901
cmp ebx, dword [esp + 0x1c]
jne 0x466905
mov ecx, dword [edi]
push 0
push 0
push 0x130b
push ecx
call ebp
mov ebx, eax
xor eax, eax
cmp ebx, eax
jl 0x4668dc
lea edx, [esp + 0x58]
mov dword [esp + 0x70], eax
mov eax, dword [edi]
push edx
push ebx
push 0x133c
push eax
mov dword [esp + 0x68], 8
call ebp
mov eax, dword [esp + 0x70]
cmp eax, dword [esp + 0x14]
je 0x466901
test eax, eax
je 0x4668f1
push 0
push ebx
push eax
mov ecx, esi
call fcn.00465560
mov ecx, dword [esp + 0x14]
push 0
push 0xffffffffffffffff
push ecx
mov ecx, esi
call fcn.00465560
mov ebx, dword [esp + 0x14]
push 2
push ebx
call dword [sym.imp.USER32.dll_GetWindow]
test eax, eax
mov dword [esp + 0x14], eax
jne 0x4666cd
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x64
ret