joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400683e0
Capabilities:
Delete registry value
Query or enumerate registry value

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r14
mov rbp, rsp
sub rsp, 0x70
xor ebx, ebx
mov rsi, r8
mov qword [rbp + 0x40], rbx
mov rdi, rdx
mov qword [rbp + 0x48], rbx
mov r14, rcx
mov qword [r8], rbx
test rdx, rdx
jne 0x140068419
lea ecx, [rdx + 6]
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_SetLastError]
xor eax, eax
jmp 0x1400685b2
lea rcx, [rbp - 0x10]
call fcn.14006c4f0
lea r9, [rbp + 0x48]
mov rdx, rdi
lea r8, [rbp + 0x40]
mov rcx, r14
call fcn.1400681b8
test eax, eax
jne 0x140068446
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
mov edi, eax
jmp 0x14006855e
mov rcx, qword [rbp + 0x40]
lea rax, [rbp + 0x38]
mov qword [rsp + 0x58], rbx
xor r9d, r9d
mov qword [rsp + 0x50], rbx
xor r8d, r8d
mov qword [rsp + 0x48], rax
xor edx, edx
mov qword [rsp + 0x40], rbx
mov qword [rsp + 0x38], rbx
mov qword [rsp + 0x30], rbx
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0x20], rbx
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegQueryInfoKeyW]
mov edi, eax
test eax, eax
jne 0x140068554
mov ecx, dword [rbp + 0x38]
cmp ecx, 0x48
jb 0x140068554
call sym.spoolsv.exe_PrvDllAllocSplMem
mov qword [rsi], rax
test rax, rax
jne 0x1400684b4
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
mov edi, eax
jmp 0x140068554
mov rdx, qword [rbp + 0x48]
lea rcx, [rbp + 0x38]
mov qword [rsp + 0x28], rcx
xor r9d, r9d
mov rcx, qword [rbp + 0x40]
xor r8d, r8d
mov qword [rsp + 0x20], rax
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegQueryValueExW]
mov edi, eax
mov r14d, 2
test eax, eax
jne 0x140068539
mov rcx, qword [rsi]
mov r10d, 0x8007000d
mov r9d, dword [rbp + 0x38]
test rcx, rcx
je 0x140068513
cmp r9, 0x4c
jb 0x140068513
movzx r8d, word [rcx + 0x46]
movzx eax, word [rcx + 0x44]
add r8, rax
cmp r9, r8
jb 0x140068513
call fcn.14000bda0
mov r10d, eax
mov ecx, r10d
call fcn.140005d64
mov edi, eax
test eax, eax
je 0x14006854e
mov rdx, qword [rbp + 0x48]
mov rcx, qword [rbp + 0x40]
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegDeleteValueW]
test eax, eax
cmove edi, r14d
test edi, edi
je 0x14006854e
mov r8, qword [rsi]
xor edx, edx
mov rcx, qword [0x1400af198]
call qword [sym.imp.api_ms_win_core_heap_l1_1_0.dll_HeapFree]
mov qword [rsi], rbx
cmp edi, r14d
cmove edi, ebx
mov rcx, qword [rbp + 0x40]
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
test edi, edi
je 0x1400685a2
mov ecx, edi
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_SetLastError]
cmp edi, 5
je 0x1400685a7
mov rcx, qword [0x1400ad2f8]
lea rax, [0x1400ad2f8]
cmp rcx, rax
je 0x1400685a7
test byte [rcx + 0x1c], 0x20
je 0x1400685a7
mov rcx, qword [rcx + 0x10]
lea r8, [0x140093840]
mov edx, 0xf
mov r9d, edi
call fcn.14002efb8
jmp 0x1400685a7
mov ebx, 1
lea rcx, [rbp - 0x10]
call fcn.14006c530
mov eax, ebx
add rsp, 0x70
pop r14
pop rdi
pop rsi
pop rbx
pop rbp
ret
Function at 0x1400685d0
Capabilities:
Delete registry value
Set registry value

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x30
and qword [rsp + 0x48], 0
mov rbx, r8
and qword [rsp + 0x58], 0
mov rdi, rdx
test rdx, rdx
jne 0x140068607
lea ecx, [rdx + 6]
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_SetLastError]
xor eax, eax
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rdi
ret
lea r9, [rsp + 0x58]
lea r8, [rsp + 0x48]
call fcn.1400681b8
test eax, eax
je 0x1400685fa
mov rdx, qword [rsp + 0x58]
test rbx, rbx
jne 0x14006863a
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegDeleteValueW]
mov ebx, eax
cmp eax, 2
jne 0x14006867d
xor ebx, ebx
jmp 0x14006867d
movzx ecx, word [rbx + 0x46]
mov r9d, 3
movzx eax, word [rbx + 0x44]
xor r8d, r8d
add ecx, eax
mov dword [rsp + 0x28], ecx
mov rcx, qword [rsp + 0x48]
mov qword [rsp + 0x20], rbx
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegSetValueExW]
mov ebx, eax
test eax, eax
jne 0x14006867d
xor r9d, r9d
mov qword [rsp + 0x20], rdi
xor edx, edx
lea ecx, [rax + 2]
lea r8d, [rax + 0x1b]
call sym.spoolsv.exe_PrvRouterBroadcastMessage
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
test ebx, ebx
je 0x1400686df
mov ecx, ebx
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_SetLastError]
mov rax, qword [0x1400ad2f8]
lea rcx, [0x1400ad2f8]
cmp rax, rcx
je 0x1400685fa
test byte [rax + 0x1c], 0x20
je 0x1400685fa
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
mov rcx, qword [0x1400ad2f8]
lea r8, [0x140093840]
mov r9d, eax
mov edx, 0xe
mov rcx, qword [rcx + 0x10]
call fcn.14002efb8
jmp 0x1400685fa
mov eax, 1
jmp 0x1400685fc
Function at 0x1400699d0
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 8], rcx
push rbx
sub rsp, 0x30
mov rcx, qword [0x1400aeea0]
mov ebx, 1
mov rcx, qword [rcx + 0x28]
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_EnterCriticalSection]
test byte [0x1400aeea8], bl
jne 0x140069acd
mov eax, dword [0x1400aeeb0]
test eax, eax
je 0x140069a4f
lea r9d, [rax - 1]
mov dword [0x1400aeeb0], r9d
mov rcx, qword [0x1400ad2f8]
lea rax, [0x1400ad2f8]
cmp rcx, rax
je 0x140069a3d
test byte [rcx + 0x1c], 0x80
je 0x140069a3d
mov rcx, qword [rcx + 0x10]
lea edx, [rbx + 9]
lea r8, [0x1400a2228]
call fcn.14002efb8
mov rcx, qword [0x1400aeeb8]
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_SetEvent]
jmp 0x140069acf
mov rax, qword [0x1400aeea0]
mov r9d, dword [0x1400aeeac]
cmp r9d, dword [rax]
jae 0x140069acf
mov rcx, qword [0x1400ad2f8]
lea rax, [0x1400ad2f8]
cmp rcx, rax
je 0x140069a90
test byte [rcx + 0x1c], 0x80
je 0x140069a90
mov rcx, qword [rcx + 0x10]
lea r8, [0x1400a2228]
mov edx, 0xb
call fcn.14002efb8
lea rax, [rsp + 0x40]
xor edx, edx
mov qword [rsp + 0x28], rax
lea r9, [0x1400aeea0]
and dword [rsp + 0x20], 0
lea r8, [0x140069bd0]
xor ecx, ecx
call qword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_CreateThread]
test rax, rax
je 0x140069acd
mov rcx, rax
call qword [sym.imp.api_ms_win_core_handle_l1_1_0.dll_CloseHandle]
add dword [0x1400aeeac], ebx
jmp 0x140069acf
xor ebx, ebx
mov rcx, qword [0x1400aeea0]
mov rcx, qword [rcx + 0x28]
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_LeaveCriticalSection]
mov eax, ebx
add rsp, 0x30
pop rbx
ret
Function at 0x14006aed4
Capabilities:
Check for time delay via gettickcount

Disassembly:
mov qword [rsp + 0x10], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x20
xor r13d, r13d
mov rbp, rdx
mov rdi, rcx
cmp byte [rcx + 0x60], r13b
jne 0x14006aefe
xor eax, eax
jmp 0x14006b010
mov esi, 0x80070057
test rbp, rbp
je 0x14006b00e
or rcx, 0xffffffffffffffff
inc rcx
cmp word [rdx + rcx*2], r13w
jne 0x14006af10
mov eax, dword [rdi + 0x10]
cmp rcx, rax
ja 0x14006b00e
lea rcx, [rdi + 0x20]
call fcn.140001930
call qword [sym.imp.api_ms_win_core_sysinfo_l1_1_0.dll_GetTickCount]
mov r14d, r13d
mov r12d, eax
mov eax, r13d
mov r15d, r13d
cmp dword [rdi + 8], r13d
jbe 0x14006afb7
mov rcx, qword [rdi + 0x18]
mov r13d, eax
mov dword [rsp + 0x60], r14d
mov eax, r15d
lea rsi, [rax + rax*2]
lea rcx, [rcx + rsi*8]
mov rdx, qword [rcx]
test rdx, rdx
je 0x14006afa8
mov rcx, rbp
call qword [sym.imp.msvcrt.dll__wcsicmp]
test eax, eax
je 0x14006afde
mov rcx, qword [rdi + 0x18]
mov eax, r12d
lea r8, [rcx + rsi*8]
sub eax, dword [r8 + 8]
cmp eax, dword [rdi + 0xc]
ja 0x14006afa5
cmp eax, r13d
mov r14d, r15d
cmovbe r14d, dword [rsp + 0x60]
inc r15d
cmp eax, r13d
cmovbe eax, r13d
cmp r15d, dword [rdi + 8]
jb 0x14006af4b
jmp 0x14006afb7
mov rcx, r8
mov rdx, rbp
call fcn.14006c030
mov esi, eax
cmp eax, 1
jne 0x14006b005
mov eax, dword [rdi + 8]
mov rdx, qword [rdi + 0x18]
cmp eax, dword [rdi + 4]
jae 0x14006aff0
lea rcx, [rax + rax*2]
lea rcx, [rdx + rcx*8]
mov rdx, rbp
call fcn.14006c030
mov esi, eax
test eax, eax
js 0x14006b005
inc dword [rdi + 8]
jmp 0x14006b005
call qword [sym.imp.api_ms_win_core_sysinfo_l1_1_0.dll_GetTickCount]
mov rcx, qword [rdi + 0x18]
mov dword [rcx + rsi*8 + 8], eax
xor esi, esi
jmp 0x14006b005
mov eax, r14d
lea rcx, [rax + rax*2]
lea rcx, [rdx + rcx*8]
mov rdx, rbp
call fcn.14006c030
mov esi, eax
lea rcx, [rdi + 0x20]
call fcn.14000195c
mov eax, esi
mov rbx, qword [rsp + 0x68]
add rsp, 0x20
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
Function at 0x14006c3a0
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push r14
mov rbp, rsp
sub rsp, 0x50
and qword [rbp + 0x38], 0
lea rax, [rbp + 0x38]
mov r9d, 0xf003f
mov qword [rsp + 0x20], rax
xor r8d, r8d
mov rsi, rdx
mov r14, rcx
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegOpenKeyExW]
mov ebx, eax
test eax, eax
jne 0x14006c448
mov rcx, qword [rbp + 0x38]
lea r9, [rbp + 0x30]
and qword [rbp - 0x10], 0
lea r8, [rbp - 0x10]
and dword [rbp + 0x30], 0
call fcn.140019958
mov ebx, eax
test eax, eax
jne 0x14006c448
and qword [rsp + 0x38], 0
lea r9, [rbp + 0x30]
and qword [rsp + 0x30], 0
xor edx, edx
and qword [rsp + 0x28], 0
mov r8, qword [rbp - 0x10]
mov rcx, qword [rbp + 0x38]
and qword [rsp + 0x20], 0
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegEnumKeyExW]
mov ebx, eax
test eax, eax
jne 0x14006c43b
mov rdx, qword [rbp - 0x10]
mov rcx, qword [rbp + 0x38]
call fcn.14006c3a0
movzx ebx, ax
mov rcx, qword [rbp - 0x10]
call fcn.14001a78c
test ebx, ebx
je 0x14006c3d9
mov rcx, qword [rbp + 0x38]
test rcx, rcx
je 0x14006c457
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
xor eax, eax
cmp ebx, 0x103
cmovne eax, ebx
test eax, eax
jne 0x14006c47a
xor r9d, r9d
xor r8d, r8d
mov rdx, rsi
mov rcx, r14
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegDeleteKeyExW]
test eax, eax
jle 0x14006c484
movzx eax, ax
or eax, 0x80070000
mov rbx, qword [rsp + 0x70]
add rsp, 0x50
pop r14
pop rsi
pop rbp
ret

Function at 0x14006c498
Capabilities:
Query or enumerate registry key

Disassembly:
mov r11, rsp
push rbx
sub rsp, 0x40
and qword [r11 - 0x10], 0
lea r9, [r11 + 8]
inc dword [rcx + 0x10]
mov rbx, rcx
and qword [r11 - 0x18], 0
mov eax, dword [rcx + 0x14]
mov edx, dword [rcx + 0x10]
mov r8, qword [rcx + 8]
and qword [r11 - 0x20], 0
mov rcx, qword [rcx]
and qword [r11 - 0x28], 0
mov dword [rsp + 0x50], eax
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegEnumKeyExW]
test eax, eax
jle 0x14006c4e1
movzx eax, ax
or eax, 0x80070000
mov dword [rbx + 0x18], eax
add rsp, 0x40
pop rbx
ret

Function at 0x14006c530
Capabilities:
Terminate process

Disassembly:
push rbx
sub rsp, 0x20
mov rdx, qword [rcx]
mov rbx, rcx
cmp rdx, 0xffffffffffffffff
je 0x14006c55d
test rdx, rdx
je 0x14006c55d
xor ecx, ecx
call qword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_SetThreadToken]
test eax, eax
jne 0x14006c55d
lea ecx, [rax + 1]
call qword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_ExitProcess]
mov rcx, rbx
add rsp, 0x20
pop rbx
jmp fcn.14004084c
Function at 0x14006c6f8
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov dword [rcx], 0x63726374
lea rdi, [rcx + 4]
mov dword [rcx + 0x404], 0x80004005
mov rbx, rcx
mov rcx, rdi
xor edx, edx
mov r8d, 0x400
call sub.msvcrt.dll_memset
xor edx, edx
mov r8d, edx
mov r9d, 8
mov ecx, r8d
mov eax, r8d
shr ecx, 1
mov r8d, ecx
xor r8d, 0xedb88320
and al, 1
cmove r8d, ecx
sub r9, 1
jne 0x14006c734
mov dword [rdi], r8d
inc edx
add rdi, 4
cmp edx, 0x100
jl 0x14006c72b
and dword [rbx + 0x404], r9d
mov rax, rbx
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret

Function at 0x14006c780
Capabilities:
Encode data using xor

Disassembly:
mov r11, rcx
test r9d, r9d
je 0x14006c7ad
mov r10d, r9d
movzx r9d, byte [r8]
mov eax, edx
mov ecx, edx
xor r9, rax
shr ecx, 8
inc r8
movzx eax, r9b
mov edx, dword [r11 + rax*4 + 4]
xor edx, ecx
sub r10, 1
jne 0x14006c78b
mov rax, qword [rsp + 0x28]
mov dword [rax], edx
xor eax, eax
ret

Function at 0x14006c8c8
Capabilities:
Get session user name

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x18], rsi
push rdi
sub rsp, 0x20
and dword [rax + 0x10], 0
lea r8, [rax + 0x10]
mov rsi, rcx
xor edi, edi
xor edx, edx
lea ecx, [rdi + 2]
call qword [sym.imp.SspiCli.dll_GetUserNameExW]
test al, al
je 0x14006c8fb
xor ebx, ebx
jmp 0x14006c98d
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
mov ebx, eax
test eax, eax
jle 0x14006c910
movzx ebx, ax
or ebx, 0x80070000
test ebx, ebx
jns 0x14006c98d
mov eax, dword [rsp + 0x38]
test eax, eax
je 0x14006c98d
lea ecx, [rax + 1]
mov eax, 2
mul rcx
mov rcx, 0xffffffffffffffff
lea rdx, [0x1400af0f0]
cmovo rax, rcx
mov rcx, rax
call fcn.14001b594
mov rdi, rax
test rax, rax
jne 0x14006c950
mov ebx, 0x8007000e
jmp 0x14006c98d
lea r8, [rsp + 0x38]
mov rdx, rdi
mov ecx, 2
call qword [sym.imp.SspiCli.dll_GetUserNameExW]
test al, al
jne 0x14006c980
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
mov ebx, eax
test eax, eax
jle 0x14006c97c
movzx ebx, ax
or ebx, 0x80070000
test ebx, ebx
js 0x14006c98d
mov rdx, rdi
mov rcx, rsi
call fcn.140011eb4
mov ebx, eax
mov rcx, rdi
call fcn.14001a78c
mov rsi, qword [rsp + 0x40]
mov eax, ebx
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
Function at 0x14006f44c
Capabilities:
Query or enumerate registry value

