joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14001f8a8
Capabilities:
Query environment variable

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r14
mov eax, 0x2020
call fcn.1400240c0
sub rsp, rax
xor r14d, r14d
mov rsi, r8
mov rbx, rcx
test r9, r9
je 0x14001f8db
mov byte [r9], r14b
mov rcx, qword [rsp + 0x2050]
test rcx, rcx
je 0x14001f8eb
mov byte [rcx], r14b
test rbx, rbx
je 0x14001f9a0
movzx eax, word [rbx]
test ax, ax
je 0x14001f9a0
movsxd rbp, dword [rsp + 0x2058]
mov rdi, r14
mov r8d, r14d
add rbx, 2
cmp ax, 0x3d
jne 0x14001f930
test rsi, rsi
je 0x14001f93c
test rdi, rdi
jne 0x14001f93c
test r9, r9
je 0x14001f92b
mov byte [r9], 1
mov rdi, rdx
jmp 0x14001f94b
cmp ax, 0xd
je 0x14001f95d
cmp ax, 0xa
je 0x14001f961
mov word [rdx], ax
add rdx, 2
lea eax, [rbp - 2]
cmp r8d, eax
jge 0x14001f958
movzx eax, word [rbx]
inc r8d
test ax, ax
jne 0x14001f90e
jmp 0x14001f961
mov byte [rcx], 1
jmp 0x14001f961
add rbx, 2
mov word [rdx], r14w
test rsi, rsi
je 0x14001f99b
mov word [rsi], r14w
test rdi, rdi
je 0x14001f99b
mov r8d, 0x1000
lea rdx, [rsp + 0x20]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
mov r8, rbp
lea rdx, [rsp + 0x20]
mov rcx, rsi
call fcn.140011ee8
mov word [rdi], r14w
mov rax, rbx
jmp 0x14001f9a2
xor eax, eax
lea r11, [rsp + 0x2020]
mov rbx, qword [r11 + 0x10]
mov rbp, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop r14
ret

Function at 0x14001f9c0
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x30
mov rdi, rcx
mov ebx, edx
lea rcx, [rsp + 0x58]
call qword [sym.imp.SHELL32.dll_SHGetMalloc]
lea rax, [rsp + 0x50]
xor r9d, r9d
xor r8d, r8d
mov qword [rsp + 0x20], rax
mov edx, ebx
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetFolderLocation]
xor ecx, ecx
test eax, eax
sete sil
test sil, sil
je 0x14001fa3c
mov rcx, qword [rsp + 0x50]
mov rdx, rdi
call qword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
mov rdi, qword [rsp + 0x58]
cmp eax, 1
sete sil
mov rax, qword [rdi]
mov rbx, qword [rax + 0x28]
mov rcx, rbx
call qword [fcn.14000af10]
mov rdx, qword [rsp + 0x50]
mov rcx, rdi
call rbx
jmp 0x14001fa3f
mov word [rdi], cx
mov rbx, qword [rsp + 0x40]
mov al, sil
mov rsi, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret
Function at 0x14002262c
Capabilities:
Hide graphical window

Disassembly:
push rbx
sub rsp, 0x20
and dword [0x14005390c], 0
mov edx, 1
mov rbx, rcx
mov byte [0x140053909], 1
mov byte [0x14005390a], 1
call qword [sym.imp.USER32.dll_ShowWindow]
xor r8d, r8d
mov rcx, rbx
lea edx, [r8 + 2]
call fcn.140001378
cmp qword [0x140053928], 0
jne 0x140022677
cmp byte [0x14005391f], 0
je 0x140022680
cmp dword [0x140053918], 0
jne 0x140022695
xor r9d, r9d
mov edx, 0x111
mov rcx, rbx
lea r8d, [r9 + 1]
call qword [sym.imp.USER32.dll_SendMessageW]
add rsp, 0x20
pop rbx
ret

Function at 0x140022770
Capabilities:
Set registry value

Disassembly:
mov qword [rsp + 8], rbx
push rdi
mov eax, 0x1050
call fcn.1400240c0
sub rsp, rax
xor edi, edi
mov rbx, rcx
cmp byte [0x140055958], dil
je 0x140022842
cmp word [0x14005595a], di
je 0x140022842
mov r8d, 0x800
lea rdx, [rsp + 0x50]
lea rcx, [0x14005595a]
call fcn.140020ff8
lea rax, [rsp + 0x1068]
xor r9d, r9d
mov qword [rsp + 0x40], rax
lea rdx, str.SoftwareWinRAR_SFX
lea rax, [rsp + 0x1070]
xor r8d, r8d
mov qword [rsp + 0x38], rax
mov rcx, 0xffffffff80000001
mov qword [rsp + 0x30], rdi
mov dword [rsp + 0x28], 0x20006
mov dword [rsp + 0x20], edi
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x140022842
mov rcx, rbx
call fcn.140027e88
lea r9d, [rdi + 1]
xor r8d, r8d
lea rdx, [rsp + 0x50]
lea ecx, [rax*2 + 2]
mov dword [rsp + 0x28], ecx
mov rcx, qword [rsp + 0x1070]
mov qword [rsp + 0x20], rbx
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov rcx, qword [rsp + 0x1070]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rbx, qword [rsp + 0x1060]
add rsp, 0x1050
pop rdi
ret

Function at 0x140022854
Capabilities:
Set environment variable

Disassembly:
push rbx
mov eax, 0x2020
call fcn.1400240c0
sub rsp, rax
mov rbx, rcx
mov rdx, rcx
lea rcx, str.sfxcmd
call qword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
mov r8d, 0x1000
lea rdx, [rsp + 0x20]
mov rcx, rbx
call fcn.140011bf0
mov rbx, rax
test rax, rax
je 0x1400228b6
movzx ecx, word [rax]
jmp 0x14002289d
add rbx, 2
movzx ecx, word [rbx]
call fcn.140011d28
test al, al
jne 0x140022896
mov rdx, rbx
lea rcx, str.sfxpar
call qword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
add rsp, 0x2020
pop rbx
ret
Function at 0x14002c5a0
Capabilities:
Parse pe header

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov qword [rax + 0x20], r14
push r15
sub rsp, 0x20
mov esi, r8d
mov ebx, edx
mov r14d, ecx
test r8d, r8d
jne 0x14002c374
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x14002c374
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x14002c374
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x14002c374
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x14002c374
cmp dword [rcx + 0x84], 0xe
jbe 0x14002c374
cmp dword [rcx + 0xf8], esi
je 0x14002c374
mov ecx, r14d
call fcn.14002c4bc
mov ecx, 2
call fcn.14002fba8
nop
cmp byte [0x14006c668], 0
jne 0x14002c43e
mov r15d, 1
mov eax, r15d
xchg dword [0x14006c658], eax
test ebx, ebx
jne 0x14002c3e7
mov rdi, qword [0x140049860]
mov edx, edi
and edx, 0x3f
lea ecx, [rbx + 0x40]
sub ecx, edx
xor eax, eax
ror rax, cl
xor rax, rdi
mov rcx, qword [0x14006c660]
cmp rcx, rax
je 0x14002c3de
xor rdi, rcx
mov ecx, edx
ror rdi, cl
mov rcx, rdi
call qword [fcn.14000af10]
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call rdi
lea rcx, [0x14006c798]
jmp 0x14002c3f3
cmp ebx, r15d
jne 0x14002c3f9
lea rcx, [0x14006c7b0]
call fcn.14002cf30
nop
test ebx, ebx
jne 0x14002c410
lea rdx, [0x1400385a8]
lea rcx, [0x140038588]
call fcn.14002d2b0
lea rdx, [0x1400385b8]
lea rcx, [0x1400385b0]
call fcn.14002d2b0
movzx eax, byte [0x14006c668]
test esi, esi
cmove eax, r15d
mov byte [0x14006c668], al
jmp 0x14002c43e
mov ecx, 2
call fcn.14002fc08
test esi, esi
jne 0x14002c455
mov ecx, r14d
call fcn.14002c470
int3
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
mov rdi, qword [rsp + 0x40]
mov r14, qword [rsp + 0x48]
add rsp, 0x20
pop r15
ret
xor r8d, r8d
xor edx, edx
jmp 0x14002c304
Function at 0x180020f30
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
movabs rax, 0xcbf29ce484222325
mov r9d, 0
sub r8, rdx
je 0x180020f64
movabs r10, 0x100000001b3
nop
movzx ecx, byte [r9 + rdx]
inc r9
xor rax, rcx
imul rax, r10
cmp r9, r8
jb 0x180020f50
ret
Function at 0x18002ee60
Capabilities:
Check mutex and terminate process on windows
Check mutex on windows
Terminate process

