joyce8/EMBER2024-capa huggingface dataset:
Function at 0x2fc4d650c
Capabilities:
Enumerate pe sections

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x20
mov qword [rbp + 0x10], rcx
mov qword [rbp + 0x18], rdx
mov rax, qword [rbp + 0x10]
mov eax, dword [rax + 0x3c]
movsxd rdx, eax
mov rax, qword [rbp + 0x10]
add rax, rdx
mov qword [rbp - 0x18], rax
mov dword [rbp - 0xc], 0
mov rax, qword [rbp - 0x18]
movzx eax, word [rax + 0x14]
movzx edx, ax
mov rax, qword [rbp - 0x18]
add rax, rdx
add rax, 0x18
mov qword [rbp - 8], rax
jmp 0x2fc4d658a
mov rax, qword [rbp - 8]
mov eax, dword [rax + 0xc]
mov eax, eax
cmp qword [rbp + 0x18], rax
jb 0x2fc4d6581
mov rax, qword [rbp - 8]
mov edx, dword [rax + 0xc]
mov rax, qword [rbp - 8]
mov eax, dword [rax + 8]
add eax, edx
mov eax, eax
cmp qword [rbp + 0x18], rax
jae 0x2fc4d6581
mov rax, qword [rbp - 8]
jmp 0x2fc4d659f
add dword [rbp - 0xc], 1
add qword [rbp - 8], 0x28
mov rax, qword [rbp - 0x18]
movzx eax, word [rax + 6]
movzx eax, ax
cmp dword [rbp - 0xc], eax
jb 0x2fc4d6554
mov eax, 0
add rsp, 0x20
pop rbp
ret

Function at 0x1400012e0
Capabilities:
Execute command

Disassembly:
sub rsp, 0x28
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
lea rdx, str.hello_world
call section..text
xor edx, edx
xor ecx, ecx
call qword [sym.imp.USER32.dll_ShowWindow]
call qword [sym.imp.KERNEL32.dll_GetConsoleWindow]
mov rcx, rax
xor edx, edx
call qword [sym.imp.USER32.dll_ShowWindow]
xor r9d, r9d
lea r8, str.asdsadsadsad
lea rdx, str.sadsadsad
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxW]
lea rcx, str.pause
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
lea rdx, str.hello_world
call section..text
xor edx, edx
xor ecx, ecx
call qword [sym.imp.USER32.dll_ShowWindow]
xor eax, eax
add rsp, 0x28
ret

Function at 0x140001a90
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x140001ada
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x140001ada
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x140001ada
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x140001ada
cmp dword [rcx + 0x84], 0xe
jbe 0x140001ada
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x140001adc
xor al, al
add rsp, 0x28
ret
Function at 0x2fc4d4f10
Capabilities:
Write file on windows

Disassembly:
push rbp
push rbx
sub rsp, 0x38
lea rbp, [rsp + 0x30]
mov qword [rbp + 0x20], rcx
mov qword [rbp + 0x28], rdx
mov qword [rbp + 0x30], r8
mov qword [rbp + 0x38], r9
lea rax, [rbp + 0x28]
mov qword [rbp - 8], rax
mov ecx, 2
call sub.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func
mov r9, rax
mov r8d, 0x1b
mov edx, 1
lea rax, str.Mingw_w64_runtime_failure:_n
mov rcx, rax
call sub.api_ms_win_crt_stdio_l1_1_0.dll_fwrite
mov rbx, qword [rbp - 8]
mov ecx, 2
call sub.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func
mov rcx, rax
mov rax, qword [rbp + 0x20]
mov r8, rbx
mov rdx, rax
call fcn.2fc4d5ff0
call sub.api_ms_win_crt_runtime_l1_1_0.dll_abort
nop

