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

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x20], rsi
push rdi
sub rsp, 0x30
and qword [r8], 0
mov rdi, r8
mov r8d, dword [str.NxMm]
mov rsi, rdx
mov rbp, rcx
mov edx, 0x410
mov ecx, 1
mov dword [rax + 0x18], edx
call qword [sym.imp.ntoskrnl.exe_ExAllocatePoolWithTag]
test rax, rax
mov qword [rdi], rax
je 0x14e35
lea rcx, [rsp + 0x50]
mov r9, rax
mov r8d, 2
mov qword [rsp + 0x28], rcx
mov ecx, dword [rsp + 0x50]
mov rdx, rsi
mov dword [rsp + 0x20], ecx
mov rcx, rbp
call qword [sym.imp.ntoskrnl.exe_ZwQueryValueKey]
cmp eax, 0x80000005
mov ebx, eax
je 0x14dc2
cmp eax, 0xc0000023
jne 0x14e1b
mov rcx, qword [rdi]
xor edx, edx
call qword [sym.imp.ntoskrnl.exe_ExFreePoolWithTag]
mov edx, dword [rsp + 0x50]
mov r8d, dword [str.NxMm]
mov ecx, 1
call qword [sym.imp.ntoskrnl.exe_ExAllocatePoolWithTag]
test rax, rax
mov qword [rdi], rax
je 0x14e16
lea rcx, [rsp + 0x50]
mov r9, rax
mov r8d, 2
mov qword [rsp + 0x28], rcx
mov ecx, dword [rsp + 0x50]
mov rdx, rsi
mov dword [rsp + 0x20], ecx
mov rcx, rbp
call qword [sym.imp.ntoskrnl.exe_ZwQueryValueKey]
mov ebx, eax
jmp 0x14e1b
mov ebx, 0xc000009a
test ebx, ebx
jns 0x14e3a
mov rcx, qword [rdi]
test rcx, rcx
je 0x14e3a
xor edx, edx
call qword [sym.imp.ntoskrnl.exe_ExFreePoolWithTag]
and qword [rdi], 0
jmp 0x14e3a
mov ebx, 0xc000009a
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x58]
mov eax, ebx
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rdi
ret

Function at 0x16490
Capabilities:
Query or enumerate registry key

Disassembly:
mov r11, rsp
mov qword [r11 + 8], rbx
push rbp
push rsi
push rdi
sub rsp, 0x60
and dword [rdx], 0
and dword [r8], 0
mov rax, qword [0x0001d650]
mov dword [rsp + 0x30], 0x30
and qword [r11 - 0x40], 0
mov dword [rsp + 0x48], 0x240
and qword [r11 - 0x28], 0
and qword [r11 - 0x20], 0
test rax, rax
mov rsi, r8
mov rbp, rdx
mov qword [r11 - 0x38], rcx
lea r8, [r11 - 0x48]
mov edx, 0x20019
lea rcx, [r11 + 0x18]
je 0x164eb
call rax
jmp 0x164f1
call qword [sym.imp.ntoskrnl.exe_ZwOpenKey]
test eax, eax
mov ebx, eax
js 0x165a2
mov r8d, dword [str.NxMm]
mov edx, 0x238
mov ecx, 1
mov dword [rsp + 0x88], edx
call qword [sym.imp.ntoskrnl.exe_ExAllocatePoolWithTag]
test rax, rax
mov rdi, rax
je 0x1658f
mov rax, qword [0x0001d658]
mov r9d, dword [rsp + 0x88]
mov r8, rdi
test rax, rax
mov edx, 2
je 0x16556
lea rcx, [rsp + 0x88]
mov qword [rsp + 0x20], rcx
mov rcx, qword [rsp + 0x90]
call rax
jmp 0x16571
mov rcx, qword [rsp + 0x90]
lea rax, [rsp + 0x88]
mov qword [rsp + 0x20], rax
call qword [sym.imp.ntoskrnl.exe_ZwQueryKey]
test eax, eax
mov ebx, eax
js 0x16582
mov eax, dword [rdi + 0x14]
mov dword [rbp], eax
mov eax, dword [rdi + 0x20]
mov dword [rsi], eax
xor edx, edx
mov rcx, rdi
call qword [sym.imp.ntoskrnl.exe_ExFreePoolWithTag]
jmp 0x16594
mov ebx, 0xc000009a
mov rcx, qword [rsp + 0x90]
call qword [sym.imp.ntoskrnl.exe_ZwClose]
mov eax, ebx
mov rbx, qword [rsp + 0x80]
add rsp, 0x60
pop rdi
pop rsi
pop rbp
ret
Function at 0x166f4
Capabilities:
Delete registry key

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov edx, dword [rcx]
mov r8d, dword [str.NxMm]
mov rbx, rcx
add rdx, 0x10
mov ecx, 1
call qword [sym.imp.ntoskrnl.exe_ExAllocatePoolWithTag]
test rax, rax
mov rdi, rax
je 0x1678e
mov dword [rax + 8], 0xf003f
mov ecx, dword [rbx]
lea rdx, [rbx + 4]
mov dword [rax + 0xc], ecx
mov r8, rcx
lea rcx, [rax + 0x10]
call fcn.0001a620
mov rcx, rdi
call fcn.000165bc
test eax, eax
mov ebx, eax
js 0x16781
mov rcx, qword [rdi]
call fcn.00016018
test rax, rax
je 0x16781
mov rcx, qword [rax + 0x18]
test rcx, rcx
je 0x16779
mov rax, qword [0x0001d680]
test rax, rax
je 0x16771
call rax
jmp 0x16777
call qword [sym.imp.ntoskrnl.exe_ZwDeleteKey]
mov ebx, eax
mov rcx, qword [rdi]
call fcn.00016078
xor edx, edx
mov rcx, rdi
call qword [sym.imp.ntoskrnl.exe_ExFreePoolWithTag]
jmp 0x16793
mov ebx, 0xc000009a
mov eax, ebx
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret

Function at 0x167a8
Capabilities:
Query or enumerate registry key

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x30
mov rdi, rcx
mov rcx, qword [rcx]
call fcn.00016018
test rax, rax
mov rbx, rax
je 0x1688d
mov edx, dword [rdi + 0xc]
mov r8d, dword [str.NxMm]
mov ecx, 1
add edx, 0x18
mov dword [rsp + 0x48], edx
call qword [sym.imp.ntoskrnl.exe_ExAllocatePoolWithTag]
test rax, rax
mov rsi, rax
je 0x16886
mov rax, qword [0x0001d668]
mov edx, dword [rdi + 8]
xor r8d, r8d
test rax, rax
mov r9, rsi
je 0x16825
lea rcx, [rsp + 0x48]
mov qword [rsp + 0x28], rcx
mov ecx, dword [rsp + 0x48]
mov dword [rsp + 0x20], ecx
mov rcx, qword [rbx + 0x18]
call rax
jmp 0x16841
mov rcx, qword [rbx + 0x18]
lea rax, [rsp + 0x48]
mov qword [rsp + 0x28], rax
mov eax, dword [rsp + 0x48]
mov dword [rsp + 0x20], eax
call qword [sym.imp.ntoskrnl.exe_ZwEnumerateKey]
test eax, eax
mov ebx, eax
js 0x1685f
mov eax, dword [rsi + 0xc]
lea rdx, [rsi + 0x10]
lea rcx, [rdi + 0x10]
mov r8, rax
mov dword [rdi + 0xc], eax
call fcn.0001a620
jmp 0x16879
cmp ebx, 0x80000005
je 0x1686f
cmp ebx, 0xc0000023
jne 0x16879
mov eax, dword [rsp + 0x48]
add eax, 0xffffffe8
mov dword [rdi + 0xc], eax
xor edx, edx
mov rcx, rsi
call qword [sym.imp.ntoskrnl.exe_ExFreePoolWithTag]
jmp 0x16892
mov ebx, 0xc000009a
jmp 0x16892
mov ebx, 0xc0000008
mov rsi, qword [rsp + 0x50]
mov eax, ebx
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rdi
ret
Function at 0x168ac
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x30
mov rbx, rcx
mov rcx, qword [rcx]
call fcn.00016018
test rax, rax
mov rdi, rax
je 0x16a26
mov ecx, dword [rbx + 0x14]
mov r9d, 1
test ecx, ecx
jne 0x168ee
mov ecx, dword [rbx + 0x18]
add ecx, 0x10
xor ebp, ebp
jmp 0x168f8
mov eax, dword [rbx + 0x18]
mov ebp, r9d
lea ecx, [rax + rcx + 0x18]
mov r8d, dword [str.NxMm]
mov dword [rsp + 0x48], ecx
mov edx, ecx
mov ecx, r9d
call qword [sym.imp.ntoskrnl.exe_ExAllocatePoolWithTag]
test rax, rax
mov rsi, rax
je 0x16a1f
mov rax, qword [0x0001d670]
mov edx, dword [rbx + 8]
mov r9, rsi
test rax, rax
mov r8d, ebp
je 0x16949
lea rcx, [rsp + 0x48]
mov qword [rsp + 0x28], rcx
mov ecx, dword [rsp + 0x48]
mov dword [rsp + 0x20], ecx
mov rcx, qword [rdi + 0x18]
call rax
jmp 0x16965
mov rcx, qword [rdi + 0x18]
lea rax, [rsp + 0x48]
mov qword [rsp + 0x28], rax
mov eax, dword [rsp + 0x48]
mov dword [rsp + 0x20], eax
call qword [sym.imp.ntoskrnl.exe_ZwEnumerateValueKey]
test eax, eax
mov edi, eax
js 0x169f8
test ebp, ebp
jne 0x169a3
mov eax, dword [rsi + 8]
cmp eax, dword [rbx + 0x18]
jbe 0x16985
mov edi, 0xc0000023
jmp 0x16a0f
mov eax, dword [rsi + 4]
lea rdx, [rsi + 0xc]
lea rcx, [rbx + 0x1c]
mov dword [rbx + 0xc], eax
mov eax, dword [rsi + 8]
mov dword [rbx + 0x18], eax
mov r8, rax
call fcn.0001a620
jmp 0x16a12
mov ecx, dword [rsi + 0x10]
cmp ecx, dword [rbx + 0x18]
ja 0x169e8
mov eax, dword [rbx + 0x14]
cmp dword [rsi + 0xc], eax
ja 0x169e8
mov eax, dword [rsi + 4]
lea rdx, [rsi + 0x14]
lea rcx, [rbx + 0x1c]
mov dword [rbx + 0xc], eax
mov eax, dword [rsi + 0x10]
mov r8, rax
mov dword [rbx + 0x18], eax
call fcn.0001a620
mov r11d, dword [rsi + 0xc]
mov ecx, dword [rbx + 0x10]
mov dword [rbx + 0x14], r11d
mov edx, dword [rsi + 8]
mov r8, r11
add rdx, rsi
add rcx, rbx
jmp 0x1699c
mov dword [rbx + 0x18], ecx
mov eax, dword [rsi + 0xc]
mov edi, 0xc0000023
mov dword [rbx + 0x14], eax
jmp 0x16a12
cmp edi, 0x80000005
je 0x16a08
cmp edi, 0xc0000023
jne 0x16a12
mov eax, dword [rsp + 0x48]
mov dword [rbx + 0x14], eax
mov dword [rbx + 0x18], eax
xor edx, edx
mov rcx, rsi
call qword [sym.imp.ntoskrnl.exe_ExFreePoolWithTag]
jmp 0x16a2b
mov edi, 0xc000009a
jmp 0x16a2b
mov edi, 0xc0000008
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x58]
mov eax, edi
add rsp, 0x30
pop rdi
ret
Function at 0x16a48
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x40
mov rdi, rcx
mov rcx, qword [rcx]
call fcn.00016018
test rax, rax
mov rbx, rax
je 0x16b3c
mov edx, dword [rdi + 0x10]
mov r8d, dword [str.NxMm]
mov ecx, 1
add edx, 0x10
mov dword [rsp + 0x58], edx
call qword [sym.imp.ntoskrnl.exe_ExAllocatePoolWithTag]
test rax, rax
mov rsi, rax
je 0x16b35
movzx ecx, word [rdi + 0x14]
mov r10, qword [0x0001d660]
lea rax, [rsp + 0x58]
test r10, r10
mov word [rsp + 0x32], cx
mov word [rsp + 0x30], cx
mov qword [rsp + 0x28], rax
mov eax, dword [rsp + 0x58]
lea rcx, [rdi + 0x18]
mov qword [rsp + 0x38], rcx
mov rcx, qword [rbx + 0x18]
mov r9, rsi
mov r8d, 2
lea rdx, [rsp + 0x30]
mov dword [rsp + 0x20], eax
je 0x16ae2
call r10
jmp 0x16ae8
call qword [sym.imp.ntoskrnl.exe_ZwQueryValueKey]
test eax, eax
mov ebx, eax
js 0x16b0e
mov eax, dword [rsi + 4]
mov ecx, dword [rdi + 0xc]
lea rdx, [rsi + 0xc]
mov dword [rdi + 8], eax
mov eax, dword [rsi + 8]
add rcx, rdi
mov r8, rax
mov dword [rdi + 0x10], eax
call fcn.0001a620
jmp 0x16b28
cmp ebx, 0x80000005
je 0x16b1e
cmp ebx, 0xc0000023
jne 0x16b28
mov eax, dword [rsp + 0x58]
add eax, 0xfffffff0
mov dword [rdi + 0x10], eax
xor edx, edx
mov rcx, rsi
call qword [sym.imp.ntoskrnl.exe_ExFreePoolWithTag]
jmp 0x16b41
mov ebx, 0xc000009a
jmp 0x16b41
mov ebx, 0xc0000008
mov rsi, qword [rsp + 0x60]
mov eax, ebx
mov rbx, qword [rsp + 0x50]
add rsp, 0x40
pop rdi
ret
Function at 0x1811c
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r12
sub rsp, 0x40
mov rsi, qword [rcx]
mov rdi, qword [rcx + 8]
xor ebp, ebp
cmp qword [0x0001d538], rbp
lea r12d, [rbp + 0x10]
mov ebx, ebp
mov qword [0x0001d558], rbp
jne 0x18180
mov r8d, dword [str.NxMm]
mov rdx, r12
xor ecx, ecx
call qword [sym.imp.ntoskrnl.exe_ExAllocatePoolWithTag]
cmp rax, rbp
mov qword [0x0001d538], rax
je 0x181b6
mov qword [rax + 8], rax
mov qword [rax], rax
mov eax, ebp
mov dword [0x0001d540], ebp
xchg dword [0x0001d180], eax
cmp qword [0x0001d548], rbp
jne 0x181bb
mov r8d, dword [str.NxMm]
mov rdx, r12
xor ecx, ecx
call qword [sym.imp.ntoskrnl.exe_ExAllocatePoolWithTag]
cmp rax, rbp
mov qword [0x0001d548], rax
je 0x181b6
mov qword [rax + 8], rax
mov qword [rax], rax
mov dword [0x0001d550], ebp
jmp 0x181bb
mov ebx, 0xc0000017
mov rcx, qword [0x0001d560]
cmp rcx, rbp
je 0x181d4
call qword [sym.imp.ntoskrnl.exe_ObfDereferenceObject]
mov qword [0x0001d560], rbp
cmp ebx, ebp
lea r12, [0x0001d538]
jl 0x182b1
cmp rdi, rbp
je 0x18211
lea rax, [0x0001d560]
xor r9d, r9d
xor r8d, r8d
mov edx, 0x100000
mov rcx, rdi
mov qword [rsp + 0x28], rbp
mov qword [rsp + 0x20], rax
call qword [sym.imp.ntoskrnl.exe_ObReferenceObjectByHandle]
mov ebx, eax
jmp 0x18218
mov qword [0x0001d560], rbp
cmp ebx, ebp
jl 0x182b1
lea rcx, [0x0001d578]
xor r8d, r8d
xor edx, edx
mov qword [rsp + 0x60], rbp
mov qword [0x0001d568], rsi
call qword [sym.imp.ntoskrnl.exe_KeInitializeEvent]
lea rcx, [0x0001d590]
call qword [sym.imp.ntoskrnl.exe_KeInitializeTimer]
lea rax, [0x000111f0]
mov qword [rsp + 0x30], r12
mov qword [rsp + 0x28], rax
lea rcx, [rsp + 0x60]
xor r9d, r9d
xor r8d, r8d
mov edx, 0x1f03ff
mov qword [rsp + 0x20], rbp
call qword [sym.imp.ntoskrnl.exe_PsCreateSystemThread]
cmp eax, ebp
mov ebx, eax
jl 0x182b1
mov rcx, qword [rsp + 0x60]
lea rax, [0x0001d570]
xor r9d, r9d
xor r8d, r8d
mov edx, 0x100000
mov qword [rsp + 0x28], rbp
mov qword [rsp + 0x20], rax
call qword [sym.imp.ntoskrnl.exe_ObReferenceObjectByHandle]
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.ntoskrnl.exe_ZwClose]
jmp 0x182b9
mov rcx, r12
call fcn.00011414
cmp ebx, ebp
jl 0x182c6
mov byte [0x0001d530], 1
jmp 0x182db
cmp byte [0x0001d1d0], bpl
je 0x182db
mov byte [0x0001d1d0], bpl
call fcn.00012b28
mov rbp, qword [rsp + 0x70]
mov eax, ebx
mov rbx, qword [rsp + 0x68]
add rsp, 0x40
pop r12
pop rdi
pop rsi
ret
Function at 0x18a58
Capabilities:
Delete registry value
Query or enumerate registry value

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x30
call qword [sym.imp.ntoskrnl.exe_KeEnterCriticalRegion]
lea rcx, [0x0001d278]
mov dl, 1
call qword [sym.imp.ntoskrnl.exe_ExAcquireResourceExclusiveLite]
lea rdi, [0x0001d3b0]
jmp 0x18aa6
xor edx, edx
mov rcx, rdi
call qword [sym.imp.ntoskrnl.exe_RtlGetElementGenericTableAvl]
mov rcx, rdi
mov rbx, qword [rax + 8]
mov rdx, rax
call qword [sym.imp.ntoskrnl.exe_RtlDeleteElementGenericTableAvl]
xor edx, edx
mov rcx, rbx
call qword [sym.imp.ntoskrnl.exe_ExFreePoolWithTag]
mov rcx, rdi
call qword [sym.imp.ntoskrnl.exe_RtlIsGenericTableEmptyAvl]
test al, al
je 0x18a80
lea rdi, [0x0001d2e0]
jmp 0x18ae2
xor edx, edx
mov rcx, rdi
call qword [sym.imp.ntoskrnl.exe_RtlGetElementGenericTableAvl]
mov rcx, rdi
mov rbx, qword [rax + 8]
mov rdx, rax
call qword [sym.imp.ntoskrnl.exe_RtlDeleteElementGenericTableAvl]
xor edx, edx
mov rcx, rbx
call qword [sym.imp.ntoskrnl.exe_ExFreePoolWithTag]
mov rcx, rdi
call qword [sym.imp.ntoskrnl.exe_RtlIsGenericTableEmptyAvl]
test al, al
je 0x18abc
lea rbx, [0x0001d348]
jmp 0x18b0f
xor edx, edx
mov rcx, rbx
call qword [sym.imp.ntoskrnl.exe_RtlGetElementGenericTableAvl]
mov rcx, rbx
mov rdx, rax
call qword [sym.imp.ntoskrnl.exe_RtlDeleteElementGenericTableAvl]
mov rcx, rbx
call qword [sym.imp.ntoskrnl.exe_RtlIsGenericTableEmptyAvl]
test al, al
je 0x18af8
lea rcx, [0x0001d278]
call qword [sym.imp.ntoskrnl.exe_ExReleaseResourceLite]
call qword [sym.imp.ntoskrnl.exe_KeLeaveCriticalRegion]
call fcn.00018b74
test rax, rax
mov rbx, rax
je 0x18b5c
lea rdx, [0x0001b070]
lea rcx, [rsp + 0x20]
call qword [sym.imp.ntoskrnl.exe_RtlInitUnicodeString]
lea rdx, [rsp + 0x20]
mov rcx, rbx
call qword [sym.imp.ntoskrnl.exe_ZwDeleteValueKey]
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rdi
jmp fcn.0001867c
Function at 0x191c4
Capabilities:
Set registry value

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x40
xor ebx, ebx
call qword [sym.imp.ntoskrnl.exe_KeEnterCriticalRegion]
lea rcx, [0x0001d278]
mov dl, 1
call qword [sym.imp.ntoskrnl.exe_ExAcquireResourceExclusiveLite]
and qword [rsp + 0x50], rbx
lea rdx, [rsp + 0x50]
lea rcx, [0x0001d348]
call qword [sym.imp.ntoskrnl.exe_RtlEnumerateGenericTableWithoutSplayingAvl]
test rax, rax
je 0x192f2
cmp dword [rax + 0x14], 0
je 0x19213
add ebx, 1
lea rdx, [rsp + 0x50]
lea rcx, [0x0001d348]
call qword [sym.imp.ntoskrnl.exe_RtlEnumerateGenericTableWithoutSplayingAvl]
test rax, rax
jne 0x1920a
test ebx, ebx
je 0x192f2
mov r8d, dword [str.NxMm]
mov esi, ebx
xor ecx, ecx
shl esi, 5
add esi, 8
mov edx, esi
call qword [sym.imp.ntoskrnl.exe_ExAllocatePoolWithTag]
test rax, rax
mov rdi, rax
je 0x192f2
and dword [rax], 0
and qword [rsp + 0x50], 0
jmp 0x19288
cmp dword [rax + 0x14], 0
je 0x19288
mov ecx, dword [rdi]
mov rdx, rax
mov r8d, 0x20
shl rcx, 5
lea rcx, [rcx + rdi + 8]
call fcn.0001a620
add dword [rdi], 1
cmp dword [rdi], ebx
je 0x1929f
lea rdx, [rsp + 0x50]
lea rcx, [0x0001d348]
call qword [sym.imp.ntoskrnl.exe_RtlEnumerateGenericTableWithoutSplayingAvl]
test rax, rax
jne 0x19262
call fcn.00018b74
test rax, rax
mov rbx, rax
je 0x192e7
lea rdx, [0x0001b070]
lea rcx, [rsp + 0x30]
call qword [sym.imp.ntoskrnl.exe_RtlInitUnicodeString]
lea rdx, [rsp + 0x30]
mov r9d, 3
xor r8d, r8d
mov rcx, rbx
mov dword [rsp + 0x28], esi
mov qword [rsp + 0x20], rdi
call qword [sym.imp.ntoskrnl.exe_ZwSetValueKey]
mov rcx, rbx
call qword [sym.imp.ntoskrnl.exe_ZwClose]
xor edx, edx
mov rcx, rdi
call qword [sym.imp.ntoskrnl.exe_ExFreePoolWithTag]
lea rcx, [0x0001d278]
call qword [sym.imp.ntoskrnl.exe_ExReleaseResourceLite]
call qword [sym.imp.ntoskrnl.exe_KeLeaveCriticalRegion]
mov rbx, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
add rsp, 0x40
pop rdi
ret
Function at 0x1a1cc
Capabilities:
Get file attributes
Hash data with md5
Read file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rbp
push rsi
push rdi
push r12
push r13
push r14
sub rsp, 0x140
mov rax, qword [0x0001d100]
xor rax, rsp
mov qword [rsp + 0x130], rax
mov r8d, dword [str.NxMm]
mov r13, rdx
mov rbx, rcx
mov r14d, 0x4000
mov esi, 1
mov rdx, r14
mov ecx, esi
call qword [sym.imp.ntoskrnl.exe_ExAllocatePoolWithTag]
xor edi, edi
cmp rax, rdi
mov rbp, rax
je 0x1a3b8
mov dword [rsp + 0x68], 0x100
mov qword [rsp + 0x60], rdi
mov dword [rsp + 0x58], edi
mov dword [rsp + 0x50], edi
mov qword [rsp + 0x48], rdi
mov dword [rsp + 0x40], 0x20
mov dword [rsp + 0x38], esi
mov dword [rsp + 0x30], 7
lea r9, [rsp + 0x78]
lea r8, [rsp + 0x88]
lea rcx, [rsp + 0x70]
mov edx, 0x80100000
mov dword [rsp + 0x28], 0x80
mov dword [rsp + 0x88], 0x30
mov qword [rsp + 0x90], rdi
mov qword [rsp + 0x20], rdi
mov dword [rsp + 0xa0], 0x240
mov qword [rsp + 0x98], rbx
mov qword [rsp + 0xa8], rdi
mov qword [rsp + 0xb0], rdi
call qword [sym.imp.ntoskrnl.exe_IoCreateFile]
cmp eax, edi
mov esi, eax
jl 0x1a3ab
lea r8d, [rdi + 0x40]
lea rcx, [rsp + 0xe8]
xor edx, edx
call fcn.0001a520
mov rcx, qword [rsp + 0x70]
lea r9d, [rdi + 0x18]
lea r8, [rsp + 0xb8]
lea rdx, [rsp + 0x78]
mov dword [rsp + 0xd4], edi
mov dword [rsp + 0xd0], edi
mov dword [rsp + 0xd8], 0x67452301
mov dword [rsp + 0xdc], 0xefcdab89
mov dword [rsp + 0xe0], 0x98badcfe
mov dword [rsp + 0xe4], 0x10325476
mov dword [rsp + 0x20], 5
call qword [sym.imp.ntoskrnl.exe_ZwQueryInformationFile]
cmp eax, edi
mov esi, eax
jl 0x1a3a0
mov rbx, qword [rsp + 0xc0]
jmp 0x1a39b
mov rcx, qword [rsp + 0x70]
mov qword [rsp + 0x40], rdi
mov qword [rsp + 0x38], rdi
lea rax, [rsp + 0x78]
mov r12d, ebx
cmp rbx, r14
cmovge r12d, r14d
xor r9d, r9d
xor r8d, r8d
mov dword [rsp + 0x30], r12d
xor edx, edx
mov qword [rsp + 0x28], rbp
mov qword [rsp + 0x20], rax
call qword [sym.imp.ntoskrnl.exe_ZwReadFile]
cmp eax, edi
mov esi, eax
jl 0x1a3a0
lea rcx, [rsp + 0xd0]
mov r8d, r12d
mov rdx, rbp
call fcn.0001a050
mov r11d, r12d
sub rbx, r11
cmp rbx, rdi
jg 0x1a341
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.ntoskrnl.exe_ZwClose]
xor edx, edx
mov rcx, rbp
call qword [sym.imp.ntoskrnl.exe_ExFreePoolWithTag]
jmp 0x1a3bd
mov esi, 0xc000009a
cmp esi, edi
jl 0x1a3df
lea rcx, [rsp + 0xd0]
call fcn.0001a108
cmp esi, edi
movdqu xmm5, xmmword [rsp + 0xd8]
movdqu xmmword [r13], xmm5
setge al
mov rcx, qword [rsp + 0x130]
xor rcx, rsp
call fcn.0001a4b0
lea r11, [rsp + 0x140]
mov rbx, qword [r11 + 0x40]
mov rbp, qword [r11 + 0x48]
mov rsp, r11
pop r14
pop r13
pop r12
pop rdi
pop rsi
ret

