Function at 0x41d560
Capabilities:
Get graphical window text

Disassembly:
push 0xffffffffffffffff
push 0x44b480
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1c
push ebx
push esi
mov esi, dword [esp + 0x34]
push edi
mov ebx, ecx
mov dword [esp + 0x14], esi
mov eax, dword [ebx + 0x40]
xor edi, edi
push eax
mov dword [esp + 0x34], edi
call dword [sym.imp.USER32.dll_IsWindowEnabled]
cmp eax, edi
jne 0x41d5a0
mov eax, 3
jmp 0x41d5b6
cmp dword [ebx + 0x64], edi
je 0x41d5ac
mov eax, 2
jmp 0x41d5b6
mov ecx, dword [ebx + 0x68]
xor eax, eax
cmp ecx, edi
setne al
mov ecx, dword [ebx + 0xa8]
push ebp
push eax
lea edx, [ebx + 0x70]
push ecx
lea eax, [esp + 0x24]
push edx
push eax
push esi
mov ecx, ebx
mov dword [esp + 0x30], edi
mov dword [esp + 0x34], edi
mov dword [esp + 0x38], edi
mov dword [esp + 0x3c], edi
call fcn.0041d7c0
mov edx, dword [ebx + 0x40]
lea ecx, [esp + 0x1c]
push ecx
push edx
call dword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [0x455050]
mov dword [esp + 0x10], eax
mov ecx, dword [eax - 0xc]
lea ebp, [eax - 0xc]
cmp ecx, 1
mov byte [esp + 0x34], 1
mov esi, 0x80
jg 0x41d612
cmp dword [eax - 4], esi
jge 0x41d67c
mov edi, dword [eax - 8]
cmp edi, esi
mov dword [esp + 0x14], edi
jle 0x41d61f
mov esi, edi
push esi
lea ecx, [esp + 0x14]
call fcn.00401820
test eax, eax
je 0x41d67a
lea ecx, [edi + edi + 2]
lea eax, [esi + esi + 2]
cmp eax, ecx
jb 0x41d652
mov edi, dword [esp + 0x10]
mov edx, ecx
lea esi, [ebp + 0xc]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, dword [esp + 0x14]
mov eax, dword [esp + 0x10]
mov dword [eax - 8], edi
mov eax, dword [0x455054]
cmp ebp, eax
je 0x41d676
push ebp
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x41d676
push ebp
call fcn.0042ac06
add esp, 4
mov eax, dword [esp + 0x10]
xor edi, edi
mov ecx, dword [ebx + 0x40]
push 0x80
push eax
push ecx
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov edx, dword [esp + 0x10]
pop ebp
mov eax, dword [edx - 0xc]
lea esi, [edx - 0xc]
cmp eax, 1
jle 0x41d6d7
lea ecx, [esp + 0xc]
call fcn.00401880
mov eax, dword [esi + 4]
lea ecx, [esp + 0xc]
push eax
call fcn.00401820
test eax, eax
je 0x41d6d7
mov ecx, dword [esi + 4]
mov eax, dword [esp + 0xc]
add esi, 0xc
lea edx, [ecx + ecx + 2]
mov ecx, dword [eax - 4]
push edx
push esi
lea edx, [ecx + ecx + 2]
push edx
push eax
call fcn.004017c0
add esp, 0x10
mov eax, dword [esp + 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov ecx, dword [esp + 0xc]
mov dword [ecx - 8], eax
mov edx, dword [esp + 0xc]
mov word [edx + eax*2], di
mov eax, dword [esp + 0xc]
cmp dword [eax - 8], edi
je 0x41d72c
mov eax, dword [ebx + 0x28]
mov edx, dword [ebx + 0x24]
push 0xff
push 1
push edi
push edi
push 1
lea ecx, [esp + 0x2c]
push eax
push ecx
mov ecx, dword [esp + 0x54]
add ebx, 0x20
push edx
lea eax, [esp + 0x2c]
push ebx
push eax
push ecx
call fcn.00422900
mov eax, dword [esp + 0x38]
add esp, 0x2c
mov ecx, dword [0x455054]
lea edx, [eax - 0xc]
pop edi
pop esi
cmp edx, ecx
pop ebx
je 0x41d75a
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x41d75a
mov eax, dword [esp]
add eax, 0xfffffff4
push eax
call fcn.0042ac06
add esp, 4
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
add esp, 0x28
ret 4