joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14001c670
Capabilities:
Get thread local storage value

Disassembly:
push rbx
sub rsp, 0x20
mov ebx, ecx
call fcn.14001b4a0
mov ecx, dword [0x140020678]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x14001c6b0
test ebx, ebx
jle 0x14001c6a0
lock add dword [rax + 0x20], 1
add rsp, 0x20
pop rbx
ret
lock sub dword [rax + 0x20], 1
add rsp, 0x20
pop rbx
ret
call fcn.14001b550
test rax, rax
jne 0x14001c68d
add rsp, 0x20
pop rbx
ret

Function at 0x14001c7a0
Capabilities:
Get thread local storage value

Disassembly:
push rsi
push rbx
sub rsp, 0x28
call fcn.14001b4a0
mov ecx, dword [0x140020678]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
mov rbx, rax
je 0x14001c818
test byte [rbx + 0x40], 0xc
jne 0x14001c7cf
mov eax, dword [0x1401f7658]
test eax, eax
jne 0x14001c7e0
add rsp, 0x28
pop rbx
pop rsi
ret
lea rsi, [rbx + 0x38]
mov rcx, rsi
call fcn.14001a720
movzx eax, byte [rbx + 0x40]
test al, 3
je 0x14001c803
mov edx, dword [rbx + 0x44]
test dl, 1
je 0x14001c803
mov ecx, dword [rbx + 0x20]
test ecx, ecx
jle 0x14001c82c
mov rcx, rsi
add rsp, 0x28
pop rbx
pop rsi
jmp fcn.14001aa10
call fcn.14001b550
test rax, rax
mov rbx, rax
jne 0x14001c7bf
add rsp, 0x28
pop rbx
pop rsi
ret
mov rcx, qword [rbx + 0x30]
and eax, 0xfffffff3
and edx, 0xfffffffe
or eax, 4
mov dword [rbx + 0x44], edx
mov byte [rbx + 0x40], al
test rcx, rcx
je 0x14001c84a
call qword [sym.imp.KERNEL32.dll_ResetEvent]
mov rcx, rsi
call fcn.14001aa10
call fcn.14001c6c0
nop
nop dword [rax + rax]
push rdi
push rsi
push rbx
sub rsp, 0x20
test rcx, rcx
je 0x14001c8d0
call fcn.14001d9b0
mov rsi, rax
mov eax, 0xfffffffe
cmp rax, rsi
jb 0x14001c908
call fcn.14001b4a0
mov ecx, dword [0x140020678]
mov edi, esi
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
mov rbx, rax
je 0x14001c960
test esi, esi
je 0x14001c8e6
call fcn.14001c7a0
mov rcx, qword [rbx + 0x30]
test rcx, rcx
je 0x14001c940
mov edx, edi
call fcn.14001da60
call fcn.14001c7a0
xor eax, eax
add rsp, 0x20
pop rbx
pop rsi
pop rdi
ret
call fcn.14001b4a0
mov ecx, dword [0x140020678]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x14001c950
call fcn.14001c7a0
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_Sleep]
call fcn.14001c7a0
xor eax, eax
add rsp, 0x20
pop rbx
pop rsi
pop rdi
ret
call fcn.14001b4a0
mov ecx, dword [0x140020678]
mov edi, 0xffffffff
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
mov rbx, rax
jne 0x14001c8a5
call fcn.14001b550
mov rbx, rax
jmp 0x14001c8a5
mov ecx, edi
call qword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x14001c8be
call fcn.14001b550
jmp 0x14001c8e6
call fcn.14001b550
mov rbx, rax
jmp 0x14001c8a1
Function at 0x14001c860
Capabilities:
Get thread local storage value