Function at 0x1f008
Capabilities:
Create device object

Disassembly:
mov rax, qword [0x0001d100]
movabs r9, 0x2b992ddfa232
test rax, rax
je 0x1f023
cmp rax, r9
jne 0x1f052
lea r8, [0x0001d100]
movabs rax, 0xfffff78000000320
mov rax, qword [rax]
xor rax, r8
movabs r8, 0xffffffffffff
and rax, r8
cmove rax, r9
mov qword [0x0001d100], rax
not rax
mov qword [0x0001d108], rax
jmp 0x17484
Function at 0x1f023
Capabilities:
Create device object

Disassembly:
mov rax, qword [0x0001d100]
movabs r9, 0x2b992ddfa232
test rax, rax
je 0x1f023
cmp rax, r9
jne 0x1f052
lea r8, [0x0001d100]
movabs rax, 0xfffff78000000320
mov rax, qword [rax]
xor rax, r8
movabs r8, 0xffffffffffff
and rax, r8
cmove rax, r9
mov qword [0x0001d100], rax
not rax
mov qword [0x0001d108], rax
jmp 0x17484
Function at 0x180009920
Capabilities:
Terminate process

Disassembly:
mov r11, rsp
push rbx
push rbp
push rsi
push rdi
push r14
push r15
sub rsp, 0x48
xor eax, eax
mov dword [rsp + 0x38], 0x18d
mov dword [r11 + 8], eax
lea r9, [r11 + 0x10]
mov qword [r11 + 0x10], rax
lea r8, [r11 + 0x18]
mov qword [r11 + 0x18], rax
lea rdx, [r11 + 0x20]
mov qword [r11 + 0x20], rax
lea rcx, [r11 - 0x48]
lea rax, [0x180008090]
add rax, 0x18d
mov qword [rsp + 0x30], rax
lea rax, [r11 + 8]
movaps xmm0, xmmword [rsp + 0x30]
movdqa xmmword [rsp + 0x30], xmm0
mov qword [r11 - 0x58], rax
call fcn.180015a30
mov r9d, 0xca5
mov byte [0x1800de971], 1
mov r8d, 0x1f0c
nop word [rax + rax]
inc r8d
mov eax, 0x55555556
imul r8d
mov eax, edx
shr eax, 0x1f
add edx, eax
lea ecx, [rdx + rdx*2]
cmp r8d, ecx
jne 0x1800099a0
nop word [rax + rax]
inc r9d
test r9b, 1
jne 0x1800099c0
lea ebx, [r9 + 0x3b4b]
mov esi, 0x20b16
sub esi, ebx
mov edi, 0xdf9d
sub edi, r8d
mov r11d, 0x11066
mov r10d, ebx
nop dword [rax + rax]
inc r11d
mov eax, 0x55555556
imul r11d
mov eax, edx
shr eax, 0x1f
add edx, eax
lea ecx, [rdx + rdx*2]
cmp r11d, ecx
jne 0x1800099f0
sub ebx, 0x2232
lea r14d, [r11 + r11]
sub r10d, r14d
lea ebp, [r8 - 0x46fc6]
sub r10d, 0x1494d
add r8d, 0x18ba8
lea r15d, [rdi + rbx]
sub ebx, 0x32f62
test r8b, 1
je 0x180009a49
nop dword [rax]
inc r8d
test r8b, 1
jne 0x180009a40
mov eax, 0x55555556
lea edi, [r15 - 0x18e35]
imul r10d
mov r11d, 0x329b9
sub r8d, ebx
mov eax, edx
sub r11d, ebp
shr eax, 0x1f
sub esi, r11d
add edx, eax
add esi, ebp
lea ecx, [rdx + rdx*2]
cmp r10d, ecx
je 0x180009a9a
nop dword [rax + rax]
inc r10d
mov eax, 0x55555556
imul r10d
mov eax, edx
shr eax, 0x1f
add edx, eax
lea ecx, [rdx + rdx*2]
cmp r10d, ecx
jne 0x180009a80
add r10d, 0x21a6
mov eax, r14d
and eax, 0x80000003
jge 0x180009ab2
dec eax
or eax, 0xfffffffc
inc eax
test eax, eax
je 0x180009ac0
mov eax, 0xe7c
test r14d, r14d
jg 0x180009ac5
mov eax, 0xfffff088
lea edx, [r14 + rax]
add ebx, 0x1514
lea ecx, [r15 - 0x22d5]
sub r10d, ebx
sub r10d, r8d
mov eax, 0xfffff9c0
sub eax, ecx
add r11d, eax
sub r8d, r11d
sub edi, r8d
mov eax, edi
sub eax, ebp
add eax, ecx
cmp eax, 0x668a9
jne 0x180009b45
cmp r10d, 0xfffb3fb3
jne 0x180009b45
cmp r8d, 0xfffe03a1
jne 0x180009b45
cmp esi, 0xfff5f7fc
jne 0x180009b45
cmp ebx, 0xfffd0b71
jne 0x180009b45
cmp edi, 0x15478
jne 0x180009b45
cmp ebp, 0xfffbaf48
jne 0x180009b45
cmp edx, 0x22f4a
jne 0x180009b45
cmp r11d, 0x6b0b8
jne 0x180009b45
cmp r9d, 0xca6
je 0x180009b51
mov ecx, 1
call qword [sym.imp.KERNEL32.dll_ExitProcess]
add rsp, 0x48
pop r15
pop r14
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x180018c30
Capabilities:
Hash data using fnv

