joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140002940
Capabilities:
Get common file path

Disassembly:
push rbx
sub rsp, 0x230
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0x220], rax
mov rax, 0xffffffffffffffff
lea rbx, [0x14001f740]
mov rcx, rax
nop dword [rax]
inc rcx
cmp word [rbx + rcx*2], 0
jne 0x140002970
test rcx, rcx
jne 0x1400029fd
mov qword [rsp + 0x240], rdi
lea rdi, [0x14001f940]
nop
inc rax
cmp word [rdi + rax*2], 0
jne 0x140002990
test rax, rax
jne 0x1400029bd
mov edx, 0x104
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
lea rdx, str._ntoskrnl.exe
mov rcx, rdi
call qword [sym.imp.SHLWAPI.dll_PathAppendW]
xor edx, edx
lea rcx, [rsp + 0x20]
mov r8d, 0x200
call sub.VCRUNTIME140.dll_memset
mov r8, rdi
lea rcx, [rsp + 0x20]
call fcn.1400080c0
lea r9, [rsp + 0x20]
mov edx, pe_nt_image_headers64
lea r8, str.ntoskrnl__s.exe
mov rcx, rbx
call fcn.140002310
mov rdi, qword [rsp + 0x240]
mov rax, rbx
mov rcx, qword [rsp + 0x220]
xor rcx, rsp
call fcn.140009ae0
add rsp, 0x230
pop rbx
ret

Function at 0x140002a20
Capabilities:
Get file size
Read file on windows

