Function at 0x41a2f0
Capabilities:
Get graphical window text

Disassembly:
push 0xffffffffffffffff
push 0x46b96d
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4871a0]
xor eax, esp
push eax
lea eax, [esp + 0x40]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x50]
lea esi, [ebp + 0x8c]
xor edi, edi
mov eax, esi
mov dword [esp + 0x48], edi
call fcn.004291b0
test al, al
je 0x41a4f4
mov eax, dword [ebp + 0x40]
push edi
push edi
push 0xf0
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
cmp dword [ebp + 0x64], edi
je 0x41a359
lea ecx, [eax*4 + 2]
mov dword [esp + 0x50], ecx
jmp 0x41a373
cmp dword [ebp + 0x68], edi
je 0x41a36b
lea edx, [eax*4 + 1]
mov dword [esp + 0x50], edx
jmp 0x41a373
add eax, eax
add eax, eax
mov dword [esp + 0x50], eax
mov edx, dword [ebp + 0x40]
lea ecx, [esp + 0x20]
push ecx
push edx
mov dword [esp + 0x28], edi
mov dword [esp + 0x2c], edi
mov dword [esp + 0x30], edi
mov dword [esp + 0x34], edi
call dword [sym.imp.USER32.dll_GetClientRect]
mov eax, esi
call fcn.00429600
mov ebx, dword [esp + 0x2c]
mov ecx, dword [esp + 0x24]
mov edx, ebx
sub edx, ecx
sub edx, eax
mov eax, edx
cdq
sub eax, edx
mov edx, dword [esp + 0x20]
sar eax, 1
mov dword [esp + 0x34], ecx
add ecx, eax
sub ebx, eax
mov eax, dword [esp + 0x50]
mov dword [esp + 0x30], edx
mov edx, dword [esp + 0x28]
push eax
mov dword [esp + 0x38], ecx
lea ecx, [esp + 0x34]
mov dword [esp + 0x3c], edx
mov edx, dword [esp + 0x58]
push ecx
push edx
mov dword [esp + 0x48], ebx
mov ebx, dword [ebp + 0xa8]
push ebp
call fcn.0041a210
mov eax, esi
call fcn.004295f0
cdq
idiv dword [ebp + 0xa8]
push edi
neg eax
push eax
lea eax, [esp + 0x28]
push eax
call dword [sym.imp.USER32.dll_InflateRect]
mov ecx, dword [0x48b9d0]
mov dword [esp + 0x50], ecx
lea edx, [esp + 0x50]
push edx
mov eax, 0x64
mov byte [esp + 0x4c], 1
call fcn.0040d900
push 0x64
push eax
mov eax, dword [ebp + 0x40]
push eax
call dword [sym.imp.USER32.dll_GetWindowTextW]
lea edi, [esp + 0x50]
call fcn.0040df40
mov esi, dword [esp + 0x50]
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
xor ecx, ecx
mov dword [esi - 8], eax
mov word [esi + eax*2], cx
xor eax, eax
lea edx, [esp + 0x18]
push edx
mov edx, dword [esp + 0x58]
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
mov eax, dword [ebp + 0x24]
push eax
lea edi, [ebp + 0x20]
push edi
lea ecx, [esp + 0x5c]
push ecx
call fcn.0042cc20
mov ecx, dword [esp + 0x3c]
mov ebx, dword [esp + 0x34]
mov eax, ecx
sub eax, ebx
sub eax, dword [esp + 0x2c]
add ebx, dword [esp + 0x44]
cdq
sub eax, edx
mov edx, dword [esp + 0x28]
sar eax, 1
sub ecx, eax
mov eax, dword [esp + 0x30]
push 1
push 0
add eax, 3
add edx, eax
push 0
mov dword [esp + 0x3c], eax
mov eax, dword [ebp + 0x24]
push 0
push eax
mov dword [esp + 0x50], ecx
lea ecx, [esp + 0x74]
push edi
mov dword [esp + 0x50], edx
mov edx, dword [esp + 0x7c]
push ecx
mov eax, 0x424242
lea ecx, [esp + 0x4c]
mov dword [esp + 0x50], ebx
call fcn.0042ca90
lea edx, [esi - 0xc]
add esp, 0x2c
cmp edx, 0x48b9c0
je 0x41a4f4
add esi, 0xfffffff4
push esi
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x41a4f4
push esi
call fcn.004501ef
add esp, 4
mov ecx, dword [esp + 0x40]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x38
ret 8