Function at 0x41c0e0
Capabilities:
Get graphical window text

Disassembly:
push 0xffffffffffffffff
push 0x464e9b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x13c
push ebx
push ebp
mov ebx, dword [sym.imp.USER32.dll_SendMessageA]
push esi
push edi
mov esi, ecx
xor edi, edi
mov eax, dword [esi + 0x1c]
push edi
push edi
push 0xb
push eax
call ebx
mov ecx, dword [esi + 0x3c]
push ecx
call dword [sym.imp.USER32.dll_GetTopWindow]
mov dl, byte [esp + 0x17]
mov dword [esp + 0x28], eax
mov byte [esp + 0x18], dl
mov dword [esp + 0x1c], edi
mov dword [esp + 0x20], edi
mov dword [esp + 0x24], edi
cmp eax, edi
mov dword [esp + 0x154], edi
mov dword [esp + 0x10], eax
je 0x41c16e
mov ebp, dword [sym.imp.USER32.dll_GetWindow]
mov ecx, dword [esp + 0x20]
lea eax, [esp + 0x10]
push eax
push ecx
lea ecx, [esp + 0x20]
call fcn.0041ccc0
mov edx, dword [esp + 0x10]
push 2
push edx
call ebp
cmp eax, edi
mov dword [esp + 0x10], eax
jne 0x41c14a
mov ecx, dword [esi + 0x1c]
push edi
push edi
lea eax, [esp + 0x54]
push 0x1304
push ecx
mov dword [esp + 0x4c], eax
call ebx
mov ebp, eax
mov edx, ebp
dec ebp
test edx, edx
je 0x41c2c3
mov ecx, dword [esi + 0x1c]
lea eax, [esp + 0x30]
push eax
push ebp
push 0x1305
push ecx
mov dword [esp + 0x40], 8
call ebx
mov edi, dword [esp + 0x1c]
mov eax, dword [esp + 0x20]
cmp edi, eax
je 0x41c1c8
mov ecx, dword [esp + 0x48]
cmp dword [edi], ecx
je 0x41c1c4
add edi, 4
cmp edi, eax
jne 0x41c1b9
cmp edi, eax
jne 0x41c1f4
mov edx, dword [esi + 0x1c]
push 0
push ebp
push 0x1308
push edx
call ebx
mov al, byte [esi + 0x54]
test al, al
je 0x41c2b6
mov eax, dword [esi + 0x1c]
push 0
push ebp
push 0x132a
push eax
call ebx
jmp 0x41c2b6
mov dword [esp + 0x30], 1
mov edx, dword [edi]
lea ecx, [esp + 0x4c]
push 0x100
push ecx
push edx
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov eax, dword [edi]
push eax
call fcn.004387be
test eax, eax
je 0x41c23f
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xbc]
test eax, eax
je 0x41c23f
mov eax, dword [eax + 0x1c]
push 0x100
lea ecx, [esp + 0x50]
push eax
push ecx
call fcn.00420f20
add esp, 0xc
mov al, byte [esi + 0x54]
test al, al
je 0x41c25d
mov edx, dword [edi]
push 0xffffffffffffffde
push edx
call dword [sym.imp.USER32.dll_GetClassLongA]
push eax
mov eax, dword [esi + 0x4c]
push ebp
push eax
call dword [sym.imp.COMCTL32.dll_ImageList_ReplaceIcon]
mov edx, dword [esi + 0x1c]
lea ecx, [esp + 0x30]
push ecx
push ebp
push 0x1306
push edx
call ebx
mov eax, dword [esp + 0x28]
mov ecx, dword [edi]
cmp ecx, eax
jne 0x41c286
mov ecx, dword [esi + 0x1c]
push 0
push ebp
push 0x130c
push ecx
call ebx
mov ecx, dword [esp + 0x20]
lea eax, [edi + 4]
cmp eax, ecx
je 0x41c2a3
sub edi, eax
mov edx, dword [eax]
mov dword [edi + eax], edx
add eax, 4
cmp eax, ecx
jne 0x41c293
mov ecx, dword [esp + 0x20]
push ecx
add ecx, 0xfffffffc
push ecx
lea ecx, [esp + 0x20]
call fcn.0041ce60
sub dword [esp + 0x20], 4
mov eax, ebp
dec ebp
test eax, eax
jne 0x41c190
xor edi, edi
mov ecx, dword [esi + 0x1c]
push edi
push edi
push 0x1304
push ecx
call ebx
mov edi, dword [esp + 0x1c]
mov ebp, eax
mov eax, dword [esp + 0x20]
cmp edi, eax
mov dword [esp + 0x2c], eax
je 0x41c393
mov dword [esp + 0x30], 0xb
mov eax, dword [edi]
lea edx, [esp + 0x4c]
push 0x100
push edx
push eax
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [edi]
push ecx
call fcn.004387be
test eax, eax
je 0x41c331
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xbc]
test eax, eax
je 0x41c331
mov eax, dword [eax + 0x1c]
push 0x100
lea ecx, [esp + 0x50]
push eax
push ecx
call fcn.00420f20
add esp, 0xc
mov al, byte [esi + 0x54]
test al, al
je 0x41c350
mov edx, dword [edi]
push 0xffffffffffffffde
push edx
call dword [sym.imp.USER32.dll_GetClassLongA]
push eax
mov eax, dword [esi + 0x4c]
push 0xffffffffffffffff
push eax
call dword [sym.imp.COMCTL32.dll_ImageList_ReplaceIcon]
mov eax, dword [esi + 0x1c]
lea edx, [esp + 0x30]
push edx
mov dword [esp + 0x48], ebp
mov ecx, dword [edi]
push ebp
push 0x1307
push eax
mov dword [esp + 0x58], ecx
call ebx
mov ecx, dword [esp + 0x28]
mov eax, dword [edi]
cmp eax, ecx
jne 0x41c383
mov edx, dword [esi + 0x1c]
push 0
push ebp
push 0x130c
push edx
call ebx
mov eax, dword [esp + 0x2c]
add edi, 4
inc ebp
cmp edi, eax
jne 0x41c2e6
mov eax, dword [esi + 0x1c]
push 0
push 0
push 0x1304
push eax
call ebx
cmp eax, dword [esi + 0x50]
setge al
test al, al
jne 0x41c3bc
mov ecx, dword [esi + 0x1c]
push ecx
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
jne 0x41c3ca
jmp 0x41c3e6
mov edx, dword [esi + 0x1c]
push edx
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
jne 0x41c3e6
mov eax, dword [esi + 0x3c]
push eax
call dword [sym.imp.USER32.dll_GetParent]
push eax
call fcn.004387be
mov edx, dword [eax]
push 1
mov ecx, eax
call dword [edx + 0xc8]
mov eax, dword [esi + 0x1c]
push 0x405
push 0
push 0
push eax
call dword [sym.imp.USER32.dll_RedrawWindow]
mov ecx, dword [esi + 0x1c]
push 0
push 1
push 0xb
push ecx
call ebx
mov edx, dword [esp + 0x1c]
push edx
call fcn.00436cd1
mov ecx, dword [esp + 0x150]
add esp, 4
mov dword fs:[0], ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x148
ret