Disassembly:
push rsi
push rbx
sub rsp, 0x28
call fcn.14001b4a0
mov ecx, dword [0x140020678]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
mov rbx, rax
je 0x14001c818
test byte [rbx + 0x40], 0xc
jne 0x14001c7cf
mov eax, dword [0x1401f7658]
test eax, eax
jne 0x14001c7e0
add rsp, 0x28
pop rbx
pop rsi
ret
lea rsi, [rbx + 0x38]
mov rcx, rsi
call fcn.14001a720
movzx eax, byte [rbx + 0x40]
test al, 3
je 0x14001c803
mov edx, dword [rbx + 0x44]
test dl, 1
je 0x14001c803
mov ecx, dword [rbx + 0x20]
test ecx, ecx
jle 0x14001c82c
mov rcx, rsi
add rsp, 0x28
pop rbx
pop rsi
jmp fcn.14001aa10
call fcn.14001b550
test rax, rax
mov rbx, rax
jne 0x14001c7bf
add rsp, 0x28
pop rbx
pop rsi
ret
mov rcx, qword [rbx + 0x30]
and eax, 0xfffffff3
and edx, 0xfffffffe
or eax, 4
mov dword [rbx + 0x44], edx
mov byte [rbx + 0x40], al
test rcx, rcx
je 0x14001c84a
call qword [sym.imp.KERNEL32.dll_ResetEvent]
mov rcx, rsi
call fcn.14001aa10
call fcn.14001c6c0
nop
nop dword [rax + rax]
push rdi
push rsi
push rbx
sub rsp, 0x20
test rcx, rcx
je 0x14001c8d0
call fcn.14001d9b0
mov rsi, rax
mov eax, 0xfffffffe
cmp rax, rsi
jb 0x14001c908
call fcn.14001b4a0
mov ecx, dword [0x140020678]
mov edi, esi
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
mov rbx, rax
je 0x14001c960
test esi, esi
je 0x14001c8e6
call fcn.14001c7a0
mov rcx, qword [rbx + 0x30]
test rcx, rcx
je 0x14001c940
mov edx, edi
call fcn.14001da60
call fcn.14001c7a0
xor eax, eax
add rsp, 0x20
pop rbx
pop rsi
pop rdi
ret
call fcn.14001b4a0
mov ecx, dword [0x140020678]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x14001c950
call fcn.14001c7a0
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_Sleep]
call fcn.14001c7a0
xor eax, eax
add rsp, 0x20
pop rbx
pop rsi
pop rdi
ret
call fcn.14001b4a0
mov ecx, dword [0x140020678]
mov edi, 0xffffffff
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
mov rbx, rax
jne 0x14001c8a5
call fcn.14001b550
mov rbx, rax
jmp 0x14001c8a5
mov ecx, edi
call qword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x14001c8be
call fcn.14001b550
jmp 0x14001c8e6
call fcn.14001b550
mov rbx, rax
jmp 0x14001c8a1

Function at 0x14001c970
Capabilities:
Get thread local storage value

Disassembly:
push rsi
push rbx
sub rsp, 0x28
mov esi, ecx
call fcn.14001b4a0
mov ecx, dword [0x140020678]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
mov rbx, rax
je 0x14001c9e0
test esi, esi
je 0x14001c9c0
call fcn.14001c7a0
mov rcx, qword [rbx + 0x30]
test rcx, rcx
je 0x14001c9f0
mov edx, esi
call fcn.14001da60
call fcn.14001c7a0
xor eax, eax
add rsp, 0x28
pop rbx
pop rsi
ret
call fcn.14001c7a0
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_Sleep]
call fcn.14001c7a0
xor eax, eax
add rsp, 0x28
pop rbx
pop rsi
ret
call fcn.14001b550
mov rbx, rax
jmp 0x14001c991
mov ecx, esi
call qword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x14001c9aa
Function at 0x140001dd0
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
mov qword [rsp + 0x20], r14
push rbp
lea rbp, [rsp - 0x1c0]
sub rsp, 0x2c0
mov rdi, rcx
xor r14d, r14d
xor edx, edx
mov r8d, 0x20a
lea rcx, [rbp - 0x50]
call fcn.14002e270
lea rdx, [rbp - 0x50]
mov ecx, 0x105
call qword [sym.imp.KERNEL32.dll_GetTempPathW]
dec eax
cmp eax, 0x104
ja 0x140001e4f
lea rcx, [rbp - 0x50]
mov rax, 0xffffffffffffffff
nop
lea rax, [rax + 1]
cmp word [rcx + rax*2], r14w
jne 0x140001e30
cmp word [rbp + rax*2 - 0x52], 0x5c
jne 0x140001e49
mov word [rbp + rax*2 - 0x52], r14w
lea rdx, [rbp - 0x50]
jmp 0x140001e56
lea rdx, [0x14003b1f0]
lea rcx, [rsp + 0x40]
call fcn.140006250
nop
mov rbx, qword [rsp + 0x50]
test rbx, rbx
jne 0x140001ec5
lea rdx, [0x14003b1f0]
mov rcx, rdi
call fcn.140006250
nop
mov rdx, qword [rsp + 0x58]
cmp rdx, 7
jbe 0x140002002
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140001ffd
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140002028
jmp 0x140001ffd
lea rcx, [rsp + 0x68]
call fcn.140001cd0
mov rsi, rax
movabs rcx, 0x7ffffffffffffffe
sub rcx, rbx
cmp rcx, 1
jb 0x14000202e
lea r9, [rsp + 0x40]
cmp qword [rsp + 0x58], 7
cmova r9, qword [rsp + 0x40]
mov qword [rsp + 0x30], 1
lea rax, [0x14003b1f4]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rbx
lea rcx, [rbp - 0x78]
call fcn.140008780
nop
mov r9, rsi
lea r8, [rbp - 0x78]
mov rcx, rdi
call fcn.140008560
nop
mov rdx, qword [rbp - 0x60]
cmp rdx, 7
jbe 0x140001f6f
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x78]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140001f69
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140002034
call fcn.14000b938
nop
mov rdx, qword [rbp - 0x80]
cmp rdx, 7
jbe 0x140001fb0
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140001fab
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000203a
call fcn.14000b938
movdqa xmm0, xmmword [0x140043f40]
movdqu xmmword [rsp + 0x78], xmm0
mov word [rsp + 0x68], r14w
mov rdx, qword [rsp + 0x58]
cmp rdx, 7
jbe 0x140002002
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140001ffd
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140002022
call fcn.14000b938
mov rax, rdi
lea r11, [rsp + 0x2c0]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov r14, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret
call fcn.140013748
int3
call fcn.140013748
nop
call fcn.1400012d0
nop
call fcn.140013748
nop
call fcn.140013748
int3
Function at 0x140004390
Capabilities:
Enumerate pe sections

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x10], rdx
push rbp
push rdi
push r12
push r14
push r15
mov eax, 0x1070
call fcn.14000c040
sub rsp, rax
xor r12d, r12d
mov r15, r9
mov rdi, r8
mov rbp, rcx
test r8, r8
je 0x1400044db
mov qword [rsp + 0x38], r12
lea rax, [rsp + 0x70]
mov qword [rsp + 0x58], rax
mov r9d, 0x28
lea rax, [rsp + 0x10a8]
mov qword [rsp + 0x50], r8
mov qword [rsp + 0x30], rax
lea r8, [rsp + 0x40]
mov dword [rsp + 0x28], r12d
mov edx, 0x80862007
mov qword [rsp + 0x20], r12
mov qword [rsp + 0x48], r12
mov qword [rsp + 0x40], 0x33
mov qword [rsp + 0x60], 0x1000
mov dword [rsp + 0x10a8], r12d
call qword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
je 0x1400044db
movsxd rax, dword [rsp + 0xac]
lea r9, [rsp + 0x70]
add r9, rax
mov r8d, r12d
movzx eax, word [r9 + 0x14]
lea r10, [r9 + 0x18]
add r10, rax
cmp r12w, word [r9 + 6]
jae 0x1400044db
mov rbx, 0xffffffffffffffff
nop dword [rax]
mov eax, r8d
lea rcx, [rax + rax*4]
cmp dword [r10 + rcx*8], 0x45474150
lea rdx, [r10 + rcx*8]
jne 0x14000448f
mov rax, rbx
nop dword [rax + rax]
inc rax
cmp byte [rdx + rax], r12b
jne 0x140004480
cmp rax, 4
je 0x1400044a4
movzx eax, word [r9 + 6]
inc r8d
cmp r8d, eax
jb 0x140004460
mov rax, r12
jmp 0x1400045df
mov eax, dword [rdx + 0xc]
test eax, eax
je 0x1400044db
mov r8d, dword [rdx + 8]
lea rcx, [rsp + 0x70]
add rcx, rax
je 0x1400044db
test r8d, r8d
je 0x1400044db
lea rax, [rsp + 0x70]
sub rcx, rax
lea r14, [rcx + rdi]
mov edi, r8d
test r14, r14
je 0x1400044db
cmp r8, 0x40000000
jbe 0x1400044e3
mov rax, r12
jmp 0x1400045df
mov rcx, rdi
mov qword [rsp + 0x10a0], rsi
call fcn.14000ba9c
mov r8, rdi
xor edx, edx
mov rcx, rax
mov rsi, rax
call fcn.14002e270
mov qword [rsp + 0x38], r12
lea rax, [rsp + 0x10a8]
mov qword [rsp + 0x30], rax
lea r8, [rsp + 0x40]
mov dword [rsp + 0x28], r12d
mov r9d, 0x28
mov edx, 0x80862007
mov qword [rsp + 0x20], r12
mov rcx, rbp
mov qword [rsp + 0x48], r12
mov qword [rsp + 0x40], 0x33
mov qword [rsp + 0x50], r14
mov qword [rsp + 0x58], rsi
mov qword [rsp + 0x60], rdi
mov dword [rsp + 0x10a8], r12d
call qword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
je 0x1400045cc
mov r10, qword [rsp + 0x10c0]
nop dword [rax]
inc rbx
cmp byte [r10 + rbx], r12b
jne 0x140004570
mov r9, r12
sub rdi, rbx
je 0x1400045cc
movzx r11d, byte [r10]
mov rbx, rsi
sub rbx, r15
nop dword [rax + rax]
mov rdx, r10
mov rax, r15
test r11b, r11b
je 0x1400045bf
movzx ecx, r11b
lea r8, [rbx + r9]
cmp cl, 0x78
jne 0x1400045b1
movzx ecx, byte [rax]
cmp byte [r8 + rax], cl
jne 0x1400045c4
movzx ecx, byte [rdx + 1]
inc rdx
inc rax
test cl, cl
jne 0x1400045a3
cmp byte [rdx], r12b
je 0x1400045f7
inc r9
cmp r9, rdi
jb 0x140004590
mov rcx, rsi
call fcn.14000b938
mov rax, r12
mov rsi, qword [rsp + 0x10a0]
mov rbx, qword [rsp + 0x10b0]
add rsp, 0x1070
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret
lea rax, [r9 + rsi]
test rax, rax
je 0x1400045cc
sub rax, rsi
mov rcx, rsi
lea rbx, [rax + r14]
call fcn.14000b938
mov rax, rbx
jmp 0x1400045d7
Function at 0x140005390
Capabilities:
Read file on windows

Disassembly:
push rbx
push r14
push r15
sub rsp, 0x20
mov r15, r8
mov r14, rdx
mov rbx, rcx
test r8, r8
jg 0x1400053b4
xor eax, eax
add rsp, 0x20
pop r15
pop r14
pop rbx
ret
cmp qword [rcx + 0x68], 0
mov qword [rsp + 0x48], rsi
mov qword [rsp + 0x50], rdi
je 0x140005442
mov rdi, r15
mov qword [rsp + 0x40], rbp
lea rsi, [rcx + 0x50]
mov rax, qword [rbx + 0x38]
mov rdx, qword [rax]
test rdx, rdx
je 0x140005410
mov rax, qword [rsi]
movsxd rcx, dword [rax]
test ecx, ecx
jle 0x140005410
cmp rdi, rcx
mov rbp, rdi
cmovge rbp, rcx
mov rcx, r14
mov r8, rbp
call fcn.14002dbd0
mov rax, qword [rsi]
sub rdi, rbp
sub dword [rax], ebp
mov rcx, qword [rbx + 0x38]
movsxd rax, ebp
add qword [rcx], rax
jmp 0x14000542d
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 0x38]
cmp eax, 0xffffffff
je 0x140005435
mov byte [r14], al
lea rsi, [rbx + 0x50]
dec rdi
mov ebp, 1
add r14, rbp
test rdi, rdi
jg 0x1400053d1
mov rbp, qword [rsp + 0x40]
sub r15, rdi
jmp 0x140005520
mov rax, qword [rcx + 0x38]
mov rsi, r15
mov rdx, qword [rax]
test rdx, rdx
je 0x140005459
mov rax, qword [rcx + 0x50]
mov ecx, dword [rax]
jmp 0x14000545b
xor ecx, ecx
movsxd rax, ecx
test ecx, ecx
je 0x14000548d
cmp rax, r15
mov rdi, r15
mov rcx, r14
cmovb rdi, rax
mov r8, rdi
call fcn.14002dbd0
mov rax, qword [rbx + 0x50]
add r14, rdi
sub rsi, rdi
sub dword [rax], edi
mov rcx, qword [rbx + 0x38]
movsxd rax, edi
add qword [rcx], rax
cmp qword [rbx + 0x80], 0
je 0x14000551d
mov r8, qword [rbx + 0x18]
lea rax, [rbx + 0x70]
cmp qword [r8], rax
jne 0x1400054c8
mov rcx, qword [rbx + 0x88]
mov rdx, qword [rbx + 0x90]
mov qword [r8], rcx
sub edx, ecx
mov rax, qword [rbx + 0x38]
mov qword [rax], rcx
mov rax, qword [rbx + 0x50]
mov dword [rax], edx
cmp rsi, 0xfff
jbe 0x1400054fe
mov r9, qword [rbx + 0x80]
mov edx, 1
mov r8d, 0xfff
mov rcx, r14
call fcn.140012f24
add r14, rax
sub rsi, rax
cmp rax, 0xfff
jne 0x14000551d
cmp rsi, rax
ja 0x1400054d1
test rsi, rsi
je 0x14000551d
mov r9, qword [rbx + 0x80]
mov r8, rsi
mov edx, 1
mov rcx, r14
call fcn.140012f24
sub rsi, rax
sub r15, rsi
mov rsi, qword [rsp + 0x48]
mov rax, r15
mov rdi, qword [rsp + 0x50]
add rsp, 0x20
pop r15
pop r14
pop rbx
ret
Function at 0x140008ac0
Capabilities:
Enumerate processes

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x260
xor esi, esi
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov edi, eax
xor edx, edx
mov ecx, 2
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rbx, rax
mov qword [rsp + 0x270], rax
cmp rax, 0xffffffffffffffff
je 0x140008b44
xor edx, edx
mov r8d, 0x238
lea rcx, [rsp + 0x20]
call fcn.14002e270
mov dword [rsp + 0x20], 0x238
lea rdx, [rsp + 0x20]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x140008b44
cmp dword [rsp + 0x28], edi
je 0x140008b40
lea rdx, [rsp + 0x20]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x140008b26
jmp 0x140008b44
mov esi, dword [rsp + 0x40]
cmp rbx, 0xffffffffffffffff
je 0x140008b53
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, esi
lea r11, [rsp + 0x260]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret
Function at 0x140009570
Capabilities:
Delete registry key

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rsi
push rbp
push rdi
push r14
lea rbp, [rsp - 0x47]
sub rsp, 0x90
mov rbx, rcx
xor r14d, r14d
lea rcx, [0x14003b440]
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov rsi, rax
test rax, rax
je 0x140009768
mov rcx, qword [rbx + 0x10]
movabs rdi, 0x7ffffffffffffffe
mov rax, rdi
sub rax, rcx
cmp rax, 0x34
jb 0x140009786
mov rax, rbx
cmp qword [rbx + 0x18], 7
jbe 0x1400095d4
mov rax, qword [rbx]
mov qword [rsp + 0x30], rcx
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], 0x34
lea r9, str.RegistryMachineSystemCurrentControlSetServices_
lea rcx, [rbp + 0x27]
call fcn.140008780
nop
lea rdx, [rbp + 0x27]
cmp qword [rbp + 0x3f], 7
cmova rdx, qword [rbp + 0x27]
lea rcx, [rbp - 9]
call qword [sym.imp.ntdll.dll_RtlInitUnicodeString]
mov rax, qword [rbx + 0x10]
sub rdi, rax
cmp rdi, 0x22
jb 0x14000978c
cmp qword [rbx + 0x18], 7
jbe 0x14000962b
mov rbx, qword [rbx]
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0x20], 0x22
lea r9, str.SYSTEMCurrentControlSetServices_
lea rcx, [rbp + 7]
call fcn.140008780
nop
lea rdx, [rbp + 7]
cmp qword [rbp + 0x1f], 7
cmova rdx, qword [rbp + 7]
lea r8, [rbp + 0x6f]
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
test eax, eax
je 0x14000967a
cmp eax, 2
sete bl
jmp 0x1400096d7
mov rcx, qword [rbp + 0x6f]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea rdx, str.NtUnloadDriver
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rcx, [rbp - 9]
call rax
lea rdx, [rbp + 7]
mov rcx, 0xffffffff80000002
test eax, eax
je 0x1400096bd
cmp qword [rbp + 0x1f], 7
cmova rdx, qword [rbp + 7]
call qword [sym.imp.ADVAPI32.dll_RegDeleteTreeW]
xor bl, bl
jmp 0x1400096d7
cmp qword [rbp + 0x1f], 7
cmova rdx, qword [rbp + 7]
call qword [sym.imp.ADVAPI32.dll_RegDeleteTreeW]
test eax, eax
je 0x1400096d5
xor bl, bl
jmp 0x1400096d7
mov bl, 1
mov rdx, qword [rbp + 0x1f]
cmp rdx, 7
jbe 0x140009717
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 7]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140009712
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140009792
call fcn.14000b938
movdqa xmm0, xmmword [0x140043f40]
movdqu xmmword [rbp + 0x17], xmm0
mov word [rbp + 7], r14w
mov rdx, qword [rbp + 0x3f]
cmp rdx, 7
jbe 0x140009765
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x27]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140009760
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140009780
call fcn.14000b938
movzx eax, bl
lea r11, [rsp + 0x90]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret
call fcn.140013748
int3
call fcn.1400012d0
nop
call fcn.1400012d0
nop
call fcn.140013748
int3
Function at 0x140009f60
Capabilities:
Check for software breakpoints
Disable driver code integrity