Disassembly:
push rdi
sub rsp, 0x50
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0x48], rax
xor r9d, r9d
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0x80
mov edx, 0x80000000
mov dword [rsp + 0x20], 3
lea r8d, [r9 + 1]
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov rdi, rax
cmp rax, 0xffffffffffffffff
jne 0x140002a7e
xor eax, eax
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.140009ae0
add rsp, 0x50
pop rdi
ret
mov qword [rsp + 0x68], rbx
xor edx, edx
mov rcx, rdi
mov qword [rsp + 0x70], rsi
call qword [sym.imp.KERNEL32.dll_GetFileSize]
mov ecx, eax
mov esi, eax
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
lea r9, [rsp + 0x40]
mov dword [rsp + 0x40], 0
mov rdx, rax
mov qword [rsp + 0x20], 0
mov r8d, esi
mov rcx, rdi
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x140002acf
cmp dword [rsp + 0x40], esi
je 0x140002ad9
mov rcx, rbx
call sub.api_ms_win_crt_heap_l1_1_0.dll_free
xor ebx, ebx
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rsi, qword [rsp + 0x70]
mov rax, rbx
mov rbx, qword [rsp + 0x68]
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.140009ae0
add rsp, 0x50
pop rdi
ret
Function at 0x140002e30
Capabilities:
Delete file

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x870
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0x860], rax
call fcn.1400030b0
mov rcx, rax
call fcn.140002a20
xor edx, edx
mov rcx, rax
mov rbp, rax
call fcn.1400051b0
mov rcx, rax
mov rdi, rax
call fcn.140007b20
mov rcx, qword [rdi + 0x80]
xor esi, esi
mov rbx, rax
test rcx, rcx
je 0x140002e9b
call sub.api_ms_win_crt_heap_l1_1_0.dll_free
mov qword [rdi + 0x80], rsi
mov rcx, rdi
call sub.api_ms_win_crt_heap_l1_1_0.dll_free
mov rcx, rbp
call sub.api_ms_win_crt_heap_l1_1_0.dll_free
test rbx, rbx
jne 0x140002eb7
xor eax, eax
jmp 0x140003086
xor edx, edx
lea rcx, [rsp + 0x30]
mov r8d, 0x830
call sub.VCRUNTIME140.dll_memset
mov rdx, qword [rbx + 8]
lea r9, [rsp + 0x30]
mov rcx, qword [rbx + 0x10]
lea r8, str.FltGlobals
mov dword [rsp + 0x30], 0x58
mov dword [rsp + 0x80], 0x7d1
call qword [sym.imp.dbghelp.dll_SymGetTypeFromName]
test eax, eax
je 0x140002f05
mov rax, qword [rsp + 0x68]
sub rax, qword [rbx + 8]
jmp 0x140002f08
mov rax, rsi
lea r8, str.DriverInit
mov qword [0x14001fb50], rax
lea rdx, str._DRIVER_OBJECT
mov rcx, rbx
call fcn.140007ec0
mov eax, eax
lea r8, str.Links
lea rdx, str._FLTP_FRAME
mov qword [0x14001fb90], rax
mov rcx, rbx
call fcn.140007ec0
mov eax, eax
lea r8, str.RegisteredFilters
lea rdx, str._FLTP_FRAME
mov qword [0x14001fb68], rax
mov rcx, rbx
call fcn.140007ec0
mov eax, eax
lea r8, str.DriverObject
lea rdx, str._FLT_FILTER
mov qword [0x14001fb70], rax
mov rcx, rbx
call fcn.140007ec0
mov eax, eax
lea r8, str.InstanceList
lea rdx, str._FLT_FILTER
mov qword [0x14001fb80], rax
mov rcx, rbx
call fcn.140007ec0
mov eax, eax
lea r8, str.CallbackNodes
lea rdx, str._FLT_INSTANCE
mov qword [0x14001fb88], rax
mov rcx, rbx
call fcn.140007ec0
mov eax, eax
lea r8, str.FilterLink
lea rdx, str._FLT_INSTANCE
mov qword [0x14001fb98], rax
mov rcx, rbx
call fcn.140007ec0
mov eax, eax
lea r8, str.PrimaryLink
lea rdx, str._FLT_OBJECT
mov qword [0x14001fba0], rax
mov rcx, rbx
call fcn.140007ec0
mov eax, eax
lea r8, str.rList
lea rdx, str._FLT_RESOURCE_LIST_HEAD
mov qword [0x14001fb78], rax
mov rcx, rbx
call fcn.140007ec0
mov eax, eax
lea r8, str.FrameList
lea rdx, str._GLOBALS
mov qword [0x14001fb60], rax
mov rcx, rbx
call fcn.140007ec0
mov rdx, qword [rbx + 8]
mov rcx, qword [rbx + 0x10]
mov eax, eax
mov qword [0x14001fb58], rax
call qword [sym.imp.dbghelp.dll_SymUnloadModule64]
mov rcx, qword [rbx + 0x10]
call qword [sym.imp.dbghelp.dll_SymCleanup]
mov rcx, qword [rbx]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
mov rcx, qword [rbx]
call sub.api_ms_win_crt_heap_l1_1_0.dll_free
mov rcx, rbx
mov qword [rbx], rsi
call sub.api_ms_win_crt_heap_l1_1_0.dll_free
cmp qword [0x14001fb50], rsi
setne sil
mov eax, esi
mov rcx, qword [rsp + 0x860]
xor rcx, rsp
call fcn.140009ae0
lea r11, [rsp + 0x870]
mov rbx, qword [r11 + 0x10]
mov rbp, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret
Function at 0x1400030b0
Capabilities:
Get common file path

Disassembly:
push rbx
sub rsp, 0x240
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0x230], rax
lea rbx, [0x14001fbb0]
mov rax, 0xffffffffffffffff
nop dword [rax]
inc rax
cmp word [rbx + rax*2], 0
jne 0x1400030e0
test rax, rax
jne 0x14000313f
xor edx, edx
lea rcx, [rsp + 0x20]
mov r8d, 0x208
call sub.VCRUNTIME140.dll_memset
mov edx, 0x104
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
lea rdx, [rsp + 0x20]
mov rcx, rbx
call qword [sym.imp.SHLWAPI.dll_PathAppendW]
lea rdx, str.drivers
mov rcx, rbx
call qword [sym.imp.SHLWAPI.dll_PathAppendW]
lea rdx, str.fltMgr.sys
mov rcx, rbx
call qword [sym.imp.SHLWAPI.dll_PathAppendW]
mov rax, rbx
mov rcx, qword [rsp + 0x230]
xor rcx, rsp
call fcn.140009ae0
add rsp, 0x240
pop rbx
ret

Function at 0x140003210
Capabilities:
Get common file path

