Function at 0x439b50
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x4a9715
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0x14], esi
mov dword [esi], 0x4b418c
mov dword [esi + 0x30], 0x4b4180
mov dword [esi + 0x34], 0x4b4174
mov eax, dword [esi + 0x158]
cmp eax, 0xffffffff
mov dword [esp + 0x20], 0xd
je 0x439baa
push eax
call dword [sym.imp.WS2_32.dll_closesocket]
mov dword [esi + 0x158], 0xffffffff
mov ecx, dword [esi + 0x15c]
test ecx, ecx
je 0x439bbd
push 0
push 0
call fcn.0040b5d0
lea ecx, [esi + 0x70]
push 5
call fcn.0040a760
mov ecx, dword [esi + 0x68]
mov eax, dword [ecx]
cmp eax, ecx
mov dword [esp + 0x10], eax
je 0x439bf4
mov eax, dword [eax + 0x14]
push eax
call fcn.004955bc
add esp, 4
lea ecx, [esp + 0x10]
call fcn.0043ed90
mov ecx, dword [esi + 0x68]
mov eax, dword [esp + 0x10]
cmp eax, ecx
jne 0x439bd4
mov eax, dword [esi + 0x68]
mov ebx, dword [eax + 4]
mov al, byte [ebx + 0x19]
test al, al
lea ebp, [esi + 0x64]
mov edi, ebx
jne 0x439c25
mov ecx, dword [edi + 8]
push ecx
mov ecx, ebp
call fcn.00434560
mov edi, dword [edi]
push ebx
call fcn.004955bc
mov al, byte [edi + 0x19]
add esp, 4
test al, al
mov ebx, edi
je 0x439c06
mov eax, dword [ebp + 4]
mov dword [eax + 4], eax
mov eax, dword [ebp + 4]
xor edi, edi
mov dword [ebp + 8], edi
mov dword [eax], eax
mov eax, dword [ebp + 4]
push 5
lea ecx, [esi + 0x70]
mov dword [eax + 8], eax
call fcn.0040a770
lea eax, [esi + 0x370]
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [esi + 0x1b0]
mov dword [esi + 0x288], edi
mov edi, dword [eax]
cmp edi, eax
je 0x439cc2
mov edx, dword [edi + 0x1c]
push edx
mov ecx, esi
call fcn.00437c70
mov al, byte [edi + 0x21]
test al, al
jne 0x439cba
mov eax, dword [edi + 8]
mov cl, byte [eax + 0x21]
test cl, cl
jne 0x439c9d
mov edi, eax
mov eax, dword [edi]
mov cl, byte [eax + 0x21]
test cl, cl
jne 0x439cba
jmp 0x439c90
mov edi, eax
mov eax, dword [edi]
mov cl, byte [eax + 0x21]
test cl, cl
je 0x439c90
jmp 0x439cba
mov eax, dword [edi + 4]
mov cl, byte [eax + 0x21]
test cl, cl
jne 0x439cb8
cmp edi, dword [eax + 8]
jne 0x439cb8
mov edi, eax
mov eax, dword [eax + 4]
mov cl, byte [eax + 0x21]
test cl, cl
je 0x439ca7
mov edi, eax
cmp edi, dword [esi + 0x1b0]
jne 0x439c64
mov eax, dword [esi + 0x1b0]
mov ebx, dword [eax + 4]
mov al, byte [ebx + 0x21]
test al, al
lea edi, [esi + 0x1ac]
mov dword [esp + 0x10], ebx
jne 0x439d05
lea esp, [esp]
mov ecx, dword [ebx + 8]
push ecx
mov ecx, edi
call fcn.004345a0
mov edx, dword [esp + 0x10]
mov ebx, dword [ebx]
push edx
call fcn.004955bc
mov al, byte [ebx + 0x21]
add esp, 4
test al, al
mov dword [esp + 0x10], ebx
je 0x439ce0
mov eax, dword [edi + 4]
mov dword [eax + 4], eax
mov eax, dword [edi + 4]
mov dword [edi + 8], 0
mov dword [eax], eax
mov eax, dword [edi + 4]
mov dword [eax + 8], eax
lea eax, [esi + 0x370]
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
lea ebx, [esi + 0x8c]
mov ecx, ebx
call fcn.0044a370
lea ecx, [esi + 0x388]
mov byte [esp + 0x20], 0xc
call fcn.0040a740
lea ecx, [esi + 0x36c]
mov byte [esp + 0x20], 0xb
call fcn.0040a740
lea ecx, [esi + 0x330]
mov byte [esp + 0x20], 0xa
mov dword [ecx], 0x4b3fac
call fcn.0040d8f0
lea ecx, [esi + 0x2f8]
mov byte [esp + 0x20], 9
call fcn.00436340
lea ecx, [esi + 0x2c4]
mov byte [esp + 0x20], 8
call fcn.0044aa00
lea ecx, [esi + 0x28c]
mov byte [esp + 0x20], 7
call fcn.0044aaa0
lea ecx, [esi + 0x214]
mov byte [esp + 0x20], 6
call fcn.00435410
lea ecx, [esi + 0x1bc]
mov byte [esp + 0x20], 5
call fcn.004394b0
mov eax, dword [edi + 4]
mov ecx, dword [eax]
push eax
push ecx
lea eax, [esp + 0x18]
push eax
mov ecx, edi
mov byte [esp + 0x2c], 4
call fcn.00437300
mov eax, dword [edi + 4]
push eax
call fcn.004955bc
xor eax, eax
add esp, 4
mov ecx, ebx
mov dword [edi + 4], eax
mov dword [edi + 8], eax
mov byte [esp + 0x20], 3
call fcn.0044a470
lea ecx, [esi + 0x70]
mov byte [esp + 0x20], 2
call fcn.0040a740
mov eax, dword [ebp + 4]
mov ecx, dword [eax]
push eax
push ecx
lea ecx, [esp + 0x18]
push ecx
mov ecx, ebp
mov byte [esp + 0x2c], 1
call fcn.00437240
mov eax, dword [ebp + 4]
push eax
call fcn.004955bc
xor eax, eax
add esp, 4
lea ecx, [esi + 0x38]
mov dword [ebp + 4], eax
mov dword [ebp + 8], eax
mov byte [esp + 0x20], al
call fcn.00434c70
mov dword [esp + 0x20], 0xffffffff
mov ecx, esi
call fcn.0040d8f0
mov ecx, dword [esp + 0x18]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x14
ret