Disassembly:
mov qword [rsp + 0x20], rbx
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
mov rbp, rsp
sub rsp, 0x70
xor r13d, r13d
lea rdx, str.CiInitialize
mov r12d, r13d
mov qword [r8], r13
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rdi, [rbp - 0x28]
mov ecx, 0x25
mov rbx, rax
mov r14d, r13d
xor eax, eax
mov r15d, 3
rep stosb byte [rdi], al
nop word [rax + rax]
mov esi, r14d
lea rdx, [rbp - 0x28]
add rsi, rbx
mov rcx, rsi
call fcn.1400097a0
test dword [rbp - 7], 0x1000
jne 0x14000a130
movzx ecx, byte [rbp - 0x28]
cmp ecx, r15d
jne 0x14000a11b
xor eax, eax
lea rdi, [rbp - 0x50]
mov ecx, 0x25
lea rdx, [rbp - 0x50]
rep stosb byte [rdi], al
mov rcx, rsi
call fcn.1400097a0
test dword [rbp - 0x2f], 0x1000
jne 0x14000a117
cmp byte [rbp - 0x50], 3
jne 0x14000a117
cmp byte [rsi], 0x4c
jne 0x14000a117
lea eax, [r14 + 1]
cmp byte [rax + rbx], 0x8b
jne 0x14000a117
lea edi, [r14 + 3]
mov esi, edi
lea rdx, [rbp - 0x50]
add rsi, rbx
mov rcx, rsi
call fcn.1400097a0
test dword [rbp - 0x2f], 0x1000
jne 0x14000a117
cmp byte [rbp - 0x50], 3
jne 0x14000a117
cmp byte [rsi], 0x4c
jne 0x14000a117
lea eax, [rdi + 1]
cmp byte [rax + rbx], 0x8b
jne 0x14000a117
add edi, 3
lea rdx, [rbp - 0x50]
mov esi, edi
add rsi, rbx
mov rcx, rsi
call fcn.1400097a0
test dword [rbp - 0x2f], 0x1000
jne 0x14000a117
cmp byte [rbp - 0x50], 3
jne 0x14000a117
cmp byte [rsi], 0x48
jne 0x14000a117
lea eax, [rdi + 1]
cmp byte [rax + rbx], 0x8b
jne 0x14000a117
add edi, 3
lea rdx, [rbp - 0x50]
mov esi, edi
add rsi, rbx
mov rcx, rsi
call fcn.1400097a0
test dword [rbp - 0x2f], 0x1000
jne 0x14000a117
cmp byte [rbp - 0x50], 2
jne 0x14000a117
cmp byte [rsi], 0x8b
jne 0x14000a117
lea eax, [rdi + 1]
cmp byte [rax + rbx], 0xcd
jne 0x14000a117
add edi, 2
je 0x14000a117
mov esi, edi
lea rdx, [rbp - 0x28]
add rsi, rbx
mov r15d, 5
mov rcx, rsi
call fcn.1400097a0
test dword [rbp - 7], 0x1000
jne 0x14000a130
movzx ecx, byte [rbp - 0x28]
cmp cl, r15b
jne 0x14000a11b
cmp byte [rsi], 0xe8
jne 0x14000a11b
mov r12d, dword [rsi + 1]
mov r14d, edi
jmp 0x14000a134
movzx ecx, byte [rbp - 0x28]
movzx eax, cl
add r14d, eax
cmp r14d, 0x100
jb 0x140009fc0
jmp 0x14000a134
movzx ecx, byte [rbp - 0x28]
mov eax, r14d
mov edi, r13d
movzx ecx, cl
mov r14d, 0xd89
movsxd rsi, r12d
add rcx, rax
add rsi, rbx
add rsi, rcx
nop
mov ebx, edi
lea rdx, [rbp - 0x28]
add rbx, rsi
mov rcx, rbx
call fcn.1400097a0
test dword [rbp - 7], 0x1000
movzx ecx, byte [rbp - 0x28]
jne 0x14000a189
cmp ecx, 6
jne 0x14000a179
cmp word [rbx], r14w
je 0x14000a185
add edi, ecx
cmp edi, 0x100
jb 0x14000a150
jmp 0x14000a189
mov r13d, dword [rbx + 2]
mov rbx, qword [rsp + 0xc8]
mov eax, edi
add rcx, rax
movsxd rax, r13d
add rcx, rax
mov rax, qword [rbp + 0x50]
sub rcx, qword [rbp + 0x40]
add rcx, rsi
add rcx, qword [rbp + 0x48]
mov qword [rax], rcx
xor eax, eax
add rsp, 0x70
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
Function at 0x14000a650
Capabilities:
Get system information on windows
Make suspicious ntquerysysteminformation call

