Function at 0x4fe830
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x5d86b7
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x198
mov eax, dword [0x64aa84]
push ebx
push esi
push edi
mov esi, ecx
push str.ResourceAdd
mov dword [esp + 0x1a0], eax
mov dword [esp + 0x28], esi
call fcn.004a7dc0
mov ebx, eax
mov eax, dword [0x6613bc]
mov ecx, dword [eax + 0x314]
add esp, 4
test ecx, ecx
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x14], 0
je 0x4fe897
mov eax, 0x3e8
jmp 0x4fe89d
mov eax, dword [eax + 0x2a4]
sub eax, dword [esi + 0x844]
mov edi, eax
mov eax, dword [0x661418]
mov ecx, dword [eax + 0x7e8]
push ecx
mov ecx, ebx
mov dword [esp + 0x2c], edi
call fcn.004070a0
push 0
mov ecx, ebx
call fcn.004070a0
mov edx, dword [0x6613e8]
push 0
add edx, 0xc
push edx
lea ecx, [esp + 0x38]
call fcn.005789d4
mov dword [esp + 0x1ac], 0
mov eax, dword [0x6613c8]
push 0
add eax, 4
push eax
lea ecx, [esp + 0x50]
call fcn.005789d4
mov byte [esp + 0x1ac], 1
push 0xffffffffffffffff
lea ecx, [esp + 0x34]
call fcn.00578965
mov ecx, dword [0x661404]
call fcn.00487e10
test eax, eax
mov dword [esp + 0x18], eax
je 0x4fec30
test edi, edi
je 0x4fe931
cmp dword [esp + 0x14], edi
jge 0x4fec30
lea ecx, [esp + 0x18]
push ecx
mov ecx, dword [0x661404]
call fcn.00487e20
mov esi, eax
mov ecx, esi
call fcn.004bc610
test eax, eax
je 0x4fec24
mov eax, dword [esi + 0xa8]
test eax, eax
je 0x4fec24
mov eax, dword [0x661668]
cmp dword [esi + 0x11c], eax
je 0x4fec24
lea ebx, [esi + 0x30]
mov dword [esi + 0x11c], eax
mov eax, dword [ebx]
mov ecx, dword [eax - 0xc]
test ecx, ecx
mov dword [esp + 0x2c], ebx
jl 0x4fe9a5
push str..vgtt
push eax
call fcn.0057aad0
add esp, 8
test eax, eax
je 0x4fe9a5
sub eax, dword [ebx]
sar eax, 1
test eax, eax
jg 0x4fec20
mov eax, dword [ebx]
mov ecx, dword [eax - 0xc]
test ecx, ecx
jl 0x4fe9cc
push 0x5ea260
push eax
call fcn.0057aad0
add esp, 8
test eax, eax
je 0x4fe9cc
sub eax, dword [ebx]
sar eax, 1
test eax, eax
jg 0x4fec20
mov eax, dword [esi + 0x3c]
test eax, eax
lea ebx, [esi + 0x38]
ja 0x4fec20
jb 0x4fe9e5
cmp dword [ebx], 0xffffffff
ja 0x4fec20
mov edx, dword [0x661418]
cmp word [edx + 0x8ec], 2
jne 0x4feb09
mov eax, dword [esi + 0xc0]
test eax, eax
je 0x4feb09
push 0x80
lea eax, [esp + 0x11c]
push eax
lea ecx, [esp + 0x5c]
call fcn.0042e720
mov edx, dword [esp + 0x54]
push 1
lea ecx, [esp + 0x14]
push ecx
lea ecx, [esp + 0x5c]
mov byte [esp + 0x18], 0x4c
call dword [edx + 8]
mov edx, dword [esp + 0x54]
push 1
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x5c]
mov byte [esp + 0x18], 1
call dword [edx + 8]
mov edx, dword [esp + 0x54]
push 1
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x5c]
mov byte [esp + 0x18], 1
call dword [edx + 8]
push 0x14
lea eax, [esi + 0xf4]
push eax
lea ecx, [esp + 0x5c]
call fcn.0042e810
push 0x10
lea ecx, [esi + 0xb0]
push ecx
lea ecx, [esp + 0x5c]
call fcn.0042e810
mov edx, dword [esi + 0xd4]
push 4
lea eax, [esp + 0x44]
mov dword [esp + 0x44], edx
mov edx, dword [esp + 0x58]
push eax
lea ecx, [esp + 0x5c]
call dword [edx + 8]
push 8
lea eax, [esi + 0xd8]
push eax
lea ecx, [esp + 0x5c]
call fcn.0042e810
push 8
push ebx
lea ecx, [esp + 0x5c]
call fcn.0042e810
mov ecx, dword [0x661418]
mov edx, dword [esp + 0x84]
push 0
add ecx, 0x8ec
push ecx
mov ecx, dword [0x6613d0]
push edx
lea eax, [esp + 0x124]
push eax
call fcn.0042e970
lea ecx, [esp + 0x30]
call fcn.0057897a
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
push 0xffffffffffffffff
lea ecx, [esp + 0x34]
call fcn.00578965
xor eax, eax
lea edx, [esp + 0xf4]
mov ecx, 0x24
lea edi, [esp + 0x88]
rep stosd dword es:[edi], eax
mov eax, dword [ebx]
mov ecx, dword [ebx + 4]
push edx
add esi, 0xb0
push esi
mov dword [esp + 0x4c], ecx
mov dword [esp + 0xf4], eax
mov word [esp + 0xfa], 0
call fcn.004eed70
mov edi, dword [esp + 0x34]
lea eax, [esp + 0x28]
push edi
push eax
call fcn.004e3050
add esp, 0x10
mov byte [esp + 0x1ac], 2
push 1
push ecx
lea edx, [esp + 0x28]
mov ecx, esp
mov dword [esp + 0x34], esp
push edx
call fcn.00402dc0
mov byte [esp + 0x1b4], 2
lea eax, [esp + 0x44]
push eax
call fcn.004e40e0
add esp, 0xc
mov byte [esp + 0x1ac], 4
push eax
lea ecx, [esp + 0x24]
call fcn.00405540
mov byte [esp + 0x1ac], 2
lea ecx, [esp + 0x3c]
call fcn.00401b70
mov edx, dword [esp + 0x20]
push 0
push 0x64
lea ecx, [esp + 0x90]
push ecx
push edx
call fcn.004ee450
mov esi, dword [esp + 0x34]
mov eax, dword [esi + 0x20]
mov ecx, dword [edi]
push eax
push ecx
push str.Send_Share_File_:__s__to__s
push 0x661308
call fcn.004e9a20
mov ecx, dword [esp + 0x3c]
add esp, 0x20
push 0x90
lea edx, [esp + 0x8c]
push edx
call fcn.00406f10
mov ecx, dword [esi + 0x844]
mov eax, dword [esp + 0x14]
inc ecx
inc eax
mov dword [esi + 0x844], ecx
mov dword [esp + 0x14], eax
mov byte [esp + 0x1ac], 1
lea ecx, [esp + 0x20]
call fcn.00401b70
mov edi, dword [esp + 0x28]
mov ebx, dword [esp + 0x1c]
mov eax, dword [esp + 0x18]
test eax, eax
jne 0x4fe923
lea ecx, [esp + 0x30]
call fcn.0057897a
push 0xffffffffffffffff
lea ecx, [esp + 0x4c]
call fcn.00578965
mov eax, dword [0x6613c0]
mov eax, dword [eax + 0x54]
test eax, eax
mov dword [esp + 0x18], eax
je 0x4fedb1
test edi, edi
je 0x4fec66
cmp dword [esp + 0x14], edi
jge 0x4fedb1
test eax, eax
mov ecx, eax
je 0x4fedec
mov eax, dword [eax]
mov dword [esp + 0x18], eax
mov esi, dword [ecx + 8]
mov ecx, dword [esi + 0x94]
test ecx, ecx
je 0x4feda9
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x50]
test eax, eax
je 0x4feda5
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x18]
test eax, eax
jne 0x4feda5
mov ecx, esi
call fcn.00463b90
test eax, eax
jne 0x4feda5
mov eax, dword [0x661668]
cmp dword [esi + 0x784], eax
je 0x4feda5
mov dword [esi + 0x784], eax
mov eax, dword [esi + 0x14]
mov ecx, dword [eax - 0xc]
test ecx, ecx
jl 0x4fecf4
push str..vgtt
push eax
call fcn.0057aad0
add esp, 8
test eax, eax
je 0x4fecf4
sub eax, dword [esi + 0x14]
sar eax, 1
test eax, eax
jg 0x4feda5
mov eax, dword [esi + 0x14]
mov ecx, dword [eax - 0xc]
test ecx, ecx
jl 0x4fed1d
push 0x5ea260
push eax
call fcn.0057aad0
add esp, 8
test eax, eax
je 0x4fed1d
sub eax, dword [esi + 0x14]
sar eax, 1
test eax, eax
jg 0x4feda5
xor eax, eax
mov ecx, 0x24
lea edi, [esp + 0x88]
rep stosd dword es:[edi], eax
mov ecx, dword [esi + 0x20]
lea edx, [esp + 0xf4]
push edx
lea eax, [esi + 0x98]
push eax
mov dword [esp + 0xf4], ecx
mov word [esp + 0xfa], 1
call fcn.004eed70
mov esi, dword [esi + 0x14]
push 0
push 0x64
lea ecx, [esp + 0x98]
push ecx
push esi
call fcn.004ee450
mov ecx, dword [esp + 0x34]
add esp, 0x18
push 0x90
lea edx, [esp + 0x8c]
push edx
call fcn.00406f10
mov eax, dword [esp + 0x24]
mov edx, dword [esp + 0x14]
mov ecx, dword [eax + 0x844]
mov edi, dword [esp + 0x28]
mov ebx, dword [esp + 0x1c]
inc edx
inc ecx
mov dword [esp + 0x14], edx
mov dword [eax + 0x844], ecx
mov eax, dword [esp + 0x18]
test eax, eax
jne 0x4fec58
lea ecx, [esp + 0x48]
call fcn.0057897a
mov eax, dword [ebx + 0x14]
mov esi, dword [esp + 0x14]
mov edi, dword [esp + 0x24]
mov dword [eax + 4], esi
mov eax, dword [edi + 0x20]
push eax
push str.Send_Share_Files_To_Search_Server__s
push 0x661308
call fcn.004e9a20
add esp, 0xc
test esi, esi
jle 0x4fedf1
push ebx
mov ecx, edi
call fcn.004fdc00
jmp 0x4fedfd
jmp fcn.005a8539
dec dword [ebx + 0xc]
jne 0x4fedfd
mov edx, dword [ebx]
mov ecx, ebx
call dword [edx + 0x30]
mov byte [esp + 0x1ac], 0
lea ecx, [esp + 0x48]
call fcn.0057897a
mov dword [esp + 0x1ac], 0xffffffff
lea ecx, [esp + 0x30]
call fcn.0057897a
mov ecx, dword [esp + 0x1a4]
mov dword fs:[0], ecx
mov ecx, dword [esp + 0x19c]
call fcn.0057981f
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret