joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14001d41f
Capabilities:
Get uefi variable

Disassembly:
jmp 0x14004a1a0
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, [0x1400854e4]
call fcn.14001df69
mov byte [rbp + 4], 0
mov byte [rbp + 0x24], 0
cmp qword [rbp + 0x120], 0
je 0x14004a1f4
mov rax, qword [rbp + 0x120]
mov byte [rax], 0
mov dl, 1
mov ecx, 0x16
call fcn.14001dc76
movzx eax, al
test eax, eax
jl 0x14004a250
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]
xor edx, edx
mov ecx, 0x16
call fcn.14001dc76
cmp qword [rbp + 0x120], 0
je 0x14004a24c
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, [0x14006b590]
call fcn.14001dcb2
mov eax, edi
lea rsp, [rbp + 0x108]
pop rdi
pop rbp
ret

Function at 0x14001d483
Capabilities:
Encode data using xor

Disassembly:
jmp 0x140029680
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, [0x14008344d]
call fcn.14001df69
cmp qword [rbp + 0x140], 0
je 0x1400296bb
cmp dword [rbp + 0x148], 0
jne 0x1400296bd
jmp 0x14002970b
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 0x1400296da
lea rsp, [rbp + 0x128]
pop rdi
pop rbp
ret
Function at 0x14001d4a1
Capabilities:
Get common file path

Disassembly:
jmp 0x14002ce20
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, [0x140083657]
call fcn.14001df69
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 0x14002ce94
lea rax, str.ntoskrnl.exe
mov qword [rbp + 0xc8], rax
jmp 0x14002cea2
lea rax, str.CI.dll
mov qword [rbp + 0xc8], rax
lea rdx, [rbp + 0x24]
mov rcx, qword [rbp + 0xc8]
call fcn.14001d429
mov qword [rbp + 0x88], rax
cmp qword [rbp + 0x88], 0
jne 0x14002cee2
mov r8, qword [rbp + 0xc8]
lea rdx, str.____Abort__could_not_query___ws__image_base_r_n
mov ecx, 1
call fcn.14001d46f
xor eax, eax
jmp 0x14002d07a
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 0x14002cf12
xor eax, eax
jmp 0x14002d07a
lea rdx, [0x14005fb28]
lea rcx, [rbp + 0x110]
call fcn.14001dec9
mov rdx, qword [rbp + 0xc8]
lea rcx, [rbp + 0x110]
call fcn.14001dec9
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 0x14002d055
mov rdx, qword [rbp + 0xc8]
lea rcx, str.___Module___ws__loaded_for_pattern_search_r_n
call fcn.14001de79
cmp dword [rbp + 0x790], 0x23f0
jae 0x14002cfbd
lea rdx, [rbp + 0x48]
mov rcx, qword [rbp + 0xe8]
call fcn.14001dcda
mov dword [rbp + 4], eax
cmp dword [rbp + 4], 0
jl 0x14002cfbb
mov r9, qword [rbp + 0x48]
lea r8, [rbp + 0xa8]
mov rdx, qword [rbp + 0x88]
mov rcx, qword [rbp + 0xe8]
call fcn.14001d63b
mov dword [rbp + 4], eax
jmp 0x14002cfe1
mov r9d, dword [rbp + 0x790]
lea r8, [rbp + 0xa8]
mov rdx, qword [rbp + 0x88]
mov rcx, qword [rbp + 0xe8]
call fcn.14001d4bf
mov dword [rbp + 4], eax
cmp dword [rbp + 4], 0
jl 0x14002d037
mov rax, qword [rbp + 0x88]
cmp qword [rbp + 0xa8], rax
jb 0x14002d01d
mov eax, dword [rbp + 0x24]
mov rcx, qword [rbp + 0x88]
add rcx, rax
mov rax, rcx
cmp qword [rbp + 0xa8], rax
ja 0x14002d01d
mov rax, qword [rbp + 0xa8]
mov qword [rbp + 0x68], rax
jmp 0x14002d035
mov r8, qword [rbp + 0xa8]
lea rdx, str.____Resolved_address_0x_llX_does_not_belong_required_module._r_n
mov ecx, 1
call fcn.14001d46f
jmp 0x14002d046
mov edx, dword [rbp + 4]
lea rcx, str.____Failed_to_locate_kernel_variable_address
call fcn.14001d230
mov rcx, qword [rbp + 0xe8]
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
jmp 0x14002d076
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.14001d46f
mov rax, qword [rbp + 0x68]
mov rdi, rax
lea rcx, [rbp - 0x20]
lea rdx, [0x14005f660]
call fcn.14001dcb2
mov rax, rdi
lea rsp, [rbp + 0x778]
pop rdi
pop rbp
ret
Function at 0x14001d50f
Capabilities:
Unload driver

Disassembly:
jmp 0x14004b980
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, [0x1400854e4]
call fcn.14001df69
mov edx, 0x20a
lea rcx, [rbp + 0x80]
call fcn.14001dad2
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.14001da14
test eax, eax
jge 0x14004ba03
mov eax, 0xc00000ef
jmp 0x14004ba7c
mov qword [rbp + 0x28], 0x12
mov rax, qword [rbp + 0x28]
lea rax, [rbp + rax*2 + 0x80]
mov rdx, rax
xor ecx, ecx
call fcn.14001d154
mov dword [rbp + 4], eax
cmp dword [rbp + 4], 0
jge 0x14004ba2f
mov eax, dword [rbp + 4]
jmp 0x14004ba7c
lea rdx, [rbp + 0x80]
lea rcx, [rbp + 0x48]
call qword [sym.imp.ntdll.dll_RtlInitUnicodeString]
lea rcx, [rbp + 0x48]
call qword [sym.imp.ntdll.dll_NtUnloadDriver]
mov dword [rbp + 4], eax
cmp dword [rbp + 4], 0
jl 0x14004ba79
movzx eax, byte [rbp + 0x448]
test eax, eax
je 0x14004ba79
mov rax, qword [rbp + 0x28]
lea rax, [rbp + rax*2 + 0x80]
mov rdx, rax
mov rcx, 0xffffffff80000002
call fcn.14001ddac
mov eax, dword [rbp + 4]
mov rdi, rax
lea rcx, [rbp - 0x30]
lea rdx, [0x14006afb0]
call fcn.14001dcb2
mov rax, rdi
lea rsp, [rbp + 0x428]
pop rdi
pop rbp
ret
Function at 0x14001d6b8
Capabilities:
Create process on windows
Create process suspended
Resume thread

Disassembly:
jmp 0x1400415b0
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, [0x1400852da]
call fcn.14001df69
mov dword [rbp + 4], 0
mov dword [rbp + 0x24], 0
mov r8d, 0x68
xor edx, edx
lea rcx, [rbp + 0x50]
call fcn.14001dba9
mov dword [rbp + 0x50], 0x68
mov r8d, 0x18
xor edx, edx
lea rcx, [rbp + 0xd8]
call fcn.14001dba9
mov rdx, qword [rbp + 0x1e8]
lea rcx, str.___Creating_Process__s_r_n
call fcn.14001d636
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 0x1400416ab
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, str.____Failed_to_create_process:_0x_lX_n
call fcn.14001d71c
mov eax, dword [rbp + 4]
jmp 0x140041761
mov edx, dword [rbp + 0xe8]
lea rcx, str.___Created_Process_with_PID__lu_r_n
call fcn.14001de79
mov eax, dword [rbp + 0xe8]
mov r9d, 1
mov r8d, 3
mov edx, eax
mov rcx, qword [rbp + 0x1e0]
call fcn.14001dc6c
mov dword [rbp + 4], eax
cmp dword [rbp + 4], 0
jne 0x1400416ff
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, str.____Failed_to_set_process_as_PPL:_0x_lX_n
call fcn.14001de79
mov eax, dword [rbp + 4]
jmp 0x140041761
mov rcx, qword [rbp + 0xe0]
call qword [sym.imp.KERNEL32.dll_ResumeThread]
mov dword [rbp + 0x24], eax
cmp dword [rbp + 0x24], 1
je 0x140041732
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.14001de79
mov eax, dword [rbp + 4]
jmp 0x140041761
mov edx, 0xffffffff
mov rcx, qword [rbp + 0xd8]
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rcx, qword [rbp + 0xd8]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rbp + 0xe0]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [rbp + 4]
mov rdi, rax
lea rcx, [rbp - 0x50]
lea rdx, [0x140068b20]
call fcn.14001dcb2
mov rax, rdi
lea rsp, [rbp + 0x1c8]
pop rdi
pop rbp
ret
Function at 0x14001d73f
Capabilities:
Get system information on windows

Disassembly:
jmp 0x140023800
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, [0x140083341]
call fcn.14001df69
mov qword [rbp + 8], 0
mov dword [rbp + 0x24], 0x1000
mov dword [rbp + 0x64], 0
cmp qword [rbp + 0x168], 0
je 0x140023872
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 0x14002388f
xor eax, eax
jmp 0x140023918
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 0x1400238e3
mov rcx, qword [rbp + 8]
call qword [rbp + 0x178]
mov eax, dword [rbp + 0x24]
shl eax, 1
mov dword [rbp + 0x24], eax
cmp dword [rbp + 0x24], 0x20000000
jbe 0x1400238d2
xor eax, eax
jmp 0x140023918
mov eax, dword [rbp + 0x24]
mov ecx, eax
call qword [rbp + 0x170]
mov qword [rbp + 8], rax
jmp 0x14002388f
cmp qword [rbp + 0x168], 0
je 0x1400238f9
mov rax, qword [rbp + 0x168]
mov ecx, dword [rbp + 0x64]
mov dword [rax], ecx
cmp dword [rbp + 0x44], 0
jl 0x140023905
mov rax, qword [rbp + 8]
jmp 0x140023918
cmp qword [rbp + 8], 0
je 0x140023916
mov rcx, qword [rbp + 8]
call qword [rbp + 0x178]
xor eax, eax
mov rdi, rax
lea rcx, [rbp - 0x20]
lea rdx, [0x14005b910]
call fcn.14001dcb2
mov rax, rdi
lea rsp, [rbp + 0x148]
pop rdi
pop rbp
ret
Function at 0x14001d78a
Capabilities:
Create thread

Disassembly:
jmp 0x14003c990
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, [0x140084eaa]
call fcn.14001df69
mov dword [rbp + 4], 0
mov ecx, 0x30
call fcn.14001d2da
mov qword [rbp + 0x28], rax
cmp qword [rbp + 0x28], 0
je 0x14003caa5
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 0x14003ca3c
mov rax, qword [rbp + 0x28]
mov rcx, qword [rbp + 0x150]
mov qword [rax + 0x10], rcx
cmp qword [rbp + 0x158], 0
je 0x14003ca55
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, [0x14001d109]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov qword [rbp + 0x48], rax
cmp qword [rbp + 0x48], 0
je 0x14003ca94
mov rax, qword [rbp + 0x28]
mov rcx, qword [rbp + 0x48]
mov qword [rax + 0x28], rcx
jmp 0x14003caa5
mov rcx, qword [rbp + 0x28]
call fcn.14001da19
mov qword [rbp + 0x28], 0
mov rax, qword [rbp + 0x28]
mov rdi, rax
lea rcx, [rbp - 0x30]
lea rdx, [0x140065710]
call fcn.14001dcb2
mov rax, rdi
lea rsp, [rbp + 0x128]
pop rdi
pop rbp
ret
Function at 0x14001d802
Capabilities:
Get system information on windows

Disassembly:
jmp 0x14003ec50
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, [0x1400850cb]
call fcn.14001df69
mov dword [rbp + 4], 0
mov edx, 0x70
lea rcx, [rbp + 0x30]
call fcn.14001dad2
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 0x14003ed53
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 0x14003ed03
lea rdx, str.___MSFT_hypervisor_present_r_n
mov ecx, 2
call fcn.14001d46f
jmp 0x14003ed4e
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.14001d767
lea r8, [rbp + 0xd8]
lea rdx, str.___The___s__hypervisor_present_r_n
mov ecx, 2
call fcn.14001d46f
jmp 0x14003ee12
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 0x14003ee12
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.14001d767
lea r8, [rbp + 0xd8]
lea rdx, str.___The___s__hypervisor_present_r_n
mov ecx, 2
call fcn.14001d46f
lea rcx, [rbp - 0x20]
lea rdx, [0x140067910]
call fcn.14001dcb2
lea rsp, [rbp + 0x220]
pop rdi
pop rbx
pop rbp
ret
Function at 0x14001d875
Capabilities:
Query or enumerate registry value

Disassembly:
jmp 0x140049ff0
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, [0x1400854e4]
call fcn.14001df69
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 0x14004a120
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 0x14004a116
cmp dword [rbp + 0x64], 8
jne 0x14004a116
mov eax, dword [rbp + 0x84]
mov ecx, eax
call fcn.14001d2da
mov qword [rbp + 0xa8], rax
cmp qword [rbp + 0xa8], 0
je 0x14004a116
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]
mov rcx, qword [rbp + 0x48]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rax, qword [rbp + 0xa8]
mov rdi, rax
lea rcx, [rbp - 0x30]
lea rdx, [0x14006c828]
call fcn.14001dcb2
mov rax, rdi
lea rsp, [rbp + 0x1a8]
pop rdi
pop rbp
ret

Function at 0x14001d87a
Capabilities:
Terminate process

Disassembly:
jmp 0x140054da0
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]
add rsp, 0x28
ret
Function at 0x14001d8ac
Capabilities:
Access pe header

Disassembly:
jmp 0x14004bb40
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, [0x1400854e4]
call fcn.14001df69
mov eax, dword [rbp + 0x188]
inc eax
shr eax, 1
mov r8d, eax
mov rdx, qword [rbp + 0x180]
xor ecx, ecx
call fcn.14001d26c
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 0x14004bc95
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 0x14004bbdf
mov dword [rbp + 0x154], 1
jmp 0x14004bbe9
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 0x14004bc48
mov dword [rbp + 0x154], 1
jmp 0x14004bc52
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 0x14004bca7
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 0x14004bccd
mov rax, qword [rbp + 0x190]
mov ecx, dword [rbp + 0x44]
mov dword [rax], ecx
cmp qword [rbp + 0x198], 0
je 0x14004bce3
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 0x14004bcf4
mov byte [rbp + 0x154], 1
jmp 0x14004bcfb
mov byte [rbp + 0x154], 0
movzx eax, byte [rbp + 0x154]
lea rsp, [rbp + 0x168]
pop rdi
pop rbp
ret
Function at 0x14001d91f
Capabilities:
Access pe header
Enumerate pe sections

Disassembly:
jmp 0x140024560
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, [0x140083341]
call fcn.14001df69
mov byte [rbp + 4], 0
mov rcx, qword [rbp + 0x190]
call qword [sym.imp.ntdll.dll_RtlImageNtHeader]
mov qword [rbp + 0x68], rax
cmp qword [rbp + 0x198], 0
je 0x1400245b9
mov rax, qword [rbp + 0x198]
mov dword [rax], 0
cmp qword [rbp + 0x68], 0
jne 0x1400245c7
xor eax, eax
jmp 0x14002467a
mov rax, qword [rbp + 0x68]
movzx eax, word [rax + 0x14]
mov rcx, qword [rbp + 0x68]
lea rax, [rcx + rax + 0x18]
mov qword [rbp + 0x88], rax
mov rax, qword [rbp + 0x68]
movzx eax, word [rax + 6]
mov dword [rbp + 0x24], eax
cmp dword [rbp + 0x24], 0
jbe 0x140024632
mov eax, dword [rbp + 0x188]
mov rcx, qword [rbp + 0x88]
mov r8d, eax
mov rdx, qword [rbp + 0x180]
call fcn.14001d61d
test eax, eax
jne 0x140024616
mov byte [rbp + 4], 1
jmp 0x140024632
mov eax, dword [rbp + 0x24]
dec eax
mov dword [rbp + 0x24], eax
mov rax, qword [rbp + 0x88]
add rax, 0x28
mov qword [rbp + 0x88], rax
jmp 0x1400245ea
movzx eax, byte [rbp + 4]
test eax, eax
jne 0x14002463e
xor eax, eax
jmp 0x14002467a
mov rax, qword [rbp + 0x88]
mov eax, dword [rax + 0xc]
mov rcx, qword [rbp + 0x190]
add rcx, rax
mov rax, rcx
mov qword [rbp + 0x48], rax
cmp qword [rbp + 0x198], 0
je 0x140024676
mov rax, qword [rbp + 0x198]
mov rcx, qword [rbp + 0x88]
mov ecx, dword [rcx + 8]
mov dword [rax], ecx
mov rax, qword [rbp + 0x48]
lea rsp, [rbp + 0x168]
pop rdi
pop rbp
ret
Function at 0x14001d9ab
Capabilities:
Enumerate files on windows

Disassembly:
jmp 0x1400228d0
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, 0x248
lea rbp, [rsp + 0x40]
lea rdi, [rsp + 0x40]
mov ecx, 0x52
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x268]
lea rcx, [0x140083341]
call fcn.14001df69
mov qword [rbp + 0x48], 0
cmp qword [rbp + 0x230], 0
jne 0x140022933
mov eax, 0xc00000f2
jmp 0x140022afd
mov dword [rbp + 0x64], 0xc0000001
cmp qword [rbp + 0x220], 0
je 0x1400229d9
mov edx, 0x10
lea rcx, [rbp + 0xf8]
call fcn.14001dad2
mov rdx, qword [rbp + 0x220]
lea rcx, [rbp + 0xf8]
call qword [sym.imp.ntdll.dll_RtlInitUnicodeString]
mov dword [rbp + 0xa8], 0x30
mov qword [rbp + 0xb0], 0
mov dword [rbp + 0xc0], 0x40
lea rax, [rbp + 0xf8]
mov qword [rbp + 0xb8], rax
mov qword [rbp + 0xc8], 0
mov qword [rbp + 0xd0], 0
lea r8, [rbp + 0xa8]
mov edx, 1
lea rcx, [rbp + 0x48]
call qword [sym.imp.ntdll.dll_NtOpenDirectoryObject]
mov dword [rbp + 0x64], eax
cmp dword [rbp + 0x64], 0
jge 0x1400229d7
mov eax, dword [rbp + 0x64]
jmp 0x140022afd
jmp 0x1400229f8
cmp qword [rbp + 0x228], 0
jne 0x1400229ed
mov eax, 0xc00000f0
jmp 0x140022afd
mov rax, qword [rbp + 0x228]
mov qword [rbp + 0x48], rax
mov dword [rbp + 4], 0
mov dword [rbp + 0x24], 0
lea rax, [rbp + 0x24]
mov qword [rsp + 0x30], rax
lea rax, [rbp + 4]
mov qword [rsp + 0x28], rax
mov byte [rsp + 0x20], 0
mov r9b, 1
xor r8d, r8d
xor edx, edx
mov rcx, qword [rbp + 0x48]
call qword [sym.imp.ntdll.dll_NtQueryDirectoryObject]
mov dword [rbp + 0x64], eax
cmp dword [rbp + 0x64], 0xc0000023
je 0x140022a40
jmp 0x140022ae9
mov eax, dword [rbp + 0x24]
mov ecx, eax
call fcn.14001d8c5
mov qword [rbp + 0x128], rax
cmp qword [rbp + 0x128], 0
jne 0x140022a60
jmp 0x140022ae9
lea rax, [rbp + 0x24]
mov qword [rsp + 0x30], rax
lea rax, [rbp + 4]
mov qword [rsp + 0x28], rax
mov byte [rsp + 0x20], 0
mov r9b, 1
mov r8d, dword [rbp + 0x24]
mov rdx, qword [rbp + 0x128]
mov rcx, qword [rbp + 0x48]
call qword [sym.imp.ntdll.dll_NtQueryDirectoryObject]
mov dword [rbp + 0x64], eax
cmp dword [rbp + 0x64], 0
jge 0x140022aa6
mov rcx, qword [rbp + 0x128]
call fcn.14001d1ea
jmp 0x140022ae9
mov rdx, qword [rbp + 0x238]
mov rcx, qword [rbp + 0x128]
call qword [rbp + 0x230]
mov dword [rbp + 0x84], eax
mov rcx, qword [rbp + 0x128]
call fcn.14001d1ea
cmp dword [rbp + 0x84], 0
jl 0x140022ade
mov dword [rbp + 0x64], 0
jmp 0x140022ae9
xor eax, eax
cmp eax, 1
jne 0x1400229ff
cmp qword [rbp + 0x48], 0
je 0x140022afa
mov rcx, qword [rbp + 0x48]
call qword [sym.imp.ntdll.dll_NtClose]
mov eax, dword [rbp + 0x64]
mov rdi, rax
lea rcx, [rbp - 0x40]
lea rdx, [0x14005bab0]
call fcn.14001dcb2
mov rax, rdi
lea rsp, [rbp + 0x208]
pop rdi
pop rbp
ret