joyce8/EMBER2024-capa huggingface dataset:
Function at 0x180060460
Capabilities:
Hash data using fnv

Disassembly:
push rdi
sub rsp, 0x20
mov rdi, rcx
mov rcx, qword [rcx + 0x10]
test rcx, rcx
je 0x18006050c
mov rax, qword [rdi + 0x38]
shr rax, 3
cmp rax, rcx
jbe 0x18006049a
mov rdx, qword [rdi + 8]
mov rcx, rdi
mov r8, rdx
mov rdx, qword [rdx]
add rsp, 0x20
pop rdi
jmp 0x180060720
mov rcx, qword [rdi + 8]
mov rax, qword [rcx + 8]
mov qword [rax], 0
mov rcx, qword [rcx]
test rcx, rcx
je 0x1800604da
mov qword [rsp + 0x38], rbx
nop word [rax + rax]
mov rbx, qword [rcx]
mov edx, 0x18
call fcn.18006ae8c
mov rcx, rbx
test rbx, rbx
jne 0x1800604c0
mov rbx, qword [rsp + 0x38]
mov rax, qword [rdi + 8]
lea r8, [rsp + 0x30]
mov qword [rax], rax
mov rax, qword [rdi + 8]
mov qword [rax + 8], rax
mov qword [rdi + 0x10], 0
mov rax, qword [rdi + 8]
mov rdx, qword [rdi + 0x20]
mov rcx, qword [rdi + 0x18]
mov qword [rsp + 0x30], rax
call fcn.180062720
add rsp, 0x20
pop rdi
ret
push rbp
push rsi
push r14
sub rsp, 0x40
mov rbp, r8
mov r14, rdx
mov rsi, rcx
cmp rdx, r8
je 0x18006081e
mov rdx, qword [rcx + 0x18]
movabs r8, 0x100000001b3
mov qword [rsp + 0x60], rbx
movabs rax, 0xcbf29ce484222325
mov qword [rsp + 0x38], rdi
mov rbx, r14
mov qword [rsp + 0x30], r12
mov r12, qword [rcx + 8]
movzx ecx, byte [r14 + 0x10]
xor rcx, rax
mov qword [rsp + 0x28], r13
movzx eax, byte [r14 + 0x11]
mov r13, qword [r14 + 8]
imul rcx, r8
mov qword [rsp + 0x20], r15
mov r15, qword [rsi + 0x30]
xor rcx, rax
movzx eax, byte [r14 + 0x12]
imul rcx, r8
mov qword [rsp + 0x78], rdx
xor rcx, rax
movzx eax, byte [r14 + 0x13]
imul rcx, r8
xor rcx, rax
imul rcx, r8
and r15, rcx
shl r15, 4
add r15, rdx
mov rax, qword [r15]
mov qword [rsp + 0x68], rax
mov rax, qword [r15 + 8]
mov qword [rsp + 0x70], rax
nop dword [rax + rax]
mov rcx, rbx
mov rdi, rbx
mov rbx, qword [rbx]
mov edx, 0x18
call fcn.18006ae8c
dec qword [rsi + 0x10]
cmp rdi, qword [rsp + 0x70]
je 0x18006082a
cmp rbx, rbp
jne 0x1800607d0
cmp qword [rsp + 0x68], r14
jne 0x1800607fd
mov qword [r15], rbx
mov r12, qword [rsp + 0x30]
mov rdi, qword [rsp + 0x38]
mov r15, qword [rsp + 0x20]
mov qword [r13], rbx
mov qword [rbx + 8], r13
mov r13, qword [rsp + 0x28]
mov rbx, qword [rsp + 0x60]
mov rax, rbp
add rsp, 0x40
pop r14
pop rsi
pop rbp
ret
cmp qword [rsp + 0x68], r14
jne 0x180060839
mov qword [r15], r12
mov rax, r12
jmp 0x18006083c
mov rax, r13
mov qword [r15 + 8], rax
cmp rbx, rbp
je 0x1800607fd
nop word [rax + rax]
movzx ecx, byte [rbx + 0x10]
movabs rdx, 0x100000001b3
mov r15, qword [rsi + 0x30]
movabs rax, 0xcbf29ce484222325
xor rcx, rax
movzx eax, byte [rbx + 0x11]
imul rcx, rdx
xor rcx, rax
movzx eax, byte [rbx + 0x12]
imul rcx, rdx
xor rcx, rax
movzx eax, byte [rbx + 0x13]
imul rcx, rdx
xor rcx, rax
imul rcx, rdx
and r15, rcx
shl r15, 4
add r15, qword [rsp + 0x78]
mov r14, qword [r15 + 8]
nop dword [rax]
nop dword [rax + rax]
mov rcx, rbx
mov rdi, rbx
mov rbx, qword [rbx]
mov edx, 0x18
call fcn.18006ae8c
dec qword [rsi + 0x10]
cmp rdi, r14
je 0x1800608d6
cmp rbx, rbp
jne 0x1800608b0
jmp 0x1800607fa
mov qword [r15], r12
mov qword [r15 + 8], r12
cmp rbx, rbp
jne 0x180060850
jmp 0x1800607fd
Function at 0x180060570
Capabilities:
Hash data using fnv