Function at 0x2fc4d5912
Capabilities:
Get thread local storage value

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x30
mov eax, dword [0x2fc4f8108]
test eax, eax
je 0x2fc4d59aa
lea rax, [0x2fc4f80e0]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
call rax
mov rax, qword [0x2fc4f8110]
mov qword [rbp - 8], rax
jmp 0x2fc4d598e
mov rax, qword [rbp - 8]
mov eax, dword [rax]
mov ecx, eax
mov rax, qword [sym.imp.KERNEL32.dll_TlsGetValue]
call rax
mov qword [rbp - 0x10], rax
mov rax, qword [sym.imp.KERNEL32.dll_GetLastError]
call rax
test eax, eax
jne 0x2fc4d5982
cmp qword [rbp - 0x10], 0
je 0x2fc4d5982
mov rax, qword [rbp - 8]
mov rdx, qword [rax + 8]
mov rax, qword [rbp - 0x10]
mov rcx, rax
call rdx
mov rax, qword [rbp - 8]
mov rax, qword [rax + 0x10]
mov qword [rbp - 8], rax
cmp qword [rbp - 8], 0
jne 0x2fc4d5948
lea rax, [0x2fc4f80e0]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
call rax
jmp 0x2fc4d59ab
nop
add rsp, 0x30
pop rbp
ret

Function at 0x2fc4d5ab0
Capabilities:
Parse pe header

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x20
mov qword [rbp + 0x10], rcx
mov rax, qword [rbp + 0x10]
mov qword [rbp - 8], rax
mov rax, qword [rbp - 8]
movzx eax, word [rax]
cmp ax, 0x5a4d
je 0x2fc4d5ad8
mov eax, 0
jmp 0x2fc4d5b26
mov rax, qword [rbp - 8]
mov eax, dword [rax + 0x3c]
movsxd rdx, eax
mov rax, qword [rbp - 8]
add rax, rdx
mov qword [rbp - 0x10], rax
mov rax, qword [rbp - 0x10]
mov eax, dword [rax]
cmp eax, 0x4550
je 0x2fc4d5b01
mov eax, 0
jmp 0x2fc4d5b26
mov rax, qword [rbp - 0x10]
add rax, 0x18
mov qword [rbp - 0x18], rax
mov rax, qword [rbp - 0x18]
movzx eax, word [rax]
cmp ax, 0x20b
je 0x2fc4d5b21
mov eax, 0
jmp 0x2fc4d5b26
mov eax, 1
add rsp, 0x20
pop rbp
ret
Function at 0x2fc4d5b2c
Capabilities:
Enumerate pe sections

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x20
mov qword [rbp + 0x10], rcx
mov qword [rbp + 0x18], rdx
mov rax, qword [rbp + 0x10]
mov eax, dword [rax + 0x3c]
movsxd rdx, eax
mov rax, qword [rbp + 0x10]
add rax, rdx
mov qword [rbp - 0x18], rax
mov dword [rbp - 0xc], 0
mov rax, qword [rbp - 0x18]
movzx eax, word [rax + 0x14]
movzx edx, ax
mov rax, qword [rbp - 0x18]
add rax, rdx
add rax, 0x18
mov qword [rbp - 8], rax
jmp 0x2fc4d5baa
mov rax, qword [rbp - 8]
mov eax, dword [rax + 0xc]
mov eax, eax
cmp qword [rbp + 0x18], rax
jb 0x2fc4d5ba1
mov rax, qword [rbp - 8]
mov edx, dword [rax + 0xc]
mov rax, qword [rbp - 8]
mov eax, dword [rax + 8]
add eax, edx
mov eax, eax
cmp qword [rbp + 0x18], rax
jae 0x2fc4d5ba1
mov rax, qword [rbp - 8]
jmp 0x2fc4d5bbf
add dword [rbp - 0xc], 1
add qword [rbp - 8], 0x28
mov rax, qword [rbp - 0x18]
movzx eax, word [rax + 6]
movzx eax, ax
cmp dword [rbp - 0xc], eax
jb 0x2fc4d5b74
mov eax, 0
add rsp, 0x20
pop rbp
ret
Function at 0x2fc555040
Capabilities:
Write file on windows

