joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140021253
Capabilities:
Terminate thread

Disassembly:
jmp 0x140047ce0
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x108
lea rbp, [rsp + 0x20]
lea rcx, [0x14009a5f5]
call fcn.140022068
nop
mov rax, qword [rbp + 0x100]
mov qword [rbp + 8], rax
cmp qword [rbp + 8], 0
jne 0x140047d22
mov ecx, 0x57
call qword [sym.imp.KERNEL32.dll_SetLastError]
nop
xor eax, eax
jmp 0x140047d6b
mov edx, 0x7d0
mov rax, qword [rbp + 8]
mov rcx, qword [rax + 0x28]
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x140047d4d
xor edx, edx
mov rax, qword [rbp + 8]
mov rcx, qword [rax + 0x28]
call qword [sym.imp.KERNEL32.dll_TerminateThread]
nop
mov rax, qword [rbp + 8]
mov rcx, qword [rax + 0x28]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
mov rcx, qword [rbp + 8]
call fcn.140021ac8
nop
mov eax, 1
lea rsp, [rbp + 0xe8]
pop rdi
pop rbp
ret

Function at 0x140021271
Capabilities:
Delete file

Disassembly:
jmp 0x1400524e0
mov qword [rsp + 0x18], r8
mov dword [rsp + 0x10], edx
mov dword [rsp + 8], ecx
push rbp
push rdi
sub rsp, 0x108
lea rbp, [rsp + 0x20]
lea rcx, [0x14009ac3a]
call fcn.140022068
nop
mov eax, dword [rbp + 0x108]
mov dword [rbp + 4], eax
mov ecx, dword [rbp + 0x100]
call qword [sym.imp.KERNEL32.dll_Sleep]
nop
mov rcx, qword [rbp + 0x110]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
je 0x140052536
mov eax, 1
jmp 0x140052546
mov eax, dword [rbp + 4]
dec eax
mov dword [rbp + 4], eax
cmp dword [rbp + 4], 0
jne 0x140052511
xor eax, eax
lea rsp, [rbp + 0xe8]
pop rdi
pop rbp
ret

Function at 0x14002141a
Capabilities:
Access pe header

Disassembly:
jmp 0x140056ec0
mov dword [rsp + 0x20], r9d
mov qword [rsp + 0x18], r8
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x188
lea rbp, [rsp + 0x20]
lea rdi, [rsp + 0x20]
mov ecx, 0x2a
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x1a8]
lea rcx, [0x14009ac3a]
call fcn.140022068
nop
mov dword [rbp + 4], 0
mov rcx, qword [rbp + 0x180]
call qword [sym.imp.ntdll.dll_RtlImageNtHeader]
mov qword [rbp + 0x28], rax
cmp qword [rbp + 0x28], 0
je 0x140056fd9
mov dword [rbp + 0x44], 0
lea rdx, [rbp + 0x44]
mov rcx, qword [rbp + 0x180]
call fcn.14002163b
mov qword [rbp + 0x68], rax
cmp qword [rbp + 0x68], 0
je 0x140056fd9
mov rdx, qword [rbp + 0x190]
mov rcx, qword [rbp + 0x68]
call fcn.1400219c9
mov qword [rbp + 0x88], rax
cmp qword [rbp + 0x88], 0
je 0x140056fc6
mov rax, qword [rbp + 0x68]
mov rcx, qword [rbp + 0x88]
sub rcx, rax
mov rax, rcx
mov rcx, qword [rbp + 0x28]
mov dword [rcx + 0x28], eax
cmp dword [rbp + 0x198], 0
je 0x140056fa6
mov rax, qword [rbp + 0x28]
movzx eax, word [rax + 0x16]
btr eax, 0xd
mov rcx, qword [rbp + 0x28]
mov word [rcx + 0x16], ax
mov edx, dword [rbp + 0x188]
mov rcx, qword [rbp + 0x180]
call fcn.140021ea6
mov rcx, qword [rbp + 0x28]
mov dword [rcx + 0x58], eax
mov dword [rbp + 4], 1
mov r8d, 0x8000
xor edx, edx
mov rcx, qword [rbp + 0x68]
call qword [sym.imp.KERNEL32.dll_VirtualFree]
nop
mov eax, dword [rbp + 4]
mov edi, eax
lea rcx, [rbp - 0x20]
lea rdx, [0x14007f490]
call fcn.140021d8e
mov eax, edi
lea rsp, [rbp + 0x168]
pop rdi
pop rbp
ret
Function at 0x14002146a
Capabilities:
Get uefi variable