Disassembly:
push rbx
sub rsp, 0x30
cmp dword [0x1400adbdc], 0xffffffff
jne 0x14006f4eb
xor ebx, ebx
lea rax, [rsp + 0x50]
mov r9d, 0x20019
mov qword [rsp + 0x50], rbx
xor r8d, r8d
mov dword [0x1400adbdc], ebx
lea rdx, [0x1400a2700]
mov qword [rsp + 0x20], rax
mov rcx, 0xffffffff80000002
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegOpenKeyExW]
test eax, eax
jne 0x14006f4eb
mov rcx, qword [rsp + 0x50]
lea rax, [rsp + 0x48]
mov qword [rsp + 0x28], rax
lea rdx, str.PrintIsolationDefault
lea rax, [rsp + 0x40]
mov dword [rsp + 0x48], 4
xor r9d, r9d
mov qword [rsp + 0x20], rax
xor r8d, r8d
mov dword [rsp + 0x40], ebx
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegQueryValueExW]
test eax, eax
jne 0x14006f4e0
cmp dword [rsp + 0x40], ebx
setne bl
mov dword [0x1400adbdc], ebx
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
mov eax, dword [0x1400adbdc]
add rsp, 0x30
pop rbx
ret

Function at 0x14006fad4
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
mov rdi, rcx
lea rax, [rsp + 0x30]
mov rcx, 0xffffffff80000002
mov qword [rsp + 0x20], rax
mov r9d, 0x20019
lea rdx, str.SoftwarePoliciesMicrosoftWindows_NTPrinters
xor r8d, r8d
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegOpenKeyExW]
xor ebx, ebx
test eax, eax
jne 0x14006fb69
mov rcx, qword [rsp + 0x30]
lea rax, [rsp + 0x60]
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x58]
lea rax, [rsp + 0x68]
mov dword [rsp + 0x58], ebx
xor r8d, r8d
mov qword [rsp + 0x20], rax
lea rdx, str.PrintDriverIsolationOverrideCompat
mov dword [rsp + 0x60], 4
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegQueryValueExW]
test eax, eax
jne 0x14006fb5e
cmp dword [rsp + 0x58], 4
jne 0x14006fb5e
cmp dword [rsp + 0x68], 1
sete bl
mov dword [rdi + 0x58], ebx
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
mov rcx, qword [0x1400ad2f8]
lea rax, [0x1400ad2f8]
cmp rcx, rax
je 0x14006fbad
test byte [rcx + 0x1c], 2
je 0x14006fbad
cmp dword [rdi + 0x58], 1
lea rax, str.kOverrideCompatOFF
mov rcx, qword [rcx + 0x10]
lea r9, str.kOverrideCompatON
cmovne r9, rax
lea r8, [0x1400a2780]
mov edx, 0xe
call fcn.140040874
mov rbx, qword [rsp + 0x50]
add rsp, 0x40
pop rdi
ret
Function at 0x14006fc7c
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
mov rdi, rcx
lea rax, [rsp + 0x30]
mov rcx, 0xffffffff80000002
mov qword [rsp + 0x20], rax
mov r9d, 0x20019
lea rdx, str.SoftwarePoliciesMicrosoftWindows_NTPrinters
xor r8d, r8d
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegOpenKeyExW]
xor ebx, ebx
test eax, eax
jne 0x14006fd0b
mov rcx, qword [rsp + 0x30]
lea rax, [rsp + 0x58]
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x68]
lea rax, [rsp + 0x60]
mov dword [rsp + 0x58], 4
xor r8d, r8d
mov qword [rsp + 0x20], rax
lea rdx, str.PrintDriverIsolationExecutionPolicy
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegQueryValueExW]
test eax, eax
jne 0x14006fcf6
cmp dword [rsp + 0x60], ebx
je 0x14006fcfb
mov ebx, 1
mov dword [rdi + 0x54], ebx
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
jmp 0x14006fd12
mov dword [rdi + 0x54], 1
mov rcx, qword [0x1400ad2f8]
lea rax, [0x1400ad2f8]
cmp rcx, rax
je 0x14006fd56
test byte [rcx + 0x1c], 2
je 0x14006fd56
cmp dword [rdi + 0x54], 1
lea rax, str.kExecuteInProc
mov rcx, qword [rcx + 0x10]
lea r9, str.kExecuteInSandbox
cmovne r9, rax
lea r8, [0x1400a2780]
mov edx, 0xd
call fcn.140040874
mov rbx, qword [rsp + 0x50]
add rsp, 0x40
pop rdi
ret
Function at 0x1400714c0
Capabilities:
Terminate process