Disassembly:
mov r9, rdx
mov edx, 0xc3
jmp fcn.18000cd30
Function at 0x29c131500
Capabilities:
Encode data using xor
Encrypt data using rc4 prga

Disassembly:
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x48
pxor xmm0, xmm0
mov qword [rcx + 0x10], 0
mov rsi, rcx
movups xmmword [rcx], xmm0
mov ecx, 0x149000
call fcn.29c151c20
lea rdi, [rax + 0x149000]
mov qword [rsi], rax
mov rcx, rax
mov rbx, rax
mov qword [rsi + 0x10], rdi
mov rdx, qword [sym.payload.dll_globalByteArray]
mov r8d, 0x149000
call sub.msvcrt.dll_memcpy
mov qword [rsi + 8], rdi
mov rbp, qword [sym.payload.dll_encryptionKey]
lea rdi, [rsp + 0x30]
mov qword [rsp + 0x20], rdi
mov rcx, rbp
call sub.msvcrt.dll_strlen
cmp rax, 1
je 0x29c131610
test rax, rax
jne 0x29c1315e0
mov qword [rsp + 0x28], rax
xor ecx, ecx
mov byte [rsp + rax + 0x30], 0
mov r8, qword [rsp + 0x28]
nop word [rax + rax]
mov rax, rcx
xor edx, edx
div r8
mov rax, qword [rsp + 0x20]
movzx eax, byte [rax + rdx]
xor byte [rbx + rcx], al
add rcx, 1
mov rbx, qword [rsi]
mov rax, qword [rsi + 8]
sub rax, rbx
cmp rcx, rax
jb 0x29c131590
mov rcx, qword [rsp + 0x20]
cmp rcx, rdi
je 0x29c1315cf
mov rax, qword [rsp + 0x30]
lea rdx, [rax + 1]
call fcn.29c151c10
mov rax, rsi
add rsp, 0x48
pop rbx
pop rsi
pop rdi
pop rbp
ret
mov r8, rdi
mov rdx, rbp
cmp eax, 8
jae 0x29c131620
xor ecx, ecx
test al, 4
jne 0x29c131660
test al, 2
jne 0x29c131648
test al, 1
je 0x29c131576
movzx edx, byte [rdx + rcx]
mov byte [r8 + rcx], dl
jmp 0x29c131576
movzx edx, byte [rbp]
mov byte [rsp + 0x30], dl
jmp 0x29c131576
mov r8d, eax
xor edx, edx
and r8d, 0xfffffff8
mov ecx, edx
add edx, 8
mov r9, qword [rbp + rcx]
mov qword [rdi + rcx], r9
cmp edx, r8d
jb 0x29c131629
lea r8, [rdi + rdx]
add rdx, rbp
jmp 0x29c1315eb
movzx r9d, word [rdx + rcx]
mov word [r8 + rcx], r9w
add rcx, 2
test al, 1
je 0x29c131576
jmp 0x29c1315fd
mov ecx, dword [rdx]
mov dword [r8], ecx
mov ecx, 4
test al, 2
je 0x29c1315f5
jmp 0x29c131648
Function at 0x29c1475e0
Capabilities:
Write file on windows

Disassembly:
push rsi
push rbx
sub rsp, 0x38
mov rbx, rcx
lea rax, [rsp + 0x58]
mov ecx, 2
mov qword [rsp + 0x58], rdx
mov qword [rsp + 0x60], r8
mov qword [rsp + 0x68], r9
mov qword [rsp + 0x28], rax
call fcn.29c14f4c0
mov r8d, 0x1b
mov edx, 1
lea rcx, str.Mingw_w64_runtime_failure:_n
mov r9, rax
call sub.msvcrt.dll_fwrite
mov rsi, qword [rsp + 0x28]
mov ecx, 2
call fcn.29c14f4c0
mov rdx, rbx
mov rcx, rax
mov r8, rsi
call sub.msvcrt.dll_vfprintf
call sub.msvcrt.dll_abort
nop
nop dword [rax]

Function at 0x29c147650
Capabilities:
Allocate or change rwx memory

