Function at 0x42dad0
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d7ee5
mov eax, dword fs:[0]
push eax
sub esp, 0x28
push ebx
push esi
push edi
mov eax, dword [0x51df40]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov esi, ecx
mov dword [ebp - 0x24], esi
lea ecx, [esi + 0x339]
mov al, 1
xchg byte [ecx], al
mov ecx, dword [esi + 0x38]
or edi, 0xffffffff
mov dword [ebp - 4], 0
mov dword [esi + 0x34], 0
mov dword [ebp - 0x18], ecx
mov dword [esi + 0x38], 0
test ecx, ecx
je 0x42db4a
mov eax, edi
lock xadd dword [ecx + 4], eax
jne 0x42db4a
mov eax, dword [ecx]
call dword [eax]
mov ecx, dword [ebp - 0x18]
mov eax, edi
lock xadd dword [ecx + 8], eax
jne 0x42db4a
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [esi + 0x60]
mov dword [esi + 0x5c], 0
mov dword [ebp - 0x18], ecx
mov dword [esi + 0x60], 0
test ecx, ecx
je 0x42db7f
mov eax, edi
lock xadd dword [ecx + 4], eax
jne 0x42db7f
mov eax, dword [ecx]
call dword [eax]
mov ecx, dword [ebp - 0x18]
lock xadd dword [ecx + 8], edi
dec edi
jne 0x42db7f
mov eax, dword [ecx]
call dword [eax + 4]
lea ecx, [esi + 0x2c]
call fcn.00417400
sub esp, 8
mov edx, esp
mov dword [edx], 0
mov dword [edx + 4], 0
mov eax, dword [esi + 0x40]
test eax, eax
je 0x42dba4
lock inc dword [eax + 4]
mov eax, dword [esi + 0x3c]
lea ecx, [esi + 0x2c]
mov dword [edx], eax
mov eax, dword [esi + 0x40]
mov dword [edx + 4], eax
lea eax, [ebp - 0x34]
push eax
call fcn.00416770
mov ecx, dword [ebp - 0x34]
test ecx, ecx
je 0x42dbf1
mov edx, dword [ebp - 0x2c]
mov eax, ecx
sub edx, ecx
cmp edx, 0x1000
jb 0x42dbe7
mov ecx, dword [eax - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x42dbe7
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.004d42b1
add esp, 8
mov eax, dword [0x5209ac]
xorps xmm0, xmm0
push str.Reconnection_successful
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x20], esp
mov eax, dword [eax]
movups xmmword [ecx], xmm0
mov eax, dword [eax + 8]
mov dword [ecx + 0x10], 5
mov dword [ecx + 0x14], 0xf
mov dword [ebp - 0x18], eax
mov eax, dword [str.cspot]
mov dword [ecx], eax
mov al, byte [0x4dd990]
mov byte [ecx + 4], al
mov byte [ecx + 5], 0
push 0x4b
sub esp, 0x18
mov byte [ebp - 4], 1
mov edi, esp
mov dword [ebp - 0x14], 0x5f
lea eax, [ebp - 0x14]
push eax
movups xmmword [edi], xmm0
push edi
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0xf
call fcn.004092c0
mov ecx, dword [ebp - 0x14]
add esp, 8
mov dword [edi], eax
mov dword [edi + 0x10], 0x58
mov dword [edi + 0x14], ecx
movups xmm0, xmmword [str.D:UsersphiliDropboxDevelopmentSpotConnectcommoncspotcspot_srcMercurySession.cpp]
movups xmmword [eax], xmm0
movups xmm0, xmmword [0x4e0938]
movups xmmword [eax + 0x10], xmm0
movups xmm0, xmmword [0x4e0948]
movups xmmword [eax + 0x20], xmm0
movups xmm0, xmmword [0x4e0958]
movups xmmword [eax + 0x30], xmm0
movups xmm0, xmmword [0x4e0968]
movups xmmword [eax + 0x40], xmm0
movq xmm0, qword [0x4e0978]
movq qword [eax + 0x50], xmm0
mov byte [eax + 0x58], 0
push dword [0x5209ac]
mov byte [ebp - 4], 0
call dword [ebp - 0x18]
add esp, 0x3c
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
mov ecx, dword [esi + 0x88]
call fcn.0042ec80
mov dword [esi + 0x2e8], eax
lea ecx, [esi + 0x339]
mov dword [esi + 0x2ec], edx
xor al, al
xchg byte [ecx], al
mov cl, 1
lea eax, [esi + 0x33a]
xchg byte [eax], cl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret