Function at 0x441130
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4f5630
mov eax, dword fs:[0]
push eax
sub esp, 0x68
mov eax, dword [0x55800c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov esi, dword [ebp + 8]
mov ecx, esi
mov eax, dword [esi]
mov eax, dword [eax + 0x30]
call eax
test al, al
je 0x44118e
cmp dword [edi + 0x368], 0
jne 0x44118e
cmp dword [edi + 0x17c], 0
jne 0x44118e
cmp dword [edi + 0x370], 0
jne 0x44118e
xor eax, eax
jmp 0x441872
xorps xmm0, xmm0
mov dword [ebp - 0x54], 0
movups xmmword [ebp - 0x64], xmm0
mov dword [ebp - 0x40], 0
movups xmmword [ebp - 0x50], xmm0
mov dword [ebp - 0x3c], 0
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x64]
mov eax, dword [esi]
push ecx
mov ecx, esi
call dword [eax + 0x20]
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x34]
cmp dword [edi + 0x17c], 0
je 0x4412a3
mov ecx, dword [edi + 0x198]
call fcn.00486380
cmp dword [edi + 0x358], 0
je 0x4412a3
mov ecx, dword [edi + 0x24c]
lea eax, [ebp - 0x74]
push eax
call fcn.00432ac0
mov esi, dword [edi + 0x53c]
xor edx, edx
push 4
movups xmm0, xmmword [eax]
mov eax, dword [edi + 0x24c]
movups xmmword [edi + 0x528], xmm0
mov ecx, dword [eax + 0x14]
xor eax, eax
mov dword [ebp - 0x1c], eax
mov eax, dword [edi + 0x360]
imul eax, esi
mov dword [ebp - 0x34], ecx
mov dword [edi + 0x538], ecx
mov dword [ebp - 0x14], 0x21ffffff
div ecx
xor edx, edx
mov ecx, eax
shl eax, 8
shr ecx, 8
movzx ecx, cl
or ecx, eax
mov eax, dword [edi + 0x364]
imul eax, esi
mov word [ebp - 0x18], cx
div dword [ebp - 0x34]
mov ecx, eax
shl eax, 8
shr ecx, 8
movzx ecx, cl
or ecx, eax
mov eax, 0x100
mov word [ebp - 0x26], ax
lea eax, [ebp - 0x28]
push eax
mov word [ebp - 0x16], cx
mov ecx, edi
push 0
call fcn.004410b0
mov ecx, dword [edi + 0x198]
lea eax, [ebp - 0x1c]
push 0xc
push eax
call fcn.00486260
mov dword [edi + 0x17c], 0
mov esi, 1
jmp 0x441868
mov eax, dword [ebp - 0x54]
sub eax, dword [ebp - 0x58]
sar eax, 4
cmp dword [edi + 0x240], 0
mov dword [ebp - 0x24], eax
je 0x4412ce
mov ecx, dword [ebp - 0x60]
sub ecx, dword [ebp - 0x64]
sar ecx, 4
cmp ecx, 5
jbe 0x4412c9
inc eax
jmp 0x4412cb
add eax, ecx
mov dword [ebp - 0x24], eax
cmp eax, 0xffff
je 0x441348
mov esi, dword [ebp - 0x44]
cmp esi, dword [ebp - 0x40]
je 0x441348
nop dword [eax]
cmp byte [edi + 0x204], 0
jne 0x441300
cmp byte [edi + 0x1fc], 0
jne 0x441300
mov ecx, dword [edi + 0x1d8]
push esi
mov eax, dword [ecx]
mov eax, dword [eax + 0x10]
jmp 0x441326
mov eax, dword [esi + 8]
lea edx, [ebp - 0x20]
mov ecx, dword [edi + 0x1d8]
mov dword [ebp - 0x18], eax
mov eax, dword [esi]
mov dword [ebp - 0x20], eax
mov eax, dword [esi + 4]
mov dword [ebp - 0x1c], eax
mov eax, dword [esi + 0xc]
mov dword [ebp - 0x14], eax
mov eax, dword [ecx]
push edx
mov eax, dword [eax + 0xc]
call eax
mov ecx, eax
test ecx, ecx
je 0x441340
mov eax, dword [ebp - 0x24]
add esi, 0x10
add eax, ecx
mov dword [ebp - 0x24], eax
cmp esi, dword [ebp - 0x40]
jne 0x4412e0
jmp 0x441348
mov eax, 0xffff
mov dword [ebp - 0x24], eax
cmp dword [edi + 0x240], 0
jne 0x4413c5
cmp eax, 0xffff
je 0x4413c5
mov esi, dword [ebp - 0x64]
cmp esi, dword [ebp - 0x60]
je 0x4413c5
cmp byte [edi + 0x204], 0
jne 0x441380
cmp byte [edi + 0x1fc], 0
jne 0x441380
mov ecx, dword [edi + 0x1d8]
push esi
mov eax, dword [ecx]
mov eax, dword [eax + 0x10]
jmp 0x4413a6
mov eax, dword [esi + 8]
lea edx, [ebp - 0x20]
mov ecx, dword [edi + 0x1d8]
mov dword [ebp - 0x18], eax
mov eax, dword [esi]
mov dword [ebp - 0x20], eax
mov eax, dword [esi + 4]
mov dword [ebp - 0x1c], eax
mov eax, dword [esi + 0xc]
mov dword [ebp - 0x14], eax
mov eax, dword [ecx]
push edx
mov eax, dword [eax + 0xc]
call eax
mov ecx, eax
test ecx, ecx
jne 0x4413b5
mov eax, 0xffff
jmp 0x4413ba
mov eax, dword [ebp - 0x24]
add eax, ecx
add esi, 0x10
mov dword [ebp - 0x24], eax
cmp esi, dword [ebp - 0x60]
jne 0x441360
mov ecx, dword [edi + 0x1d8]
cmp dword [ecx + 0x78], 0
jne 0x4413e1
cmp dword [ecx + 0x7c], 0
jne 0x4413e1
mov dword [edi + 0x368], 0
cmp eax, 0xffff
je 0x44140d
cmp dword [edi + 0x368], 0
je 0x4413f5
inc eax
mov dword [ebp - 0x24], eax
cmp dword [edi + 0x370], 0
je 0x441402
inc eax
mov dword [ebp - 0x24], eax
test eax, eax
jne 0x44140d
xor esi, esi
jmp 0x441868
mov eax, dword [edi]
mov edx, dword [eax + 0x28]
cmp eax, vtable.vncClient.0
jne 0x44188f
mov eax, dword [edi + 0x24c]
mov eax, dword [eax + 0x68]
add eax, 0xdc2c
push eax
mov dword [ebp - 0x6c], eax
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x68], 0x64
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [ebp - 0x24]
mov ecx, eax
mov byte [ebp - 4], 1
mov esi, dword [edi + 0x198]
sar ecx, 8
shl eax, 8
movzx ecx, cl
or ecx, eax
mov byte [ebp - 0x38], 0
mov word [ebp - 0x36], cx
cmp dword [esi + 8], 0xffffffff
je 0x441840
cmp byte [esi + 0x1a], 0
jne 0x441491
cmp byte [esi + 0x18], 0
je 0x441491
mov eax, dword [esi + 0x10]
cmp byte [eax + 0x21], 0
je 0x441491
push 1
lea eax, [ebp - 0x2d]
mov byte [ebp - 0x2d], 0
push eax
mov ecx, esi
call fcn.004862f0
push 4
lea eax, [ebp - 0x38]
mov ecx, esi
push eax
call fcn.004862f0
cmp dword [edi + 0x368], 0
je 0x441594
mov dword [edi + 0x368], 0
mov eax, dword [edi + 0x24c]
mov ecx, dword [edi + 0x1d8]
push dword [eax + 0x68]
push dword [edi + 0x198]
call fcn.00453ca0
test eax, eax
jne 0x44158a
mov esi, dword [edi + 0x198]
mov ecx, 0x11ffffff
mov dword [edi + 0x36c], eax
mov edx, 0x10ffffff
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], eax
mov eax, dword [edi + 0x1d8]
cmp dword [eax + 0x78], 0
cmovne ecx, edx
cmp dword [esi + 8], 0xffffffff
mov dword [ebp - 0x14], ecx
je 0x44185d
cmp byte [esi + 0x18], 0
mov eax, 0xc
mov dword [ebp - 0x28], eax
je 0x44156c
mov eax, dword [esi + 0x10]
cmp byte [eax + 0x21], 0
je 0x441567
cmp byte [esi + 0x68], 0
je 0x441545
mov ecx, dword [esi + 0x64]
add ecx, dword [esi + 0x6c]
movq xmm0, qword [ebp - 0x1c]
movq qword [ecx], xmm0
mov eax, dword [ebp - 0x14]
mov dword [ecx + 8], eax
add dword [esi + 0x6c], 0xc
jmp 0x441594
lea eax, [ebp - 0x2c]
mov dword [ebp - 0x2c], 0
push eax
push 0xc
lea eax, [ebp - 0x1c]
mov ecx, esi
push eax
call fcn.00486620
mov ecx, eax
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x28], eax
jmp 0x44156f
mov eax, 0xc
lea ecx, [ebp - 0x1c]
push eax
push ecx
mov ecx, esi
call fcn.004860d0
xor ecx, ecx
cmp eax, dword [ebp - 0x28]
sete cl
test ecx, ecx
je 0x44185d
jmp 0x441594
mov dword [edi + 0x36c], 1
cmp dword [edi + 0x370], 0
je 0x441669
mov ecx, dword [edi + 0x378]
mov eax, ecx
mov esi, dword [edi + 0x198]
sar eax, 8
movzx eax, al
shl ecx, 8
or eax, ecx
mov dword [edi + 0x370], 0
mov ecx, dword [edi + 0x37c]
mov word [ebp - 0x1c], ax
mov eax, ecx
sar eax, 8
movzx eax, al
shl ecx, 8
or eax, ecx
mov dword [ebp - 0x14], 0x18ffffff
mov word [ebp - 0x1a], ax
xor eax, eax
mov dword [ebp - 0x18], eax
cmp dword [esi + 8], 0xffffffff
je 0x44185d
cmp byte [esi + 0x18], 0
mov eax, 0xc
mov dword [ebp - 0x2c], eax
je 0x441654
mov eax, dword [esi + 0x10]
cmp byte [eax + 0x21], 0
je 0x44164f
cmp byte [esi + 0x68], 0
je 0x44162d
mov ecx, dword [esi + 0x64]
add ecx, dword [esi + 0x6c]
movq xmm0, qword [ebp - 0x1c]
movq qword [ecx], xmm0
mov eax, dword [ebp - 0x14]
mov dword [ecx + 8], eax
add dword [esi + 0x6c], 0xc
jmp 0x441669
lea eax, [ebp - 0x28]
mov dword [ebp - 0x28], 0
push eax
push 0xc
lea eax, [ebp - 0x1c]
mov ecx, esi
push eax
call fcn.00486620
mov ecx, eax
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x2c], eax
jmp 0x441657
mov eax, 0xc
lea ecx, [ebp - 0x1c]
push eax
push ecx
mov ecx, esi
call fcn.004860d0
cmp eax, dword [ebp - 0x2c]
jne 0x44185d
mov esi, dword [ebp - 0x58]
cmp esi, dword [ebp - 0x54]
je 0x4416b2
mov ecx, dword [ebp - 0x4c]
mov edx, dword [ebp - 0x48]
neg ecx
neg edx
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x2c], edx
mov eax, dword [esi]
add eax, ecx
mov ecx, edi
mov dword [ebp - 0x18], eax
mov eax, dword [esi + 4]
add eax, edx
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x18]
push eax
push esi
call fcn.00441e70
test eax, eax
je 0x44185d
mov ecx, dword [ebp - 0x28]
add esi, 0x10
mov edx, dword [ebp - 0x2c]
cmp esi, dword [ebp - 0x54]
jne 0x441681
cmp dword [edi + 0x240], 0
je 0x44171a
mov eax, dword [ebp - 0x60]
sub eax, dword [ebp - 0x64]
sar eax, 4
cmp eax, 5
jbe 0x4416dd
lea eax, [ebp - 0x64]
mov ecx, edi
push eax
call fcn.00442550
test eax, eax
jne 0x44172d
jmp 0x44185d
test eax, eax
je 0x44172d
push eax
push str.d:_saasultravncwinvncwinvnc_vncclient.cpp_:__Sending__d_Cache_Rects__r_n
push 9
push 0x558c50
call fcn.0041c840
mov esi, dword [ebp - 0x64]
add esp, 0x10
cmp esi, dword [ebp - 0x60]
je 0x44172d
nop
push esi
mov ecx, edi
call fcn.00442360
test eax, eax
je 0x44185d
add esi, 0x10
cmp esi, dword [ebp - 0x60]
jne 0x441700
jmp 0x44172d
lea eax, [ebp - 0x64]
mov ecx, edi
push eax
call fcn.004419e0
test eax, eax
je 0x44185d
lea eax, [ebp - 0x44]
mov ecx, edi
push eax
call fcn.004419e0
test eax, eax
je 0x44185d
cmp dword [ebp - 0x24], 0xffff
jne 0x4417ed
mov ecx, dword [edi + 0x1d8]
push dword [edi + 0x198]
mov eax, dword [ecx]
call dword [eax + 0x2c]
mov esi, dword [edi + 0x198]
xor eax, eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], 0x20ffffff
cmp dword [esi + 8], 0xffffffff
je 0x44185d
cmp byte [esi + 0x18], 0
mov eax, 0xc
mov dword [ebp - 0x2c], eax
je 0x4417dc
mov eax, dword [esi + 0x10]
cmp byte [eax + 0x21], 0
je 0x4417d7
cmp byte [esi + 0x68], 0
je 0x4417b5
mov ecx, dword [esi + 0x64]
add ecx, dword [esi + 0x6c]
movq xmm0, qword [ebp - 0x1c]
movq qword [ecx], xmm0
mov eax, dword [ebp - 0x14]
mov dword [ecx + 8], eax
add dword [esi + 0x6c], 0xc
jmp 0x4417ed
lea eax, [ebp - 0x28]
mov dword [ebp - 0x28], 0
push eax
push 0xc
lea eax, [ebp - 0x1c]
mov ecx, esi
push eax
call fcn.00486620
mov ecx, eax
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x2c], eax
jmp 0x4417df
mov eax, 0xc
lea ecx, [ebp - 0x1c]
push eax
push ecx
mov ecx, esi
call fcn.004860d0
cmp eax, dword [ebp - 0x2c]
jne 0x44185d
mov esi, dword [edi + 0x198]
cmp dword [esi + 8], 0xffffffff
je 0x441839
cmp dword [esi + 0x239c], 0
je 0x44182e
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push ecx
push dword [esi + 0x239c]
mov ecx, dword [esi + 8]
lea edx, [esi + 0x74]
mov dword [esi + 0xc], eax
call fcn.00486790
add esp, 8
test al, al
je 0x441839
mov dword [esi + 0x239c], 0
mov eax, dword [0x558ab8]
mov dword [esi + 0x23a0], eax
mov esi, 1
jmp 0x44185f
push str.d:_saasultravncwinvncwinvnc_vncclient.cpp_:_failed_to_send_RFB_message_to_client_n
push 0
push 0x558c50
call fcn.0041c840
mov eax, dword [edi]
add esp, 0xc
mov ecx, edi
push 0
call dword [eax + 8]
xor esi, esi
push dword [ebp - 0x34]
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
lea ecx, [ebp - 0x64]
call fcn.004418f0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004cbf27
mov esp, ebp
pop ebp
ret 4
mov ecx, edi
call edx
jmp 0x44142b