joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140001154
Capabilities:
Terminate process

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x70
mov qword [rbp - 0x10], 0
mov dword [rbp - 0x1c], 0x30
mov eax, dword [rbp - 0x1c]
mov rax, qword gs:[rax]
mov qword [rbp - 0x28], rax
mov rax, qword [rbp - 0x28]
mov rax, qword [rax + 8]
mov qword [rbp - 0x18], rax
mov dword [rbp - 4], 0
jmp 0x1400011ac
mov rax, qword [rbp - 0x10]
cmp rax, qword [rbp - 0x18]
jne 0x14000119e
mov dword [rbp - 4], 1
jmp 0x1400011e3
mov ecx, 0x3e8
mov rax, qword [sym.imp.KERNEL32.dll_Sleep]
call rax
mov rax, qword [0x140121490]
mov qword [rbp - 0x30], rax
mov rax, qword [rbp - 0x18]
mov qword [rbp - 0x38], rax
mov qword [rbp - 0x40], 0
mov rcx, qword [rbp - 0x38]
mov rax, qword [rbp - 0x40]
mov rdx, qword [rbp - 0x30]
lock cmpxchg qword [rdx], rcx
mov qword [rbp - 0x10], rax
cmp qword [rbp - 0x10], 0
jne 0x14000118b
mov rax, qword [0x1401214a0]
mov eax, dword [rax]
cmp eax, 1
jne 0x1400011fd
mov ecx, 0x1f
call fcn.1401030b0
jmp 0x14000123c
mov rax, qword [0x1401214a0]
mov eax, dword [rax]
test eax, eax
jne 0x140001232
mov rax, qword [0x1401214a0]
mov dword [rax], 1
mov rax, qword [0x1401214e0]
mov rdx, rax
mov rax, qword [0x1401214d0]
mov rcx, rax
call sub.api_ms_win_crt_runtime_l1_1_0.dll__initterm
jmp 0x14000123c
mov dword [0x140125024], 1
mov rax, qword [0x1401214a0]
mov eax, dword [rax]
cmp eax, 1
jne 0x140001270
mov rax, qword [0x1401214c0]
mov rdx, rax
mov rax, qword [0x1401214b0]
mov rcx, rax
call sub.api_ms_win_crt_runtime_l1_1_0.dll__initterm
mov rax, qword [0x1401214a0]
mov dword [rax], 2
cmp dword [rbp - 4], 0
jne 0x140001294
mov rax, qword [0x140121490]
mov qword [rbp - 0x48], rax
mov qword [rbp - 0x50], 0
mov rdx, qword [rbp - 0x50]
mov rax, qword [rbp - 0x48]
xchg qword [rax], rdx
mov rax, qword [0x1401213e0]
mov rax, qword [rax]
test rax, rax
je 0x1400012bf
mov rax, qword [0x1401213e0]
mov rax, qword [rax]
mov r8d, 0
mov edx, 2
mov ecx, 0
call rax
call fcn.140102338
mov rax, qword [0x140121520]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
call rax
mov rdx, qword [0x140121480]
mov qword [rdx], rax
lea rax, section..text
mov rcx, rax
call sub.api_ms_win_crt_runtime_l1_1_0.dll__set_invalid_parameter_handler
call fcn.140101b30
mov eax, dword [0x140125004]
lea rdx, [0x140125008]
mov ecx, eax
call fcn.14000147c
call fcn.1401018c7
mov rax, qword [0x140121410]
mov rax, qword [rax]
mov rdx, qword [0x140125010]
mov qword [rax], rdx
mov rcx, qword [0x140125010]
mov rdx, qword [0x140125008]
mov eax, dword [0x140125004]
mov r8, rcx
mov ecx, eax
call fcn.1400016d0
mov dword [0x14012501c], eax
mov eax, dword [0x140125020]
test eax, eax
jne 0x14000135d
mov eax, dword [0x14012501c]
mov ecx, eax
call sub.api_ms_win_crt_runtime_l1_1_0.dll_exit
mov eax, dword [0x140125024]
test eax, eax
jne 0x14000136c
call sub.api_ms_win_crt_runtime_l1_1_0.dll__cexit
mov eax, dword [0x14012501c]
add rsp, 0x70
pop rbp
ret
Function at 0x140101b40
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.140102ea0
call sub.api_ms_win_crt_runtime_l1_1_0.dll_abort
nop

Function at 0x140102812
Capabilities:
Get thread local storage value

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x30
mov eax, dword [0x140125168]
test eax, eax
je 0x1401028aa
lea rax, [0x140125140]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
call rax
mov rax, qword [0x140125170]
mov qword [rbp - 8], rax
jmp 0x14010288e
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 0x140102882
cmp qword [rbp - 0x10], 0
je 0x140102882
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 0x140102848
lea rax, [0x140125140]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
call rax
jmp 0x1401028ab
nop
add rsp, 0x30
pop rbp
ret

Function at 0x1401029b0
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 0x1401029d8
mov eax, 0
jmp 0x140102a26
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 0x140102a01
mov eax, 0
jmp 0x140102a26
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 0x140102a21
mov eax, 0
jmp 0x140102a26
mov eax, 1
add rsp, 0x20
pop rbp
ret
Function at 0x140102a2c
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 0x140102aaa
mov rax, qword [rbp - 8]
mov eax, dword [rax + 0xc]
mov eax, eax
cmp qword [rbp + 0x18], rax
jb 0x140102aa1
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 0x140102aa1
mov rax, qword [rbp - 8]
jmp 0x140102abf
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 0x140102a74
mov eax, 0
add rsp, 0x20
pop rbp
ret
Function at 0x140001980
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
jmp 0x1400e1510
movabs rcx, 0xcbf29ce484222325
mov r9d, 0
sub r8, rdx
je 0x1400e1543
movzx eax, byte [r9 + rdx]
movabs r10, 0x100000001b3
xor rcx, rax
inc r9
imul rcx, r10
cmp r9, r8
jb 0x1400e1525
mov eax, ecx
ret

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

Disassembly:
jmp 0x1400d3ba0
sub r8, rdx
movabs rcx, 0xcbf29ce484222325
sar r8, 1
mov r9d, 0
add r8, r8
je 0x1400d3bd9
movzx eax, byte [r9 + rdx]
movabs r10, 0x100000001b3
xor rcx, rax
inc r9
imul rcx, r10
cmp r9, r8
jb 0x1400d3bbb
mov eax, ecx
ret

Function at 0x140002560
Capabilities:
Get thread local storage value

Disassembly:
jmp 0x1400ea828
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov ebx, ecx
lea r9, [0x1401884f8]
mov ecx, 6
lea r8, [0x1401884f0]
lea rdx, str.FlsGetValue
call fcn.1400ea008
mov rdi, rax
test rax, rax
je 0x1400ea869
mov rcx, rax
call fcn.1400093b0
mov ecx, ebx
call rdi
jmp 0x1400ea871
mov ecx, ebx
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret

Function at 0x140004a60
Capabilities:
Query environment variable

Disassembly:
jmp 0x1401408ec
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
xor esi, esi
mov rbx, rax
test rax, rax
je 0x14014096b
jmp 0x140140927
or rcx, 0xffffffffffffffff
inc rcx
cmp word [rax + rcx*2], si
jne 0x140140916
lea rax, [rax + rcx*2]
add rax, 2
cmp word [rax], si
jne 0x140140912
sub rax, rbx
add rax, 2
sar rax, 1
lea rbp, [rax + rax]
mov rcx, rbp
call fcn.140006310
mov rdi, rax
test rax, rax
je 0x14014095b
mov r8, rbp
mov rdx, rbx
mov rcx, rax
call fcn.14000bea0
mov rsi, rdi
xor ecx, ecx
call fcn.140012570
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov rbx, qword [rsp + 0x30]
mov rax, rsi
mov rsi, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret

Function at 0x140004ac0
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
jmp 0x1400e47dc
sub rsp, 0x18
mov r8, rcx
mov eax, 0x5a4d
cmp word [0x140000000], ax
jne 0x1400e486a
movsxd rax, dword [0x14000003c]
lea rdx, [0x140000000]
lea rcx, [rax + rdx]
cmp dword [rcx], 0x4550
jne 0x1400e486a
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x1400e486a
sub r8, rdx
movzx eax, word [rcx + 0x14]
lea rdx, [rcx + 0x18]
add rdx, rax
movzx eax, word [rcx + 6]
lea rcx, [rax + rax*4]
lea r9, [rdx + rcx*8]
mov qword [rsp], rdx
cmp rdx, r9
je 0x1400e4851
mov ecx, dword [rdx + 0xc]
cmp r8, rcx
jb 0x1400e484b
mov eax, dword [rdx + 8]
add eax, ecx
cmp r8, rax
jb 0x1400e4853
add rdx, 0x28
jmp 0x1400e4830
xor edx, edx
test rdx, rdx
jne 0x1400e485c
xor al, al
jmp 0x1400e4870
cmp dword [rdx + 0x24], 0
jge 0x1400e4866
xor al, al
jmp 0x1400e4870
mov al, 1
jmp 0x1400e4870
xor al, al
jmp 0x1400e4870
add rsp, 0x18
ret
Function at 0x140004d50
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
jmp 0x1400d3b50
sub r8, rdx
movabs rcx, 0xcbf29ce484222325
sar r8, 1
mov r9d, 0
add r8, r8
je 0x1400d3b89
movzx eax, byte [r9 + rdx]
movabs r10, 0x100000001b3
xor rcx, rax
inc r9
imul rcx, r10
cmp r9, r8
jb 0x1400d3b6b
mov eax, ecx
ret

Function at 0x140005120
Capabilities:
Enumerate pe sections

Disassembly:
jmp 0x140150fc0
movsxd r8, dword [rcx + 0x3c]
xor r9d, r9d
add r8, rcx
mov r10, rdx
movzx eax, word [r8 + 0x14]
movzx r11d, word [r8 + 6]
add rax, 0x18
add rax, r8
test r11d, r11d
je 0x140151001
mov edx, dword [rax + 0xc]
cmp r10, rdx
jb 0x140150ff5
mov ecx, dword [rax + 8]
add ecx, edx
cmp r10, rcx
jb 0x140151003
inc r9d
add rax, 0x28
cmp r9d, r11d
jb 0x140150fe3
xor eax, eax
ret

Function at 0x140005590
Capabilities:
Get geographical location

Disassembly:
jmp 0x140134450
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x30
mov ebx, r9d
mov rdi, r8
mov esi, edx
lea r9, [0x14018eb48]
mov rbp, rcx
lea r8, [0x14018eb40]
lea rdx, str.GetLocaleInfoEx
mov ecx, 0xb
call fcn.14013385c
mov rcx, rbp
test rax, rax
je 0x1401344a6
mov r9d, ebx
mov r8, rdi
mov edx, esi
call qword [0x1401df010]
jmp 0x1401344bd
xor edx, edx
call fcn.140009a00
mov ecx, eax
mov r9d, ebx
mov r8, rdi
mov edx, esi
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret

Function at 0x140006170
Capabilities:
Encrypt data using rc4 prga

Disassembly:
jmp 0x1401170b0
sub rsp, 0x58
mov rax, qword [0x1401c70a0]
xor rax, rsp
mov qword [rsp + 0x40], rax
xor r9d, r9d
mov r8, rdx
mov eax, r9d
mov r10, rcx
cmp rax, 0x20
lea r11d, [r9 + 1]
jae 0x14011714a
mov byte [rsp + rax + 0x20], r9b
add rax, r11
cmp rax, 0x20
jl 0x1401170d7
mov al, byte [rdx]
jmp 0x14011710a
movzx edx, al
shr rdx, 3
movzx eax, al
and eax, 7
movzx ecx, byte [rsp + rdx + 0x20]
bts ecx, eax
add r8, r11
mov byte [rsp + rdx + 0x20], cl
mov al, byte [r8]
test al, al
jne 0x1401170eb
or byte [rsp + 0x20], r11b
jmp 0x14011711b
add r9d, r11d
add r10, r11
movzx r8d, byte [r10]
mov edx, r11d
mov ecx, r8d
shr r8, 3
and ecx, 7
shl edx, cl
test byte [rsp + r8 + 0x20], dl
je 0x140117115
movsxd rax, r9d
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.140011080
add rsp, 0x58
ret
call fcn.140005e50
int3
Function at 0x140007b36
Capabilities:
Enumerate pe sections
Parse pe header
Resolve function by parsing pe exports