Disassembly:
push rbx
sub rsp, 0x240
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0x230], rax
lea rbx, [0x14001ffd0]
mov rax, 0xffffffffffffffff
nop dword [rax]
inc rax
cmp word [rbx + rax*2], 0
jne 0x140003240
test rax, rax
jne 0x140003297
xor edx, edx
lea rcx, [rsp + 0x20]
mov r8d, 0x208
call sub.VCRUNTIME140.dll_memset
mov edx, 0x104
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
lea r8, [rsp + 0x20]
mov edx, 0x104
mov rcx, rbx
call sub.api_ms_win_crt_string_l1_1_0.dll_wcscat_s
lea r8, str.wdigest.dll
mov edx, 0x104
mov rcx, rbx
call sub.api_ms_win_crt_string_l1_1_0.dll_wcscat_s
mov rax, rbx
mov rcx, qword [rsp + 0x230]
xor rcx, rsp
call fcn.140009ae0
add rsp, 0x240
pop rbx
ret
Function at 0x140003370
Capabilities:
Terminate process

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r13
push r14
push r15
sub rsp, 0x20
mov rbp, rcx
mov rdi, rcx
mov rcx, rdx
xor ebx, ebx
sub rcx, rdi
mov r14, rdx
mov esi, 0x18
nop dword [rax]
movzx eax, byte [rcx + rdi]
cmp byte [rdi], al
jne 0x1400033b9
inc rbx
inc rdi
cmp rbx, rsi
jb 0x1400033a0
xor ebx, ebx
xor edi, edi
jmp 0x1400033dd
lea rcx, [rbx + rdx]
mov r8, rbx
mov rdx, rbp
sub rdx, r14
cmp rbx, rsi
jae 0x1400033da
movzx eax, byte [rcx + 1]
inc rcx
inc rbx
cmp byte [rdx + rcx], al
jne 0x1400033c6
sub rbx, r8
mov r13d, 4
mov qword [rsp + 0x50], r12
xor r15d, r15d
lea ecx, [r13 + 0x5c]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov r9, rax
test rax, rax
je 0x14000354c
lea r10, [r15 - 1]
test rdi, rdi
je 0x1400034c4
xor r12d, r12d
test rsi, rsi
je 0x1400034c4
mov rax, rbx
mov qword [r12 + r9 + 0x10], rbx
sub rax, rbp
mov qword [r12 + r9 + 8], rdi
add rax, rdi
sub rbp, rbx
add r14, rax
sub rbp, rdi
add rsi, rbp
mov rax, r14
sub rax, rbx
lea rbp, [rbx + rdi]
xor ebx, ebx
mov qword [r12 + r9], rax
test rsi, rsi
je 0x140003477
mov rcx, r14
mov rdi, rbp
sub rcx, rbp
nop word [rax + rax]
movzx eax, byte [rdi + rcx]
cmp byte [rdi], al
jne 0x14000351f
inc rbx
inc rdi
cmp rbx, rsi
jb 0x140003460
xor ebx, ebx
xor edi, edi
inc r15
mov eax, r13d
add r12, 0x18
cmp r15, rax
jb 0x1400034bb
add r13d, r13d
mov eax, 0x18
mov ecx, r13d
mul rcx
mov rcx, r9
cmovo rax, r10
mov rdx, rax
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_realloc]
mov r9, rax
test rax, rax
je 0x14000354c
mov r10, 0xffffffffffffffff
test rdi, rdi
jne 0x140003411
lea rcx, [r15 + 1]
mov eax, 0x18
mul rcx
mov rcx, r9
cmovo rax, r10
mov rdx, rax
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_realloc]
test rax, rax
je 0x14000354c
mov r12, qword [rsp + 0x50]
lea rcx, [r15 + r15*2]
mov rbx, qword [rsp + 0x58]
mov rbp, qword [rsp + 0x60]
mov qword [rax + rcx*8 + 8], 0
mov qword [rax + rcx*8], 0
mov qword [rax + rcx*8 + 0x10], 0
add rsp, 0x20
pop r15
pop r14
pop r13
pop rdi
pop rsi
ret
mov rdx, rbp
lea rcx, [rbx + r14]
sub rdx, r14
mov r8, rbx
nop dword [rax]
cmp rbx, rsi
jae 0x140003544
movzx eax, byte [rcx + 1]
inc rcx
inc rbx
cmp byte [rcx + rdx], al
jne 0x140003530
sub rbx, r8
jmp 0x14000347b
mov ecx, 1
call sub.api_ms_win_crt_runtime_l1_1_0.dll_exit
int3
Function at 0x140004d00
Capabilities:
Terminate process

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rsi
push r13
sub rsp, 0x48
cmp dword [rcx], 0
mov rsi, rdx
mov r13, rcx
je 0x140004d2f
lea rcx, str.ERROR_:_Cannot_rebase_PE_that_is_memory_mapped__LoadLibraryd__n
add rsp, 0x48
pop r13
pop rsi
jmp fcn.140001010
mov qword [rsp + 0x78], rbx
xor ebx, ebx
mov qword [rsp + 0x38], rdi
lea rdi, [rcx + 0x78]
mov qword [rsp + 0x30], r12
mov qword [rsp + 0x28], r14
lea r14, [rcx + 0x80]
mov qword [rsp + 0x20], r15
cmp qword [r14], rbx
jne 0x140004e9c
mov rdx, qword [rcx + 0x40]
mov edx, dword [rdx + 0x28]
call fcn.140004c70
mov r12d, 0x10
mov qword [rsp + 0x70], rax
mov ecx, r12d
mov dword [rdi], ebx
lea edx, [rbx + 8]
mov r15, rax
call sub.api_ms_win_crt_heap_l1_1_0.dll_calloc
mov qword [r14], rax
test rax, rax
je 0x140004f26
mov rax, qword [r13 + 0x40]
lea r8, [rbx - 1]
cmp dword [rax + 0x2c], ebx
jbe 0x140004e76
mov qword [rsp + 0x40], rbp
mov rax, r15
nop word [rax + rax]
mov ebp, dword [r15 + 4]
lea rsi, [r15 + 8]
add rbp, r15
cmp rsi, rbp
jae 0x140004e42
mov r8d, 0xfff0
mov r13, 0xffffffffffffffff
movzx ebx, word [rsi]
and ebx, 0xfff
add ebx, dword [r15]
cmp dword [rdi], r12d
jb 0x140004e06
mov rcx, qword [r14]
add r12d, r12d
mov eax, 8
mul r12
cmovo rax, r13
mov rdx, rax
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_realloc]
mov qword [r14], rax
mov r8d, 0xfff0
mov ecx, dword [rdi]
mov rax, qword [r14]
mov dword [rax + rcx*8], ebx
mov ecx, dword [rdi]
mov rax, qword [r14]
lea rdx, [rax + rcx*8]
movzx ecx, word [rsi]
movzx eax, word [rdx + 4]
add rsi, 2
and ax, r8w
shr cx, 0xc
or cx, ax
mov word [rdx + 4], cx
inc dword [rdi]
cmp rsi, rbp
jb 0x140004dd1
mov r13, qword [rsp + 0x60]
mov rax, qword [rsp + 0x70]
mov rcx, qword [r13 + 0x40]
mov r15, rbp
sub rbp, rax
mov edx, dword [rcx + 0x2c]
cmp rbp, rdx
jb 0x140004db0
mov rbp, qword [rsp + 0x40]
lea rdi, [r13 + 0x78]
mov rsi, qword [rsp + 0x68]
lea r14, [r13 + 0x80]
xor ebx, ebx
mov r8, 0xffffffffffffffff
mov ecx, dword [rdi]
mov eax, 8
mul rcx
mov rcx, qword [r14]
cmovo rax, r8
mov rdx, rax
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_realloc]
mov qword [r14], rax
test rax, rax
je 0x140004f26
mov rax, qword [r13 + 0x20]
mov qword [r13 + 0x20], rsi
sub rsi, rax
cmp dword [rdi], 0
jbe 0x140004eee
nop dword [rax]
mov rax, qword [r14]
movzx edx, word [rax + rbx*8 + 4]
lea r8, [rax + rbx*8]
and edx, 0xf
je 0x140004ee8
cmp edx, 3
je 0x140004edb
cmp edx, 0xa
jne 0x140004f0f
mov edx, dword [r8]
mov rcx, r13
call fcn.140004c70
add qword [rax], rsi
jmp 0x140004ee8
mov edx, dword [r8]
mov rcx, r13
call fcn.140004c70
add dword [rax], esi
inc ebx
cmp ebx, dword [rdi]
jb 0x140004eb0
mov r14, qword [rsp + 0x28]
mov r12, qword [rsp + 0x30]
mov rdi, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x78]
mov r15, qword [rsp + 0x20]
add rsp, 0x48
pop r13
pop rsi
ret
lea rcx, str.Unsupported_relocation_:_0x_x_nExiting..._n
call fcn.140001010
mov ecx, 1
call sub.api_ms_win_crt_runtime_l1_1_0.dll_exit
int3
mov ecx, 1
call sub.api_ms_win_crt_runtime_l1_1_0.dll_exit
int3
Function at 0x140005080
Capabilities:
Terminate process