Disassembly:
push rdi
push rsi
push rbx
sub rsp, 0x50
movsxd rsi, dword [0x29c2a2064]
mov rbx, rcx
test esi, esi
jle 0x29c147780
mov rax, qword [0x29c2a2068]
xor r9d, r9d
add rax, 0x18
nop word [rax + rax]
mov r8, qword [rax]
cmp rbx, r8
jb 0x29c14769b
mov rdx, qword [rax + 8]
mov edx, dword [rdx + 8]
add r8, rdx
cmp rbx, r8
jb 0x29c147725
add r9d, 1
add rax, 0x28
cmp r9d, esi
jne 0x29c147680
mov rcx, rbx
call fcn.29c147f70
mov rdi, rax
test rax, rax
je 0x29c1477a2
mov rax, qword [0x29c2a2068]
lea rbx, [rsi + rsi*4]
shl rbx, 3
add rax, rbx
mov qword [rax + 0x20], rdi
mov dword [rax], 0
call fcn.29c1480b0
mov edx, dword [rdi + 0xc]
mov r8d, 0x30
lea rcx, [rax + rdx]
mov rax, qword [0x29c2a2068]
lea rdx, [rsp + 0x20]
mov qword [rax + rbx + 0x18], rcx
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x29c147787
mov eax, dword [rsp + 0x44]
lea edx, [rax - 4]
and edx, 0xfffffffb
je 0x29c14771e
lea edx, [rax - 0x40]
and edx, 0xffffffbf
jne 0x29c147730
add dword [0x29c2a2064], 1
add rsp, 0x50
pop rbx
pop rsi
pop rdi
ret
cmp eax, 2
mov rcx, qword [rsp + 0x20]
mov rdx, qword [rsp + 0x38]
mov r8d, 0x40
mov eax, 4
cmove r8d, eax
add rbx, qword [0x29c2a2068]
mov qword [rbx + 8], rcx
mov r9, rbx
mov qword [rbx + 0x10], rdx
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x29c14771e
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.__VirtualProtect_failed_with_code_0x_x
mov edx, eax
call fcn.29c1475e0
nop dword [rax]
xor esi, esi
jmp 0x29c1476a8
mov rax, qword [0x29c2a2068]
mov edx, dword [rdi + 8]
lea rcx, str.__VirtualQuery_failed_for__d_bytes_at_address__p
mov r8, qword [rax + rbx + 0x18]
call fcn.29c1475e0
mov rdx, rbx
lea rcx, str.Address__p_has_no_image_section
call fcn.29c1475e0
nop
nop word cs:[rax + rax]
nop dword [rax]
Function at 0x29c147c60
Capabilities:
Get thread local storage value

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x20
cmp edx, 2
je 0x29c147d90
ja 0x29c147ca8
test edx, edx
je 0x29c147d28
mov eax, dword [0x29c2a2088]
test eax, eax
je 0x29c147e10
mov dword [0x29c2a2088], 1
mov eax, 1
add rsp, 0x20
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
ret
cmp edx, 3
jne 0x29c147c95
mov eax, dword [0x29c2a2088]
test eax, eax
je 0x29c147c95
lea r12, [0x29c2a20a0]
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rbx, qword [0x29c2a2080]
test rbx, rbx
je 0x29c147d14
mov rbp, qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rdi, qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax]
mov ecx, dword [rbx]
call rbp
mov rsi, rax
call rdi
test rsi, rsi
je 0x29c147e38
test eax, eax
jne 0x29c147e38
mov rax, qword [rbx + 8]
mov rcx, rsi
call rax
mov rbx, qword [rbx + 0x10]
test rbx, rbx
jne 0x29c147ce8
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
jmp 0x29c147c95
mov eax, dword [0x29c2a2088]
test eax, eax
jne 0x29c147da8
mov eax, dword [0x29c2a2088]
cmp eax, 1
jne 0x29c147c95
mov rbx, qword [0x29c2a2080]
test rbx, rbx
je 0x29c147d61
nop dword [rax]
mov rcx, rbx
mov rbx, qword [rbx + 0x10]
call fcn.29c150000
test rbx, rbx
jne 0x29c147d50
lea rcx, [0x29c2a20a0]
mov qword [0x29c2a2080], 0
mov dword [0x29c2a2088], 0
call qword [sym.imp.KERNEL32.dll_DeleteCriticalSection]
jmp 0x29c147c95
call fcn.29c148240
mov eax, 1
add rsp, 0x20
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
ret
lea r12, [0x29c2a20a0]
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rbx, qword [0x29c2a2080]
test rbx, rbx
je 0x29c147dfc
mov rbp, qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rdi, qword [sym.imp.KERNEL32.dll_GetLastError]
nop word [rax + rax]
mov ecx, dword [rbx]
call rbp
mov rsi, rax
call rdi
test eax, eax
jne 0x29c147e28
test rsi, rsi
je 0x29c147e28
mov rax, qword [rbx + 8]
mov rcx, rsi
call rax
mov rbx, qword [rbx + 0x10]
test rbx, rbx
jne 0x29c147dd8
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
jmp 0x29c147d32
lea rcx, [0x29c2a20a0]
call qword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
jmp 0x29c147c8b
mov rbx, qword [rbx + 0x10]
test rbx, rbx
jne 0x29c147dd8
jmp 0x29c147dfc
mov rbx, qword [rbx + 0x10]
test rbx, rbx
jne 0x29c147ce8
jmp 0x29c147d14