Disassembly:
mov ecx, 0xc1
call qword [0x1400829fd]
sbb dword [rdi - 0x3fccfff9], esi
jmp 0x140008243
xor eax, eax
jmp 0x140008243
jmp 0x14000d663
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rsi
push rdi
sub rsp, 0xe8
mov qword [rsp + 0x20], 0
mov qword [rsp + 0x88], 0
add byte [rax], al
add byte [rax - 0x39], cl
and al, 0x58
add byte [rax], al
add byte [rax], al
jmp 0x14000bba1
mov rax, qword [rsp + 0x70]
movsxd rax, dword [rax + 0x3c]
add rax, 0x108
add byte [rax], al
mov rdx, rax
mov rcx, qword [rsp + 0x108]
call fcn.14000d356
add byte [rax], al
jmp 0x14000cb28
mov r9d, 4
mov r8d, 0x3000
mov rdx, qword [rsp + 0x40]
mov rax, qword [rsp + 0x38]
mov rcx, qword [rax + 0x30]
mov rax, qword [rsp + 0x30]
call qword [rax]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x28], eax
jmp 0x14000943f
mov rax, qword [rsp + 0x38]
mov eax, dword [rax + 0x38]
and eax, 1
test eax, eax
invalid

Function at 0x140008d10
Capabilities:
Enumerate pe sections

Disassembly:
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rsi

Function at 0x140008d20
Capabilities:
Enumerate pe sections

Disassembly:
mov rax, qword [rsp + 0x28]
mov eax, dword [rax + 0x14]
mov rcx, qword [rsp + 0x28]
add eax, dword [rcx + 0x10]
mov eax, eax
mov edx, eax
mov rcx, qword [rsp + 0x78]
mov eax, 1
jmp 0x14000d8cb
push rdi
sub rsp, 0x58
mov rax, qword [rsp + 0x88]
mov rax, qword [rax + 8]
or byte [rax - 0x77], cl
and al, 0x38
mov rax, qword [rsp + 0x88]
jmp 0x14000aeb1
and dword [rax], eax
invalid
mov rax, qword [rsp + 0x88]
mov rax, qword [rax]
movzx eax, word [rax + 6]
cmp dword [rsp + 0x24], eax
jge 0x140008415
jmp 0x14000b9b2
jmp 0x14000901b
mov rax, qword [rax]
mov rcx, qword [rsp + 0x88]
mov rcx, qword [rcx]
movzx ecx, word [rcx + 0x14]
mov bh, 0x49
adc al, 0x48
lea eax, [rax + rcx + 0x18]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x88]
mov rax, qword [rax + 0x30]
mov qword [rsp + 0x40], rax
mov dword [rsp + 0x24], 0
jmp 0x14000a58e
mov rax, qword [rsp + 0x28]
cmp dword [rax + 0x10], 0
jne 0x140007ec7
jmp 0x14000d2a7

Function at 0x140008eb1
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x198
mov rax, qword [rsp + 0x1a0]
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x50]
mov eax, dword [rsp + 0x50]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rsp + 0x1a0]
Function at 0x14000b613
Capabilities:
Inspect section memory permissions

Disassembly:
mov eax, 1
jmp 0x14000ab5c
mov eax, 1
jmp 0x14000ab5c
mov rax, qword [rsp + 0x98]
mov eax, dword [rax + 0x18]
and eax, 0x2000000
test eax, eax
je 0x14000967e
cmp dl, byte [rdx]
add byte [rax], al
jmp 0x14000cb84
mov rax, qword [rsp + 0x90]
mov rax, qword [rax]
mov rcx, qword [rsp + 0x90]
mov ecx, dword [rcx + 0x40]
cmp dword [rax + 0x38], ecx
jne 0x140009147
jmp 0x14000a022
mov rax, qword [rsp + 0x90]
mov eax, dword [rax + 0x40]
mov qword [rsp + 0x70], rax
xor edx, edx
mov rcx, qword [rsp + 0x98]
mov rax, qword [rcx + 0x10]
mov rcx, qword [rsp + 0x70]
div rcx
mov rax, rdx
test rax, rax
jne 0x14000b231
jmp 0x14000a022
mov rax, qword [rsp + 0x98]
mov eax, dword [rax + 0x18]
and eax, 0x20000000
test eax, eax
mov dword [rsp + 0x64], 0x80
mov dword [rsp + 0x68], 0x20
add byte [rax], al
add bh, al
and al, 0x6c
add byte [rax], al
add byte [rax + 0x63], cl
and al, 0x40
cmp qword [rsp + 0x38], 0
jne 0x14000d0ff
jmp 0x14000d594
mov dword [rsp + 0x2c], 1
jmp 0x14000dba1
mov eax, 1
jmp 0x14000ab5c
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x88
mov rax, qword [rsp + 0x90]
mov rax, qword [rax + 0x30]
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x98]
cmp qword [rax + 0x10], 0
je 0x140007472
jmp 0x14000842c

Function at 0x14000c9d0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
and al, 0x50
mov eax, dword [rax + 0xc]
mov rcx, qword [rsp + 0x50]
add eax, dword [rcx + 0x10]
mov eax, eax
mov qword [rsp + 0x80], rax
mov dword [rsp + 0x80], eax
jmp 0x14000d98a
mov rax, qword [rsp + 0x88]
cmp qword [rsp + 0x80], rax
ja fcn.14000cd80
jmp 0x1400078c8

Function at 0x14000cd49
Capabilities:
Access peb ldr_data
Get process filename

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x68
in al, dx
push 0x48b4865
and eax, 0x60
mov qword [rsp + 0x50], rax

Function at 0x14000cd80
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov rax, qword [rsp + 0x80]
mov qword [rsp + 0x88], rax

Function at 0x14000d4c0
Capabilities:
Enumerate pe sections
Resolve function by parsing pe exports

Disassembly:
add byte [rax], al
mov rax, qword [rsp + 0x38]
movzx eax, word [rax + 4]
cmp eax, 0x8664
je 0x140007e22
jmp 0x140008532
test eax, eax
jne 0x14000d4b1
jmp 0x14000da6f
mov rax, qword [rsp + 0x70]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rsp + 0x100]
add byte [rax], al
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x38]
cmp dword [rax], 0x4550
je 0x14000a4b0
jmp 0x14000df74
xor eax, eax
jmp 0x140008243
mov ecx, 0xc1
call qword [0x1400896db]
xor eax, eax
jmp 0x140008243

Function at 0x14000ebf0
Capabilities:
Set thread local storage value

Disassembly:
jmp 0x1401342bc
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rbx, rdx
lea r9, [0x14018ea90]
mov edi, ecx
lea rdx, str.FlsSetValue
mov ecx, 6
lea r8, [0x14018ea88]
call fcn.14013385c
mov rdx, rbx
mov ecx, edi
test rax, rax
je 0x1401342fc
call qword [0x1401df010]
jmp 0x140134302
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
Function at 0x1400116f0
Capabilities:
Print debug messages

Disassembly:
jmp 0x140141f4c
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov esi, r8d
mov rbp, rdx
mov rbx, rcx
call fcn.14000b3e0
cmp eax, 2
sete dil
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x140141f99
test rbx, rbx
je 0x140141f8d
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
test dil, dil
je 0x140141fd0
mov eax, 4
jmp 0x140141fdf
test dil, dil
je 0x140141fd0
call fcn.140002c90
test al, al
je 0x140141fd0
call fcn.1400110a0
test al, al
jne 0x140141fc6
bts esi, 0x15
xor ecx, ecx
mov rdx, rbx
mov r8, rbp
mov r9d, esi
call 0x14000d770
jmp 0x140141fdf
call fcn.1400067b0
mov rcx, rax
jmp 0x140141fb6
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
neg eax
sbb eax, eax
neg eax
add eax, 3
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x140141f4c
Capabilities:
Print debug messages

Disassembly:
jmp 0x140141f4c
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov esi, r8d
mov rbp, rdx
mov rbx, rcx
call fcn.14000b3e0
cmp eax, 2
sete dil
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x140141f99
test rbx, rbx
je 0x140141f8d
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
test dil, dil
je 0x140141fd0
mov eax, 4
jmp 0x140141fdf
test dil, dil
je 0x140141fd0
call fcn.140002c90
test al, al
je 0x140141fd0
call fcn.1400110a0
test al, al
jne 0x140141fc6
bts esi, 0x15
xor ecx, ecx
mov rdx, rbx
mov r8, rbp
mov r9d, esi
call 0x14000d770
jmp 0x140141fdf
call fcn.1400067b0
mov rcx, rax
jmp 0x140141fb6
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
neg eax
sbb eax, eax
neg eax
add eax, 3
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x140001000
Capabilities:
Create device object

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r14
sub rsp, 0x60
xor edi, edi
mov r14d, r9d
mov rsi, r8
mov rbp, rcx
test rcx, rcx
je 0x1400010a2
mov rbx, qword [rsp + 0x98]
test rbx, rbx
je 0x1400010a2
lea rcx, [rax - 0x28]
call qword [sym.imp.ntoskrnl.exe_RtlInitUnicodeString]
mov r9d, dword [rsp + 0x90]
lea r8, [rsp + 0x40]
mov qword [rsp + 0x30], rbx
mov edx, r14d
mov byte [rsp + 0x28], dil
mov rcx, rbp
and dword [rsp + 0x20], edi
call qword [sym.imp.ntoskrnl.exe_IoCreateDevice]
mov edi, eax
test eax, eax
js 0x1400010a2
lfence
mov rcx, qword [rbx]
btr dword [rcx + 0x30], 7
mov rcx, qword [rbx]
or dword [rcx + 0x30], 4
test rsi, rsi
je 0x1400010a2
mov rdx, rsi
lea rcx, [rsp + 0x50]
call qword [sym.imp.ntoskrnl.exe_RtlInitUnicodeString]
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x50]
call qword [sym.imp.ntoskrnl.exe_IoCreateSymbolicLink]
lea r11, [rsp + 0x60]
mov eax, edi
mov rbx, qword [r11 + 0x10]
mov rbp, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop r14
ret

Function at 0x14000166c
Capabilities:
Register minifilter driver
Start minifilter driver

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
call fcn.140001384
test eax, eax
js 0x1400016af
lfence
lea r8, [0x140004098]
mov rcx, rbx
lea rdx, [0x1400031c0]
call sub.FLTMGR.SYS_FltRegisterFilter
test eax, eax
js 0x1400016af
mov rcx, qword [0x140004098]
call sub.FLTMGR.SYS_FltStartFiltering
test eax, eax
js 0x1400016af
mov al, 1
jmp 0x1400016b1
xor al, al
add rsp, 0x20
pop rbx
ret

Function at 0x1400018fc
Capabilities:
Set registry value

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rbp
push rsi
push rdi
push r14
sub rsp, 0x60
xor r14d, r14d
mov rbx, r9
mov qword [rax + 8], r14
mov ebp, r8d
mov rsi, rdx
mov r9, rcx
test rcx, rcx
je 0x140001a1f
test rdx, rdx
je 0x140001a1f
test rbx, rbx
je 0x140001a1f
mov eax, r8d
sub eax, 1
je 0x14000195b
cmp eax, 3
je 0x140001954
mov eax, 0xc0000001
jmp 0x140001a21
mov edi, 4
jmp 0x1400019a4
mov r8d, 0x104
mov rax, rbx
mov edx, r8d
mov r10d, 1
cmp word [rax], r14w
je 0x14000197c
add rax, 2
sub rdx, r10
jne 0x14000196d
sub r8, rdx
mov rax, rdx
neg rax
sbb rcx, rcx
and rcx, r8
test rdx, rdx
je 0x140001a1f
test rcx, rcx
je 0x140001a1f
add cx, r10w
lea edi, [rcx + rcx]
xorps xmm0, xmm0
mov dword [rsp + 0x30], 0x30
lea r8, [rsp + 0x30]
mov qword [rsp + 0x38], r14
mov edx, 0xf003f
mov dword [rsp + 0x48], 0x40
lea rcx, [rsp + 0x80]
mov qword [rsp + 0x40], r9
movdqu xmmword [rsp + 0x50], xmm0
call qword [sym.imp.ntoskrnl.exe_ZwOpenKey]
test eax, eax
js 0x140001a1f
mov rcx, qword [rsp + 0x80]
test rcx, rcx
je 0x140001a1f
movzx eax, di
mov r9d, ebp
mov dword [rsp + 0x28], eax
xor r8d, r8d
mov rdx, rsi
mov qword [rsp + 0x20], rbx
call qword [sym.imp.ntoskrnl.exe_ZwSetValueKey]
mov rcx, qword [rsp + 0x80]
mov ebx, eax
call qword [sym.imp.ntoskrnl.exe_ZwClose]
mov eax, ebx
jmp 0x140001a21
xor eax, eax
lea r11, [rsp + 0x60]
mov rbx, qword [r11 + 0x28]
mov rbp, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop rdi
pop rsi
ret