Disassembly:
jmp 0x140056630
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x128
lea rbp, [rsp + 0x20]
lea rdi, [rsp + 0x20]
mov ecx, 0x12
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x148]
lea rcx, [0x14009ac3a]
call fcn.140022068
nop
mov byte [rbp + 4], 0
mov byte [rbp + 0x24], 0
cmp qword [rbp + 0x120], 0
je 0x140056685
mov rax, qword [rbp + 0x120]
mov byte [rax], 0
mov dl, 1
mov ecx, 0x16
call fcn.140021d52
movzx eax, al
test eax, eax
jl 0x1400566e3
mov byte [rbp + 0x24], 0
mov r9d, 1
lea r8, [rbp + 0x24]
lea rdx, str.8be4df61_93ca_11d2_aa0d_00e098032b8c
lea rcx, str.SecureBoot
call qword [sym.imp.KERNEL32.dll_GetFirmwareEnvironmentVariableW]
nop
xor edx, edx
mov ecx, 0x16
call fcn.140021d52
nop
cmp qword [rbp + 0x120], 0
je 0x1400566df
mov rax, qword [rbp + 0x120]
movzx ecx, byte [rbp + 0x24]
mov byte [rax], cl
mov byte [rbp + 4], 1
movzx eax, byte [rbp + 4]
mov edi, eax
lea rcx, [rbp - 0x20]
lea rdx, [0x14007f1f0]
call fcn.140021d8e
mov eax, edi
lea rsp, [rbp + 0x108]
pop rdi
pop rbp
ret

Function at 0x1400214d3
Capabilities:
Encode data using xor

Disassembly:
jmp 0x140031470
mov dword [rsp + 0x18], r8d
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x148
lea rbp, [rsp + 0x20]
lea rcx, [0x14009846b]
call fcn.140022068
nop
cmp qword [rbp + 0x140], 0
je 0x1400314ac
cmp dword [rbp + 0x148], 0
jne 0x1400314ae
jmp 0x1400314fc
mov eax, dword [rbp + 0x150]
mov dword [rbp + 4], eax
mov eax, dword [rbp + 0x148]
mov dword [rbp + 0x24], eax
mov rax, qword [rbp + 0x140]
mov qword [rbp + 0x48], rax
mov rax, qword [rbp + 0x48]
movzx eax, byte [rax]
xor eax, dword [rbp + 4]
mov rcx, qword [rbp + 0x48]
mov byte [rcx], al
mov eax, dword [rbp + 4]
rol eax, 1
mov dword [rbp + 4], eax
mov rax, qword [rbp + 0x48]
inc rax
mov qword [rbp + 0x48], rax
mov eax, dword [rbp + 0x24]
dec eax
mov dword [rbp + 0x24], eax
cmp dword [rbp + 0x24], 0
jne 0x1400314cb
lea rsp, [rbp + 0x128]
pop rdi
pop rbp
ret
Function at 0x1400214f1
Capabilities:
Get common file path

Disassembly:
jmp 0x140034cb0
mov dword [rsp + 8], ecx
push rbp
push rdi
sub rsp, 0x798
lea rbp, [rsp + 0x20]
lea rdi, [rsp + 0x20]
mov ecx, 0x14e
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov ecx, dword [rsp + 0x7b8]
lea rcx, [0x140098675]
call fcn.140022068
nop
mov dword [rbp + 0x24], 0
mov qword [rbp + 0x48], 0
mov qword [rbp + 0x68], 0
mov qword [rbp + 0xa8], 0
cmp dword [rbp + 0x790], 0x23f0
jae 0x140034d25
lea rax, str.ntoskrnl.exe
mov qword [rbp + 0xc8], rax
jmp 0x140034d33
lea rax, str.CI.dll
mov qword [rbp + 0xc8], rax
lea rdx, [rbp + 0x24]
mov rcx, qword [rbp + 0xc8]
call fcn.140021474
mov qword [rbp + 0x88], rax
cmp qword [rbp + 0x88], 0
jne 0x140034d74
mov r8, qword [rbp + 0xc8]
lea rdx, str.____Abort__could_not_query___ws__image_base_r_n
mov ecx, 1
call fcn.1400214bf
nop
xor eax, eax
jmp 0x140034f13
mov eax, 2
imul rax, rax, 0
xor ecx, ecx
mov word [rbp + rax + 0x110], cx
mov edx, 0x104
lea rcx, [rbp + 0x110]
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
test eax, eax
jne 0x140034da4
xor eax, eax
jmp 0x140034f13
lea rdx, [0x140071de8]
lea rcx, [rbp + 0x110]
call fcn.140021fbe
nop
mov rdx, qword [rbp + 0xc8]
lea rcx, [rbp + 0x110]
call fcn.140021fbe
nop
mov r8d, 1
xor edx, edx
lea rcx, [rbp + 0x110]
call qword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov qword [rbp + 0xe8], rax
cmp qword [rbp + 0xe8], 0
je 0x140034eed
mov rdx, qword [rbp + 0xc8]
lea rcx, str.___Module___ws__loaded_for_pattern_search_r_n
call fcn.140021f69
nop
cmp dword [rbp + 0x790], 0x23f0
jae 0x140034e52
lea rdx, [rbp + 0x48]
mov rcx, qword [rbp + 0xe8]
call fcn.140021db6
mov dword [rbp + 4], eax
cmp dword [rbp + 4], 0
jl 0x140034e50
mov r9, qword [rbp + 0x48]
lea r8, [rbp + 0xa8]
mov rdx, qword [rbp + 0x88]
mov rcx, qword [rbp + 0xe8]
call fcn.14002169a
mov dword [rbp + 4], eax
jmp 0x140034e76
mov r9d, dword [rbp + 0x790]
lea r8, [rbp + 0xa8]
mov rdx, qword [rbp + 0x88]
mov rcx, qword [rbp + 0xe8]
call fcn.14002150f
mov dword [rbp + 4], eax
cmp dword [rbp + 4], 0
jl 0x140034ecd
mov rax, qword [rbp + 0x88]
cmp qword [rbp + 0xa8], rax
jb 0x140034eb2
mov eax, dword [rbp + 0x24]
mov rcx, qword [rbp + 0x88]
add rcx, rax
mov rax, rcx
cmp qword [rbp + 0xa8], rax
ja 0x140034eb2
mov rax, qword [rbp + 0xa8]
mov qword [rbp + 0x68], rax
jmp 0x140034ecb
mov r8, qword [rbp + 0xa8]
lea rdx, str.____Resolved_address_0x_llX_does_not_belong_required_module._r_n
mov ecx, 1
call fcn.1400214bf
nop
jmp 0x140034edd
mov edx, dword [rbp + 4]
lea rcx, str.____Failed_to_locate_kernel_variable_address
call fcn.140021249
nop
mov rcx, qword [rbp + 0xe8]
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
nop
jmp 0x140034f0f
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r9d, eax
mov r8, qword [rbp + 0xc8]
lea rdx, str.____Could_not_load___ws___GetLastError__lu_r_n
mov ecx, 1
call fcn.1400214bf
nop
mov rax, qword [rbp + 0x68]
mov rdi, rax
lea rcx, [rbp - 0x20]
lea rdx, [0x140071920]
call fcn.140021d8e
mov rax, rdi
lea rsp, [rbp + 0x778]
pop rdi
pop rbp
ret
Function at 0x14002155f
Capabilities:
Unload driver

Disassembly:
jmp 0x140057e70
mov byte [rsp + 0x10], dl
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x458
lea rbp, [rsp + 0x30]
lea rdi, [rsp + 0x30]
mov ecx, 0xaa
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x478]
lea rcx, [0x14009ac3a]
call fcn.140022068
nop
mov edx, 0x20a
lea rcx, [rbp + 0x80]
call fcn.140021b9f
nop
mov rax, qword [rbp + 0x440]
mov qword [rsp + 0x20], rax
lea r9, str.RegistryMachine
lea r8, str._wSSystemCurrentControlSetServices_wS
mov edx, 0x104
lea rcx, [rbp + 0x80]
call fcn.140021ac3
test eax, eax
jge 0x140057ef5
mov eax, 0xc00000ef
jmp 0x140057f70
mov qword [rbp + 0x28], 0x12
mov rax, qword [rbp + 0x28]
lea rax, [rbp + rax*2 + 0x80]
mov rdx, rax
xor ecx, ecx
call fcn.140021168
mov dword [rbp + 4], eax
cmp dword [rbp + 4], 0
jge 0x140057f21
mov eax, dword [rbp + 4]
jmp 0x140057f70
lea rdx, [rbp + 0x80]
lea rcx, [rbp + 0x48]
call qword [sym.imp.ntdll.dll_RtlInitUnicodeString]
nop
lea rcx, [rbp + 0x48]
call qword [sym.imp.ntdll.dll_NtUnloadDriver]
mov dword [rbp + 4], eax
cmp dword [rbp + 4], 0
jl 0x140057f6d
movzx eax, byte [rbp + 0x448]
test eax, eax
je 0x140057f6d
mov rax, qword [rbp + 0x28]
lea rax, [rbp + rax*2 + 0x80]
mov rdx, rax
mov rcx, 0xffffffff80000002
call fcn.140021e88
nop
mov eax, dword [rbp + 4]
mov rdi, rax
lea rcx, [rbp - 0x30]
lea rdx, [0x14007ec10]
call fcn.140021d8e
mov rax, rdi
lea rsp, [rbp + 0x428]
pop rdi
pop rbp
ret
Function at 0x140021726
Capabilities:
Create process on windows
Create process suspended
Resume thread

Disassembly:
jmp 0x14004d0b0
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x218
lea rbp, [rsp + 0x50]
lea rdi, [rsp + 0x50]
mov ecx, 0x42
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x238]
lea rcx, [0x14009aa2f]
call fcn.140022068
nop
mov dword [rbp + 4], 0
mov dword [rbp + 0x24], 0
mov r8d, 0x68
xor edx, edx
lea rcx, [rbp + 0x50]
call fcn.140021c76
nop
mov dword [rbp + 0x50], 0x68
mov r8d, 0x18
xor edx, edx
lea rcx, [rbp + 0xd8]
call fcn.140021c76
nop
mov rdx, qword [rbp + 0x1e8]
lea rcx, str.___Creating_Process__s_r_n
call fcn.140021695
nop
lea rax, [rbp + 0xd8]
mov qword [rsp + 0x48], rax
lea rax, [rbp + 0x50]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], 0
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 4
mov dword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
mov rdx, qword [rbp + 0x1e8]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateProcessW]
mov dword [rbp + 4], eax
cmp dword [rbp + 4], 0
jne 0x14004d1b0
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, str.____Failed_to_create_process
call fcn.140021c6c
nop
mov eax, dword [rbp + 4]
jmp 0x14004d26c
mov edx, dword [rbp + 0xe8]
lea rcx, str.___Created_Process_with_PID__lu_r_n
call fcn.140021f69
nop
mov eax, dword [rbp + 0xe8]
mov r9d, 1
mov r8d, 3
mov edx, eax
mov rcx, qword [rbp + 0x1e0]
call fcn.140021d48
mov dword [rbp + 4], eax
cmp dword [rbp + 4], 0
jne 0x14004d206
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, str.____Failed_to_set_process_as_PPL
call fcn.140021c6c
nop
mov eax, dword [rbp + 4]
jmp 0x14004d26c
mov rcx, qword [rbp + 0xe0]
call qword [sym.imp.KERNEL32.dll_ResumeThread]
mov dword [rbp + 0x24], eax
cmp dword [rbp + 0x24], 1
je 0x14004d23a
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r8d, eax
mov edx, dword [rbp + 0x24]
lea rcx, str.____Failed_to_resume_process:__lu__0x_lX_n
call fcn.140021f69
nop
mov eax, dword [rbp + 4]
jmp 0x14004d26c
mov edx, 0xffffffff
mov rcx, qword [rbp + 0xd8]
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
nop
mov rcx, qword [rbp + 0xd8]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
mov rcx, qword [rbp + 0xe0]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
mov eax, dword [rbp + 4]
mov rdi, rax
lea rcx, [rbp - 0x50]
lea rdx, [0x14007c1d0]
call fcn.140021d8e
mov rax, rdi
lea rsp, [rbp + 0x1c8]
pop rdi
pop rbp
ret
Function at 0x1400217b7
Capabilities:
Get system information on windows

Disassembly:
jmp 0x140027ff0
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov dword [rsp + 8], ecx
push rbp
push rdi
sub rsp, 0x168
lea rbp, [rsp + 0x20]
lea rdi, [rsp + 0x20]
mov ecx, 0x22
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov ecx, dword [rsp + 0x188]
lea rcx, [0x140098341]
call fcn.140022068
nop
mov qword [rbp + 8], 0
mov dword [rbp + 0x24], 0x1000
mov dword [rbp + 0x64], 0
cmp qword [rbp + 0x168], 0
je 0x140028063
mov rax, qword [rbp + 0x168]
mov dword [rax], 0
mov eax, dword [rbp + 0x24]
mov ecx, eax
call qword [rbp + 0x170]
mov qword [rbp + 8], rax
cmp qword [rbp + 8], 0
jne 0x140028080
xor eax, eax
jmp 0x14002810b
lea r9, [rbp + 0x64]
mov r8d, dword [rbp + 0x24]
mov rdx, qword [rbp + 8]
mov ecx, dword [rbp + 0x160]
call qword [sym.imp.ntdll.dll_NtQuerySystemInformation]
mov dword [rbp + 0x44], eax
cmp dword [rbp + 0x44], 0xc0000004
jne 0x1400280d5
mov rcx, qword [rbp + 8]
call qword [rbp + 0x178]
nop
mov eax, dword [rbp + 0x24]
shl eax, 1
mov dword [rbp + 0x24], eax
cmp dword [rbp + 0x24], 0x20000000
jbe 0x1400280c4
xor eax, eax
jmp 0x14002810b
mov eax, dword [rbp + 0x24]
mov ecx, eax
call qword [rbp + 0x170]
mov qword [rbp + 8], rax
jmp 0x140028080
cmp qword [rbp + 0x168], 0
je 0x1400280eb
mov rax, qword [rbp + 0x168]
mov ecx, dword [rbp + 0x64]
mov dword [rax], ecx
cmp dword [rbp + 0x44], 0
jl 0x1400280f7
mov rax, qword [rbp + 8]
jmp 0x14002810b
cmp qword [rbp + 8], 0
je 0x140028109
mov rcx, qword [rbp + 8]
call qword [rbp + 0x178]
nop
xor eax, eax
mov rdi, rax
lea rcx, [rbp - 0x20]
lea rdx, [0x140068a70]
call fcn.140021d8e
mov rax, rdi
lea rsp, [rbp + 0x148]
pop rdi
pop rbp
ret
Function at 0x140021807
Capabilities:
Create thread

Disassembly:
jmp 0x140047b50
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x158
lea rbp, [rsp + 0x30]
lea rdi, [rsp + 0x30]
mov ecx, 0x1a
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x178]
lea rcx, [0x14009a5f5]
call fcn.140022068
nop
mov dword [rbp + 4], 0
mov ecx, 0x30
call fcn.1400212f3
mov qword [rbp + 0x28], rax
cmp qword [rbp + 0x28], 0
je 0x140047c67
mov rax, qword [rbp + 0x28]
mov rcx, qword [rbp + 0x140]
mov qword [rax], rcx
mov rax, qword [rbp + 0x28]
mov rcx, qword [rbp + 0x160]
mov qword [rax + 0x20], rcx
mov rax, qword [rbp + 0x28]
mov rcx, qword [rbp + 0x148]
mov qword [rax + 8], rcx
cmp qword [rbp + 0x150], 0
je 0x140047bfd
mov rax, qword [rbp + 0x28]
mov rcx, qword [rbp + 0x150]
mov qword [rax + 0x10], rcx
cmp qword [rbp + 0x158], 0
je 0x140047c16
mov rax, qword [rbp + 0x28]
mov rcx, qword [rbp + 0x158]
mov qword [rax + 0x18], rcx
lea rax, [rbp + 4]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0
mov r9, qword [rbp + 0x28]
lea r8, [0x140021118]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov qword [rbp + 0x48], rax
cmp qword [rbp + 0x48], 0
je 0x140047c55
mov rax, qword [rbp + 0x28]
mov rcx, qword [rbp + 0x48]
mov qword [rax + 0x28], rcx
jmp 0x140047c67
mov rcx, qword [rbp + 0x28]
call fcn.140021ac8
nop
mov qword [rbp + 0x28], 0
mov rax, qword [rbp + 0x28]
mov rdi, rax
lea rcx, [rbp - 0x30]
lea rdx, [0x140078b20]
call fcn.140021d8e
mov rax, rdi
lea rsp, [rbp + 0x128]
pop rdi
pop rbp
ret
Function at 0x140021884
Capabilities:
Get system information on windows

Disassembly:
jmp 0x14004a0c0
push rbp
push rbx
push rdi
sub rsp, 0x240
lea rbp, [rsp + 0x20]
lea rdi, [rsp + 0x20]
mov ecx, 0x58
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
lea rcx, [0x14009a81d]
call fcn.140022068
nop
mov dword [rbp + 4], 0
mov edx, 0x70
lea rcx, [rbp + 0x30]
call fcn.140021b9f
nop
lea r9, [rbp + 4]
mov r8d, 0x70
lea rdx, [rbp + 0x30]
mov ecx, 0x9f
call qword [sym.imp.ntdll.dll_NtQuerySystemInformation]
mov dword [rbp + 0x114], eax
cmp dword [rbp + 0x114], 0
jl 0x14004a1c8
lea rax, [rbp + 0x30]
mov qword [rbp + 0xb8], rax
mov rax, qword [rbp + 0xb8]
add rax, 4
mov r8d, 0xc
mov rdx, rax
lea rcx, str.Microsoft_Hv
call qword [sym.imp.KERNEL32.dll_RtlCompareMemory]
cmp rax, 0xc
jne 0x14004a176
lea rdx, str.___MSFT_hypervisor_present_r_n
mov ecx, 2
call fcn.1400214bf
nop
jmp 0x14004a1c3
lea rax, [rbp + 0xd8]
mov rdi, rax
xor eax, eax
mov ecx, 0x20
rep stosb byte [rdi], al
mov rax, qword [rbp + 0xb8]
add rax, 4
mov r8d, 0xc
mov rdx, rax
lea rcx, [rbp + 0xd8]
call fcn.1400217df
nop
lea r8, [rbp + 0xd8]
lea rdx, str.___The___s__hypervisor_present_r_n
mov ecx, 2
call fcn.1400214bf
nop
jmp 0x14004a289
mov dword [rbp + 0x138], 0xffffffff
mov dword [rbp + 0x13c], 0xffffffff
mov dword [rbp + 0x140], 0xffffffff
mov dword [rbp + 0x144], 0xffffffff
mov eax, 1
xor ecx, ecx
cpuid
lea rdi, [rbp + 0x138]
mov dword [rdi], eax
mov dword [rdi + 4], ebx
mov dword [rdi + 8], ecx
mov dword [rdi + 0xc], edx
mov eax, 4
imul rax, rax, 2
mov eax, dword [rbp + rax + 0x138]
sar eax, 0x1f
and eax, 1
test eax, eax
je 0x14004a289
mov eax, 0x40000000
xor ecx, ecx
cpuid
lea rdi, [rbp + 0x138]
mov dword [rdi], eax
mov dword [rdi + 4], ebx
mov dword [rdi + 8], ecx
mov dword [rdi + 0xc], edx
lea rax, [rbp + 0xd8]
mov rdi, rax
xor eax, eax
mov ecx, 0x20
rep stosb byte [rdi], al
lea rax, [rbp + 0x13c]
mov r8d, 0xc
mov rdx, rax
lea rcx, [rbp + 0xd8]
call fcn.1400217df
nop
lea r8, [rbp + 0xd8]
lea rdx, str.___The___s__hypervisor_present_r_n
mov ecx, 2
call fcn.1400214bf
nop
lea rcx, [rbp - 0x20]
lea rdx, [0x14007ae10]
call fcn.140021d8e
lea rsp, [rbp + 0x220]
pop rdi
pop rbx
pop rbp
ret

Function at 0x1400218b6
Capabilities:
Access pe header

Disassembly:
jmp 0x1400482e0
push rbp
push rdi
sub rsp, 0x128
lea rbp, [rsp + 0x40]
lea rcx, [0x14009a6fa]
call fcn.140022068
nop
call fcn.14002188e
mov rcx, qword [rax + 0x10]
call qword [sym.imp.ntdll.dll_RtlImageNtHeader]
mov qword [rbp + 8], rax
mov rax, qword [rbp + 8]
mov eax, dword [rax + 0x58]
mov dword [rsp + 0x38], eax
lea rax, str.Mon_Sep_23_18:15:06_2024
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x28], 0x7e8
mov dword [rsp + 0x20], 0x969
mov r9d, 2
mov r8d, 4
mov edx, 1
lea rcx, str.___Kernel_Driver_Utility_v_lu._lu._lu__build__lu__started___c_2020____lu_KDU_Project_r_n___Built_at__s__header_checksum_0x_lX_r_n___Supported_x64_OS_:_Windows_7_and_above_r_n
call fcn.140021f69
nop
lea rsp, [rbp + 0xe8]
pop rdi
pop rbp
ret
Function at 0x140021901
Capabilities:
Query or enumerate registry value

Disassembly:
jmp 0x140056480
push rbp
push rdi
sub rsp, 0x1d8
lea rbp, [rsp + 0x30]
lea rdi, [rsp + 0x30]
mov ecx, 0x3a
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
lea rcx, [0x14009ac3a]
call fcn.140022068
nop
lea rax, str.HARDWARERESOURCEMAPSystem_ResourcesPhysical_Memory
mov qword [rbp + 8], rax
lea rax, str..Translated
mov qword [rbp + 0x28], rax
mov dword [rbp + 0x64], 8
mov dword [rbp + 0x84], 0
mov qword [rbp + 0xa8], 0
lea rax, [rbp + 0x48]
mov qword [rsp + 0x20], rax
mov r9d, 0x20019
xor r8d, r8d
mov rdx, qword [rbp + 8]
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cdqe
mov qword [rbp + 0xc8], rax
cmp qword [rbp + 0xc8], 0
jne 0x1400565b3
lea rax, [rbp + 0x84]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], 0
lea r9, [rbp + 0x64]
xor r8d, r8d
mov rdx, qword [rbp + 0x28]
mov rcx, qword [rbp + 0x48]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
cdqe
mov qword [rbp + 0xc8], rax
cmp qword [rbp + 0xc8], 0
jne 0x1400565a8
cmp dword [rbp + 0x64], 8
jne 0x1400565a8
mov eax, dword [rbp + 0x84]
mov ecx, eax
call fcn.1400212f3
mov qword [rbp + 0xa8], rax
cmp qword [rbp + 0xa8], 0
je 0x1400565a8
lea rax, [rbp + 0x84]
mov qword [rsp + 0x28], rax
mov rax, qword [rbp + 0xa8]
mov qword [rsp + 0x20], rax
lea r9, [rbp + 0x64]
xor r8d, r8d
mov rdx, qword [rbp + 0x28]
mov rcx, qword [rbp + 0x48]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
nop
mov rcx, qword [rbp + 0x48]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop
mov rax, qword [rbp + 0xa8]
mov rdi, rax
lea rcx, [rbp - 0x30]
lea rdx, [0x140080550]
call fcn.140021d8e
mov rax, rdi
lea rsp, [rbp + 0x1a8]
pop rdi
pop rbp
ret

