Function at 0x348469d8
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x348518aa
mov eax, dword fs:[0]
push eax
sub esp, 0x4b4
mov eax, dword [0x3485dd14]
xor eax, esp
mov dword [esp + 0x4b0], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x3485dd14]
xor eax, esp
push eax
lea eax, [esp + 0x4c8]
mov dword fs:[0], eax
mov eax, dword [esp + 0x4e0]
mov ebx, dword [esp + 0x4d8]
mov esi, dword [esp + 0x4dc]
mov ebp, dword [esp + 0x4e4]
xor edi, edi
push edi
push edi
mov dword [esp + 0x28], eax
mov dword [esp + 0x1c], edi
mov dword [esp + 0x24], 0xffffffff
mov dword [esp + 0x30], edi
call dword [sym.imp.OLEAUT32.dll_CreateErrorInfo]
mov eax, dword [esp + 0x20]
test eax, eax
je 0x34846a57
mov dword [eax], edi
test ebp, ebp
je 0x34846a5e
mov dword [ebp], edi
mov eax, dword [ebx + 8]
add eax, 0x64
push eax
mov dword [esp + 0x34], eax
call dword [sym.imp.kernel32.dll_EnterCriticalSection]
test esi, esi
mov dword [esp + 0x4d0], 0
je 0x34846e67
cmp dword [esp + 0x20], 0
je 0x34846e67
test ebp, ebp
je 0x34846e67
mov ecx, dword [ebx + 8]
push esi
add ecx, 0x40
call fcn.34848c6e
test eax, eax
jne 0x34846ab2
mov dword [esp + 0x18], 0x80040e6a
jmp 0x34846e6f
lea ecx, [esp + 0x14]
push ecx
mov ecx, dword [ebx + 8]
add ecx, 0x40
call fcn.34848544
test eax, eax
mov dword [esp + 0x18], eax
jl 0x34846e6f
mov ecx, dword [ebx + 8]
lea edx, [esp + 0x28]
push edx
lea eax, [esp + 0x18]
push eax
add ecx, 0x40
call fcn.348485bb
test eax, eax
mov dword [esp + 0x18], eax
jl 0x34846e6f
mov eax, dword [ebx + 8]
mov ecx, dword [eax + 0x48]
mov eax, dword [eax + 0x44]
lea edx, [esp + 0x14]
push edx
lea edx, [esp + 0x20]
push edx
push 0x20
push 0
push 0
push str.MSysGroups
push ecx
push eax
call fcn.3483019b
test eax, eax
mov dword [esp + 0x18], eax
jl 0x34846e6f
mov eax, dword [ebx + 8]
mov ecx, dword [esp + 0x1c]
mov eax, dword [eax + 0x44]
push 0
push SysReAllocStringLen
push ecx
push eax
call sub.acecore.dll_Ordinal_156
test eax, eax
mov dword [esp + 0x14], eax
jge 0x34846b4d
mov dword [esp + 0x18], 0x80004005
jmp 0x34846e73
mov edx, dword [ebx + 8]
mov ecx, dword [esp + 0x1c]
mov eax, dword [edx + 0x44]
push str.UserSID
push ecx
push eax
call sub.acecore.dll_Ordinal_173
test eax, eax
mov dword [esp + 0x14], eax
jge 0x34846b78
mov dword [esp + 0x18], 0x80004005
jmp 0x34846e73
mov edx, dword [ebx + 8]
mov eax, dword [edx + 0x44]
lea ecx, [esp + 0x14]
push ecx
lea edx, [esp + 0x40]
push edx
lea ecx, [esp + 0x34]
push ecx
mov ecx, dword [esi + 0x10]
push 0x1ff
lea edx, [esp + 0xd4]
push edx
push ecx
push eax
call fcn.34830404
test eax, eax
mov dword [esp + 0x18], eax
jl 0x34846e6f
mov edx, dword [ebx + 8]
mov ecx, dword [esp + 0x2c]
mov eax, dword [edx + 0x44]
push 1
push ecx
mov ecx, dword [esp + 0x24]
lea edx, [esp + 0xcc]
push edx
push ecx
push eax
call sub.acecore.dll_Ordinal_155
test eax, eax
mov dword [esp + 0x14], eax
jge 0x34846be5
mov dword [esp + 0x18], 0x80004005
jmp 0x34846e73
mov edx, dword [ebx + 8]
mov ecx, dword [esp + 0x1c]
mov eax, dword [edx + 0x44]
push 0x80
push ecx
push eax
call sub.acecore.dll_Ordinal_170
cmp eax, 0xfffff9bf
mov dword [esp + 0x14], eax
je 0x34846e5f
test eax, eax
je 0x34846c1b
mov dword [esp + 0x18], 0x80004005
jmp 0x34846e73
mov edx, dword [ebx + 8]
mov ecx, dword [esp + 0x1c]
mov eax, dword [edx + 0x44]
push 5
push ecx
push eax
call sub.acecore.dll_Ordinal_174
test eax, eax
mov dword [esp + 0x14], eax
jge 0x34846c43
mov dword [esp + 0x18], 0x80004005
jmp 0x34846e73
mov edx, dword [ebx + 8]
mov ecx, dword [esp + 0x1c]
mov eax, dword [edx + 0x44]
push 1
push ecx
push eax
call sub.acecore.dll_Ordinal_170
cmp eax, 0xfffff9bf
mov dword [esp + 0x14], eax
je 0x34846e5f
test eax, eax
je 0x34846c76
mov dword [esp + 0x18], 0x80004005
jmp 0x34846e73
mov edx, dword [ebx + 8]
mov ecx, dword [esp + 0x1c]
mov eax, dword [edx + 0x44]
push 0
push 1
push ecx
push eax
add edi, 1
call sub.acecore.dll_Ordinal_156
test eax, eax
mov dword [esp + 0x14], eax
jge 0x34846c76
mov eax, dword [0x34866048]
lea esi, [edi + edi*4]
add esi, esi
add esi, esi
mov dword [esp + 0x14], 0
mov edx, dword [eax]
push esi
push eax
mov eax, dword [edx + 0xc]
call eax
test eax, eax
mov dword [ebp], eax
jne 0x34846cc7
mov dword [esp + 0x18], 0x8007000e
jmp 0x34846e6f
push esi
push 0
push eax
call sub.msvcr80.dll_memset
mov ecx, dword [esp + 0x2c]
add esp, 0xc
mov dword [ecx], edi
mov edx, dword [ebx + 8]
mov ecx, dword [esp + 0x1c]
mov eax, dword [edx + 0x44]
push 1
push ecx
push eax
call sub.acecore.dll_Ordinal_170
cmp eax, 0xfffff9bf
mov dword [esp + 0x14], eax
je 0x34846e5f
test eax, eax
je 0x34846d0c
mov dword [esp + 0x18], 0x80004005
jmp 0x34846e73
mov ecx, dword [esp + 0x1c]
lea edx, [esp + 0x14]
push edx
lea eax, [esp + 0x38]
push eax
push str.GroupSID
push ecx
mov ecx, dword [ebx + 8]
add ecx, 0x40
call fcn.34848a5c
test eax, eax
mov dword [esp + 0x18], eax
jl 0x34846e6f
mov edx, dword [esp + 0x20]
cmp dword [edx], 0
mov dword [esp + 0x24], 0
jbe 0x34846e6f
xor edi, edi
mov eax, dword [ebx + 8]
mov eax, dword [eax + 0x44]
push 0
push 0
lea ecx, [esp + 0x40]
push ecx
mov ecx, dword [esp + 0x40]
push 0x1ff
lea edx, [esp + 0x2d4]
push edx
mov edx, dword [esp + 0x30]
push ecx
push edx
push eax
call sub.acecore.dll_Ordinal_167
test eax, eax
mov dword [esp + 0x14], eax
jl 0x34846b40
mov eax, dword [ebx + 8]
mov eax, dword [eax + 0x44]
lea ecx, [esp + 0x3c]
push ecx
mov ecx, dword [esp + 0x3c]
push 0x40
lea edx, [esp + 0x48]
push edx
push ecx
lea edx, [esp + 0x2d4]
push edx
push eax
call sub.acecore.dll_Ordinal_139
test eax, eax
mov dword [esp + 0x14], eax
jl 0x34846b40
mov eax, dword [ebp]
mov dword [edi + eax], 0
mov ecx, dword [ebp]
mov dword [ecx + edi + 4], 0
mov edx, dword [ebp]
mov dword [edx + edi + 8], 1
mov eax, dword [ebp]
mov dword [eax + edi + 0xc], 2
lea eax, [esp + 0x40]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x34846de9
sub eax, edx
sar eax, 1
lea esi, [eax + eax + 2]
mov eax, dword [0x34866048]
mov ecx, dword [eax]
mov edx, dword [ecx + 0xc]
push esi
push eax
call edx
mov ecx, dword [ebp]
mov dword [ecx + edi + 0x10], eax
mov edx, dword [ebp]
mov eax, dword [edx + edi + 0x10]
test eax, eax
je 0x34846cba
shr esi, 1
push esi
push eax
lea eax, [esp + 0x48]
push eax
call dword [sym.imp.MSO.dll_Ordinal_6877]
mov ecx, dword [esp + 0x1c]
mov edx, dword [ebx + 8]
mov eax, dword [edx + 0x44]
push 0
push 1
push ecx
push eax
call sub.acecore.dll_Ordinal_156
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x20]
add eax, 1
add edi, 0x14
cmp eax, dword [ecx]
mov dword [esp + 0x24], eax
jae 0x34846e6f
jmp 0x34846d4e
xor eax, eax
mov dword [esp + 0x14], eax
jmp 0x34846e73
mov dword [esp + 0x18], 0x80070057
mov eax, dword [esp + 0x14]
cmp dword [esp + 0x28], 0
mov esi, dword [esp + 0x18]
jne 0x34846eaa
test eax, eax
je 0x34846e97
mov edx, dword [ebx + 8]
push 0x34860d18
push eax
mov eax, dword [edx + 0x44]
push esi
push eax
call fcn.34812a85
jmp 0x34846eaa
test esi, esi
jge 0x34846eaa
push 0
push 0x34860d18
push esi
push 0
call fcn.3481d00b
mov eax, dword [esp + 0x1c]
cmp eax, 0xffffffff
je 0x34846ec0
mov ecx, dword [ebx + 8]
mov edx, dword [ecx + 0x44]
push eax
push edx
call sub.acecore.dll_Ordinal_108
test esi, esi
jge 0x34846f43
test ebp, ebp
je 0x34846f43
cmp dword [ebp], 0
je 0x34846f43
mov eax, dword [esp + 0x20]
test eax, eax
je 0x34846f27
mov eax, dword [eax]
test eax, eax
jbe 0x34846f27
xor edi, edi
test eax, eax
jbe 0x34846f19
mov ecx, dword [0x34866048]
xor esi, esi
lea esp, [esp]
mov eax, dword [ebp]
mov eax, dword [esi + eax + 0x10]
test eax, eax
je 0x34846f0b
test ecx, ecx
je 0x34846f0b
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 0x14]
push ecx
call eax
mov ecx, dword [0x34866048]
mov edx, dword [esp + 0x20]
add edi, 1
add esi, 0x14
cmp edi, dword [edx]
jb 0x34846eed
mov eax, dword [esp + 0x20]
mov esi, dword [esp + 0x18]
mov dword [eax], 0
mov eax, dword [0x34866048]
test eax, eax
je 0x34846f3c
mov edx, dword [ebp]
mov ecx, dword [eax]
push edx
push eax
mov eax, dword [ecx + 0x14]
call eax
mov dword [ebp], 0
mov eax, dword [esp + 0x30]
test eax, eax
je 0x34846f52
push eax
call dword [sym.imp.kernel32.dll_LeaveCriticalSection]
mov eax, esi
mov ecx, dword [esp + 0x4c8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x4b0]
xor ecx, esp
call fcn.3481f5cd
add esp, 0x4c0
ret 0x10