Function at 0x41d8d0
Capabilities:
Get graphical window text

Disassembly:
push 0xffffffffffffffff
push 0x44b4c0
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.0040f4a0
test al, al
je 0x41db6d
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 0x41d933
lea edx, [eax*4 + 2]
mov dword [esp + 0x10], edx
jmp 0x41d950
cmp dword [ebx + 0x68], edi
je 0x41d945
lea eax, [eax*4 + 1]
mov dword [esp + 0x10], eax
jmp 0x41d950
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.0040faa0
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.0041d7c0
mov ecx, esi
call fcn.0040fa90
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 [0x455050]
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 0x41da0a
cmp dword [eax - 4], esi
jge 0x41da78
mov eax, dword [eax - 8]
cmp eax, esi
mov dword [esp + 0x14], eax
jle 0x41da17
mov esi, eax
push esi
lea ecx, [esp + 0x14]
call fcn.00401820
test eax, eax
je 0x41da78
mov edx, dword [esp + 0x14]
lea eax, [esi + esi + 2]
lea ecx, [edx + edx + 2]
cmp eax, ecx
jb 0x41da4c
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 [0x455054]
cmp ebp, eax
je 0x41da74
push ebp
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x41da74
push ebp
call fcn.0042ac06
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.0040ab90
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.00422b60
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
mov edx, dword [ebx + 0x28]
sub ebp, eax
mov eax, dword [esp + 0x50]
mov dword [esp + 0x54], ecx
mov ecx, dword [esp + 0x48]
add eax, 3
push edi
add ecx, eax
mov dword [esp + 0x54], eax
push edi
mov dword [esp + 0x60], ecx
mov ecx, dword [ebx + 0x24]
push edi
lea eax, [esp + 0x5c]
push edx
push eax
mov eax, dword [esp + 0x94]
push ecx
lea edx, [esp + 0x54]
push esi
push edx
push eax
mov dword [esp + 0x80], ebp
call fcn.00422900
mov eax, dword [esp + 0x60]
mov edx, dword [0x455054]
add esp, 0x50
lea ecx, [eax - 0xc]
cmp ecx, edx
pop ebp
je 0x41db6d
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x41db6d
mov edx, dword [esp + 0xc]
add edx, 0xfffffff4
push edx
call fcn.0042ac06
add esp, 4
mov ecx, dword [esp + 0x40]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x40
ret 4