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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x413838
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x41d008]
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
mov ecx, 0x41ec44
call fcn.00412f13
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 0x407fc5
mov eax, dword [esi + 0x10]
test eax, eax
je 0x407f9e
push 0xffffffffffffffff
push eax
call ecx
push ecx
mov ecx, esi
mov dword [esi + 4], 1
call fcn.004090e0
mov eax, dword [esi + 0x10]
test eax, eax
je 0x407fb7
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 0x407fd1
push 0xffffffffffffffff
push eax
call ecx
cmp dword [ebx + 0x3c], 0
je 0x40814f
mov eax, dword [ebx + 0x38]
mov edi, dword [eax]
cmp edi, eax
je 0x408121
mov eax, dword [edi + 8]
mov esi, dword [eax + 0x20]
test esi, esi
je 0x40810a
push 0x64
push esi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x40810a
push 0
push esi
call dword [sym.imp.KERNEL32.dll_TerminateThread]
cmp dword [0x41d7ec], 0
jne 0x408020
xor ebx, ebx
jmp 0x408044
push ecx
mov ecx, 0x41d7ec
call fcn.0040eb20
mov eax, dword [0x41d7ec]
xor ebx, ebx
cmp byte [eax + 0x54], bl
je 0x408044
cmp dword [eax + 0x58], 4
jb 0x408044
cmp byte [eax + 0x5c], bl
setne bl
inc ebx
test ebx, ebx
je 0x408107
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 0x417378
call fcn.00403610
push 0x25a
push str.RC::DmAvCore::RCImplPortServer::Uninit
push str.d:jenkinsworkspacepc_2345mpcsafe_build_2_rhinoprotect_framework_src_vbaselib_src_namedpipe_rcimplportserver.cpp
lea eax, [ebp - 0x28]
mov ecx, 0x41d7ec
push eax
push 4
call fcn.0040f420
cmp ebx, 1
jbe 0x4080b2
lea eax, [ebp - 0x28]
mov ecx, 0x41d7ec
push eax
call fcn.0040f750
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x14]
cmp edx, 8
jb 0x4080f3
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4080e9
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40818a
push edx
push ecx
call fcn.00411fb1
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.00407d60
mov edi, dword [edi]
mov eax, dword [ebx + 0x38]
cmp edi, eax
jne 0x407fe8
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 0x408149
mov esi, dword [edi]
push 0xc
push edi
call fcn.00411fb1
add esp, 8
mov edi, esi
cmp esi, dword [ebx + 0x38]
jne 0x408135
mov edi, dword [sym.imp.KERNEL32.dll_ReleaseMutex]
mov eax, dword [ebx + 0x34]
test eax, eax
je 0x408159
push eax
call edi
mov eax, dword [ebx + 0x30]
test eax, eax
je 0x40816e
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.00411cf3
mov esp, ebp
pop ebp
ret
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3