Disassembly:
push rbp
push rbx
sub rsp, 0x38
lea rbp, [rsp + 0x30]
mov qword [rbp + 0x20], rcx
mov qword [rbp + 0x28], rdx
mov qword [rbp + 0x30], r8
mov qword [rbp + 0x38], r9
lea rax, [rbp + 0x28]
mov qword [rbp - 8], rax
mov ecx, 2
call sub.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func
mov r9, rax
mov r8d, 0x1b
mov edx, 1
lea rax, str.Mingw_w64_runtime_failure:_n
mov rcx, rax
call sub.api_ms_win_crt_stdio_l1_1_0.dll_fwrite
mov rbx, qword [rbp - 8]
mov ecx, 2
call sub.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func
mov rcx, rax
mov rax, qword [rbp + 0x20]
mov r8, rbx
mov rdx, rax
call fcn.2fc556120
call sub.api_ms_win_crt_runtime_l1_1_0.dll_abort
nop

Function at 0x2fc555a42
Capabilities:
Get thread local storage value

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x30
mov eax, dword [0x2fc578108]
test eax, eax
je 0x2fc555ada
lea rax, [0x2fc5780e0]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
call rax
mov rax, qword [0x2fc578110]
mov qword [rbp - 8], rax
jmp 0x2fc555abe
mov rax, qword [rbp - 8]
mov eax, dword [rax]
mov ecx, eax
mov rax, qword [sym.imp.KERNEL32.dll_TlsGetValue]
call rax
mov qword [rbp - 0x10], rax
mov rax, qword [sym.imp.KERNEL32.dll_GetLastError]
call rax
test eax, eax
jne 0x2fc555ab2
cmp qword [rbp - 0x10], 0
je 0x2fc555ab2
mov rax, qword [rbp - 8]
mov rdx, qword [rax + 8]
mov rax, qword [rbp - 0x10]
mov rcx, rax
call rdx
mov rax, qword [rbp - 8]
mov rax, qword [rax + 0x10]
mov qword [rbp - 8], rax
cmp qword [rbp - 8], 0
jne 0x2fc555a78
lea rax, [0x2fc5780e0]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
call rax
jmp 0x2fc555adb
nop
add rsp, 0x30
pop rbp
ret

