Function at 0x40d6d0
Capabilities:
Get graphical window text

Disassembly:
push 0xffffffffffffffff
push 0x44cfd0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x34
mov eax, dword [esp + 0x44]
push ebx
push esi
push edi
mov ebx, ecx
mov dword [esp + 0x14], eax
lea esi, [ebx + 0x8c]
xor edi, edi
mov ecx, esi
mov dword [esp + 0x48], edi
call fcn.00422960
test al, al
je 0x40d96e
mov ecx, dword [ebx + 0x40]
push edi
push edi
push 0xf0
push ecx
call dword [sym.imp.USER32.dll_SendMessageW]
cmp dword [ebx + 0x64], edi
je 0x40d733
lea edx, [eax*4 + 2]
mov dword [esp + 0x10], edx
jmp 0x40d750
cmp dword [ebx + 0x68], edi
je 0x40d745
lea eax, [eax*4 + 1]
mov dword [esp + 0x10], eax
jmp 0x40d750
lea ecx, [eax*4]
mov dword [esp + 0x10], ecx
mov eax, dword [ebx + 0x40]
lea edx, [esp + 0x20]
push ebp
push edx
push eax
mov dword [esp + 0x2c], edi
mov dword [esp + 0x30], edi
mov dword [esp + 0x34], edi
mov dword [esp + 0x38], edi
call dword [sym.imp.USER32.dll_GetClientRect]
mov ecx, esi
call fcn.00422f60
mov ebp, dword [esp + 0x30]
mov ecx, dword [esp + 0x28]
mov edx, ebp
mov dword [esp + 0x38], ecx
sub edx, ecx
sub edx, eax
mov eax, edx
cdq
sub eax, edx
mov edx, dword [esp + 0x24]
sar eax, 1
add ecx, eax
mov dword [esp + 0x34], edx
mov edx, dword [esp + 0x2c]
sub ebp, eax
mov eax, dword [esp + 0x14]
mov dword [esp + 0x38], ecx
mov ecx, dword [ebx + 0xa8]
mov dword [esp + 0x3c], edx
push eax
mov eax, dword [esp + 0x58]
push ecx
lea edx, [esp + 0x3c]
push esi
push edx
push eax
mov ecx, ebx
mov dword [esp + 0x54], ebp
call fcn.0040d5c0
mov ecx, esi
call fcn.00422f50
cdq
idiv dword [ebx + 0xa8]
push edi
lea ecx, [esp + 0x28]
neg eax
push eax
push ecx
call dword [sym.imp.USER32.dll_InflateRect]
mov eax, dword [0x457050]
mov dword [esp + 0x10], eax
mov ecx, dword [eax - 0xc]
lea ebp, [eax - 0xc]
cmp ecx, 1
mov byte [esp + 0x4c], 1
mov esi, 0x64
jg 0x40d80a
cmp dword [eax - 4], esi
jge 0x40d878
mov eax, dword [eax - 8]
cmp eax, esi
mov dword [esp + 0x14], eax
jle 0x40d817
mov esi, eax
push esi
lea ecx, [esp + 0x14]
call fcn.00403d10
test eax, eax
je 0x40d878
mov edx, dword [esp + 0x14]
lea eax, [esi + esi + 2]
lea ecx, [edx + edx + 2]
cmp eax, ecx
jb 0x40d84c
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]
xor edi, edi
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov dword [eax - 8], ecx
mov eax, dword [0x457054]
cmp ebp, eax
je 0x40d874
push ebp
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x40d874
push ebp
call fcn.0042d34c
add esp, 4
mov eax, dword [esp + 0x10]
mov edx, dword [ebx + 0x40]
push 0x64
push eax
push edx
call dword [sym.imp.USER32.dll_GetWindowTextW]
lea ecx, [esp + 0x10]
call fcn.0040e430
mov eax, dword [esp + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov ecx, dword [esp + 0x10]
push 1
push edi
push edi
mov dword [ecx - 8], eax
mov edx, dword [esp + 0x1c]
push edi
lea esi, [ebx + 0x20]
mov word [edx + eax*2], di
mov ecx, dword [ebx + 0x24]
lea eax, [esp + 0x2c]
lea edx, [esp + 0x20]
push eax
mov eax, dword [esp + 0x68]
push ecx
push esi
push edx
push eax
mov dword [esp + 0x40], edi
mov dword [esp + 0x44], edi
call fcn.00427bd0
mov ebp, dword [esp + 0x54]
mov ecx, dword [esp + 0x4c]
mov edx, dword [esp + 0x44]
mov eax, ebp
sub eax, ecx
push 0xff
sub eax, edx
push 1
cdq
sub eax, edx
mov edx, dword [esp + 0x64]
sar eax, 1
add ecx, edx
sub ebp, eax
mov eax, dword [esp + 0x50]
mov dword [esp + 0x54], ecx
mov ecx, dword [esp + 0x48]
add eax, 3
push edi
push edi
mov dword [esp + 0x58], eax
add ecx, eax
mov eax, dword [ebx + 0x24]
push edi
lea edx, [esp + 0x5c]
push 0x424242
mov dword [esp + 0x68], ecx
push edx
mov edx, dword [esp + 0x94]
push eax
lea ecx, [esp + 0x54]
push esi
push ecx
push edx
mov dword [esp + 0x80], ebp
call fcn.00427970
mov eax, dword [esp + 0x60]
mov edx, dword [0x457054]
add esp, 0x50
lea ecx, [eax - 0xc]
cmp ecx, edx
pop ebp
je 0x40d96e
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x40d96e
mov edx, dword [esp + 0xc]
add edx, 0xfffffff4
push edx
call fcn.0042d34c
add esp, 4
mov ecx, dword [esp + 0x40]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x40
ret 4