Disassembly:
push rbp
push rdi
sub rsp, 0x58
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0x38], rax
cmp dword [rcx + 4], 0
mov rbp, rdx
mov rdi, rcx
jne 0x1400050b0
cmp dword [rcx + 0x10], 0
jne 0x1400050b0
mov rax, rdx
jmp 0x140005185
mov qword [rsp + 0x80], rbx
mov edx, 1
mov qword [rsp + 0x50], rsi
mov qword [rsp + 0x48], r14
mov r14d, 0x10
mov ecx, r14d
mov qword [rsp + 0x40], r15
call sub.api_ms_win_crt_heap_l1_1_0.dll_calloc
mov rsi, rax
test rax, rax
je 0x140005199
xor r15d, r15d
mov ebx, r15d
nop dword [rax]
cmp r14, rbx
ja 0x140005110
add r14, r14
mov rcx, rsi
mov rdx, r14
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_realloc]
mov rsi, rax
test rax, rax
je 0x140005199
lea rax, [rbx + rbp]
cmp dword [rdi + 4], r15d
je 0x140005139
mov rcx, qword [rdi + 8]
lea r8, [rsp + 0x30]
mov r9d, 1
mov qword [rsp + 0x20], r15
mov rdx, rax
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
jmp 0x140005159
cmp dword [rdi + 0x10], r15d
je 0x140005152
mov r8d, 1
lea rdx, [rsp + 0x30]
mov rcx, rax
call qword [rdi + 0x18]
jmp 0x140005159
movzx eax, byte [rax]
mov byte [rsp + 0x30], al
movzx eax, byte [rsp + 0x30]
mov byte [rbx + rsi], al
inc rbx
cmp byte [rbx + rsi - 1], r15b
jne 0x1400050f0
mov r14, qword [rsp + 0x48]
mov rax, rsi
mov rsi, qword [rsp + 0x50]
mov rbx, qword [rsp + 0x80]
mov r15, qword [rsp + 0x40]
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.140009ae0
add rsp, 0x58
pop rdi
pop rbp
ret
mov ecx, 1
call sub.api_ms_win_crt_runtime_l1_1_0.dll_exit
int3
Function at 0x1400051b0
Capabilities:
Resolve function by parsing pe exports
Terminate process

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov esi, edx
mov rdi, rcx
mov edx, 0x98
mov ecx, 1
call sub.api_ms_win_crt_heap_l1_1_0.dll_calloc
mov rbx, rax
test rax, rax
je 0x140005367
mov dword [rax], esi
lea rdx, [rdi + 0x3c]
xor esi, esi
mov qword [rax + 8], 0xffffffffffffffff
mov rcx, rax
mov dword [rax + 4], esi
mov dword [rax + 0x10], esi
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov qword [rax + 0x28], rdi
call fcn.140004fe0
mov edx, eax
mov rcx, rbx
add rdx, qword [rbx + 0x20]
mov qword [rbx + 0x30], rdx
lea rax, [rdx + 0x18]
add rdx, 0x14
mov qword [rbx + 0x38], rax
add rax, 0x70
mov qword [rbx + 0x40], rax
call fcn.140004f40
mov rdx, qword [rbx + 0x40]
movzx ecx, ax
add rcx, qword [rbx + 0x38]
mov qword [rbx + 0x48], rcx
mov rcx, rbx
call fcn.140004fe0
test eax, eax
jne 0x14000525c
mov qword [rbx + 0x50], rsi
mov qword [rbx + 0x58], rsi
mov qword [rbx + 0x68], rsi
mov qword [rbx + 0x70], rsi
jmp 0x1400052d3
mov edx, eax
mov rcx, rbx
call fcn.140004c70
mov rcx, rbx
mov qword [rbx + 0x50], rax
lea rdx, [rax + 0x20]
call fcn.140004fe0
mov edx, eax
mov rcx, rbx
call fcn.140004c70
mov rdx, qword [rbx + 0x50]
mov rcx, rbx
add rdx, 0x1c
mov qword [rbx + 0x58], rax
call fcn.140004fe0
mov edx, eax
mov rcx, rbx
call fcn.140004c70
mov rdx, qword [rbx + 0x50]
mov rcx, rbx
add rdx, 0x24
mov qword [rbx + 0x68], rax
call fcn.140004fe0
mov edx, eax
mov rcx, rbx
call fcn.140004c70
mov rdx, qword [rbx + 0x50]
mov rcx, rbx
add rdx, 0x18
mov qword [rbx + 0x70], rax
call fcn.140004fe0
mov dword [rbx + 0x60], eax
mov rdx, qword [rbx + 0x40]
mov rcx, rbx
add rdx, 0x30
mov qword [rbx + 0x80], rsi
call fcn.140004fe0
test eax, eax
je 0x14000534d
mov edx, eax
mov rcx, rbx
call fcn.140004c70
mov rcx, rbx
mov qword [rbx + 0x88], rax
lea rdx, [rax + 0xc]
call fcn.140004fe0
cmp eax, 2
jne 0x14000534d
mov rdx, qword [rbx + 0x88]
mov rcx, rbx
add rdx, 0x14
call fcn.140004fe0
mov edx, eax
mov rcx, rbx
call fcn.140004c70
mov rdx, rax
mov qword [rbx + 0x90], rax
mov rcx, rbx
call fcn.140004fe0
cmp eax, 0x53445352
je 0x140005354
mov qword [rbx + 0x90], rsi
mov qword [rbx + 0x88], rsi
mov rsi, qword [rsp + 0x38]
mov rax, rbx
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
mov ecx, 1
call sub.api_ms_win_crt_runtime_l1_1_0.dll_exit
int3
Function at 0x140005ef0
Capabilities:
Terminate process

