Function at 0x444c70
Capabilities:
Get graphical window text

Disassembly:
push 0xffffffffffffffff
push 0x576316
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x268
push ebx
push ebp
mov ebp, dword [sym.imp.USER32.dll_SendMessageA]
push esi
mov esi, ecx
xor ebx, ebx
push edi
push ebx
mov eax, dword [esi + 0x20]
push ebx
push 0xb
push eax
call ebp
mov ecx, dword [esi + 0x40]
push ecx
call dword [sym.imp.USER32.dll_GetTopWindow]
mov dword [esp + 0x2c], eax
mov dword [esp + 0x14], 0x58b2a8
mov dword [esp + 0x18], ebx
cmp eax, ebx
mov dword [esp + 0x280], ebx
mov dword [esp + 0x24], 0xa
mov dword [esp + 0x20], ebx
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x28], eax
je 0x444d06
mov edi, dword [sym.imp.USER32.dll_GetWindow]
mov eax, dword [esp + 0x1c]
lea edx, [esp + 0x28]
push edx
push eax
lea ecx, [esp + 0x1c]
call fcn.00445a00
mov ecx, dword [esp + 0x28]
push 2
push ecx
call edi
cmp eax, ebx
mov dword [esp + 0x28], eax
jne 0x444ce2
mov eax, dword [esi + 0x20]
push ebx
push ebx
lea edx, [esp + 0x54]
push 0x1304
push eax
mov dword [esp + 0x4c], edx
call ebp
mov edi, eax
mov ecx, edi
dec edi
test ecx, ecx
je 0x444e31
mov eax, dword [esi + 0x20]
lea edx, [esp + 0x30]
push edx
push edi
push 0x1305
push eax
mov dword [esp + 0x40], 8
call ebp
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x48]
xor ebx, ebx
mov dword [esp + 0x10], ecx
test eax, eax
jle 0x444d6a
mov edx, dword [esp + 0x18]
cmp dword [edx], ecx
je 0x444d65
inc ebx
add edx, 4
cmp ebx, eax
jl 0x444d57
jmp 0x444d6a
cmp ebx, 0xffffffff
jne 0x444d96
mov ecx, dword [esi + 0x20]
push 0
push edi
push 0x1308
push ecx
call ebp
mov al, byte [esi + 0x58]
test al, al
je 0x444e26
mov edx, dword [esi + 0x20]
push 0
push edi
push 0x132a
push edx
call ebp
jmp 0x444e26
lea eax, [esp + 0x4c]
push 0x22b
push eax
push ecx
mov dword [esp + 0x3c], 1
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov al, byte [esi + 0x58]
test al, al
je 0x444dd0
mov ecx, dword [esp + 0x10]
push 1
push ecx
mov ecx, esi
call fcn.00444fa0
mov edx, dword [esi + 0x50]
push eax
push edi
push edx
call dword [sym.imp.COMCTL32.dll_ImageList_ReplaceIcon]
mov ecx, dword [esi + 0x20]
lea eax, [esp + 0x30]
push eax
push edi
push 0x1306
push ecx
call ebp
mov edx, dword [esp + 0x2c]
mov eax, dword [esp + 0x10]
cmp eax, edx
jne 0x444dfb
mov eax, dword [esi + 0x20]
push 0
push edi
push 0x130c
push eax
call ebp
mov eax, dword [esp + 0x1c]
sub eax, ebx
dec eax
je 0x444e22
lea ecx, [eax*4]
mov eax, dword [esp + 0x18]
push ecx
lea edx, [eax + ebx*4 + 4]
lea eax, [eax + ebx*4]
push edx
push eax
call dword [sym.imp.MSVCRT.dll_memmove]
add esp, 0xc
dec dword [esp + 0x1c]
mov ecx, edi
dec edi
test ecx, ecx
jne 0x444d28
mov eax, dword [esi + 0x20]
mov edx, dword [esp + 0x1c]
push 0
push 0
push 0x1304
push eax
mov dword [esp + 0x20], edx
call ebp
mov ebx, eax
mov eax, dword [esp + 0x10]
xor edi, edi
test eax, eax
jle 0x444ee5
mov edx, dword [esp + 0x18]
mov dword [esp + 0x30], 0xb
lea ecx, [esp + 0x4c]
push 0x22b
mov eax, dword [edx + edi*4]
push ecx
push eax
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov al, byte [esi + 0x58]
test al, al
je 0x444e9c
mov ecx, dword [esp + 0x18]
push 0xfffffffffffffff2
mov edx, dword [ecx + edi*4]
push edx
call dword [sym.imp.USER32.dll_GetClassLongA]
push eax
mov eax, dword [esi + 0x50]
push 0xffffffffffffffff
push eax
call dword [sym.imp.COMCTL32.dll_ImageList_ReplaceIcon]
mov ecx, dword [esp + 0x18]
lea eax, [esp + 0x30]
mov dword [esp + 0x44], ebx
push eax
mov edx, dword [ecx + edi*4]
mov ecx, dword [esi + 0x20]
push ebx
push 0x1307
push ecx
mov dword [esp + 0x58], edx
call ebp
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x2c]
cmp dword [eax + edi*4], edx
jne 0x444ed7
mov ecx, dword [esi + 0x20]
push 0
push ebx
push 0x130c
push ecx
call ebp
mov eax, dword [esp + 0x10]
inc ebx
inc edi
cmp edi, eax
jl 0x444e58
mov edx, dword [esi + 0x20]
push 0
push 0
push 0x1304
push edx
call ebp
cmp eax, dword [esi + 0x54]
setge al
test al, al
jne 0x444f0e
mov eax, dword [esi + 0x20]
push eax
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
jne 0x444f1c
jmp 0x444f38
mov ecx, dword [esi + 0x20]
push ecx
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
jne 0x444f38
mov edx, dword [esi + 0x40]
push edx
call dword [sym.imp.USER32.dll_GetParent]
push eax
call sub.MFC42.DLL_CWnd::FromHandlePermanent
mov edx, dword [eax]
push 1
mov ecx, eax
call dword [edx + 0xd0]
mov eax, dword [esi + 0x20]
push 0x405
push 0
push 0
push eax
call dword [sym.imp.USER32.dll_RedrawWindow]
mov ecx, dword [esi + 0x20]
push 0
push 1
push 0xb
push ecx
call ebp
mov dword [esp + 0x14], 0x58b2a8
mov eax, dword [esp + 0x18]
pop edi
pop esi
pop ebp
test eax, eax
mov dword [esp + 0x274], 1
pop ebx
je 0x444f7f
push eax
call sub.MFC42.DLL_operatordelete
add esp, 4
mov ecx, dword [esp + 0x268]
mov dword fs:[0], ecx
add esp, 0x274
ret