joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140015d50
Capabilities:
Query environment variable

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
mov eax, 0x10090
call fcn.1400400d0
sub rsp, rax
mov rax, qword [0x140058040]
xor rax, rsp
mov qword [rsp + 0x10080], rax
movzx edx, byte [rcx]
lea rbx, [rsp + 0x30]
xor eax, eax
mov rsi, rcx
mov word [rsp + 0x80], ax
mov word [rsp + 0x30], ax
lea edi, [rax + 0x28]
test dl, dl
je 0x140015e12
nop dword [rax + rax]
cmp word [rbx], 0
mov rcx, rdi
mov rax, rbx
je 0x140015dbd
nop dword [rax]
add rax, 2
dec rcx
cmp word [rax], 0
jne 0x140015db0
cmp rcx, 1
jb 0x140015e6a
mov byte [rsp + 0x20], dl
mov rcx, 0xffffffffffffffff
mov byte [rsp + 0x21], 0
nop word [rax + rax]
cmp word [rax + rcx*2 + 2], 0
lea rcx, [rcx + 1]
jne 0x140015de0
lea rcx, [rax + rcx*2]
mov r8d, 2
lea rdx, [rsp + 0x20]
call fcn.1400336a8
movzx edx, byte [rsi + 1]
inc rsi
add rbx, 2
dec rdi
test dl, dl
jne 0x140015da0
mov r8d, 0x10000
lea rdx, [rsp + 0x80]
lea rcx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
dec eax
cmp eax, 0xffff
ja 0x140015e43
lea rcx, [rsp + 0x80]
call fcn.140034e7c
jmp 0x140015e45
xor eax, eax
mov rcx, qword [rsp + 0x10080]
xor rcx, rsp
call fcn.140024620
lea r11, [rsp + 0x10090]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret
call fcn.140028c10
int3

Function at 0x140015e70
Capabilities:
Set environment variable

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x90
mov rax, qword [0x140058040]
xor rax, rsp
mov qword [rsp + 0x80], rax
xor eax, eax
lea rsi, str.NUITKA_PYTHONPATH
mov word [rsp + 0x30], ax
lea rbx, [rsp + 0x30]
mov edi, 0x28
mov dl, 0x4e
nop
cmp word [rbx], 0
mov rcx, rdi
mov rax, rbx
je 0x140015ecd
nop dword [rax]
add rax, 2
dec rcx
cmp word [rax], 0
jne 0x140015ec0
cmp rcx, 1
jb 0x140015f47
mov byte [rsp + 0x20], dl
mov rcx, 0xffffffffffffffff
mov byte [rsp + 0x21], 0
cmp word [rax + rcx*2 + 2], 0
lea rcx, [rcx + 1]
jne 0x140015ee3
lea rcx, [rax + rcx*2]
mov r8d, 2
lea rdx, [rsp + 0x20]
call fcn.1400336a8
movzx edx, byte [rsi + 1]
inc rsi
add rbx, 2
dec rdi
test dl, dl
jne 0x140015eb0
xor edx, edx
lea rcx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
mov rcx, qword [rsp + 0x80]
xor rcx, rsp
call fcn.140024620
lea r11, [rsp + 0x90]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rsp, r11
pop rdi
ret
call fcn.140028c10
int3
Function at 0x140024ff4
Capabilities:
Parse pe header

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

Function at 0x140028f70
Capabilities:
Parse pe header