Function at 0x2fc555be0
Capabilities:
Parse pe header

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x20
mov qword [rbp + 0x10], rcx
mov rax, qword [rbp + 0x10]
mov qword [rbp - 8], rax
mov rax, qword [rbp - 8]
movzx eax, word [rax]
cmp ax, 0x5a4d
je 0x2fc555c08
mov eax, 0
jmp 0x2fc555c56
mov rax, qword [rbp - 8]
mov eax, dword [rax + 0x3c]
movsxd rdx, eax
mov rax, qword [rbp - 8]
add rax, rdx
mov qword [rbp - 0x10], rax
mov rax, qword [rbp - 0x10]
mov eax, dword [rax]
cmp eax, 0x4550
je 0x2fc555c31
mov eax, 0
jmp 0x2fc555c56
mov rax, qword [rbp - 0x10]
add rax, 0x18
mov qword [rbp - 0x18], rax
mov rax, qword [rbp - 0x18]
movzx eax, word [rax]
cmp ax, 0x20b
je 0x2fc555c51
mov eax, 0
jmp 0x2fc555c56
mov eax, 1
add rsp, 0x20
pop rbp
ret
Function at 0x2fc555c5c
Capabilities:
Enumerate pe sections

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x20
mov qword [rbp + 0x10], rcx
mov qword [rbp + 0x18], rdx
mov rax, qword [rbp + 0x10]
mov eax, dword [rax + 0x3c]
movsxd rdx, eax
mov rax, qword [rbp + 0x10]
add rax, rdx
mov qword [rbp - 0x18], rax
mov dword [rbp - 0xc], 0
mov rax, qword [rbp - 0x18]
movzx eax, word [rax + 0x14]
movzx edx, ax
mov rax, qword [rbp - 0x18]
add rax, rdx
add rax, 0x18
mov qword [rbp - 8], rax
jmp 0x2fc555cda
mov rax, qword [rbp - 8]
mov eax, dword [rax + 0xc]
mov eax, eax
cmp qword [rbp + 0x18], rax
jb 0x2fc555cd1
mov rax, qword [rbp - 8]
mov edx, dword [rax + 0xc]
mov rax, qword [rbp - 8]
mov eax, dword [rax + 8]
add eax, edx
mov eax, eax
cmp qword [rbp + 0x18], rax
jae 0x2fc555cd1
mov rax, qword [rbp - 8]
jmp 0x2fc555cef
add dword [rbp - 0xc], 1
add qword [rbp - 8], 0x28
mov rax, qword [rbp - 0x18]
movzx eax, word [rax + 6]
movzx eax, ax
cmp dword [rbp - 0xc], eax
jb 0x2fc555ca4
mov eax, 0
add rsp, 0x20
pop rbp
ret
Function at 0x140007f00
Capabilities:
Enumerate processes
Terminate process

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x180
mov rax, qword [0x14000c008]
xor rax, rsp
mov qword [rsp + 0x170], rax
lea r14, [0x14000c6d0]
lea r13, [0x14000c7f0]
nop
mov rdx, qword [r14]
lea rcx, [rsp + 0x20]
call fcn.1400088d0
nop
mov dword [rsp + 0x40], 0x130
xor edx, edx
lea ecx, [rdx + 2]
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rsi, rax
mov r15, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x20]
cmp rax, 0xffffffffffffffff
je 0x140008043
lea rdx, [rsp + 0x40]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_Process32First]
lea rax, [rsp + 0x6c]
mov rbx, 0xffffffffffffffff
inc rbx
cmp byte [rax + rbx], 0
jne 0x140007f92
lea rcx, [rsp + 0x20]
cmp r15, 0x10
setae r12b
cmovae rcx, rbp
mov rdi, qword [rsp + 0x30]
mov r8, rdi
cmp rbx, rdi
cmovb r8, rbx
lea rdx, [rsp + 0x6c]
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
jne 0x140007fdf
cmp rdi, rbx
jb 0x140007fdf
ja 0x140007fdf
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov ebx, dword [rsp + 0x48]
jmp 0x140008045
lea rdx, [rsp + 0x40]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_Process32Next]
test eax, eax
je 0x140008043
lea rax, [rsp + 0x6c]
mov rbx, 0xffffffffffffffff
nop dword [rax]
inc rbx
cmp byte [rax + rbx], 0
jne 0x140008000
lea rcx, [rsp + 0x20]
test r12b, r12b
cmovne rcx, rbp
mov r8, rdi
cmp rbx, rdi
cmovb r8, rbx
lea rdx, [rsp + 0x6c]
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
jne 0x140007fdf
cmp rdi, rbx
jb 0x140007fdf
ja 0x140007fdf
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov ebx, dword [rsp + 0x48]
jmp 0x140008045
xor ebx, ebx
cmp r15, 0x10
jb 0x140008078
lea rdx, [r15 + 1]
mov rax, rbp
cmp rdx, 0x1000
jb 0x140008070
add rdx, 0x27
mov rbp, qword [rbp - 8]
sub rax, rbp
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400080ba
mov rcx, rbp
call fcn.140008a64
test ebx, ebx
jne 0x1400080c1
add r14, 8
cmp r14, r13
jne 0x140007f40
mov rcx, qword [rsp + 0x170]
xor rcx, rsp
call fcn.140008a00
lea r11, [rsp + 0x180]
mov rbx, qword [r11 + 0x30]
mov rbp, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
Function at 0x140008670
Capabilities:
Encode data using xor
Hide graphical window
Set console window title

Disassembly:
sub rsp, 0x78
movaps xmmword [rsp + 0x60], xmm6
mov rax, qword [0x14000c008]
xor rax, rsp
mov qword [rsp + 0x50], rax
call qword [sym.imp.KERNEL32.dll_GetConsoleWindow]
xor edx, edx
mov rcx, rax
call qword [sym.imp.USER32.dll_ShowWindow]
lea rdx, [rsp + 0x20]
call fcn.140008830
mov r9, rax
cmp byte [rax + 0xc], 0
je 0x1400087fc
xor ecx, ecx
cmp dword [0x14000c018], 2
jl 0x1400087c4
movdqa xmm4, xmmword [0x14000aaa0]
mov eax, 4
movd xmm5, eax
mov eax, 0x1f
movd xmm6, eax
movdqa xmm2, xmmword [0x14000aa50]
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm4
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, xmm5
movdqa xmm0, xmm1
psrld xmm0, xmm6
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x14000aa70]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x14000aa80]
packuswb xmm2, xmm2
paddb xmm2, xmmword [str.0000000000000000]
movd xmm0, dword [r9]
xorps xmm2, xmm0
movd dword [r9], xmm2
movdqa xmm3, xmmword [0x14000aa60]
movdqa xmm1, xmm3
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, xmm5
movdqa xmm0, xmm1
psrld xmm0, xmm6
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x14000aa70]
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x14000aa80]
packuswb xmm2, xmm2
paddb xmm2, xmmword [str.0000000000000000]
movd xmm0, dword [r9 + 4]
xorps xmm2, xmm0
movd dword [r9 + 4], xmm2
mov ecx, 8
movsxd r8, ecx
add r8, r9
nop word [rax + rax]
mov eax, 0x4d4873ed
imul ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul edx, eax, 0x35
movzx eax, cl
sub al, dl
add al, 0x30
xor byte [r8], al
inc ecx
lea r8, [r8 + 1]
cmp ecx, 0xd
jl 0x1400087d0
mov rdx, r9
lea rcx, [rsp + 0x30]
call fcn.1400088d0
nop
lea rcx, [rsp + 0x30]
call fcn.140008860
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetConsoleTitleA]
call fcn.140008410
int3

Function at 0x140009394
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x1400093de
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x1400093de
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x1400093de
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x1400093de
cmp dword [rcx + 0x84], 0xe
jbe 0x1400093de
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x1400093e0
xor al, al
add rsp, 0x28
ret
Function at 0x14000111c
Capabilities:
Print debug messages

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x50
movabs rax, 0xfffff78000000014
lea rsi, str._________
mov rax, qword [rax]
movups xmm0, xmmword [0x140003e20]
mov dword [0x1400060f0], eax
mov eax, dword [0x140003e40]
movups xmm1, xmmword [0x140003e30]
mov dword [rsp + 0x40], eax
mov al, byte [0x140003e44]
mov byte [rsp + 0x44], al
or rax, 0xffffffffffffffff
movups xmmword [rsp + 0x20], xmm0
movups xmmword [rsp + 0x30], xmm1
inc rax
cmp byte [rsi + rax], 0
jne 0x140001175
test eax, eax
je 0x1400011c1
mov rbx, rsi
mov edi, eax
lea rcx, [0x1400060f0]
call qword [sym.imp.ntoskrnl.exe_RtlRandomEx]
mov ecx, eax
movabs rax, 0xe38e38e38e38e38f
mul rcx
shr rdx, 5
lea rax, [rdx + rdx*8]
shl rax, 2
sub rcx, rax
mov al, byte [rsp + rcx + 0x20]
mov byte [rbx], al
inc rbx
sub rdi, 1
jne 0x140001187
mov rdx, rsi
lea rcx, [0x140003e50]
call sub.ntoskrnl.exe_DbgPrint
call fcn.1400017e8
call fcn.140002498
call fcn.140001d7c
call fcn.1400023e4
call fcn.140001c94
lea rcx, [0x140003e70]
call sub.ntoskrnl.exe_DbgPrint
mov rbx, qword [rsp + 0x60]
xor eax, eax
mov rsi, qword [rsp + 0x68]
add rsp, 0x50
pop rdi
ret
Function at 0x140001c94
Capabilities:
Print debug messages

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x60
and qword [rbp + 0x10], 0
lea rax, [0x140003df0]
mov qword [rbp - 0x18], rax
xor r9d, r9d
lea rax, [rbp + 0x10]
mov dword [rbp - 0x20], 0x220020
mov qword [rsp + 0x38], rax
xor r8d, r8d
mov rax, qword [sym.imp.ntoskrnl.exe_IoDriverObjectType]
and qword [rsp + 0x30], 0
lea edx, [r9 + 0x40]
mov byte [rsp + 0x28], 0
mov rcx, qword [rax]
mov qword [rsp + 0x20], rcx
lea rcx, [rbp - 0x20]
call qword [sym.imp.ntoskrnl.exe_ObReferenceObjectByName]
test eax, eax
js 0x140001d5d
mov eax, dword [0x1400080e0]
lea rcx, [0x140006100]
movaps xmm0, xmmword [rbp - 0x20]
mov edx, eax
inc eax
shl rdx, 5
add rdx, rcx
mov dword [0x1400080e0], eax
mov rax, qword [rbp + 0x10]
lea rcx, [0x140001208]
add rax, 0xe0
movdqa xmmword [rbp - 0x10], xmm0
mov qword [rdx + 0x10], rax
xchg qword [rax], rcx
movaps xmm0, xmmword [rbp - 0x10]
mov qword [rdx + 0x18], rcx
movdqu xmmword [rdx], xmm0
mov qword [0x1400060e8], rcx
lea rdx, [rbp - 0x10]
lea rcx, [0x1400036c0]
call sub.ntoskrnl.exe_DbgPrint
mov rcx, qword [rbp + 0x10]
call qword [sym.imp.ntoskrnl.exe_ObfDereferenceObject]
jmp 0x140001d73
lfence
mov r8d, eax
lea rdx, [rbp - 0x20]
lea rcx, [0x140003670]
call sub.ntoskrnl.exe_DbgPrint
add rsp, 0x60
pop rbp
ret
Function at 0x1400023e4
Capabilities:
Print debug messages

