Function at 0x41fa60
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x49a661
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4ba700]
xor eax, esp
push eax
lea eax, [esp + 0x24]
mov dword fs:[0], eax
mov edi, dword [esp + 0x34]
push str.._vncdesktop.cpp_:_vncDesktop__n
mov ecx, 9
mov eax, 0x4bc990
mov dword [esp + 0x30], 5
call fcn.00401110
add esp, 4
cmp dword [edi + 0xdc10], 0
je 0x41fb32
mov esi, edi
call fcn.00423c50
xor esi, esi
cmp byte [0x4d9d55], 0
je 0x41fb18
mov ebp, dword [sym.imp.KERNEL32.dll_SetEvent]
mov ebx, dword [sym.imp.KERNEL32.dll_Sleep]
cmp dword [edi + 0xdc14], 0
jne 0x41fae3
mov eax, dword [edi + 0xdb98]
push eax
call ebp
push 0x64
call ebx
inc esi
cmp esi, 0x32
jg 0x41faf8
cmp byte [0x4d9d55], 0
jne 0x41fad1
jmp 0x41fb18
push str.._vncdesktop.cpp_:_Desktop_thread_running__force_close__n
mov ecx, 9
mov eax, 0x4bc990
call fcn.00401110
mov ecx, dword [edi + 0xdb98]
add esp, 4
push ecx
call ebp
mov ecx, dword [edi + 0xdc10]
lea edx, [esp + 0x18]
push edx
call fcn.0047bda0
mov dword [edi + 0xdc10], 0
xor al, al
mov ecx, edi
call fcn.00422b60
call fcn.004201c0
push str.._vncdesktop.cpp_:_vncDesktop_Shutdown___n
mov ecx, 9
mov eax, 0x4bc990
call fcn.00401110
mov eax, dword [edi + 0xdbf4]
mov ecx, dword [eax + 4]
lea esi, [edi + 0xdbdc]
add esp, 4
push ecx
mov ecx, esi
call fcn.00423020
mov eax, dword [esi + 0x18]
mov dword [eax + 4], eax
mov eax, dword [esi + 0x18]
mov dword [esi + 0x1c], 0
mov dword [eax], eax
mov eax, dword [esi + 0x18]
lea ebx, [edi + 0xdbc4]
mov dword [eax + 8], eax
mov esi, dword [ebx + 0xc]
cmp esi, dword [ebx + 0x10]
jbe 0x41fb99
call fcn.0047d091
mov ebp, dword [ebx]
mov eax, dword [ebx + 0x10]
mov dword [esp + 0x20], esi
mov dword [esp + 0x18], eax
cmp dword [ebx + 0xc], eax
jbe 0x41fbb0
call fcn.0047d091
mov eax, dword [ebx]
test ebp, ebp
je 0x41fbba
cmp ebp, eax
je 0x41fbbf
call fcn.0047d091
cmp esi, dword [esp + 0x18]
je 0x41fc80
test ebp, ebp
jne 0x41fc69
call fcn.0047d091
xor eax, eax
cmp esi, dword [eax + 0x10]
jb 0x41fbe2
call fcn.0047d091
cmp dword [esi], 0
je 0x41fc4c
test ebp, ebp
jne 0x41fc71
call fcn.0047d091
xor eax, eax
cmp esi, dword [eax + 0x10]
jb 0x41fc00
call fcn.0047d091
mov eax, dword [esi]
call fcn.00422c20
test ebp, ebp
jne 0x41fc76
call fcn.0047d091
xor eax, eax
cmp esi, dword [eax + 0x10]
jb 0x41fc1c
call fcn.0047d091
mov esi, dword [esi]
test esi, esi
je 0x41fc31
push esi
call fcn.00422dd0
push esi
call fcn.0047c43d
add esp, 4
push str.._vncdesktop.cpp_:_delete___RGBPixelList___n
mov ecx, 8
mov eax, 0x4bc990
call fcn.00401110
mov esi, dword [esp + 0x24]
add esp, 4
test ebp, ebp
jne 0x41fc7b
call fcn.0047d091
xor eax, eax
cmp esi, dword [eax + 0x10]
jb 0x41fc61
call fcn.0047d091
add esi, 4
jmp 0x41fb9b
mov eax, dword [ebp]
jmp 0x41fbd8
mov eax, dword [ebp]
jmp 0x41fbf6
mov eax, dword [ebp]
jmp 0x41fc12
mov eax, dword [ebp]
jmp 0x41fc57
push str.._vncdesktop.cpp_:_vncDesktop_m_lGridsList.clear_n
mov ecx, 9
mov eax, 0x4bc990
call fcn.00401110
add esp, 4
mov eax, ebx
call fcn.00422c20
mov eax, dword [edi + 0xe164]
test eax, eax
je 0x41fcaf
push eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov ebx, dword [sym.imp.KERNEL32.dll_CloseHandle]
mov byte [0x4d9d54], 0
lea esi, [edi + 0xdb84]
mov ebp, 6
mov edx, dword [esi]
push edx
call ebx
add esi, 4
sub ebp, 1
jne 0x41fcc7
mov eax, dword [edi + 0xdb9c]
push eax
call ebx
xor ebx, ebx
cmp dword [edi + 0xe170], ebx
je 0x41fd02
push str.._vncdesktop.cpp_:_vncDesktop::_second_request_to_close_InitWindowthread_n
xor ecx, ecx
mov eax, 0x4bc990
call fcn.00401110
add esp, 4
mov esi, edi
call fcn.00423c50
lea ecx, [edi + 0xe100]
mov byte [esp + 0x2c], 4
call fcn.0047b930
lea ecx, [edi + 0xdc2c]
mov byte [esp + 0x2c], 3
call fcn.0047b930
lea esi, [edi + 0xdbdc]
mov dword [esp + 0x18], esi
mov byte [esp + 0x2c], 6
call fcn.004232a0
mov byte [esp + 0x2c], 2
mov esi, dword [esi]
push esi
call fcn.0047c43d
lea esi, [edi + 0xdbc4]
add esp, 4
mov dword [esp + 0x18], esi
mov byte [esp + 0x2c], 7
mov eax, dword [esi + 0xc]
cmp eax, ebx
je 0x41fd65
push eax
call fcn.0047c43d
add esp, 4
mov byte [esp + 0x2c], 1
mov ecx, dword [esi]
push ecx
mov dword [esi + 0xc], ebx
mov dword [esi + 0x10], ebx
mov dword [esi + 0x14], ebx
call fcn.0047c43d
mov edx, dword [edi + 0xdba4]
add esp, 4
push edx
call dword [sym.imp.GDI32.dll_DeleteObject]
mov eax, dword [edi + 0xdba8]
push eax
call fcn.0047d643
add esp, 4
cmp dword [edi + 4], ebx
je 0x41fdb2
mov eax, dword [edi + 0x54]
cmp eax, ebx
je 0x41fdb2
push eax
call fcn.0047d0a1
add esp, 4
mov dword [edi + 0x54], ebx
mov eax, dword [edi + 0x48]
cmp eax, ebx
je 0x41fdc5
push eax
call fcn.0047d0a1
add esp, 4
mov dword [edi + 0x48], ebx
mov eax, dword [edi + 0x50]
cmp eax, ebx
je 0x41fdd8
push eax
call fcn.0047d0a1
add esp, 4
mov dword [edi + 0x50], ebx
mov eax, dword [edi + 0x20]
cmp eax, ebx
je 0x41fdeb
push eax
call fcn.0047d0a1
add esp, 4
mov dword [edi + 0x20], ebx
mov dword [edi + 0x4c], ebx
mov dword [edi + 0x18], ebx
mov ecx, dword [esp + 0x24]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1c
ret 4