Function at 0x29c147f70
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
mov r8, qword [0x29c29f220]
xor eax, eax
cmp word [r8], 0x5a4d
jne 0x29c147f90
movsxd rdx, dword [r8 + 0x3c]
add rdx, r8
cmp dword [rdx], 0x4550
je 0x29c147f98
ret
cmp word [rdx + 0x18], 0x20b
jne 0x29c147f90
movzx eax, word [rdx + 0x14]
sub rcx, r8
movzx r8d, word [rdx + 6]
lea rax, [rdx + rax + 0x18]
test r8w, r8w
je 0x29c147fe5
lea edx, [r8 - 1]
lea rdx, [rdx + rdx*4]
lea r9, [rax + rdx*8 + 0x28]
nop dword [rax]
mov r8d, dword [rax + 0xc]
mov rdx, r8
cmp rcx, r8
jb 0x29c147fdc
add edx, dword [rax + 8]
cmp rcx, rdx
jb 0x29c147f90
add rax, 0x28
cmp rax, r9
jne 0x29c147fc8
xor eax, eax
ret
Function at 0x29c147ff0
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x29c29f220]
xor ecx, ecx
cmp word [rax], 0x5a4d
jne 0x29c14800f
movsxd rdx, dword [rax + 0x3c]
add rax, rdx
cmp dword [rax], 0x4550
je 0x29c148018
mov eax, ecx
ret
cmp word [rax + 0x18], 0x20b
jne 0x29c14800f
movzx ecx, word [rax + 6]
mov eax, ecx
ret

Function at 0x29c1480b0
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x29c29f220]
xor edx, edx
cmp word [rax], 0x5a4d
jne 0x29c1480cf
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
je 0x29c1480d8
mov rax, rdx
ret
cmp word [rcx + 0x18], 0x20b
cmove rdx, rax
mov rax, rdx
ret

Function at 0x29c148360
Capabilities:
Allocate thread local storage

Disassembly:
push rsi
push rbx
sub rsp, 0x28
mov rsi, rcx
mov rbx, rdx
call qword [sym.imp.KERNEL32.dll_TlsAlloc]
cmp eax, 0xffffffff
je 0x29c148390
mov rdx, rbx
mov ecx, eax
mov dword [rsi], eax
add rsp, 0x28
pop rbx
pop rsi
jmp 0x29c1501b0
add rsp, 0x28
pop rbx
pop rsi
jmp qword [sym.imp.KERNEL32.dll_GetLastError]
test rdx, rdx
jne 0x29c1501c0
xor eax, eax
ret
jmp fcn.29c147b60

Function at 0x29c1483d0
Capabilities:
Get thread local storage value

Disassembly:
push rsi
push rbx
sub rsp, 0x28
mov ebx, ecx
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, ebx
mov esi, eax
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov ecx, esi
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov rax, rbx
add rsp, 0x28
pop rbx
pop rsi
ret

Function at 0x29c148400
Capabilities:
Set thread local storage value

