Function at 0x41dba0
Capabilities:
Get graphical window text
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x44b4e0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x3c
mov eax, dword [esp + 0x4c]
push ebx
push ebp
push esi
push edi
mov ebx, ecx
mov dword [esp + 0x20], eax
mov eax, dword [0x455050]
xor ebp, ebp
mov dword [esp + 0x54], ebp
mov dword [esp + 0x2c], ebp
mov dword [esp + 0x30], ebp
mov dword [esp + 0x34], ebp
mov dword [esp + 0x38], ebp
mov dword [esp + 0x10], eax
mov edx, dword [eax - 0xc]
lea esi, [eax - 0xc]
mov ecx, 0x64
cmp edx, 1
mov byte [esp + 0x54], 1
mov dword [esp + 0x14], ecx
mov dword [esp + 0x1c], esi
jg 0x41dc07
cmp dword [eax - 4], ecx
jge 0x41dc66
mov edi, dword [eax - 8]
cmp edi, ecx
mov dword [esp + 0x18], edi
jle 0x41dc16
mov dword [esp + 0x14], edi
mov ecx, dword [esp + 0x14]
push ecx
lea ecx, [esp + 0x14]
call fcn.00401820
test eax, eax
je 0x41dc66
mov edx, dword [esp + 0x14]
lea ecx, [edi + edi + 2]
lea eax, [edx + edx + 2]
cmp eax, ecx
jb 0x41dc55
mov edi, dword [esp + 0x10]
mov edx, ecx
add esi, 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 + 0x18]
mov esi, dword [esp + 0x1c]
mov eax, dword [esp + 0x10]
push esi
mov dword [eax - 8], edi
call fcn.004018c0
mov eax, dword [esp + 0x10]
mov ecx, dword [ebx + 0x40]
push 0x64
push eax
push ecx
call dword [sym.imp.USER32.dll_GetWindowTextW]
lea ecx, [esp + 0x10]
call fcn.0040ab90
mov edx, dword [esp + 0x10]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov ecx, dword [esp + 0x10]
push 1
push ebp
push ebp
mov dword [ecx - 8], eax
mov edx, dword [esp + 0x1c]
push ebp
lea esi, [ebx + 0x20]
mov word [edx + eax*2], bp
mov ecx, dword [ebx + 0x24]
lea eax, [esp + 0x34]
lea edx, [esp + 0x20]
push eax
mov eax, dword [esp + 0x70]
push ecx
push esi
push edx
push eax
mov dword [esp + 0x48], ebp
mov dword [esp + 0x4c], ebp
call fcn.00422b60
mov edx, dword [ebx + 0x40]
add esp, 0x24
lea ecx, [esp + 0x2c]
push ecx
push edx
call dword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x2c]
sub eax, ecx
sub eax, edx
mov edi, dword [esp + 0x30]
cdq
sub eax, edx
mov dword [esp + 0x3c], ebp
sar eax, 1
add eax, ecx
mov ecx, dword [ebx + 0x40]
mov dword [esp + 0x44], eax
mov eax, dword [esp + 0x38]
sub eax, edi
mov edi, dword [ebx + 0x28]
push ecx
mov dword [esp + 0x44], ebp
mov dword [esp + 0x4c], eax
call dword [sym.imp.USER32.dll_IsWindowEnabled]
test eax, eax
jne 0x41dd18
mov edi, 0xc0c0c0
cmp dword [ebx + 0x64], ebp
je 0x41dd2c
push 1
lea edx, [esp + 0x40]
push 1
push edx
call dword [sym.imp.USER32.dll_OffsetRect]
mov eax, dword [ebx + 0x30]
mov ecx, dword [ebx + 0x2c]
push 0xff
push 1
push eax
mov eax, dword [ebx + 0x24]
push ecx
push ebp
lea edx, [esp + 0x50]
push edi
push edx
mov edx, dword [esp + 0x78]
push eax
lea ecx, [esp + 0x30]
push esi
push ecx
push edx
call fcn.00422900
mov eax, dword [esp + 0x3c]
mov edx, dword [0x455054]
add esp, 0x2c
lea ecx, [eax - 0xc]
pop edi
pop esi
pop ebp
cmp ecx, edx
pop ebx
je 0x41dd8c
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x41dd8c
mov edx, dword [esp]
add edx, 0xfffffff4
push edx
call fcn.0042ac06
add esp, 4
mov ecx, dword [esp + 0x3c]
mov dword fs:[0], ecx
add esp, 0x48
ret 4