Disassembly:
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x20
movabs rax, 0xfffffffffffffff
mov rsi, rcx
bsr rcx, rax
mov edi, 1
mov eax, edi
shl rax, cl
cmp rdx, rax
ja 0x180018dbf
lea rax, [rdx - 1]
mov qword [rsp + 0x30], rbx
mov rbx, qword [rsi + 8]
or rax, rdi
bsr rcx, rax
mov r8, rbx
mov qword [rsp + 0x40], r14
inc ecx
shl rdi, cl
lea rcx, [rsi + 0x18]
lea rdx, [rdi + rdi]
call fcn.180010970
lea rax, [rdi - 1]
mov qword [rsi + 0x38], rdi
mov qword [rsi + 0x30], rax
mov rax, qword [rsi + 8]
mov rax, qword [rax]
mov rcx, rax
cmp rax, rbx
je 0x180018d84
mov qword [rsp + 0x38], rbp
movabs rdi, 0xcbf29ce484222325
movabs rbp, 0x100000001b3
nop dword [rax]
nop dword [rax + rax]
movzx r9d, byte [rax + 0x10]
mov r11, qword [rsi + 0x30]
mov edx, r9d
mov rcx, qword [rcx]
xor rdx, rdi
imul rdx, rbp
and r11, rdx
shl r11, 4
add r11, qword [rsi + 0x18]
mov r8, qword [r11]
cmp r8, rbx
jne 0x180018d02
mov qword [r11], rax
mov qword [r11 + 8], rax
jmp 0x180018d73
mov rdx, qword [r11 + 8]
cmp r9b, byte [rdx + 0x10]
jne 0x180018d3b
mov r10, qword [rdx]
cmp r10, rax
je 0x180018d35
mov r9, qword [rax + 8]
mov qword [r9], rcx
mov r8, qword [rcx + 8]
mov qword [r8], r10
mov rdx, qword [r10 + 8]
mov qword [rdx], rax
mov qword [r10 + 8], r8
mov qword [rcx + 8], r9
mov qword [rax + 8], rdx
mov qword [r11 + 8], rax
jmp 0x180018d73
cmp r8, rdx
je 0x180018d4f
mov rdx, qword [rdx + 8]
cmp r9b, byte [rdx + 0x10]
je 0x180018d99
cmp r8, rdx
jne 0x180018d40
mov r10, qword [rax + 8]
mov qword [r10], rcx
mov r9, qword [rcx + 8]
mov qword [r9], rdx
mov r8, qword [rdx + 8]
mov qword [r8], rax
mov qword [rdx + 8], r9
mov qword [rcx + 8], r10
mov qword [rax + 8], r8
mov qword [r11], rax
mov rax, rcx
cmp rcx, rbx
jne 0x180018cd0
mov rbp, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x30]
mov r14, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
ret
mov r10, qword [rdx]
mov r9, qword [rax + 8]
mov qword [r9], rcx
mov r8, qword [rcx + 8]
mov qword [r8], r10
mov rdx, qword [r10 + 8]
mov qword [rdx], rax
mov qword [r10 + 8], r8
mov qword [rcx + 8], r9
mov qword [rax + 8], rdx
jmp 0x180018d73
lea rcx, [0x18013feb8]
call fcn.18007ceb0
int3