Disassembly:
sub rsp, 0x28
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
test eax, eax
je 0x29c148418
xor eax, eax
add rsp, 0x28
ret
add rsp, 0x28
jmp qword [sym.imp.KERNEL32.dll_GetLastError]
Function at 0x14000b148
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 8], rcx
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0x70
mov r14, r8
mov rdi, rdx
mov rsi, rcx
mov ecx, 0x20
call fcn.1400133f8
mov rbx, rax
mov qword [rsp + 0xa0], rax
test rax, rax
je 0x14000b235
mov r12, qword [rdi]
mov dword [rax], 0xc0000001
and qword [rax + 8], 0
lea rbp, [rax + 0x10]
xorps xmm0, xmm0
movups xmmword [rbp], xmm0
mov ecx, 8
call fcn.1400133f8
mov rdi, rax
test rax, rax
je 0x14000b1bd
mov rcx, qword [r14]
mov qword [rax], rcx
jmp 0x14000b1bf
xor edi, edi
and dword [rsp + 0x44], 0
and dword [rsp + 0x5c], 0
mov dword [rsp + 0x40], 0x30
and qword [rsp + 0x48], 0
mov dword [rsp + 0x58], 0x200
and qword [rsp + 0x50], 0
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x60], xmm0
mov qword [rsp + 0x30], rdi
lea rax, [0x14000ac40]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rbp
mov r9, r12
lea r8, [rsp + 0x40]
mov edx, 0x10000000
lea rcx, [rbx + 8]
call qword [sym.imp.ntoskrnl.exe_PsCreateSystemThread]
mov dword [rbx], eax
test eax, eax
jns 0x14000b237
test rdi, rdi
je 0x14000b237
mov edx, 8
mov rcx, rdi
call fcn.14001343c
jmp 0x14000b237
xor ebx, ebx
mov qword [rsi], rbx
mov rax, rsi
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x38]
mov rbp, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rsi
ret

Function at 0x14000b258
Capabilities:
Create thread

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rbp
mov qword [rax + 0x20], rsi
mov qword [rax + 8], rcx
push rdi
push r14
push r15
sub rsp, 0x70
mov r14, rdx
mov rsi, rcx
mov ecx, 0x20
call fcn.1400133f8
mov rbx, rax
mov qword [rsp + 0x90], rax
test rax, rax
je 0x14000b340
mov dword [rax], 0xc0000001
and qword [rax + 8], 0
lea rbp, [rax + 0x10]
xorps xmm0, xmm0
movups xmmword [rbp], xmm0
mov ecx, 8
call fcn.1400133f8
mov rdi, rax
test rax, rax
je 0x14000b2c8
mov rcx, qword [r14]
mov qword [rax], rcx
jmp 0x14000b2ca
xor edi, edi
and dword [rsp + 0x44], 0
and dword [rsp + 0x5c], 0
mov dword [rsp + 0x40], 0x30
and qword [rsp + 0x48], 0
mov dword [rsp + 0x58], 0x200
and qword [rsp + 0x50], 0
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x60], xmm0
mov qword [rsp + 0x30], rdi
lea rax, [0x14000ab60]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rbp
xor r9d, r9d
lea r8, [rsp + 0x40]
mov edx, 0x10000000
lea rcx, [rbx + 8]
call qword [sym.imp.ntoskrnl.exe_PsCreateSystemThread]
mov dword [rbx], eax
test eax, eax
jns 0x14000b342
test rdi, rdi
je 0x14000b342
mov edx, 8
mov rcx, rdi
call fcn.14001343c
jmp 0x14000b342
xor ebx, ebx
mov qword [rsi], rbx
mov rax, rsi
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x28]
mov rbp, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rdi
ret
Function at 0x14000f804
Capabilities:
Find process by pid

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
test rcx, rcx
je 0x14000f857
call qword [sym.imp.ntoskrnl.exe_PsGetCurrentProcessId]
cmp rax, rbx
jne 0x14000f825
call qword [sym.imp.ntoskrnl.exe_IoGetCurrentProcess]
jmp 0x14000f859
and qword [rsp + 0x30], 0
lea rdx, [rsp + 0x30]
mov rcx, rbx
call qword [sym.imp.ntoskrnl.exe_PsLookupProcessByProcessId]
test eax, eax
js 0x14000f857
mov rax, qword [rsp + 0x30]
test rax, rax
je 0x14000f859
mov rcx, rax
call qword [sym.imp.ntoskrnl.exe_ObfDereferenceObject]
mov rax, qword [rsp + 0x30]
jmp 0x14000f859
xor eax, eax
add rsp, 0x20
pop rbx
ret

Function at 0x14000fd74
Capabilities:
Query or enumerate registry key

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
push rdi
push r14
push r15
sub rsp, 0x40
mov r14, r9
mov qword [rax - 0x38], r9
mov rdi, r8
xor r9d, r9d
xor r8d, r8d
mov ebp, edx
mov r15, rcx
call qword [sym.imp.ntoskrnl.exe_ZwQueryKey]
cmp eax, 0xc0000004
je 0x14000fdb5
cmp eax, 0xc0000023
jne 0x14000fe1a
mov esi, dword [r14]
mov ecx, esi
call fcn.140013434
mov rbx, rax
test rax, rax
je 0x14000fdd6
mov r8d, esi
xor edx, edx
mov rcx, rax
call fcn.140016c80
jmp 0x14000fdd8
xor ebx, ebx
mov r9d, dword [r14]
mov r8, rbx
mov edx, ebp
mov qword [rsp + 0x20], r14
mov rcx, r15
call qword [sym.imp.ntoskrnl.exe_ZwQueryKey]
mov esi, eax
test eax, eax
js 0x14000fe0b
lea rax, [rsp + 0x30]
cmp rdi, rax
je 0x14000fe0b
mov rcx, qword [rdi]
mov qword [rdi], rbx
test rcx, rcx
je 0x14000fe18
jmp 0x14000fe13
test rbx, rbx
je 0x14000fe18
mov rcx, rbx
call fcn.14001343c
mov eax, esi
mov rbx, qword [rsp + 0x60]
mov rbp, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x70]
add rsp, 0x40
pop r15
pop r14
pop rdi
ret

Function at 0x14000feb4
Capabilities:
Query or enumerate registry value

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r12
push r14
push r15
sub rsp, 0x40
mov r14, qword [rsp + 0x80]
mov rdi, r9
mov qword [rax - 0x30], r14
xor r9d, r9d
and dword [rax - 0x38], 0
mov ebp, r8d
mov r15, rdx
mov r12, rcx
call qword [sym.imp.ntoskrnl.exe_ZwQueryValueKey]
cmp eax, 0xc0000004
je 0x14000ff04
cmp eax, 0xc0000023
jne 0x14000ff71
mov esi, dword [r14]
mov ecx, esi
call fcn.140013434
mov rbx, rax
test rax, rax
je 0x14000ff25
mov r8d, esi
xor edx, edx
mov rcx, rax
call fcn.140016c80
jmp 0x14000ff27
xor ebx, ebx
mov eax, dword [r14]
mov r9, rbx
mov qword [rsp + 0x28], r14
mov r8d, ebp
mov rdx, r15
mov dword [rsp + 0x20], eax
mov rcx, r12
call qword [sym.imp.ntoskrnl.exe_ZwQueryValueKey]
mov esi, eax
test eax, eax
js 0x14000ff62
lea rax, [rsp + 0x30]
cmp rdi, rax
je 0x14000ff62
mov rcx, qword [rdi]
mov qword [rdi], rbx
test rcx, rcx
je 0x14000ff6f
jmp 0x14000ff6a
test rbx, rbx
je 0x14000ff6f
mov rcx, rbx
call fcn.14001343c
mov eax, esi
mov rbx, qword [rsp + 0x60]
mov rbp, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x70]
mov rdi, qword [rsp + 0x78]
add rsp, 0x40
pop r15
pop r14
pop r12
ret
Function at 0x140011f18
Capabilities:
Access pe header

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x30
mov rax, qword [0x14001d048]
mov rbx, r8
mov rsi, rdx
mov rdi, rcx
test rax, rax
jne 0x140011f6e
lea rcx, [0x140017450]
call fcn.140011ef4
mov qword [0x14001d048], rax
test rax, rax
jne 0x140011f6e
mov rcx, rdi
call qword [sym.imp.ntoskrnl.exe_RtlImageNtHeader]
mov qword [rbx], rax
neg rax
sbb eax, eax
not eax
and eax, 0xc000007b
jmp 0x140011f7f
mov r9, rbx
mov r8, rsi
mov rdx, rdi
xor ecx, ecx
call qword [0x1400184d0]
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret