Function at 0x14003e900
Capabilities:
Check mutex and terminate process on windows
Check mutex on windows
Create process on windows
Enumerate processes
Terminate process

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
mov qword [rsp + 0x20], r14
push rbp
lea rbp, [rsp - 0x240]
sub rsp, 0x340
mov rax, qword [0x14033e810]
xor rax, rsp
mov qword [rbp + 0x230], rax
call fcn.14002bc90
test al, al
jne 0x14003e98a
lea r9, str.The_Windows_is_not_supported
mov r8d, 0x6b2
lea rdx, str.C:WorkVSRevoWindowsProjectsRevo_HelperRevo_HelperSourcesUtilsHelper.cpp
mov ecx, 1
call fcn.1400473d0
xor al, al
mov rcx, qword [rbp + 0x230]
xor rcx, rsp
call fcn.1402155d0
lea r11, [rsp + 0x340]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov r14, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetLastError]
lea r8, str.GlobalRevoHelperFreeMutex
mov edx, 1
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateMutexA]
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x14003e95c
call fcn.14003ecb0
movzx ebx, al
xor esi, esi
mov dword [rsp + 0x58], esi
lea r8, [rsp + 0x58]
lea rdx, str.HelperEnabled
lea rcx, str.Helper
call fcn.140047760
test eax, eax
jne 0x14003ea00
test bl, bl
jne 0x14003ea00
mov dword [rsp + 0x58], 1
lea r8d, [rsi + 1]
lea rdx, str.HelperEnabled
lea rcx, str.Helper
call fcn.1400479f0
cmp dword [rsp + 0x58], esi
je 0x14003e95c
test bl, bl
je 0x14003eb29
call fcn.1400a2364
mov rcx, rax
test rax, rax
je 0x14003ec9e
mov rax, qword [rax]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rsp + 0x50], rax
lea rdx, [rsp + 0x50]
call fcn.14003eec0
mov rdi, 0xffffffffffffffff
test al, al
je 0x14003eb04
lea rdx, str.RevoUninProHelper.exe
mov rax, rdi
inc rax
cmp word [rdx + rax*2], 0
jne 0x14003ea55
mov r8d, eax
lea rcx, [rsp + 0x50]
call fcn.1400157c0
mov rcx, qword [rsp + 0x50]
cmp dword [rcx - 8], 1
jle 0x14003ea89
mov edx, dword [rcx - 0x10]
lea rcx, [rsp + 0x50]
call fcn.14000dd30
mov rcx, qword [rsp + 0x50]
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp - 0x7c], xmm0
movups xmmword [rbp - 0x6c], xmm0
movups xmmword [rbp - 0x5c], xmm0
movups xmmword [rbp - 0x4c], xmm0
movups xmmword [rbp - 0x3c], xmm0
movups xmmword [rbp - 0x2c], xmm0
mov dword [rbp - 0x1c], eax
mov dword [rbp - 0x80], 0x68
movups xmmword [rsp + 0x60], xmm0
mov qword [rsp + 0x70], rax
lea rax, [rsp + 0x60]
mov qword [rsp + 0x48], rax
lea rax, [rbp - 0x80]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], rsi
mov qword [rsp + 0x30], rsi
mov dword [rsp + 0x28], esi
mov dword [rsp + 0x20], esi
xor r9d, r9d
xor r8d, r8d
xor edx, edx
call qword [sym.imp.KERNEL32.dll_CreateProcessW]
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
mov rdx, qword [rsp + 0x50]
add rdx, 0xffffffffffffffe8
lock xadd dword [rdx + 0x10], edi
sub edi, 1
jg 0x14003e95c
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
jmp 0x14003e95c
call fcn.1400a2364
mov rcx, rax
test rax, rax
je 0x14003ec93
mov rax, qword [rax]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rsp + 0x50], rax
lea rdx, str.RevoUninProHelper.exe
mov rdi, 0xffffffffffffffff
cmp rdx, 0x10000
jae 0x14003eb6f
movzx edx, dx
lea rcx, [rsp + 0x50]
call fcn.14000d610
jmp 0x14003eb8a
mov rax, rdi
inc rax
cmp word [rdx + rax*2], 0
jne 0x14003eb72
mov r8d, eax
lea rcx, [rsp + 0x50]
call fcn.14000df90
nop
mov rbx, qword [rsp + 0x50]
cmp dword [rbx - 8], 1
jle 0x14003eba7
mov edx, dword [rbx - 0x10]
lea rcx, [rsp + 0x50]
call fcn.14000dd30
mov rbx, qword [rsp + 0x50]
xor edx, edx
lea ecx, [rdx + 0xf]
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov r14, rax
lea rcx, [rax - 1]
cmp rcx, 0xfffffffffffffffd
ja 0x14003ec51
mov dword [rbp - 0x10], 0x238
lea rdx, [rbp - 0x10]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x14003ec48
lea rax, [rbp + 0x1c]
mov r8, rbx
sub r8, rax
nop word [rax + rax]
movzx edx, word [rax]
movzx ecx, word [rax + r8]
sub edx, ecx
jne 0x14003ec04
add rax, 2
test ecx, ecx
jne 0x14003ebf0
test edx, edx
jne 0x14003ec25
mov r8d, dword [rbp - 8]
lea ecx, [rdx + 1]
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov rsi, rax
lea rcx, [rax + 1]
test rcx, 0xfffffffffffffffe
jne 0x14003ec34
lea rdx, [rbp - 0x10]
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_Process32NextW]
jmp 0x14003ebd7
xor edx, edx
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov dl, 1
movzx ecx, dl
call fcn.14003dc30
cmp dword [rsp + 0x58], 0
je 0x14003ec75
call fcn.14003d870
test al, al
jne 0x14003ec75
xor edx, edx
xor ecx, ecx
call fcn.14003dc30
nop
lea rdx, [rbx - 0x18]
lock xadd dword [rdx + 0x10], edi
sub edi, 1
jg 0x14003ec8c
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov al, 1
jmp 0x14003e95e
mov ecx, 0x80004005
call fcn.1400080b0
nop
mov ecx, 0x80004005
call fcn.1400080b0
int3