Disassembly:
mov r11, rsp
sub rsp, 0x88
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0x70], rax
movabs rax, 0x800000000000
cmp rdx, rax
jb 0x140006019
movabs rax, 0xffff800000000000
cmp rdx, rax
jb 0x140006030
lea rax, [rcx - 1]
cmp rax, 7
ja 0x140006002
mov rax, qword [0x14001f0e0]
mov qword [r11 - 8], rbx
xor ebx, ebx
mov dword [rsp + 0x5c], ebx
mov qword [r11 - 0x38], rdx
mov qword [r11 - 0x40], r8
mov dword [rsp + 0x58], ecx
mov dword [rsp + 0x40], ebx
cmp rax, 0xffffffffffffffff
jne 0x140005fab
movups xmm0, xmmword [str..GIO]
mov qword [r11 - 0x58], rbx
lea r8d, [rbx + 3]
mov dword [rsp + 0x28], 0x80
lea rcx, [r11 - 0x28]
xor r9d, r9d
mov dword [rsp + 0x20], 3
mov edx, 0xc0000000
movups xmmword [rsp + 0x60], xmm0
call qword [sym.imp.KERNEL32.dll_CreateFileW]
cmp rax, 0xffffffffffffffff
je 0x140006047
mov qword [0x14001f0e0], rax
mov qword [rsp + 0x38], rbx
lea rcx, [rsp + 0x40]
mov qword [rsp + 0x30], rcx
lea r8, [rsp + 0x48]
lea rcx, [rsp + 0x48]
mov dword [rsp + 0x28], 0x18
mov qword [rsp + 0x20], rcx
mov r9d, 0x18
mov rcx, rax
mov edx, 0xc3502808
call qword [sym.imp.KERNEL32.dll_DeviceIoControl]
mov rbx, qword [rsp + 0x80]
mov rcx, qword [rsp + 0x70]
xor rcx, rsp
call fcn.140009ae0
add rsp, 0x88
ret
lea rcx, str.Unsupported_size_for_read_operation__aborting..._n
call fcn.140001480
mov ecx, 1
call sub.api_ms_win_crt_runtime_l1_1_0.dll_exit
int3
lea rcx, str.Userland_address_used:_0x_016llx_nThis_should_not_happen__aborting..._n
call fcn.140001480
mov ecx, 1
call sub.api_ms_win_crt_runtime_l1_1_0.dll_exit
int3
lea rcx, str.Non_canonical_address_used:_0x_016llx_nAborting_to_avoid_a_BSOD..._n
call fcn.140001480
mov ecx, 1
call sub.api_ms_win_crt_runtime_l1_1_0.dll_exit
int3
lea rcx, str.____Unable_to_obtain_a_handle_to_the_vulnerable_driver__exiting..._n
call fcn.140001480
mov ecx, 1
call sub.api_ms_win_crt_runtime_l1_1_0.dll_exit
int3
Function at 0x140006060
Capabilities:
Terminate process

