Function at 0x10022c30
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100de3ec
mov eax, dword fs:[0]
push eax
sub esp, 0x64
mov eax, dword [0x100ff008]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x60], esi
mov edi, dword [ebp + 8]
mov ecx, 0x10103149
mov ebx, dword [ebp + 0xc]
mov dword [ebp - 0x64], edi
call fcn.100d96c4
mov ecx, dword [esi + 0x30]
test ecx, ecx
je 0x10022c84
call fcn.10030300
jmp 0x10022d0c
push 4
call fcn.100d8378
mov edi, eax
mov dword [ebp - 0x68], edi
mov dword [ebp - 4], 0
push 0x30
mov dword [edi], 0
call fcn.100d8378
mov esi, eax
mov dword [ebp - 0x6c], esi
mov byte [ebp - 4], 1
xor eax, eax
mov dword [esi], 0
mov dword [esi + 0x14], 0
mov dword [esi + 0x18], 7
mov dword [ebp - 0x70], esi
mov word [esi + 4], ax
mov byte [ebp - 4], 2
mov byte [esi + 0x20], al
mov dword [esi + 0x24], eax
mov dword [esi + 0x28], eax
mov dword [esi + 0x1c], 0x1770
mov byte [ebp - 4], 3
push 0x18
call fcn.100d8378
add esp, 0xc
mov dword [esi + 0x2c], eax
push eax
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov byte [ebp - 4], 0
mov dword [edi], esi
mov dword [ebp - 4], 0xffffffff
mov esi, dword [ebp - 0x60]
mov dword [esi + 0x30], edi
mov edi, dword [ebp - 0x64]
cmp esi, edi
je 0x10022d25
cmp dword [edi + 0x14], 8
mov eax, edi
jb 0x10022d1a
mov eax, dword [edi]
push dword [edi + 0x10]
mov ecx, esi
push eax
call fcn.10004530
lea eax, [esi + 0x18]
cmp eax, ebx
je 0x10022d44
cmp dword [ebx + 0x14], 8
mov ecx, ebx
jb 0x10022d36
mov ecx, dword [ebx]
push dword [ebx + 0x10]
push ecx
mov ecx, eax
call fcn.10004530
lea eax, [esi + 0x18]
push eax
mov edx, esi
lea ecx, [ebp - 0x40]
call fcn.10028e90
add esp, 4
mov dword [ebp - 4], 5
mov ecx, edi
call fcn.10025860
test al, al
jne 0x10022e0e
cmp dword [0x10101274], 0
je 0x10022e07
push 0
mov ecx, 0x10101274
call fcn.100343e0
mov eax, dword [0x10101274]
cmp byte [eax + 0x54], 0
je 0x10022e07
cmp dword [eax + 0x58], 2
jb 0x10022e07
mov bl, byte [eax + 0x5c]
xor eax, eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x28]
push 0x18
push str.Create_directory_failed_
call fcn.10004530
push 0x22f
push str.RC::RCAvDbImpl::Init
push str.f:_branches6.1.5_rhinoprotect_framework_src_vbaselib_src_rcavscandbutils.cpp
lea eax, [ebp - 0x28]
mov ecx, 0x10101274
push eax
push 2
call fcn.10034d60
test bl, bl
je 0x10022dfb
lea eax, [ebp - 0x28]
mov ecx, 0x10101274
push eax
call fcn.10035090
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x28]
call fcn.100044d0
xor bl, bl
jmp 0x10022ff3
push 0xf
xor eax, eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
lea ecx, [ebp - 0x28]
push str.Quarantine.data
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
call fcn.10004530
mov byte [ebp - 4], 7
lea eax, [ebp - 0x28]
push eax
mov edx, esi
lea ecx, [ebp - 0x58]
call fcn.10028e90
add esp, 4
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x28]
call fcn.100044d0
lea ecx, [ebp - 0x58]
call fcn.100255d0
test al, al
je 0x10022f08
lea edx, [ebp - 0x40]
lea ecx, [ebp - 0x58]
call fcn.100318d0
test al, al
jne 0x10022f08
push 2
mov ecx, 0x10101274
call fcn.10034d10
mov edi, eax
test edi, edi
je 0x10022f08
xor eax, eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x28]
push 0x18
push str.Rename_file_name_failed_
call fcn.10004530
push 0x239
push str.RC::RCAvDbImpl::Init
push str.f:_branches6.1.5_rhinoprotect_framework_src_vbaselib_src_rcavscandbutils.cpp
lea eax, [ebp - 0x28]
mov ecx, 0x10101274
push eax
push 2
call fcn.10034d60
cmp edi, 1
jbe 0x10022efc
lea eax, [ebp - 0x28]
mov ecx, 0x10101274
push eax
call fcn.10035090
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x28]
call fcn.100044d0
cmp byte [ebp + 0x10], 0
je 0x10022f16
lea ecx, [ebp - 0x40]
call fcn.10031a80
mov ecx, dword [esi + 0x30]
lea eax, [ebp - 0x40]
push eax
call fcn.10030160
test al, al
jne 0x10022fe5
cmp dword [0x10101274], 0
je 0x10022fe1
push 0
mov ecx, 0x10101274
call fcn.100343e0
mov eax, dword [0x10101274]
cmp byte [eax + 0x54], 0
je 0x10022fe1
cmp dword [eax + 0x58], 2
jb 0x10022fe1
mov al, byte [eax + 0x5c]
mov byte [ebp - 0x59], al
xor eax, eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
mov byte [ebp - 4], 0xb
cmp dword [ebx + 0x14], 8
jb 0x10022f90
mov ebx, dword [ebx]
push ebx
lea eax, [ebp - 0x28]
push str.Open_db__s_failed
push eax
call fcn.10035220
add esp, 0xc
lea eax, [ebp - 0x28]
mov ecx, 0x10101274
push 0x246
push str.RC::RCAvDbImpl::Init
push str.f:_branches6.1.5_rhinoprotect_framework_src_vbaselib_src_rcavscandbutils.cpp
push eax
push 2
call fcn.10034d60
cmp byte [ebp - 0x59], 0
je 0x10022fd5
lea eax, [ebp - 0x28]
mov ecx, 0x10101274
push eax
call fcn.10035090
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x28]
call fcn.100044d0
xor bl, bl
jmp 0x10022fe7
mov bl, 1
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x58]
call fcn.100044d0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x40]
call fcn.100044d0
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.100d8362
mov esp, ebp
pop ebp
ret 0xc