Disassembly:
mov dword [rsp + 0x18], r8d
mov dword [rsp + 0x10], edx
push rbp
mov rbp, rsp
sub rsp, 0x50
mov qword [rbp - 0x20], 0xfffffffffffffffe
mov qword [rsp + 0x60], rbx
mov ebx, ecx
test r8d, r8d
jne 0x140028ddb
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x140028ddb
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x140028ddb
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x140028ddb
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x140028ddb
cmp dword [rcx + 0x84], 0xe
jbe 0x140028ddb
cmp dword [rcx + 0xf8], 0
je 0x140028ddb
mov ecx, ebx
call fcn.140028e8c
mov byte [rbp + 0x28], 0
lea rax, [rbp + 0x18]
mov qword [rbp - 0x18], rax
lea rax, [rbp + 0x20]
mov qword [rbp - 0x10], rax
lea rax, [rbp + 0x28]
mov qword [rbp - 8], rax
mov eax, 2
mov dword [rbp - 0x2c], eax
mov dword [rbp - 0x28], eax
lea r9, [rbp - 0x2c]
lea r8, [rbp - 0x18]
lea rdx, [rbp - 0x28]
lea rcx, [rbp - 0x30]
call fcn.140028c68
nop
cmp dword [rbp + 0x20], 0
je 0x140028e29
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rbp
ret
mov ecx, ebx
call fcn.140028e34
int3
xor r8d, r8d
xor edx, edx
jmp 0x140028d6c
Function at 0x140039ba4
Capabilities:
Query environment variable

Disassembly:
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 ebp, ebp
mov rbx, rax
test rax, rax
je 0x140039c2b
mov rsi, rbx
cmp word [rax], bp
je 0x140039bea
or rax, 0xffffffffffffffff
inc rax
cmp word [rsi + rax*2], bp
jne 0x140039bd4
lea rsi, [rsi + rax*2]
add rsi, 2
cmp word [rsi], bp
jne 0x140039bd0
sub rsi, rbx
add rsi, 2
sar rsi, 1
add rsi, rsi
mov rcx, rsi
call fcn.14003742c
mov rdi, rax
test rax, rax
je 0x140039c18
mov r8, rsi
mov rdx, rbx
mov rcx, rax
call fcn.140040730
mov rbp, rdi
xor ecx, ecx
call fcn.1400357fc
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov rax, rbp
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x14003d7a0
Capabilities:
Get file size

Disassembly:
push rbx
sub rsp, 0x20
mov edx, dword [rcx + 0x14]
nop
shr edx, 3
test dl, 1
je 0x14003d7b6
mov al, 1
jmp 0x14003d816
mov eax, dword [rcx + 0x14]
nop
test al, 0xc0
je 0x14003d7c7
mov rax, qword [rcx + 8]
cmp qword [rcx], rax
je 0x14003d814
mov ecx, dword [rcx + 0x18]
nop
call fcn.14003a348
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x14003d814
mov r9d, 1
lea r8, [rsp + 0x38]
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetFilePointerEx]
test eax, eax
je 0x14003d814
lea rdx, [rsp + 0x30]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
je 0x14003d814
mov rax, qword [rsp + 0x30]
cmp qword [rsp + 0x38], rax
sete al
jmp 0x14003d816
xor al, al
add rsp, 0x20
pop rbx
ret

Function at 0x14003ffe0
Capabilities:
Parse pe header

Disassembly:
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x140040008
movsxd rdx, dword [rcx + 0x3c]
add rdx, rcx
cmp dword [rdx], 0x4550
jne 0x140040008
xor eax, eax
mov ecx, 0x20b
cmp word [rdx + 0x18], cx
sete al
ret
xor eax, eax
ret
Function at 0x140011bbc
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
xor edx, edx
mov rcx, qword gs:[0x60]
mov r8, qword [rbx + 0x28]
mov rcx, qword [rcx + 0x30]
call qword [sym.imp.ntdll.dll_RtlFreeHeap]
nop dword [rax + rax]
mov r8, qword [rbx + 8]
and qword [rbx + 0x28], 0
cmp dword [r8], 2
jne 0x140011c13
mov rcx, qword gs:[0x60]
xor edx, edx
mov rcx, qword [rcx + 0x30]
call qword [sym.imp.ntdll.dll_RtlFreeHeap]
nop dword [rax + rax]
and qword [rbx + 8], 0
mov r8, qword [rbx + 0x18]
cmp dword [r8], 2
jne case.default.0x140011c54
mov rcx, qword gs:[0x60]
xor edx, edx
mov rcx, qword [rcx + 0x30]
call qword [sym.imp.ntdll.dll_RtlFreeHeap]
nop dword [rax + rax]
and qword [rbx + 0x18], 0
mov rcx, qword gs:[0x60]
mov r8, rbx
xor edx, edx
mov rcx, qword [rcx + 0x30]
add rsp, 0x20
pop rbx
jmp qword [sym.imp.ntdll.dll_RtlFreeHeap]
fadd dword [rbp - 0x64]
lodsb al, byte [rsi]
mov ecx, 0x390f7c97
cmp eax, 0x5c3f161a
invalid
sbb ch, byte [rax + 0x3ae6f324]
jb 0x14003f813
cmc
invalid
invalid
lea edi, [rbx]
cmp dword [rsi + 0x2cf2dde], 0x7d60fad7
shl bh, 0xf0
jmp 0x14003f9eb
jnp 0x14003f9fd
stosd dword [rdi], eax
pop rbx
mov cl, 0x4b
mov esi, 0x1ba5e049
invalid
invalid
Function at 0x1400031d4
Capabilities:
Accept command line arguments
Parse pe header

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x160
mov rax, qword [0x140018968]
xor rax, rsp
mov qword [rsp + 0x150], rax
mov dword [rsp + 0x30], 0x114
lea rcx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
jne 0x140003214
mov eax, 0xff
jmp 0x1400033b7
mov r9d, dword [rsp + 0x3c]
and r9d, 0x7fff
mov edx, dword [rsp + 0x34]
mov ecx, edx
shl ecx, 8
mov eax, dword [rsp + 0x38]
add ecx, eax
mov r8d, dword [rsp + 0x40]
mov dword [0x1400196a8], r8d
mov dword [0x1400196b0], ecx
mov dword [0x1400196b4], edx
mov dword [0x1400196b8], eax
mov eax, r9d
bts eax, 0xf
cmp r8d, 2
cmove eax, r9d
mov dword [0x1400196ac], eax
mov eax, 0x5a4d
cmp word [0x140000000], ax
jne 0x1400032aa
movsxd rax, dword [0x14000003c]
lea rcx, [0x140000000]
add rax, rcx
cmp dword [rax], 0x4550
jne 0x1400032aa
mov ecx, 0x20b
cmp word [rax + 0x18], cx
jne 0x1400032aa
xor ebx, ebx
cmp dword [rax + 0x84], 0xe
jbe 0x1400032ac
cmp dword [rax + 0xf8], ebx
setne bl
jmp 0x1400032ac
xor ebx, ebx
mov dword [rsp + 0x20], ebx
mov edi, 1
mov ecx, edi
call fcn.140004da8
test eax, eax
jne 0x1400032e2
cmp dword [0x140019108], 2
je 0x1400032ce
call fcn.140004b90
mov ecx, 0x1c
call fcn.140004bdc
mov ecx, 0xff
call fcn.1400047c0
call fcn.1400046a0
test eax, eax
jne 0x14000330e
cmp dword [0x140019108], 2
je 0x1400032f9
call fcn.140004b90
mov ecx, 0x10
call fcn.140004bdc
mov ecx, 0xff
call fcn.1400047c0
nop
call fcn.140004e1c
test eax, eax
jns 0x140003321
mov ecx, 0x1b
call fcn.1400047dc
call sub.KERNEL32.dll_GetCommandLineW
mov qword [0x14001b258], rax
call fcn.14000561c
mov qword [0x140019100], rax
call fcn.1400050ac
test eax, eax
jns 0x14000334c
mov ecx, 8
call fcn.1400047dc
call fcn.1400053e0
test eax, eax
jns 0x14000335f
mov ecx, 9
call fcn.1400047dc
mov ecx, edi
call fcn.140004840
test eax, eax
je 0x140003371
mov ecx, eax
call fcn.1400047dc
mov r8, qword [0x140019698]
mov qword [0x1400196d0], r8
mov rdx, qword [0x140019688]
mov ecx, dword [0x140019680]
call fcn.14000192c
mov edi, eax
mov dword [rsp + 0x24], eax
test ebx, ebx
je 0x1400033d8
call fcn.14000482c
jmp 0x1400033b5
mov eax, edi
mov rcx, qword [rsp + 0x150]
xor rcx, rsp
call fcn.140003420
mov rbx, qword [rsp + 0x170]
add rsp, 0x160
pop rdi
ret
mov ecx, eax
call fcn.140004b80
nop
mov ecx, eax
call fcn.140004750
nop
int3
sub rsp, 0x28
call fcn.14018a000
add rsp, 0x28
jmp 0x1400031d4
Function at 0x140001ab0
Capabilities:
Query or enumerate registry value

Disassembly:
push rbx
sub rsp, 0x260
mov rax, qword [0x140009040]
xor rax, rsp
mov qword [rsp + 0x250], rax
mov rbx, rcx
xor edx, edx
lea rcx, [rsp + 0x50]
mov r8d, 0x1fe
call sub.VCRUNTIME140.dll_memset
lea rax, [rsp + 0x40]
mov dword [rsp + 0x40], 0xff
mov qword [rsp + 0x30], rax
lea r8, str.ReleaseId
lea rax, [rsp + 0x50]
mov r9d, 2
mov qword [rsp + 0x28], rax
lea rdx, str.SOFTWAREMicrosoftWindows_NTCurrentVersion
mov rcx, 0xffffffff80000002
mov qword [rsp + 0x20], 0
call qword [sym.imp.ADVAPI32.dll_RegGetValueW]
lea rdx, [rsp + 0x50]
lea rcx, str.___Windows_Version__s_Found_n
call fcn.140001020
lea rcx, [rsp + 0x50]
call qword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll__wtoi]
sub eax, 0x775
je 0x140001b5c
sub eax, 0x5f
je 0x140001b5c
lea rcx, str.____Version_Offsets_Not_Found__n
call fcn.140001020
jmp 0x140001b96
movabs rax, 0x8b48cd0349c03345
mov qword [rbx], rax
movabs rax, 0xe8d78b48d90c8d48
mov qword [rbx + 8], rax
movabs rax, 0xe8cd8b48f92c8d48
mov qword [rbx + 0x10], rax
movabs rax, 0x4024448948f88b48
mov qword [rbx + 0x18], rax
mov rax, rbx
mov rcx, qword [rsp + 0x250]
xor rcx, rsp
call fcn.140003140
add rsp, 0x260
pop rbx
ret
Function at 0x140001c40
Capabilities:
Load ntoskrnl

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r13
push r14
push r15
sub rsp, 0x80
lea rcx, [rsp + 0x40]
call fcn.140001ab0
xor r15d, r15d
lea rcx, str..RTCore64
mov qword [rsp + 0x30], r15
xor r9d, r9d
mov dword [rsp + 0x28], r15d
xor r8d, r8d
movups xmm1, xmmword [rax + 0x10]
mov edx, 0xc0000000
mov dword [rsp + 0x20], 3
movups xmmword [rsp + 0x40], xmm1
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov rbx, rax
cmp rax, 0xffffffffffffffff
jne 0x140001cb8
lea rcx, str.____Unable_to_obtain_a_handle_to_the_device_object
call fcn.1400014b0
jmp 0x140001cc7
mov rdx, rax
lea rcx, str.___Device_object_handle_obtained:__p
call fcn.1400014b0
call fcn.140001510
lea rcx, str.ntoskrnl.exe
mov r14, rax
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov rcx, rax
lea rdx, str.CmUnRegisterCallback
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
sub r14, rdi
mov rcx, rdi
add r14, rax
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
mov r8, r14
lea rdx, str.CmUnRegisterCallback
lea rcx, str.____s_address:__p
call fcn.1400014b0
call fcn.140001510
lea rcx, str.ntoskrnl.exe
mov rbp, rax
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov rcx, rax
lea rdx, str.DbgkLkmdUnregisterCallback
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
sub rbp, rdi
mov rcx, rdi
add rbp, rax
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
mov r8, rbp
lea rdx, str.DbgkLkmdUnregisterCallback
lea rcx, str.____s_address:__p
call fcn.1400014b0
movups xmm0, xmmword [rsp + 0x40]
mov r8, rbp
mov rdx, r14
mov rcx, rbx
psrldq xmm0, 8
movq r9, xmm0
call fcn.140001bb0
mov rcx, rbx
mov rdi, rax
lea r8, [rax - 9]
call fcn.140001290
movabs r13, 0xffffffff00000000
and r13, rdi
lea ecx, [rdi + rax]
add rcx, 0xfffffffffffffffb
add r13, rcx
lea rcx, str.___Callbacklisthead:__p
mov rdx, r13
call fcn.1400014b0
lea rdx, [r13 + 0xc]
mov rcx, rbx
call fcn.140001320
mov esi, eax
lea rdx, [r13 + 8]
mov rcx, rbx
shl rsi, 0x20
call fcn.140001320
mov r14d, eax
or r14, rsi
cmp r14, r13
je 0x140001e7e
cmp r15d, 0x40
jge 0x140001e7e
lea rdx, [r14 + 0xc]
mov rcx, rbx
call fcn.140001320
mov esi, eax
lea rdx, [r14 + 8]
mov rcx, rbx
shl rsi, 0x20
call fcn.140001320
mov r14d, eax
mov rcx, rbx
or r14, rsi
lea rdx, [r14 + 4]
call fcn.140001320
mov edi, eax
mov rdx, r14
mov rcx, rbx
shl rdi, 0x20
call fcn.140001320
mov esi, eax
mov rcx, rbx
or rsi, rdi
lea rdx, [rsi + 0x2c]
call fcn.140001320
mov edi, eax
lea rdx, [rsi + 0x28]
mov rcx, rbx
shl rdi, 0x20
call fcn.140001320
mov esi, eax
lea rdx, [r14 + 4]
mov rcx, rbx
or rsi, rdi
call fcn.140001320
mov rdx, r14
mov rcx, rbx
call fcn.140001320
mov rcx, rsi
call fcn.1400018e0
inc r15d
cmp r14, r13
jne 0x140001de0
lea r11, [rsp + 0x80]
mov rbx, qword [r11 + 0x20]
mov rbp, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop r13
ret
Function at 0x140001ea0
Capabilities:
Load ntoskrnl

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r12
push r14
push r15
sub rsp, 0x70
mov r12, rcx
lea rcx, [rsp + 0x50]
call fcn.140001ab0
xor r15d, r15d
lea rcx, str..RTCore64
mov qword [rsp + 0x30], r15
xor r9d, r9d
mov dword [rsp + 0x28], r15d
xor r8d, r8d
movups xmm0, xmmword [rax]
mov edx, 0xc0000000
mov dword [rsp + 0x20], 3
movups xmmword [rsp + 0x40], xmm0
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov r14, rax
cmp rax, 0xffffffffffffffff
jne 0x140001f17
lea rcx, str.____Unable_to_obtain_a_handle_to_the_device_object
call fcn.1400014b0
jmp 0x140001f26
mov rdx, rax
lea rcx, str.___Device_object_handle_obtained:__p
call fcn.1400014b0
call fcn.140001510
lea rcx, str.ntoskrnl.exe
mov rbp, rax
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov rcx, rax
lea rdx, str.PsSetLoadImageNotifyRoutineEx
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
sub rbp, rbx
mov rcx, rbx
add rbp, rax
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
mov r8, rbp
lea rdx, str.PsSetLoadImageNotifyRoutineEx
lea rcx, str.____s_address:__p
call fcn.1400014b0
call fcn.140001510
lea rcx, str.ntoskrnl.exe
mov rsi, rax
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov rcx, rax
lea rdx, str.PsSetCreateProcessNotifyRoutine
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
sub rsi, rbx
mov rcx, rbx
add rsi, rax
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
mov r8, rsi
lea rdx, str.PsSetCreateProcessNotifyRoutine
lea rcx, str.____s_address:__p
call fcn.1400014b0
movups xmm0, xmmword [rsp + 0x40]
mov r8, rsi
mov rdx, rbp
mov rcx, r14
psrldq xmm0, 8
movq r9, xmm0
call fcn.140001bb0
mov rcx, r14
mov rbx, rax
lea r8, [rax - 7]
call fcn.140001290
movabs rbp, 0xffffffff00000000
and rbp, rbx
lea ecx, [rbx + rax]
add rcx, 0xfffffffffffffffd
add rbp, rcx
lea rcx, str.___PspLoadImageNotifyRoutineAddress:__p
mov rdx, rbp
call fcn.1400014b0
lea rcx, str.___Enumerating_image_load_callbacks
call fcn.1400014b0
nop
lea eax, [r15*8]
mov rcx, r14
movsxd rsi, eax
add rsi, rbp
lea rdx, [rsi + 4]
call fcn.140001320
mov edi, eax
mov rdx, rsi
mov rcx, r14
shl rdi, 0x20
call fcn.140001320
mov ebx, eax
or rbx, rdi
je 0x1400020a2
and rbx, 0xfffffffffffffff8
mov rcx, r14
lea rdx, [rbx + 4]
call fcn.140001320
mov edi, eax
mov rdx, rbx
mov rcx, r14
shl rdi, 0x20
call fcn.140001320
mov ebx, eax
or rbx, rdi
mov rcx, rbx
call fcn.1400018e0
cmp rbx, r12
jne 0x1400020a2
mov r8, rsi
lea rcx, str.Removing_callback_to__p_at_address__p
mov rdx, rbx
call fcn.1400014b0
mov rdx, rsi
mov rcx, r14
call fcn.1400013b0
inc r15d
cmp r15d, 0x40
jl 0x140002020
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x20]
mov rbp, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop r12
ret
Function at 0x1400020d0
Capabilities:
Load ntoskrnl

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r12
push r14
push r15
sub rsp, 0x80
mov r12, rcx
lea rcx, [rsp + 0x40]
call fcn.140001ab0
xor r15d, r15d
lea rcx, str..RTCore64
mov qword [rsp + 0x30], r15
xor r9d, r9d
mov dword [rsp + 0x28], r15d
xor r8d, r8d
movups xmm0, xmmword [rax + 0x10]
mov edx, 0xc0000000
mov dword [rsp + 0x20], 3
movups xmmword [rsp + 0x40], xmm0
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov r14, rax
cmp rax, 0xffffffffffffffff
jne 0x14000214b
lea rcx, str.____Unable_to_obtain_a_handle_to_the_device_object
call fcn.1400014b0
jmp 0x14000215a
mov rdx, rax
lea rcx, str.___Device_object_handle_obtained:__p
call fcn.1400014b0
call fcn.140001510
lea rcx, str.ntoskrnl.exe
mov rbp, rax
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov rcx, rax
lea rdx, str.PsRemoveCreateThreadNotifyRoutine
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
sub rbp, rbx
mov rcx, rbx
add rbp, rax
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
mov r8, rbp
lea rdx, str.PsRemoveCreateThreadNotifyRoutine
lea rcx, str.____s_address:__p
call fcn.1400014b0
call fcn.140001510
lea rcx, str.ntoskrnl.exe
mov rsi, rax
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov rcx, rax
lea rdx, str.PsRemoveLoadImageNotifyRoutine
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
sub rsi, rbx
mov rcx, rbx
add rsi, rax
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
mov r8, rsi
lea rdx, str.PsRemoveLoadImageNotifyRoutine
lea rcx, str.____s_address:__p
call fcn.1400014b0
mov r9, qword [rsp + 0x40]
mov r8, rsi
mov rdx, rbp
mov rcx, r14
call fcn.140001bb0
mov rcx, r14
mov rbx, rax
lea r8, [rax - 4]
call fcn.140001290
lea rcx, str.___PspCreateThreadNotifyRoutineAddress:__p
lea ebp, [rbx + rax]
movabs rax, 0xffffffff00000000
and rbx, rax
add rbp, rbx
mov rdx, rbp
call fcn.1400014b0
lea rcx, str.___Enumerating_thread_creation_callbacks
call fcn.1400014b0
nop dword [rax]
nop dword [rax + rax]
lea eax, [r15*8]
mov rcx, r14
movsxd rsi, eax
add rsi, rbp
lea rdx, [rsi + 4]
call fcn.140001320
mov edi, eax
mov rdx, rsi
mov rcx, r14
shl rdi, 0x20
call fcn.140001320
mov ebx, eax
or rbx, rdi
je 0x1400022d2
and rbx, 0xfffffffffffffff8
mov rcx, r14
lea rdx, [rbx + 4]
call fcn.140001320
mov edi, eax
mov rdx, rbx
mov rcx, r14
shl rdi, 0x20
call fcn.140001320
mov ebx, eax
or rbx, rdi
mov rcx, rbx
call fcn.1400018e0
cmp rbx, r12
jne 0x1400022d2
mov r8, rsi
lea rcx, str.Removing_callback_to__p_at_address__p
mov rdx, rbx
call fcn.1400014b0
mov rdx, rsi
mov rcx, r14
call fcn.1400013b0
inc r15d
cmp r15d, 0x40
jl 0x140002250
lea r11, [rsp + 0x80]
mov rbx, qword [r11 + 0x20]
mov rbp, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop r12
ret
Function at 0x140002310
Capabilities:
Load ntoskrnl

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r12
push r14
push r15
sub rsp, 0x70
mov r12, rcx
lea rcx, [rsp + 0x50]
call fcn.140001ab0
xor r15d, r15d
lea rcx, str..RTCore64
mov qword [rsp + 0x30], r15
xor r9d, r9d
mov dword [rsp + 0x28], r15d
xor r8d, r8d
movups xmm0, xmmword [rax]
mov edx, 0xc0000000
mov dword [rsp + 0x20], 3
movups xmmword [rsp + 0x40], xmm0
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov r14, rax
cmp rax, 0xffffffffffffffff
jne 0x140002387
lea rcx, str.____Unable_to_obtain_a_handle_to_the_device_object
call fcn.1400014b0
jmp 0x140002396
mov rdx, rax
lea rcx, str.___Device_object_handle_obtained:__p
call fcn.1400014b0
call fcn.140001510
lea rcx, str.ntoskrnl.exe
mov rbp, rax
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov rcx, rax
lea rdx, str.PsSetCreateProcessNotifyRoutine
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
sub rbp, rbx
mov rcx, rbx
add rbp, rax
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
mov r8, rbp
lea rdx, str.PsSetCreateProcessNotifyRoutine
lea rcx, str.____s_address:__p
call fcn.1400014b0
call fcn.140001510
lea rcx, str.ntoskrnl.exe
mov rsi, rax
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov rcx, rax
lea rdx, str.IoCreateDriver
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
sub rsi, rbx
mov rcx, rbx
add rsi, rax
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
mov r8, rsi
lea rdx, str.IoCreateDriver
lea rcx, str.____s_address:__p
call fcn.1400014b0
mov r9, qword [rsp + 0x40]
mov r8, rsi
mov rdx, rbp
mov rcx, r14
call fcn.140001bb0
mov rcx, r14
mov rbx, rax
lea r8, [rax - 0xc]
call fcn.140001290
movabs rbp, 0xffffffff00000000
and rbp, rbx
lea ecx, [rbx + rax]
add rcx, 0xfffffffffffffff8
add rbp, rcx
lea rcx, str.___PspCreateProcessNotifyRoutine:__p
mov rdx, rbp
call fcn.1400014b0
lea rcx, str.___Enumerating_process_creation_callbacks
call fcn.1400014b0
nop dword [rax]
nop dword [rax + rax]
lea eax, [r15*8]
mov rcx, r14
movsxd rsi, eax
add rsi, rbp
lea rdx, [rsi + 4]
call fcn.140001320
mov edi, eax
mov rdx, rsi
mov rcx, r14
shl rdi, 0x20
call fcn.140001320
mov ebx, eax
or rbx, rdi
je 0x140002512
and rbx, 0xfffffffffffffff8
mov rcx, r14
lea rdx, [rbx + 4]
call fcn.140001320
mov edi, eax
mov rdx, rbx
mov rcx, r14
shl rdi, 0x20
call fcn.140001320
mov ebx, eax
or rbx, rdi
mov rcx, rbx
call fcn.1400018e0
cmp rbx, r12
jne 0x140002512
mov r8, rsi
lea rcx, str.Removing_callback_to__p_at_address__p
mov rdx, rbx
call fcn.1400014b0
mov rdx, rsi
mov rcx, r14
call fcn.1400013b0
inc r15d
cmp r15d, 0x40
jl 0x140002490
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x20]
mov rbp, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop r12
ret