Disassembly:
push rbx
push rsi
push r14
sub rsp, 0x40
mov rsi, rcx
lea r9, [rsp + 0x68]
xor r14d, r14d
mov ecx, 0xb
xor r8d, r8d
mov dword [rsp + 0x68], r14d
xor edx, edx
mov ebx, r14d
call qword [sym.imp.ntdll.dll_NtQuerySystemInformation]
cmp eax, 0xc0000004
jne 0x14000a6d3
test rbx, rbx
je 0x14000a699
xor edx, edx
mov r8d, 0x8000
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualFree]
mov edx, dword [rsp + 0x68]
xor ecx, ecx
mov r9d, 4
mov r8d, 0x3000
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov r8d, dword [rsp + 0x68]
lea r9, [rsp + 0x68]
mov rdx, rax
mov ecx, 0xb
mov rbx, rax
call qword [sym.imp.ntdll.dll_NtQuerySystemInformation]
cmp eax, 0xc0000004
je 0x14000a683
test eax, eax
jns 0x14000a6f8
test rbx, rbx
je 0x14000a6fd
xor edx, edx
mov r8d, 0x8000
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualFree]
xor eax, eax
add rsp, 0x40
pop r14
pop rsi
pop rbx
ret
test rbx, rbx
jne 0x14000a708
xor eax, eax
add rsp, 0x40
pop r14
pop rsi
pop rbx
ret
mov qword [rsp + 0x60], rbp
mov qword [rsp + 0x70], rdi
mov edi, r14d
cmp dword [rbx], r14d
jbe 0x14000a7d6
nop
mov eax, edi
xorps xmm0, xmm0
imul rcx, rax, 0x128
movups xmmword [rsp + 0x20], xmm0
movzx edx, word [rcx + rbx + 0x2e]
lea rbp, [rcx + rbx]
add rdx, 0x30
mov qword [rsp + 0x30], r14
add rdx, rcx
mov qword [rsp + 0x38], r14
add rdx, rbx
mov r8, 0xffffffffffffffff
inc r8
cmp byte [rdx + r8], r14b
jne 0x14000a755
lea rcx, [rsp + 0x20]
call fcn.140007fb0
cmp qword [rsi + 0x18], 0xf
mov rdx, rsi
jbe 0x14000a775
mov rdx, qword [rsi]
cmp qword [rsp + 0x38], 0xf
lea rcx, [rsp + 0x20]
cmova rcx, qword [rsp + 0x20]
call fcn.1400129bc
test eax, eax
je 0x14000a7fc
mov rdx, qword [rsp + 0x38]
cmp rdx, 0xf
jbe 0x14000a7cc
mov rcx, qword [rsp + 0x20]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000a7c7
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000a84f
call fcn.14000b938
inc edi
cmp edi, dword [rbx]
jb 0x14000a720
xor edx, edx
mov r8d, 0x8000
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualFree]
xor eax, eax
mov rbp, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x70]
add rsp, 0x40
pop r14
pop rsi
pop rbx
ret
mov rdi, qword [rbp + 0x18]
xor edx, edx
mov r8d, 0x8000
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualFree]
mov rdx, qword [rsp + 0x38]
cmp rdx, 0xf
jbe 0x14000a84a
mov rcx, qword [rsp + 0x20]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000a845
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000a84f
call fcn.14000b938
mov rax, rdi
jmp 0x14000a7e9
call fcn.140013748
int3

Function at 0x14000c5e0
Capabilities:
Parse pe header

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