Function at 0x140021906
Capabilities:
Terminate process

Disassembly:
jmp 0x140061680
mov qword [rsp + 8], rcx
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, 0xc0000409
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
nop
add rsp, 0x28
ret
Function at 0x140021938
Capabilities:
Access pe header

Disassembly:
jmp 0x140058030
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x188
lea rbp, [rsp + 0x20]
lea rcx, [0x14009ac3a]
call fcn.140022068
nop
mov eax, dword [rbp + 0x188]
inc eax
shr eax, 1
mov r8d, eax
mov rdx, qword [rbp + 0x180]
xor ecx, ecx
call fcn.140021280
mov word [rbp + 0x84], ax
mov rcx, qword [rbp + 0x180]
call qword [sym.imp.ntdll.dll_RtlImageNtHeader]
mov qword [rbp + 0x28], rax
cmp qword [rbp + 0x28], 0
je 0x140058186
mov rax, qword [rbp + 0x28]
add rax, 0x58
mov qword [rbp + 8], rax
movzx eax, word [rbp + 0x84]
mov ecx, 2
imul rcx, rcx, 0
mov rdx, qword [rbp + 8]
movzx ecx, word [rdx + rcx]
cmp eax, ecx
jge 0x1400580d0
mov dword [rbp + 0x154], 1
jmp 0x1400580da
mov dword [rbp + 0x154], 0
movzx eax, word [rbp + 0x84]
sub eax, dword [rbp + 0x154]
mov word [rbp + 0x84], ax
mov eax, 2
imul rax, rax, 0
mov rcx, qword [rbp + 8]
movzx eax, word [rcx + rax]
movzx ecx, word [rbp + 0x84]
sub ecx, eax
mov eax, ecx
mov word [rbp + 0x84], ax
movzx eax, word [rbp + 0x84]
mov ecx, 2
imul rcx, rcx, 1
mov rdx, qword [rbp + 8]
movzx ecx, word [rdx + rcx]
cmp eax, ecx
jge 0x140058139
mov dword [rbp + 0x154], 1
jmp 0x140058143
mov dword [rbp + 0x154], 0
movzx eax, word [rbp + 0x84]
sub eax, dword [rbp + 0x154]
mov word [rbp + 0x84], ax
mov eax, 2
imul rax, rax, 1
mov rcx, qword [rbp + 8]
movzx eax, word [rcx + rax]
movzx ecx, word [rbp + 0x84]
sub ecx, eax
mov eax, ecx
mov word [rbp + 0x84], ax
mov rax, qword [rbp + 0x28]
mov eax, dword [rax + 0x58]
mov dword [rbp + 0x44], eax
jmp 0x140058198
mov eax, dword [rbp + 0x188]
mov dword [rbp + 0x44], eax
xor eax, eax
mov word [rbp + 0x84], ax
movzx eax, word [rbp + 0x84]
add eax, dword [rbp + 0x188]
mov dword [rbp + 0x64], eax
cmp qword [rbp + 0x190], 0
je 0x1400581be
mov rax, qword [rbp + 0x190]
mov ecx, dword [rbp + 0x44]
mov dword [rax], ecx
cmp qword [rbp + 0x198], 0
je 0x1400581d4
mov rax, qword [rbp + 0x198]
mov ecx, dword [rbp + 0x64]
mov dword [rax], ecx
mov eax, dword [rbp + 0x44]
cmp dword [rbp + 0x64], eax
jne 0x1400581e5
mov byte [rbp + 0x154], 1
jmp 0x1400581ec
mov byte [rbp + 0x154], 0
movzx eax, byte [rbp + 0x154]
lea rsp, [rbp + 0x168]
pop rdi
pop rbp
ret