Function at 0x3482ad48
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x34850082
mov eax, dword fs:[0]
push eax
sub esp, 0x220
mov eax, dword [0x3485dd14]
xor eax, esp
mov dword [esp + 0x21c], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x3485dd14]
xor eax, esp
push eax
lea eax, [esp + 0x234]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x248]
mov esi, dword [esp + 0x244]
xor edi, edi
push edi
push edi
mov dword [esp + 0x30], ebp
mov dword [esp + 0x20], edi
mov dword [esp + 0x24], edi
call dword [sym.imp.OLEAUT32.dll_CreateErrorInfo]
mov ebx, dword [esi + 8]
add ebx, 0xf8
push ebx
mov dword [esp + 0x18], ebx
call dword [sym.imp.kernel32.dll_EnterCriticalSection]
cmp ebp, edi
mov dword [esp + 0x23c], edi
je 0x3482b061
cmp dword [ebp + 0x10], 2
jne 0x3482b061
cmp dword [esp + 0x24c], edi
jne 0x3482b061
cmp dword [ebp + 0x14], edi
jne 0x3482adf0
mov edi, 0x80040e76
jmp 0x3482b070
mov eax, dword [esi + 8]
cmp dword [eax + 0x50], edi
jbe 0x3482ae0b
test dword [eax + 0x3c], 0x100
jne 0x3482ae0b
mov edi, 0x80040e05
jmp 0x3482b070
mov ecx, dword [eax + 0x14]
add ecx, 0xc
test byte [eax + 0x3c], 0x10
mov dword [esp + 0x24], ecx
je 0x3482ae25
mov edi, 0x80004005
jmp 0x3482b070
mov eax, dword [0x34866048]
mov ecx, dword [eax]
mov edx, dword [ecx + 0xc]
push 0x800
push eax
mov ebx, 0x400
call edx
mov edi, eax
test edi, edi
jne 0x3482ae4c
mov edi, 0x8007000e
jmp 0x3482b06c
mov eax, dword [esi + 8]
cmp dword [eax + 0x64], 0xffffffff
je 0x3482ae6f
mov ecx, dword [eax + 0x64]
mov edx, dword [eax + 0x34]
mov eax, dword [edx + 0x10]
push ecx
push eax
call sub.acecore.dll_Ordinal_108
mov ecx, dword [esi + 8]
mov dword [ecx + 0x64], 0xffffffff
mov eax, dword [esi + 8]
mov ecx, dword [eax + 0x34]
mov edx, dword [ecx + 0x14]
mov ecx, dword [ecx + 0x10]
add eax, 0x64
push eax
mov eax, dword [ebp + 0x14]
push eax
push edx
push ecx
call sub.acecore.dll_Ordinal_315
mov ebp, eax
cmp ebp, 0xfffffae7
je 0x3482b057
test ebp, ebp
jge 0x3482aec5
mov edi, 0x80004005
test ebp, ebp
je 0x3482b068
mov edx, dword [esi + 8]
mov eax, dword [edx + 0x34]
push 0x348564ec
push ebp
push edi
push eax
call fcn.3481319b
mov ebx, dword [esp + 0x14]
jmp 0x3482b08b
mov ecx, dword [esi + 8]
mov ecx, dword [ecx + 0x38]
test ecx, ecx
mov dword [esp + 0x1c], 1
je 0x3482aedc
call fcn.3484cf71
mov eax, dword [esi + 8]
mov edx, dword [eax + 0x34]
mov ecx, dword [edx + 0x58]
mov dword [eax + 0x38], ecx
mov edx, dword [esi + 8]
cmp dword [edx + 0x38], 0
je 0x3482aefb
mov eax, edx
mov ecx, dword [eax + 0x38]
call fcn.3484ca97
lea edx, [esp + 0x18]
push edx
lea edx, [esp + 0x24]
push edx
push pe_nt_image_headers32
lea edx, [esp + 0x3c]
push edx
mov word [edi], 0
mov eax, dword [esi + 8]
mov ecx, dword [eax + 0x34]
mov eax, dword [eax + 0x64]
mov ecx, dword [ecx + 0x10]
lea edx, [esp + 0x3c]
push edx
push ebx
push edi
push eax
push ecx
call sub.acecore.dll_Ordinal_317
mov ebp, eax
cmp ebp, 0xfffff245
je 0x3482af48
test ebp, ebp
je 0x3482af76
cmp ebp, 0x3ee
jne 0x3482ae9c
push edi
mov ecx, 0x34866048
call fcn.34828c49
mov eax, dword [0x34866048]
mov ecx, dword [eax]
add ebx, ebx
lea edx, [ebx + ebx]
push edx
push eax
mov eax, dword [ecx + 0xc]
call eax
mov edi, eax
test edi, edi
jne 0x3482aefb
mov edi, 0x8007000e
jmp 0x3482aea1
mov eax, dword [esp + 0x20]
cmp eax, 0xff
jb 0x3482af86
mov eax, 0xff
mov ecx, dword [esi + 8]
mov word [esp + eax*2 + 0x30], 0
mov eax, dword [ecx + 0x6c]
test eax, eax
je 0x3482afa2
push eax
mov ecx, 0x34866048
call fcn.34828c49
mov edx, dword [esi + 8]
mov dword [edx + 0x6c], edi
mov eax, dword [esi + 8]
mov dword [eax + 0x48], 1
mov ecx, dword [esi + 8]
cmp dword [ecx + 0x4c], 0
je 0x3482afcb
mov edx, ecx
mov eax, dword [edx + 0x4c]
push eax
mov ecx, 0x34866048
call fcn.34828c49
mov ecx, dword [esi + 8]
mov edx, dword [esp + 0x28]
mov eax, dword [edx + 0x14]
add ecx, 0x4c
push ecx
push eax
call fcn.3481cac1
mov edx, dword [esp + 0x18]
mov ebx, dword [esp + 0x24]
mov ecx, dword [ebx + 0xc]
and edx, 1
push edx
push 0xfd
mov edi, eax
call fcn.3481e6ad
mov ecx, eax
call fcn.34830751
test byte [esp + 0x18], 1
je 0x3482b04b
mov ecx, dword [ebx + 0xc]
lea eax, [esp + 0x30]
push eax
push 0xf2
call fcn.3481e6ad
mov ecx, eax
call fcn.34830786
mov edi, eax
test edi, edi
jl 0x3482aea1
mov ecx, dword [esp + 0x18]
mov ebx, dword [ebx + 0xc]
shr ecx, 1
and ecx, 1
push ecx
push 0x119
mov ecx, ebx
call fcn.3481e6ad
mov ecx, eax
call fcn.34830751
mov eax, dword [esi + 8]
or dword [eax + 0x3c], 0x20
jmp 0x3482aea1
mov edi, 0x80040e76
jmp 0x3482aea9
mov edi, 0x80070057
jmp 0x3482b070
test edi, edi
jge 0x3482b0bb
mov ebx, dword [esp + 0x14]
mov ecx, dword [esi + 8]
mov eax, dword [ecx + 0x34]
mov edx, dword [eax + 0x14]
mov eax, dword [eax + 0x10]
push 0
push 0x348564ec
push edi
push edx
push eax
call fcn.3481cfc1
test edi, edi
jge 0x3482b0bf
mov ecx, dword [esi + 8]
or ebp, 0xffffffff
cmp dword [ecx + 0x64], ebp
je 0x3482b0bf
cmp dword [esp + 0x1c], 1
jne 0x3482b0bf
mov eax, ecx
mov edx, dword [eax + 0x64]
mov eax, dword [eax + 0x34]
mov ecx, dword [eax + 0x10]
push edx
push ecx
call sub.acecore.dll_Ordinal_108
mov edx, dword [esi + 8]
mov dword [edx + 0x64], ebp
jmp 0x3482b0bf
mov ebx, dword [esp + 0x14]
test ebx, ebx
je 0x3482b0ca
push ebx
call dword [sym.imp.kernel32.dll_LeaveCriticalSection]
mov eax, edi
mov ecx, dword [esp + 0x234]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x21c]
xor ecx, esp
call fcn.3481f5cd
add esp, 0x22c
ret 0xc