Disassembly:
push rbx
sub rsp, 0x20
mov rdx, qword [rcx]
mov rbx, rcx
cmp rdx, 0xffffffffffffffff
je 0x14007152c
test rdx, rdx
je 0x14007152c
xor ecx, ecx
call qword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_SetThreadToken]
test eax, eax
jne 0x14007152c
mov rax, qword [0x1400ad2f8]
lea rcx, [0x1400ad2f8]
cmp rax, rcx
je 0x140071520
test byte [rax + 0x1c], 1
je 0x140071520
call fcn.14004d5f4
mov rcx, qword [0x1400ad2f8]
lea r8, [0x1400a2870]
mov r9d, eax
mov edx, 0xa
mov rcx, qword [rcx + 0x10]
call fcn.14002efb8
mov ecx, 1
call qword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_ExitProcess]
mov rcx, rbx
add rsp, 0x20
pop rbx
jmp fcn.14004084c
Function at 0x140017220
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x20
mov rdi, r8
mov ebp, r9d
xor r8d, r8d
mov rsi, rdx
mov rbx, rcx
cmp rdi, 0xffffffffffffffff
jne 0x140017284
movzx eax, byte [rdx]
mov edi, r8d
test al, al
je 0x140017278
nop dword [rax]
nop word [rax + rax]
imul r8d, r8d, 0x1003f
inc rdi
movzx eax, al
add r8d, eax
movzx eax, byte [rdi + rdx]
test al, al
jne 0x140017260
test rdi, rdi
jne 0x1400172b2
xor eax, eax
jmp 0x140017337
mov rdx, r8
test rdi, rdi
je 0x14001727d
nop dword [rax]
movzx eax, byte [rdx + rsi]
test al, al
je 0x1400172ac
imul r8d, r8d, 0x1003f
inc rdx
add r8d, eax
cmp rdx, rdi
jb 0x140017290
jmp 0x140017278
mov r8d, 0x11
mov eax, dword [rcx + 0x128]
mov edx, r8d
movzx ecx, byte [rcx + 0x12c]
xor edx, ebp
mov qword [rsp + 0x30], r14
mov r14d, 0xffffffff
cmp ebp, r14d
cmove edx, r8d
imul rax, rdx
shr rax, cl
imul eax, dword [rbx + 0x120]
mov rbx, qword [rbx + 0x110]
sub edx, eax
mov rbx, qword [rbx + rdx*8]
test rbx, rbx
je 0x14001732f
mov eax, dword [rbx + 0x30]
cmp eax, edi
jne 0x14001731e
cmp dword [rbx + 0x14], ebp
jne 0x14001731e
lea rcx, [rbx + 0x34]
cmp eax, 0xb
jbe 0x14001730f
mov rcx, qword [rbx + 0x38]
mov r8d, edi
mov rdx, rsi
call fcn.140056f80
test eax, eax
je 0x140017326
mov rbx, qword [rbx]
test rbx, rbx
jne 0x1400172f6
test rbx, rbx
je 0x14001732f
mov r14d, dword [rbx + 0xc]
mov eax, r14d
mov r14, qword [rsp + 0x30]
mov rbx, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
ret
Function at 0x14001b8e0
Capabilities:
Get system information on windows