Disassembly:
mov r11, rsp
sub rsp, 0x88
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0x70], rax
movabs rax, 0x800000000000
cmp rdx, rax
jb 0x140006189
movabs rax, 0xffff800000000000
cmp rdx, rax
jb 0x1400061a0
lea rax, [rcx - 1]
cmp rax, 7
ja 0x140006172
mov rax, qword [0x14001f0e0]
mov qword [r11 - 8], rbx
xor ebx, ebx
mov dword [rsp + 0x5c], ebx
mov qword [r11 - 0x38], r8
mov qword [r11 - 0x40], rdx
mov dword [rsp + 0x58], ecx
mov dword [rsp + 0x40], ebx
cmp rax, 0xffffffffffffffff
jne 0x14000611b
movups xmm0, xmmword [str..GIO]
mov qword [r11 - 0x58], rbx
lea r8d, [rbx + 3]
mov dword [rsp + 0x28], 0x80
lea rcx, [r11 - 0x28]
xor r9d, r9d
mov dword [rsp + 0x20], 3
mov edx, 0xc0000000
movups xmmword [rsp + 0x60], xmm0
call qword [sym.imp.KERNEL32.dll_CreateFileW]
cmp rax, 0xffffffffffffffff
je 0x1400061b7
mov qword [0x14001f0e0], rax
mov qword [rsp + 0x38], rbx
lea rcx, [rsp + 0x40]
mov qword [rsp + 0x30], rcx
lea r8, [rsp + 0x48]
lea rcx, [rsp + 0x48]
mov dword [rsp + 0x28], 0x18
mov qword [rsp + 0x20], rcx
mov r9d, 0x18
mov rcx, rax
mov edx, 0xc3502808
call qword [sym.imp.KERNEL32.dll_DeviceIoControl]
mov rbx, qword [rsp + 0x80]
mov rcx, qword [rsp + 0x70]
xor rcx, rsp
call fcn.140009ae0
add rsp, 0x88
ret
lea rcx, str.Unsupported_size_for_read_operation__aborting..._n
call sub.api_ms_win_crt_stdio_l1_1_0.dll__putws
mov ecx, 1
call sub.api_ms_win_crt_runtime_l1_1_0.dll_exit
int3
lea rcx, str.Userland_address_used:_0x_016llx_nThis_should_not_happen__aborting..._n
call fcn.140001480
mov ecx, 1
call sub.api_ms_win_crt_runtime_l1_1_0.dll_exit
int3
lea rcx, str.Non_canonical_address_used:_0x_016llx_nAborting_to_avoid_a_BSOD..._n
call fcn.140001480
mov ecx, 1
call sub.api_ms_win_crt_runtime_l1_1_0.dll_exit
int3
lea rcx, str.____Unable_to_obtain_a_handle_to_the_vulnerable_driver__exiting..._n
call fcn.140001480
mov ecx, 1
call sub.api_ms_win_crt_runtime_l1_1_0.dll_exit
int3