Disassembly:
push rbx
sub rsp, 0x20
xor edx, edx
lea rcx, [0x140003c70]
call fcn.140002804
mov rbx, rax
test rax, rax
jne 0x14000240c
lea rcx, [0x140003c80]
jmp 0x14000248e
lea r8, [0x140003cb0]
mov rcx, rbx
lea rdx, [0x140003cc0]
call fcn.140002754
test rax, rax
je 0x14000244c
movsxd rdx, dword [rax + 3]
mov r8d, 0x10
mov ecx, dword [0x1400060f0]
add rax, 7
add rdx, rax
call fcn.140002ab0
lea rcx, [0x140003cd0]
jmp 0x140002453
lea rcx, [0x140003d00]
call sub.ntoskrnl.exe_DbgPrint
lea r8, [0x140003d40]
mov rcx, rbx
lea rdx, [0x140003d50]
call fcn.140002754
test rax, rax
je 0x140002487
movsxd rcx, dword [rax + 3]
xor edx, edx
mov qword [rcx + rax + 7], rdx
lea rcx, [0x140003d60]
jmp 0x14000248e
lea rcx, [0x140003d90]
add rsp, 0x20
pop rbx
jmp sub.ntoskrnl.exe_DbgPrint

Function at 0x140002498
Capabilities:
Print debug messages

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x60
and qword [rbp + 0x10], 0
lea rax, [0x140003a50]
mov qword [rbp - 0x18], rax
xor r9d, r9d
lea rax, [rbp + 0x10]
mov dword [rbp - 0x20], 0x220020
mov qword [rsp + 0x38], rax
xor r8d, r8d
mov rax, qword [sym.imp.ntoskrnl.exe_IoDriverObjectType]
and qword [rsp + 0x30], 0
lea edx, [r9 + 0x40]
mov byte [rsp + 0x28], 0
mov rcx, qword [rax]
mov qword [rsp + 0x20], rcx
lea rcx, [rbp - 0x20]
call qword [sym.imp.ntoskrnl.exe_ObReferenceObjectByName]
test eax, eax
js 0x140002561
mov eax, dword [0x1400080e0]
lea rcx, [0x140006100]
movaps xmm0, xmmword [rbp - 0x20]
mov edx, eax
inc eax
shl rdx, 5
add rdx, rcx
mov dword [0x1400080e0], eax
mov rax, qword [rbp + 0x10]
lea rcx, [0x14000129c]
add rax, 0xe0
movdqa xmmword [rbp - 0x10], xmm0
mov qword [rdx + 0x10], rax
xchg qword [rax], rcx
movaps xmm0, xmmword [rbp - 0x10]
mov qword [rdx + 0x18], rcx
movdqu xmmword [rdx], xmm0
mov qword [0x1400060d0], rcx
lea rdx, [rbp - 0x10]
lea rcx, [0x1400036c0]
call sub.ntoskrnl.exe_DbgPrint
mov rcx, qword [rbp + 0x10]
call qword [sym.imp.ntoskrnl.exe_ObfDereferenceObject]
jmp 0x140002577
lfence
mov r8d, eax
lea rdx, [rbp - 0x20]
lea rcx, [0x140003670]
call sub.ntoskrnl.exe_DbgPrint
add rsp, 0x60
pop rbp
ret