Disassembly:
mov qword [rsp + 0x20], rbx
push rsi
sub rsp, 0x20
movabs rax, 0xfffffffffffffff
mov rsi, rcx
bsr rcx, rax
mov ebx, 1
mov eax, ebx
shl rax, cl
cmp rdx, rax
jbe 0x1800605a8
lea rcx, str.invalid_hash_bucket_count
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Xlength_error_char_const____ptr64_]
int3
lea rax, [rdx - 1]
mov qword [rsp + 0x38], rdi
mov rdi, qword [rsi + 8]
or rax, rbx
bsr rcx, rax
mov r8, rdi
mov qword [rsp + 0x40], r14
inc ecx
shl rbx, cl
lea rcx, [rsi + 0x18]
lea rdx, [rbx + rbx]
call fcn.1800096b0
mov qword [rsi + 0x38], rbx
lea rax, [rbx - 1]
mov qword [rsi + 0x30], rax
mov rcx, qword [rsi + 8]
mov rcx, qword [rcx]
cmp rcx, rdi
je 0x1800606e4
mov qword [rsp + 0x30], rbp
mov rax, rcx
movabs rbp, 0xcbf29ce484222325
movabs rbx, 0x100000001b3
nop
movzx edx, byte [rax + 0x11]
movzx r11d, byte [rax + 0x10]
mov rcx, qword [rcx]
xor r11, rbp
imul r11, rbx
xor r11, rdx
movzx edx, byte [rax + 0x12]
imul r11, rbx
xor r11, rdx
movzx edx, byte [rax + 0x13]
imul r11, rbx
xor r11, rdx
imul r11, rbx
and r11, qword [rsi + 0x30]
shl r11, 4
add r11, qword [rsi + 0x18]
mov r9, qword [r11]
cmp r9, rdi
jne 0x18006065d
mov qword [r11], rax
mov qword [r11 + 8], rax
jmp 0x1800606d3
mov rdx, qword [r11 + 8]
mov r8d, dword [rax + 0x10]
cmp r8d, dword [rdx + 0x10]
jne 0x18006069a
mov r10, qword [rdx]
cmp r10, rax
je 0x180060694
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 0x1800606d3
cmp r9, rdx
je 0x1800606af
nop
mov rdx, qword [rdx + 8]
cmp r8d, dword [rdx + 0x10]
je 0x1800606f9
cmp r9, rdx
jne 0x1800606a0
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, rdi
jne 0x180060610
mov rbp, qword [rsp + 0x30]
mov rdi, qword [rsp + 0x38]
mov r14, qword [rsp + 0x40]
mov rbx, qword [rsp + 0x48]
add rsp, 0x20
pop rsi
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 0x1800606d3
Function at 0x180060720
Capabilities:
Hash data using fnv

Disassembly:
push rdi
sub rsp, 0x20
mov rdi, rcx
mov rcx, qword [rcx + 0x10]
test rcx, rcx
je 0x18006050c
mov rax, qword [rdi + 0x38]
shr rax, 3
cmp rax, rcx
jbe 0x18006049a
mov rdx, qword [rdi + 8]
mov rcx, rdi
mov r8, rdx
mov rdx, qword [rdx]
add rsp, 0x20
pop rdi
jmp 0x180060720
mov rcx, qword [rdi + 8]
mov rax, qword [rcx + 8]
mov qword [rax], 0
mov rcx, qword [rcx]
test rcx, rcx
je 0x1800604da
mov qword [rsp + 0x38], rbx
nop word [rax + rax]
mov rbx, qword [rcx]
mov edx, 0x18
call fcn.18006ae8c
mov rcx, rbx
test rbx, rbx
jne 0x1800604c0
mov rbx, qword [rsp + 0x38]
mov rax, qword [rdi + 8]
lea r8, [rsp + 0x30]
mov qword [rax], rax
mov rax, qword [rdi + 8]
mov qword [rax + 8], rax
mov qword [rdi + 0x10], 0
mov rax, qword [rdi + 8]
mov rdx, qword [rdi + 0x20]
mov rcx, qword [rdi + 0x18]
mov qword [rsp + 0x30], rax
call fcn.180062720
add rsp, 0x20
pop rdi
ret
push rbp
push rsi
push r14
sub rsp, 0x40
mov rbp, r8
mov r14, rdx
mov rsi, rcx
cmp rdx, r8
je 0x18006081e
mov rdx, qword [rcx + 0x18]
movabs r8, 0x100000001b3
mov qword [rsp + 0x60], rbx
movabs rax, 0xcbf29ce484222325
mov qword [rsp + 0x38], rdi
mov rbx, r14
mov qword [rsp + 0x30], r12
mov r12, qword [rcx + 8]
movzx ecx, byte [r14 + 0x10]
xor rcx, rax
mov qword [rsp + 0x28], r13
movzx eax, byte [r14 + 0x11]
mov r13, qword [r14 + 8]
imul rcx, r8
mov qword [rsp + 0x20], r15
mov r15, qword [rsi + 0x30]
xor rcx, rax
movzx eax, byte [r14 + 0x12]
imul rcx, r8
mov qword [rsp + 0x78], rdx
xor rcx, rax
movzx eax, byte [r14 + 0x13]
imul rcx, r8
xor rcx, rax
imul rcx, r8
and r15, rcx
shl r15, 4
add r15, rdx
mov rax, qword [r15]
mov qword [rsp + 0x68], rax
mov rax, qword [r15 + 8]
mov qword [rsp + 0x70], rax
nop dword [rax + rax]
mov rcx, rbx
mov rdi, rbx
mov rbx, qword [rbx]
mov edx, 0x18
call fcn.18006ae8c
dec qword [rsi + 0x10]
cmp rdi, qword [rsp + 0x70]
je 0x18006082a
cmp rbx, rbp
jne 0x1800607d0
cmp qword [rsp + 0x68], r14
jne 0x1800607fd
mov qword [r15], rbx
mov r12, qword [rsp + 0x30]
mov rdi, qword [rsp + 0x38]
mov r15, qword [rsp + 0x20]
mov qword [r13], rbx
mov qword [rbx + 8], r13
mov r13, qword [rsp + 0x28]
mov rbx, qword [rsp + 0x60]
mov rax, rbp
add rsp, 0x40
pop r14
pop rsi
pop rbp
ret
cmp qword [rsp + 0x68], r14
jne 0x180060839
mov qword [r15], r12
mov rax, r12
jmp 0x18006083c
mov rax, r13
mov qword [r15 + 8], rax
cmp rbx, rbp
je 0x1800607fd
nop word [rax + rax]
movzx ecx, byte [rbx + 0x10]
movabs rdx, 0x100000001b3
mov r15, qword [rsi + 0x30]
movabs rax, 0xcbf29ce484222325
xor rcx, rax
movzx eax, byte [rbx + 0x11]
imul rcx, rdx
xor rcx, rax
movzx eax, byte [rbx + 0x12]
imul rcx, rdx
xor rcx, rax
movzx eax, byte [rbx + 0x13]
imul rcx, rdx
xor rcx, rax
imul rcx, rdx
and r15, rcx
shl r15, 4
add r15, qword [rsp + 0x78]
mov r14, qword [r15 + 8]
nop dword [rax]
nop dword [rax + rax]
mov rcx, rbx
mov rdi, rbx
mov rbx, qword [rbx]
mov edx, 0x18
call fcn.18006ae8c
dec qword [rsi + 0x10]
cmp rdi, r14
je 0x1800608d6
cmp rbx, rbp
jne 0x1800608b0
jmp 0x1800607fa
mov qword [r15], r12
mov qword [r15 + 8], r12
cmp rbx, rbp
jne 0x180060850
jmp 0x1800607fd
Function at 0x1800615b0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r15
sub rsp, 0x20
mov r15, qword [rdx + 0x18]
mov rdi, rdx
mov rsi, qword [rdx + 0x10]
mov r10, rcx
mov r9, rdx
cmp r15, 0xf
jbe 0x1800615dc
mov r9, qword [rdx]
xor ebp, ebp
movabs r8, 0xcbf29ce484222325
mov edx, ebp
test rsi, rsi
je 0x180061614
movabs rcx, 0x100000001b3
nop dword [rax]
movzx eax, byte [rdx + r9]
inc rdx
xor r8, rax
imul r8, rcx
cmp rdx, rsi
jb 0x180061600
mov rcx, qword [r10 + 0x30]
mov rax, qword [r10 + 0x18]
and rcx, r8
add rcx, rcx
mov rbx, qword [rax + rcx*8 + 8]
cmp rbx, qword [r10 + 8]
jne 0x180061632
mov rbx, rbp
jmp 0x180061682
mov qword [rsp + 0x40], r14
mov r14, qword [rax + rcx*8]
nop dword [rax + rax]
cmp qword [rbx + 0x28], 0xf
lea rdx, [rbx + 0x10]
mov rax, qword [rdx + 0x10]
jbe 0x180061652
mov rdx, qword [rdx]
mov rcx, rdi
cmp r15, 0xf
jbe 0x18006165e
mov rcx, qword [rdi]
cmp rsi, rax
jne 0x18006166f
mov r8, rsi
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
je 0x18006167d
cmp rbx, r14
je 0x18006167a
mov rbx, qword [rbx + 8]
jmp 0x180061640
mov rbx, rbp
mov r14, qword [rsp + 0x40]
test rbx, rbx
mov rbx, qword [rsp + 0x48]
setne bpl
mov rax, rbp
mov rbp, qword [rsp + 0x50]
add rsp, 0x20
pop r15
pop rdi
pop rsi
ret
Function at 0x180068b50
Capabilities:
Validate payment card number using luhn algorithm

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov esi, edx
mov dword [rcx + 0x74], 0
mov rbx, rcx
mov edi, 0x7fffffff
movsx ecx, byte [rbx + 0x78]
lea eax, [rcx - 0x30]
cmp al, 9
ja 0x180068c1c
lea r8d, [rcx - 0x30]
cmp r8d, 0xffffffff
je 0x180068c1c
mov r9d, dword [rbx + 0x74]
mov ecx, 0x7fffffff
sub ecx, r8d
mov eax, 0x66666667
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add edx, eax
cmp r9d, edx
jg 0x180068c35
lea eax, [r9 + r9*4]
dec edi
lea ecx, [r8 + rax*2]
mov rax, qword [rbx]
mov dword [rbx + 0x74], ecx
mov rcx, qword [rbx + 0x10]
cmp rax, rcx
je 0x180068c0c
cmp byte [rax], 0x5c
jne 0x180068c06
lea rdx, [rax + 1]
cmp rdx, rcx
je 0x180068c06
mov r8d, dword [rbx + 0x80]
test r8b, 8
jne 0x180068bf2
movzx ecx, byte [rdx]
sub cl, 0x28
cmp cl, 1
jbe 0x180068c03
test r8b, 0x10
jne 0x180068c06
movzx ecx, byte [rdx]
sub cl, 0x7b
test cl, 0xfd
jne 0x180068c06
mov rax, rdx
inc rax
mov qword [rbx], rax
mov rcx, rbx
call fcn.180065650
test edi, edi
jne 0x180068b70
mov rbx, qword [rsp + 0x30]
cmp edi, 0x7fffffff
mov rsi, qword [rsp + 0x38]
setne al
add rsp, 0x20
pop rdi
ret
mov edx, esi
call fcn.180065640
int3

Function at 0x18006bc18
Capabilities:
Get geographical location

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
mov rbx, rdx
lea r8, [rsp + 0x60]
mov edi, ecx
mov edx, 0x20000001
lea rcx, str._x_sys_default_locale
mov r9d, 2
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoEx]
test eax, eax
jne 0x18006bc52
xor r9d, r9d
mov dword [rsp + 0x60], r9d
jmp 0x18006bc57
mov r9d, dword [rsp + 0x60]
and qword [rsp + 0x30], 0
mov r8d, edi
and dword [rsp + 0x28], 0
xor edx, edx
mov ecx, 0x1300
mov qword [rsp + 0x20], rbx
call qword [sym.imp.KERNEL32.dll_FormatMessageA]
mov edx, eax
test eax, eax
je 0x18006bca0
mov r8, qword [rbx]
dec r8
add r8, rdx
movzx ecx, byte [r8]
lea rax, [0x18006f9d0]
cmp byte [rcx + rax], 0
je 0x18006bca0
dec r8
sub rdx, 1
jne 0x18006bc86
mov rbx, qword [rsp + 0x50]
mov rax, rdx
add rsp, 0x40
pop rdi
ret
Function at 0x401ff7
Capabilities:
Terminate process

Disassembly:
cmp rcx, qword [section..data]
jne 0x401c0a
rol rcx, 0x10
test cx, 0xffff
jne 0x401c06
repz ret
ror rcx, 0x10
jmp 0x401f50
mov qword [rsp + 8], rcx
sub rsp, 0x88
lea rcx, [0x004040f0]
call qword [sym.imp.KERNEL32.dll_RtlCaptureContext]
mov rax, qword [0x004041e8]
mov qword [rsp + 0x58], rax
xor r8d, r8d
lea rdx, [rsp + 0x60]
mov rcx, qword [rsp + 0x58]
call sub.KERNEL32.dll_RtlLookupFunctionEntry
mov qword [rsp + 0x50], rax
cmp qword [rsp + 0x50], 0
je 0x401fd5
mov qword [rsp + 0x38], 0
lea rax, [rsp + 0x48]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x40]
mov qword [rsp + 0x28], rax
lea rax, [0x004040f0]
mov qword [rsp + 0x20], rax
mov r9, qword [rsp + 0x50]
mov r8, qword [rsp + 0x58]
mov rdx, qword [rsp + 0x60]
xor ecx, ecx
call sub.KERNEL32.dll_RtlVirtualUnwind
jmp 0x401ff7
mov rax, qword [rsp + 0x88]
mov qword [0x004041e8], rax
lea rax, [rsp + 0x88]
add rax, 8
mov qword [0x00404188], rax
mov rax, qword [0x004041e8]
mov qword [0x00404060], rax
mov rax, qword [rsp + 0x90]
mov qword [0x00404170], rax
mov dword [0x00404050], 0xc0000409
mov dword [0x00404054], 1
mov rax, qword [section..data]
mov qword [rsp + 0x68], rax
mov rax, qword [0x00404008]
mov qword [rsp + 0x70], rax
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
mov dword [0x004040e8], eax
mov ecx, 1
call sub.MSVCR80.dll___crt_debugger_hook
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
lea rcx, [0x004031d0]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
cmp dword [0x004040e8], 0
jne 0x40207e
mov ecx, 1
call sub.MSVCR80.dll___crt_debugger_hook
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, 0xc0000409
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
add rsp, 0x88
ret
Function at 0x1800012e2
Capabilities:
Encode data using xor

Disassembly:
push rbx
push r14
push r15
sub rsp, 0x28
lea rbx, str.WAREZD_OWNFOR_FORUMR_UBOARD_COMINC_RACKWE_TRUSTW_AREZDO_WNWD
lea r14, [0x1800030c8]
mov r15, qword [rbx]
xor qword [r14], r15
add r14, 8
add rbx, 8
cmp dword [r14], 0
jne 0x1800012f9
add rsp, 0x28
pop r15
pop r14
pop rbx
ret

Function at 0x1800013a2
Capabilities:
Get common file path

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x230
lea rcx, [rbp - 0x210]
mov rdx, 0x208
call sub.kernel32.dll_GetSystemDirectoryW
lea rcx, [rbp - 0x210]
movabs rdx, str._version.dll
call sub.kernel32.dll_lstrcatW
lea rcx, [rbp - 0x210]
call sub.kernel32.dll_LoadLibraryW
mov qword [rbp - 8], rax
nop
mov rcx, qword [rbp - 8]
movabs rdx, str.GetFileVersionInfoA
call fcn.180001000
mov qword [0x180003350], rax
nop
mov rcx, qword [rbp - 8]
movabs rdx, str.GetFileVersionInfoW
call fcn.180001000
mov qword [0x180003358], rax
nop
mov rcx, qword [rbp - 8]
movabs rdx, str.GetFileVersionInfoExW
call fcn.180001000
mov qword [0x180003360], rax
nop
mov rcx, qword [rbp - 8]
movabs rdx, str.GetFileVersionInfoSizeExW
call fcn.180001000
mov qword [0x180003368], rax
nop
mov rcx, qword [rbp - 8]
movabs rdx, str.GetFileVersionInfoSizeA
call fcn.180001000
mov qword [0x180003370], rax
nop
mov rcx, qword [rbp - 8]
movabs rdx, str.GetFileVersionInfoSizeW
call fcn.180001000
mov qword [0x180003378], rax
nop
mov rcx, qword [rbp - 8]
movabs rdx, str.VerQueryValueA
call fcn.180001000
mov qword [0x180003380], rax
nop
mov rcx, qword [rbp - 8]
movabs rdx, str.VerQueryValueW
call fcn.180001000
mov qword [0x180003388], rax
add rsp, 0x230
leave
ret
Function at 0x140001410
Capabilities:
Create device object
Print debug messages

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x78
lea rcx, [0x140001ec0]
call sub.ntoskrnl.exe_DbgPrint
mov rax, qword [rsp + 0x80]
lea rcx, [0x140001360]
mov qword [rax + 0x68], rcx
mov eax, 8
imul rax, rax, 0
mov rcx, qword [rsp + 0x80]
lea rdx, section..text
mov qword [rcx + rax + 0x70], rdx
mov eax, 8
imul rax, rax, 2
mov rcx, qword [rsp + 0x80]
lea rdx, section..text
mov qword [rcx + rax + 0x70], rdx
mov eax, 8
imul rax, rax, 0xe
mov rcx, qword [rsp + 0x80]
lea rdx, [0x140001040]
mov qword [rcx + rax + 0x70], rdx
mov eax, 0x1c
mov word [rsp + 0x50], ax
mov eax, 0x1e
mov word [rsp + 0x52], ax
lea rax, [0x140001ee0]
mov qword [rsp + 0x58], rax
lea rax, [rsp + 0x48]
mov qword [rsp + 0x30], rax
mov byte [rsp + 0x28], 0
mov dword [rsp + 0x20], 0x100
mov r9d, 0x22
lea r8, [rsp + 0x50]
xor edx, edx
mov rcx, qword [rsp + 0x80]
call qword [sym.imp.ntoskrnl.exe_IoCreateDevice]
mov dword [rsp + 0x40], eax
cmp dword [rsp + 0x40], 0
jge 0x140001507
mov edx, dword [rsp + 0x40]
lea rcx, [0x140001f00]
call sub.ntoskrnl.exe_DbgPrint
mov eax, dword [rsp + 0x40]
jmp 0x140001574
mov eax, 0x14
mov word [rsp + 0x60], ax
mov eax, 0x16
mov word [rsp + 0x62], ax
lea rax, [0x140001e80]
mov qword [rsp + 0x68], rax
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x60]
call qword [sym.imp.ntoskrnl.exe_IoCreateSymbolicLink]
mov dword [rsp + 0x40], eax
cmp dword [rsp + 0x40], 0
jge 0x140001563
mov edx, dword [rsp + 0x40]
lea rcx, [0x140001f30]
call sub.ntoskrnl.exe_DbgPrint
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.ntoskrnl.exe_IoDeleteDevice]
mov eax, dword [rsp + 0x40]
jmp 0x140001574
mov rcx, qword [rsp + 0x80]
call fcn.140001580
mov eax, dword [rsp + 0x40]
add rsp, 0x78
ret

Function at 0x140001580
Capabilities:
Print debug messages

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x48
lea rcx, [0x1400021f0]
call sub.ntoskrnl.exe_DbgPrint
call fcn.140001ba0
mov byte [rsp + 0x20], al
mov rax, qword [rsp + 0x50]
mov rax, qword [rax + 0x28]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
mov rax, qword [rax + 8]
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x28]
mov rax, qword [rax]
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x30]
mov rcx, qword [rsp + 0x28]
mov rcx, qword [rcx]
mov qword [rax], rcx
mov rax, qword [rsp + 0x38]
mov rcx, qword [rsp + 0x28]
mov rcx, qword [rcx + 8]
mov qword [rax + 8], rcx
mov rax, qword [rsp + 0x28]
mov rcx, qword [rsp + 0x28]
mov qword [rax], rcx
mov rax, qword [rsp + 0x28]
mov rcx, qword [rsp + 0x28]
mov qword [rax + 8], rcx
movzx ecx, byte [rsp + 0x20]
call qword [sym.imp.ntoskrnl.exe_KeLowerIrql]
lea rcx, [0x140002210]
call sub.ntoskrnl.exe_DbgPrint
add rsp, 0x48
ret
Function at 0x140001620
Capabilities:
Print debug messages

Disassembly:
mov dword [rsp + 8], ecx
sub rsp, 0x58
lea rcx, [0x140002230]
call sub.ntoskrnl.exe_DbgPrint
mov edx, 0x18
xor ecx, ecx
call qword [sym.imp.ntoskrnl.exe_ExAllocatePool]
mov qword [rsp + 0x40], rax
mov dword [rsp + 0x24], 0x448
mov edx, dword [rsp + 0x24]
lea rcx, [0x140002250]
call sub.ntoskrnl.exe_DbgPrint
mov eax, dword [rsp + 0x24]
mov dword [rsp + 0x20], eax
mov eax, dword [rsp + 0x20]
add rax, 8
mov dword [rsp + 0x20], eax
call qword [sym.imp.ntoskrnl.exe_IoGetCurrentProcess]
mov qword [rsp + 0x28], rax
mov eax, dword [rsp + 0x20]
mov rcx, qword [rsp + 0x28]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x30], rax
mov eax, dword [rsp + 0x24]
mov rcx, qword [rsp + 0x28]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x38]
mov ecx, dword [rsp + 0x60]
cmp dword [rax], ecx
jne 0x1400016c6
mov rcx, qword [rsp + 0x30]
call fcn.140001b40
mov rax, qword [rsp + 0x40]
jmp 0x14000178f
mov rax, qword [rsp + 0x28]
mov qword [rsp + 0x48], rax
mov eax, dword [rsp + 0x20]
mov rcx, qword [rsp + 0x30]
mov rcx, qword [rcx]
sub rcx, rax
mov rax, rcx
mov qword [rsp + 0x28], rax
mov eax, dword [rsp + 0x24]
mov rcx, qword [rsp + 0x28]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x38], rax
mov eax, dword [rsp + 0x20]
mov rcx, qword [rsp + 0x28]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x28]
cmp qword [rsp + 0x48], rax
je 0x14000177a
mov rax, qword [rsp + 0x38]
mov ecx, dword [rsp + 0x60]
cmp dword [rax], ecx
jne 0x140001739
mov rcx, qword [rsp + 0x30]
call fcn.140001b40
mov rax, qword [rsp + 0x40]
jmp 0x14000178f
mov eax, dword [rsp + 0x20]
mov rcx, qword [rsp + 0x30]
mov rcx, qword [rcx]
sub rcx, rax
mov rax, rcx
mov qword [rsp + 0x28], rax
mov eax, dword [rsp + 0x24]
mov rcx, qword [rsp + 0x28]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x38], rax
mov eax, dword [rsp + 0x20]
mov rcx, qword [rsp + 0x28]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x30], rax
jmp 0x14000170f
mov edx, dword [rsp + 0x60]
lea rcx, [0x140002270]
call sub.ntoskrnl.exe_DbgPrint
mov rax, qword [rsp + 0x40]
add rsp, 0x58
ret
Function at 0x1400017a0
Capabilities:
Find process by pid
Print debug messages

Disassembly:
mov dword [rsp + 0x10], edx
mov dword [rsp + 8], ecx
sub rsp, 0x48
mov dword [rsp + 0x20], 0
mov ecx, dword [rsp + 0x58]
call fcn.140001bf0
lea rdx, [rsp + 0x28]
mov rcx, rax
call qword [sym.imp.ntoskrnl.exe_PsLookupProcessByProcessId]
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 0
jge 0x1400017eb
lea rcx, [0x1400020f0]
call sub.ntoskrnl.exe_DbgPrint
mov eax, dword [rsp + 0x20]
jmp 0x140001875
mov rdx, qword [rsp + 0x28]
lea rcx, [0x140002110]
call sub.ntoskrnl.exe_DbgPrint
mov ecx, dword [rsp + 0x50]
call fcn.140001bf0
lea rdx, [rsp + 0x30]
mov rcx, rax
call qword [sym.imp.ntoskrnl.exe_PsLookupProcessByProcessId]
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 0
jge 0x140001830
lea rcx, [0x140002140]
call sub.ntoskrnl.exe_DbgPrint
mov eax, dword [rsp + 0x20]
jmp 0x140001875
mov rdx, qword [rsp + 0x30]
lea rcx, [0x140002160]
call sub.ntoskrnl.exe_DbgPrint
lea rcx, [0x140002190]
call sub.ntoskrnl.exe_DbgPrint
mov rax, qword [rsp + 0x28]
mov rcx, qword [rsp + 0x30]
mov rcx, qword [rcx + 0x4b8]
mov qword [rax + 0x4b8], rcx
lea rcx, [0x1400021c0]
call sub.ntoskrnl.exe_DbgPrint
mov eax, dword [rsp + 0x20]
add rsp, 0x48
ret