Function at 0x10012ac0
Capabilities:
Get number of processors
Terminate thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1001e1c8
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x1002a008]
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 ebx, ecx
mov dword [ebp - 0x2c], ebx
push 1
lea eax, [ebx + 0x2c]
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
push dword [ebx + 0x30]
call dword [sym.imp.KERNEL32.dll_SetEvent]
mov esi, dword [ebx + 0x1c]
mov ecx, dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov edi, dword [sym.imp.KERNEL32.dll_ReleaseMutex]
test esi, esi
je 0x10012b4f
mov eax, dword [esi + 0x10]
test eax, eax
je 0x10012b24
push 0xffffffffffffffff
push eax
call ecx
push 0x1388
mov ecx, esi
mov dword [esi + 4], 1
call fcn.10010620
mov eax, dword [esi + 0x10]
test eax, eax
je 0x10012b41
push eax
call edi
mov eax, dword [esi]
mov ecx, esi
push 1
call dword [eax]
mov ecx, dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov eax, dword [ebx + 0x34]
test eax, eax
je 0x10012b5b
push 0xffffffffffffffff
push eax
call ecx
cmp dword [ebx + 0x3c], 0
je 0x10012cda
mov eax, dword [ebx + 0x38]
mov edi, dword [eax]
cmp edi, eax
je 0x10012cac
mov eax, dword [edi + 8]
mov esi, dword [eax + 0x20]
test esi, esi
je 0x10012c95
push 0x64
push esi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x10012c95
push 0
push esi
call dword [sym.imp.KERNEL32.dll_TerminateThread]
cmp dword [0x1002a9d4], 0
jne 0x10012baa
xor ebx, ebx
jmp 0x10012bcf
push 0
mov ecx, 0x1002a9d4
call fcn.10013c10
mov eax, dword [0x1002a9d4]
xor ebx, ebx
cmp byte [eax + 0x54], bl
je 0x10012bcf
cmp dword [eax + 0x58], 4
jb 0x10012bcf
cmp byte [eax + 0x5c], bl
setne bl
inc ebx
test ebx, ebx
je 0x10012c92
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 dword [ebp - 4], eax
lea ecx, [ebp - 0x28]
push 0x1b
push 0x100236e8
call fcn.100049e0
push 0x25a
push str.RC::DmAvCore::RCImplPortServer::Uninit
push str.d:jenkinsworkspacepc_2345mpcsafe_build_rhinoprotect_framework_src_vbaselib_src_namedpipe_rcimplportserver.cpp
lea eax, [ebp - 0x28]
mov ecx, 0x1002a9d4
push eax
push 4
call fcn.10014740
cmp ebx, 1
jbe 0x10012c3d
lea eax, [ebp - 0x28]
mov ecx, 0x1002a9d4
push eax
call fcn.10014ad0
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x14]
cmp edx, 8
jb 0x10012c7e
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x10012c74
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10012d15
push edx
push ecx
call fcn.1001b7ac
add esp, 8
xor eax, eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
mov ebx, dword [ebp - 0x2c]
push dword [edi + 8]
call fcn.10012900
mov edi, dword [edi]
mov eax, dword [ebx + 0x38]
cmp edi, eax
jne 0x10012b72
mov edi, dword [eax]
mov dword [eax], eax
mov eax, dword [ebx + 0x38]
mov dword [eax + 4], eax
mov dword [ebx + 0x3c], 0
cmp edi, dword [ebx + 0x38]
je 0x10012cd4
mov esi, dword [edi]
push 0xc
push edi
call fcn.1001b7ac
add esp, 8
mov edi, esi
cmp esi, dword [ebx + 0x38]
jne 0x10012cc0
mov edi, dword [sym.imp.KERNEL32.dll_ReleaseMutex]
mov eax, dword [ebx + 0x34]
test eax, eax
je 0x10012ce4
push eax
call edi
mov eax, dword [ebx + 0x30]
test eax, eax
je 0x10012cf9
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebx + 0x30], 0
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.1001b76b
mov esp, ebp
pop ebp
ret
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3