Function at 0x140002634
Capabilities:
Print debug messages

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov rdi, r8
mov rsi, rdx
mov rbx, rcx
mov edx, 0x20
xor ecx, ecx
mov r8d, 0x6e556353
call qword [sym.imp.ntoskrnl.exe_ExAllocatePoolWithTag]
mov rcx, rax
test rax, rax
jne 0x140002675
lea rcx, [0x140003ec0]
call sub.ntoskrnl.exe_DbgPrint
jmp 0x14000269e
mov rax, qword [rsi + 0x18]
mov qword [rcx], rax
mov eax, dword [rbx + 8]
mov dword [rcx + 8], eax
mov rax, qword [rbx + 0x40]
mov qword [rcx + 0x10], rax
mov rax, qword [rbx + 0x38]
mov qword [rcx + 0x18], rax
mov byte [rbx + 3], 0x40
mov qword [rbx + 0x40], rcx
mov qword [rbx + 0x38], rdi
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
Function at 0x140002804
Capabilities:
Get system information on windows
Print debug messages

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
push rsi
push rdi
push r14
sub rsp, 0x150
xor ebp, ebp
lea r9, [rax + 0x18]
and dword [rax + 0x18], ebp
mov rsi, rdx
mov r14, rcx
xor r8d, r8d
xor edx, edx
lea edi, [rbp + 0xb]
mov ecx, edi
call sub.ntoskrnl.exe_ZwQuerySystemInformation
cmp eax, 0xc0000004
je 0x140002854
mov edx, eax
lea rcx, [0x140003ef0]
call sub.ntoskrnl.exe_DbgPrint
xor eax, eax
jmp 0x140002985
mov edx, dword [rsp + 0x180]
xor ecx, ecx
mov r8d, 0x6e556353
call qword [sym.imp.ntoskrnl.exe_ExAllocatePoolWithTag]
mov rbx, rax
test rax, rax
jne 0x140002881
mov edx, dword [rsp + 0x180]
lea rcx, [0x140003f30]
jmp 0x140002848
mov r8d, dword [rsp + 0x180]
xor r9d, r9d
mov rdx, rbx
mov ecx, edi
call sub.ntoskrnl.exe_ZwQuerySystemInformation
mov edi, eax
lfence
test eax, eax
jns 0x1400028b5
xor edx, edx
mov rcx, rbx
call qword [sym.imp.ntoskrnl.exe_ExFreePoolWithTag]
mov edx, edi
lea rcx, [0x140003f70]
jmp 0x140002848
xor edi, edi
cmp dword [rbx], edi
jbe 0x140002977
mov eax, edi
lea rcx, [rsp + 0x20]
imul rax, rax, 0x128
mov edx, 2
add rax, 8
add rax, rbx
movups xmm0, xmmword [rax]
movups xmm1, xmmword [rax + 0x10]
lea rax, [rax + 0x80]
movups xmmword [rcx], xmm0
movups xmm0, xmmword [rax - 0x60]
movups xmmword [rcx + 0x10], xmm1
movups xmm1, xmmword [rax - 0x50]
movups xmmword [rcx + 0x20], xmm0
movups xmm0, xmmword [rax - 0x40]
movups xmmword [rcx + 0x30], xmm1
movups xmm1, xmmword [rax - 0x30]
movups xmmword [rcx + 0x40], xmm0
movups xmm0, xmmword [rax - 0x20]
movups xmmword [rcx + 0x50], xmm1
movups xmm1, xmmword [rax - 0x10]
movups xmmword [rcx + 0x60], xmm0
lea rcx, [rcx + 0x80]
movups xmmword [rcx - 0x10], xmm1
sub rdx, 1
jne 0x1400028d9
movups xmm0, xmmword [rax]
movups xmm1, xmmword [rax + 0x10]
mov rax, qword [rax + 0x20]
movups xmmword [rcx], xmm0
movups xmmword [rcx + 0x10], xmm1
mov qword [rcx + 0x20], rax
lea rcx, [rsp + 0x48]
call fcn.1400029dc
mov rcx, rax
mov rdx, r14
call sub.ntoskrnl.exe_strstr
test rax, rax
jne 0x140002967
inc edi
cmp edi, dword [rbx]
jb 0x1400028bf
jmp 0x140002977
mov rbp, qword [rsp + 0x30]
test rsi, rsi
je 0x140002977
mov ecx, dword [rsp + 0x38]
mov dword [rsi], ecx
xor edx, edx
mov rcx, rbx
call qword [sym.imp.ntoskrnl.exe_ExFreePoolWithTag]
mov rax, rbp
lea r11, [rsp + 0x150]
mov rbx, qword [r11 + 0x20]
mov rbp, qword [r11 + 0x28]
mov rsp, r11
pop r14
pop rdi
pop rsi
ret