Disassembly:
push rbp
lea rbp, [rsp - 0x57]
sub rsp, 0xf0
cmp dword [0x140085578], 0
jne 0x14001b9c4
xorps xmm0, xmm0
mov word [rbp - 0x79], 2
xor eax, eax
lea rcx, [rbp - 0x79]
movups xmmword [rbp - 0x77], xmm0
mov dword [rbp + 0x19], eax
movups xmmword [rbp - 0x67], xmm0
mov word [rbp + 0x1d], ax
movups xmmword [rbp - 0x57], xmm0
movups xmmword [rbp - 0x47], xmm0
movups xmmword [rbp - 0x37], xmm0
movups xmmword [rbp - 0x27], xmm0
movups xmmword [rbp - 0x17], xmm0
movups xmmword [rbp - 7], xmm0
movups xmmword [rbp + 9], xmm0
call fcn.14001acb0
lea rcx, [rbp + 0x27]
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
movaps xmm0, xmmword [rbp - 0x79]
movaps xmm1, xmmword [rbp - 0x69]
mov eax, dword [rbp + 0x47]
movaps xmmword [0x1400854e0], xmm0
movaps xmmword [0x1400854f0], xmm1
movaps xmm1, xmmword [rbp - 0x49]
movaps xmmword [0x140085510], xmm1
movaps xmm1, xmmword [rbp - 0x29]
movaps xmmword [0x140085530], xmm1
movaps xmm1, xmmword [rbp - 9]
mov dword [rbp - 0x59], eax
movaps xmm0, xmmword [rbp - 0x59]
movaps xmmword [0x140085500], xmm0
movaps xmm0, xmmword [rbp - 0x39]
movaps xmmword [0x140085520], xmm0
movaps xmm0, xmmword [rbp - 0x19]
movaps xmmword [0x140085540], xmm0
movaps xmm0, xmmword [rbp + 7]
movaps xmmword [0x140085550], xmm1
movsd xmm1, qword [rbp + 0x17]
movaps xmmword [0x140085560], xmm0
movsd qword [0x140085570], xmm1
mov dword [0x140085578], 1
lea rax, [0x1400854e0]
add rsp, 0xf0
pop rbp
ret
Function at 0x14001f810
Capabilities:
Allocate or change rwx memory

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x30
movzx eax, word [r8 + 0x1c]
lea r15, [r9 - 1]
mov r14, rcx
add r15, rax
movzx ecx, byte [r8 + 0x1e]
mov rbp, r9
shr r15, cl
mov ecx, 0x68
lea r12d, [r15 + 0x3f]
shr r12d, 6
call fcn.1400451a4
xorps xmm0, xmm0
mov rbx, rax
mov edi, 1
movups xmmword [rsp + 0x20], xmm0
test rax, rax
je 0x14001f98a
mov ecx, r12d
shl rcx, 4
call fcn.1400451a4
xor r13d, r13d
mov rsi, rax
test rax, rax
je 0x14001f982
test byte [r14], dil
je 0x14001f8b3
lea r8d, [rdi + 6]
mov rdx, rbp
lea rcx, [rsp + 0x20]
call sym.ConsoleApp1.exe_unsigned_int___cdecl_asmjit::_abi_1_10::VirtMem::allocDualMapping_struct_asmjit::_abi_1_10::VirtMem::DualMapping____ptr64__unsigned_long_long_unsigned___int64___enum_asmjit::_abi_1_10::VirtMem::MemoryFlags_
mov rdx, qword [rsp + 0x28]
mov edi, eax
mov r13d, 4
jmp 0x14001f8ea
test rbp, rbp
jne 0x14001f8bd
lea edi, [rbp + 2]
jmp 0x14001f8e0
mov r9d, 0x40
mov r8d, 0x3000
mov rdx, rbp
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
test rax, rax
je 0x14001f8e0
mov qword [rsp + 0x20], rax
xor edi, edi
mov rdx, qword [rsp + 0x20]
mov qword [rsp + 0x28], rdx
test edi, edi
jne 0x14001f97a
mov eax, dword [r14]
shr eax, 2
test al, 1
je 0x14001f911
mov rcx, rbp
shr rcx, 2
test rcx, rcx
je 0x14001f911
mov eax, dword [r14 + 0xc]
mov rdi, rdx
rep stosd dword [rdi], eax
mov r8d, r12d
xor edx, edx
shl r8, 4
mov rcx, rsi
call fcn.140040e10
mov rax, qword [rsp + 0x80]
xor ecx, ecx
movups xmm0, xmmword [rsp + 0x20]
mov qword [rbx + 0x10], rcx
mov qword [rbx + 0x18], rcx
mov qword [rbx + 0x20], rax
lea rax, [rsi + r12*8]
mov qword [rbx + 0x60], rax
mov rax, qword [rsp + 0x78]
mov qword [rbx], rcx
mov qword [rbx + 8], rcx
movups xmmword [rbx + 0x28], xmm0
mov qword [rax], rbx
xor eax, eax
mov qword [rbx + 0x38], rbp
mov dword [rbx + 0x40], r13d
mov dword [rbx + 0x44], r15d
mov dword [rbx + 0x48], ecx
mov dword [rbx + 0x4c], r15d
mov dword [rbx + 0x50], ecx
mov dword [rbx + 0x54], r15d
mov qword [rbx + 0x58], rsi
jmp 0x14001f98c
mov rcx, rsi
call fcn.140045190
mov rcx, rbx
call fcn.140045190
mov eax, edi
mov rbx, qword [rsp + 0x70]
add rsp, 0x30
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
Function at 0x14002ae60
Capabilities:
Allocate or change rwx memory

Disassembly:
sub rsp, 0x28
mov eax, r8d
shr eax, 2
test al, 1
je 0x14002ae7e
shr r8d, 1
and r8d, 1
inc r8d
shl r8d, 5
jmp 0x14002ae9b
test r8b, 3
je 0x14002ae95
shr r8d, 1
and r8d, 1
lea r8d, [r8*2 + 2]
jmp 0x14002ae9b
mov r8d, 1
lea r9, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
xor edx, edx
mov ecx, 2
test eax, eax
cmovne ecx, edx
mov eax, ecx
add rsp, 0x28
ret

Function at 0x14002b070
Capabilities:
Get system information on windows

Disassembly:
sub rsp, 0x58
mov eax, dword [0x1400853d4]
test eax, eax
jne 0x14002b0d6
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov eax, dword [rsp + 0x24]
dec eax
mov ecx, eax
shr ecx, 1
or ecx, eax
mov eax, ecx
shr eax, 2
or eax, ecx
mov ecx, eax
shr ecx, 4
or ecx, eax
mov edx, ecx
shr edx, 8
or edx, ecx
mov eax, edx
shr eax, 0x10
or eax, edx
inc eax
mov dword [rsp + 0x60], eax
mov eax, dword [rsp + 0x48]
mov dword [rsp + 0x64], eax
mov rax, qword [rsp + 0x60]
mov qword [0x140085590], rax
mov eax, 1
xchg dword [0x1400853d4], eax
mov rax, qword [0x140085590]
add rsp, 0x58
ret