Function at 0x4934c0
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x4f4dd0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x28
push ebx
push ebp
push esi
mov esi, dword [sym.imp.WS2_32.dll_htonl]
mov ebx, ecx
push 0x409
call esi
push 0x10
mov dword [esp + 0x2c], eax
call esi
mov ebp, dword [esp + 0x44]
mov dword [esp + 0x24], eax
push ebp
call esi
mov dword [esp + 0x2c], eax
mov al, byte [esp + 0x48]
cmp al, 3
mov byte [esp + 0x30], al
jne 0x49352c
mov eax, 0xa
mov dword [ebx + 0x134], ebp
mov dword [ebx + 0x130], 1
mov dword [0x519a58], eax
mov dword [0x519a54], eax
mov eax, dword [ebx]
lea ecx, [esp + 0x24]
push 0x10
push ecx
mov ecx, ebx
call dword [eax + 0xc]
test ebp, ebp
je 0x493769
cmp byte [esp + 0x48], 3
jne 0x493769
mov eax, dword [ebx + 0x130]
push edi
test eax, eax
mov esi, 0x64
je 0x493576
mov edi, dword [sym.imp.KERNEL32.dll_Sleep]
test esi, esi
jle 0x493576
push 0xa
dec esi
call edi
mov eax, dword [ebx + 0x130]
test eax, eax
jne 0x493563
lea edx, [ebx + 0x44]
lea ecx, [esp + 0x10]
push edx
mov dword [0x519a58], 0x1f4
mov dword [0x519a54], 0x3e8
call fcn.004105e0
lea ecx, [esp + 0x10]
mov dword [esp + 0x40], 0
call fcn.00410600
mov eax, dword [ebx + 0x8c]
test eax, eax
je 0x4936b0
mov eax, dword [ebx + 0x90]
push eax
call fcn.004de48f
mov esi, dword [ebx + 0x8c]
mov ebp, eax
mov eax, dword [ebx + 0x90]
add esp, 4
xor edi, edi
mov dword [esp + 0x20], ebp
test eax, eax
mov dword [esp + 0x14], ebp
mov dword [esp + 0x1c], esi
mov dword [esp + 0x18], eax
mov dword [esp + 0x4c], edi
jle 0x493655
lea edi, [esi + 0x5f]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov ebp, ecx
mov ecx, dword [esi + 0x28]
push ecx
add ebp, 0x60
call dword [sym.imp.WS2_32.dll_ntohl]
cmp eax, dword [esp + 0x48]
je 0x493639
mov eax, dword [esp + 0x14]
mov ecx, ebp
mov edx, ecx
mov edi, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
mov edx, dword [esp + 0x4c]
and ecx, 3
add edx, ebp
rep movsb byte es:[edi], byte [esi]
mov esi, dword [esp + 0x1c]
add eax, ebp
mov dword [esp + 0x4c], edx
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x18]
add esi, ebp
sub eax, ebp
mov dword [esp + 0x1c], esi
test eax, eax
mov dword [esp + 0x18], eax
jg 0x4935ed
mov ebp, dword [esp + 0x20]
mov edi, dword [esp + 0x4c]
mov eax, dword [ebx + 0x8c]
test eax, eax
je 0x493672
push eax
call fcn.004de3a6
add esp, 4
mov dword [ebx + 0x8c], 0
push edi
call fcn.004de48f
mov dword [ebx + 0x90], edi
mov ecx, edi
mov dword [ebx + 0x8c], eax
mov edi, eax
mov eax, ecx
mov esi, ebp
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
mov eax, dword [esp + 0x24]
add esp, 4
and ecx, 3
test eax, eax
rep movsb byte es:[edi], byte [esi]
je 0x4936ac
push eax
call fcn.004de3a6
add esp, 4
mov ebp, dword [esp + 0x48]
lea ecx, [esp + 0x10]
call fcn.00410610
lea ecx, [ebx + 0x5c]
push ecx
lea ecx, [esp + 0x28]
call fcn.004105e0
lea ecx, [esp + 0x24]
mov byte [esp + 0x40], 1
call fcn.00410600
mov esi, dword [ebx + 0x98]
mov eax, dword [ebx + 0x9c]
cmp esi, eax
je 0x493749
cmp ebp, dword [esi]
je 0x4936f1
add esi, 0xc
cmp esi, eax
jne 0x4936e4
jmp 0x493749
mov eax, dword [esi + 8]
test eax, eax
je 0x493708
push eax
call fcn.004de3a6
add esp, 4
mov dword [esi + 8], 0
mov edx, dword [ebx + 0x9c]
lea eax, [esi + 0xc]
cmp eax, edx
je 0x493736
lea ecx, [eax - 0xc]
mov esi, eax
mov edi, ecx
add eax, 0xc
add ecx, 0xc
mov ebp, dword [esi]
cmp eax, edx
mov dword [edi], ebp
mov ebp, dword [esi + 4]
mov dword [edi + 4], ebp
mov esi, dword [esi + 8]
mov dword [edi + 8], esi
jne 0x493718
mov eax, dword [ebx + 0x9c]
add eax, 0xfffffff4
mov dword [esp + 0x4c], eax
mov dword [ebx + 0x9c], eax
lea ecx, [esp + 0x24]
mov byte [esp + 0x40], 0
call fcn.004105f0
lea ecx, [esp + 0x10]
mov dword [esp + 0x40], 0xffffffff
call fcn.004105f0
pop edi
mov ecx, dword [esp + 0x34]
pop esi
pop ebp
xor eax, eax
pop ebx
mov dword fs:[0], ecx
add esp, 0x34
ret 8