Function at 0x1400061d0
Capabilities:
Acquire debug privileges

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x50
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0x48], rax
mov rdi, rcx
lea r8, [rsp + 0x30]
xor ecx, ecx
lea rdx, str.SeDebugPrivilege
xor ebx, ebx
call qword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueW]
test eax, eax
je 0x14000624c
mov rax, qword [rsp + 0x30]
lea r8, [rsp + 0x38]
mov qword [rsp + 0x28], rbx
xor r9d, r9d
xor edx, edx
mov qword [rsp + 0x3c], rax
mov rcx, rdi
mov dword [rsp + 0x38], 1
mov dword [rsp + 0x44], 2
mov qword [rsp + 0x20], rbx
call qword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
test eax, eax
je 0x14000624c
call qword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
sete bl
mov eax, ebx
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.140009ae0
mov rbx, qword [rsp + 0x68]
add rsp, 0x50
pop rdi
ret
Function at 0x1400080c0
Capabilities:
Get file version info

Disassembly:
push rbp
push rsi
push rdi
sub rsp, 0x50
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0x40], rax
xor eax, eax
lea rdx, [rsp + 0x3c]
mov rbp, rcx
mov dword [rsp + 0x3c], eax
mov rcx, r8
mov dword [rsp + 0x38], eax
mov qword [rsp + 0x30], rax
mov rsi, r8
call qword [sym.imp.VERSION.dll_GetFileVersionInfoSizeW]
mov edi, eax
test eax, eax
je 0x1400081a4
mov ecx, edi
mov qword [rsp + 0x78], rbx
mov edx, 1
call sub.api_ms_win_crt_heap_l1_1_0.dll_calloc
mov rbx, rax
test rax, rax
jne 0x14000812b
lea rcx, str.____Couldnt_allocate_memory_to_retrieve_version_data
call sub.api_ms_win_crt_stdio_l1_1_0.dll__putws
jmp 0x14000819f
mov r9, rbx
mov r8d, edi
xor edx, edx
mov rcx, rsi
call qword [sym.imp.VERSION.dll_GetFileVersionInfoW]
test eax, eax
je 0x140008197
lea r9, [rsp + 0x38]
mov rcx, rbx
lea r8, [rsp + 0x30]
lea rdx, [0x14000b63c]
call qword [sym.imp.VERSION.dll_VerQueryValueW]
test eax, eax
je 0x140008197
cmp dword [rsp + 0x38], 0
je 0x140008197
mov r9, qword [rsp + 0x30]
cmp dword [r9], 0xfeef04bd
jne 0x140008197
mov r9d, dword [r9 + 0xc]
lea r8, str._ld__ld
movzx eax, r9w
mov edx, pe_nt_image_headers64
shr r9d, 0x10
mov rcx, rbp
mov dword [rsp + 0x20], eax
call fcn.140002310
mov rcx, rbx
call sub.api_ms_win_crt_heap_l1_1_0.dll_free
mov rbx, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.140009ae0
add rsp, 0x50
pop rdi
pop rsi
pop rbp
ret

Function at 0x1400081c0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
mov qword [rsp + 0x10], rbx
push rsi
sub rsp, 0x20
lea rsi, str.ntdll.dll
mov rdx, 0xffffffffffffffff
nop dword [rax + rax]
cmp word [rsi + rdx*2 + 2], 0
lea rdx, [rdx + 1]
jne 0x1400081e0
mov rax, qword gs:[0x60]
mov qword [rsp + 0x30], rdi
mov rcx, qword [rax + 0x18]
mov rbx, qword [rcx + 0x10]
test rbx, rbx
je 0x14000823f
lea rdi, [rdx + rdx]
nop dword [rax + rax]
mov rcx, qword [rbx + 0x60]
mov r8, rdi
mov rdx, rsi
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__memicmp]
test eax, eax
je 0x140008251
mov rax, qword gs:[0x60]
mov rbx, qword [rbx]
mov rcx, qword [rax + 0x18]
cmp rbx, qword [rcx + 0x10]
je 0x14000823f
test rbx, rbx
jne 0x140008210
xor eax, eax
mov rdi, qword [rsp + 0x30]
mov rbx, qword [rsp + 0x38]
add rsp, 0x20
pop rsi
ret
mov rdi, qword [rsp + 0x30]
mov rax, rbx
mov rbx, qword [rsp + 0x38]
add rsp, 0x20
pop rsi
ret