Function at 0x1400029a0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov r8, rcx
test edx, edx
jne 0x1400029aa
xor eax, eax
ret
movzx eax, byte [rcx]
xor eax, 0x4b9ace2f
imul ecx, eax, 0x1000193
cmp edx, 1
jbe 0x1400029d7
inc r8
dec edx
movzx eax, byte [r8]
inc r8
xor eax, ecx
imul ecx, eax, 0x1000193
sub rdx, 1
jne 0x1400029c2
mov eax, ecx
ret
Function at 0x140002a14
Capabilities:
Print debug messages

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x30
mov esi, edx
mov rbp, rcx
mov edx, edx
xor ecx, ecx
mov r8d, 0x6e556353
call qword [sym.imp.ntoskrnl.exe_ExAllocatePoolWithTag]
mov rbx, rax
test rax, rax
je 0x140002a8a
and qword [rsp + 0x50], 0
lea rax, [rsp + 0x50]
mov r9d, 2
mov qword [rsp + 0x20], rax
mov r8d, esi
mov rdx, rbp
mov rcx, rbx
call qword [sym.imp.ntoskrnl.exe_MmCopyMemory]
test eax, eax
js 0x140002a7d
cmp qword [rsp + 0x50], rsi
jne 0x140002a7d
lfence
mov rax, rbx
jmp 0x140002a9a
xor edx, edx
mov rcx, rbx
call qword [sym.imp.ntoskrnl.exe_ExFreePoolWithTag]
jmp 0x140002a98
mov edx, esi
lea rcx, [0x140003e90]
call sub.ntoskrnl.exe_DbgPrint
xor eax, eax
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x58]
add rsp, 0x30
pop rdi
ret

Function at 0x140002ab0
Capabilities:
Encode data using add xor sub operations
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov rdi, rdx
mov esi, r8d
mov ebx, ecx
mov edx, r8d
mov rcx, rdi
call fcn.1400029a0
xor ebx, eax
test esi, esi
je 0x140002af6
mov ecx, esi
imul ebx, ebx, 0x41c64e6d
add ebx, 0x3039
mov eax, ebx
shr eax, 0x10
xor byte [rdi], al
inc rdi
sub rcx, 1
jne 0x140002ada
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret