joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140001000
Capabilities:
Allocate or change rwx memory
Attach user process memory
Find process by pid
Print debug messages

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x80
mov rax, qword [0x140004030]
xor rax, rsp
mov qword [rsp + 0x70], rax
mov rdi, rcx
and qword [rsp + 0x38], 0
lea rdx, [rsp + 0x38]
mov rcx, qword [rcx]
call qword [sym.imp.ntoskrnl.exe_PsLookupProcessByProcessId]
mov rcx, qword [rsp + 0x38]
test rcx, rcx
jne 0x140001050
lea rcx, [0x140002840]
call sub.ntoskrnl.exe_DbgPrint
xor al, al
jmp 0x1400010e4
xorps xmm0, xmm0
movups xmmword [rsp + 0x40], xmm0
movups xmmword [rsp + 0x50], xmm0
movups xmmword [rsp + 0x60], xmm0
lea rdx, [rsp + 0x40]
call qword [sym.imp.ntoskrnl.exe_KeStackAttachProcess]
and qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0x40
mov dword [rsp + 0x20], 0x1000
lea r9, [rdi + 0x10]
xor r8d, r8d
lea rdx, [rsp + 0x30]
or rcx, 0xffffffffffffffff
call qword [sym.imp.ntoskrnl.exe_ZwAllocateVirtualMemory]
mov r8, qword [rdi + 0x10]
xor edx, edx
mov rcx, qword [rsp + 0x30]
call fcn.140002480
mov rdx, qword [rsp + 0x30]
mov qword [rdi], rdx
lea rcx, [0x140002860]
call sub.ntoskrnl.exe_DbgPrint
jmp 0x1400010cc
lea rcx, [rsp + 0x40]
call qword [sym.imp.ntoskrnl.exe_KeUnstackDetachProcess]
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ntoskrnl.exe_ObfDereferenceObject]
mov al, 1
mov rcx, qword [rsp + 0x70]
xor rcx, rsp
call fcn.140002010
mov rbx, qword [rsp + 0x98]
add rsp, 0x80
pop rdi
ret

Function at 0x140001104
Capabilities:
Create device object
Print debug messages

Disassembly:
push rbx
sub rsp, 0x60
and qword [rsp + 0x78], 0
lea rdx, [0x1400025d0]
mov rbx, rcx
lea rcx, [rsp + 0x40]
call qword [sym.imp.ntoskrnl.exe_RtlInitUnicodeString]
mov r9d, 0x22
lea rax, [rsp + 0x78]
mov qword [rsp + 0x30], rax
lea r8, [rsp + 0x40]
mov byte [rsp + 0x28], 0
mov rcx, rbx
mov dword [rsp + 0x20], 0x100
lea edx, [r9 - 0x1a]
call qword [sym.imp.ntoskrnl.exe_IoCreateDevice]
mov ebx, eax
test eax, eax
jne 0x140001199
lea rdx, [0x140002590]
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]
mov ebx, eax
test eax, eax
je 0x140001199
lea rcx, [0x1400025f0]
call sub.ntoskrnl.exe_DbgPrint
mov rcx, qword [rsp + 0x78]
call qword [sym.imp.ntoskrnl.exe_IoDeleteDevice]
lea rcx, [0x140002610]
call sub.ntoskrnl.exe_DbgPrint
mov eax, ebx
add rsp, 0x60
pop rbx
ret

Function at 0x140001230
Capabilities:
Print debug messages

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
lea rcx, [0x140002570]
call sub.ntoskrnl.exe_DbgPrint
lea rax, [0x140001440]
mov rcx, rbx
mov qword [rbx + 0x68], rax
call fcn.140001104
lea rax, [0x140001210]
mov cl, 1
mov qword [rbx + 0x70], rax
lea rax, [0x140001210]
mov qword [rbx + 0x80], rax
lea rax, [0x1400012a0]
mov qword [rbx + 0xe0], rax
mov rax, qword [rbx + 0x28]
or dword [rax + 0x68], 0x20
call fcn.1400019ec
xor eax, eax
add rsp, 0x20
pop rbx
ret
Function at 0x140001510
Capabilities:
Print debug messages

Disassembly:
mov qword [rsp + 8], rbx
push rbp
mov rbp, rsp
sub rsp, 0x50
mov rbx, rcx
xorps xmm0, xmm0
mov rcx, qword [rcx + 8]
xorps xmm1, xmm1
movups xmmword [rbp - 0x20], xmm0
mov qword [rbp - 0x18], rcx
or rax, 0xffffffffffffffff
movups xmmword [rbp - 0x30], xmm1
inc rax
cmp byte [rcx + rax], 0
jne 0x14000153a
mov r8b, 1
mov word [rbp - 0x1e], ax
lea rdx, [rbp - 0x20]
mov word [rbp - 0x20], ax
lea rcx, [rbp - 0x30]
call qword [sym.imp.ntoskrnl.exe_RtlAnsiStringToUnicodeString]
lea rdx, [rbp - 0x30]
lea rcx, [0x1400027f0]
call sub.ntoskrnl.exe_DbgPrint
movaps xmm0, xmmword [rbp - 0x30]
lea rdx, [rbp - 0x10]
mov ecx, dword [rbx]
movdqa xmmword [rbp - 0x10], xmm0
call fcn.140001734
test rax, rax
jne 0x1400015a5
lea rcx, [0x140002810]
call sub.ntoskrnl.exe_DbgPrint
movaps xmm0, xmmword [rbp - 0x30]
lea rdx, [rbp - 0x10]
mov ecx, dword [rbx]
movdqa xmmword [rbp - 0x10], xmm0
call fcn.1400015fc
lea rcx, [rbp - 0x30]
mov qword [rbx], rax
call qword [sym.imp.ntoskrnl.exe_RtlFreeUnicodeString]
mov rbx, qword [rsp + 0x60]
mov al, 1
add rsp, 0x50
pop rbp
ret

Function at 0x1400015c0
Capabilities:
Find process by pid

Disassembly:
sub rsp, 0x28
and qword [rsp + 0x38], 0
lea rdx, [rsp + 0x38]
mov ecx, ecx
call qword [sym.imp.ntoskrnl.exe_PsLookupProcessByProcessId]
test eax, eax
jns 0x1400015df
xor eax, eax
jmp 0x1400015f4
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ntoskrnl.exe_ObfDereferenceObject]
mov rcx, qword [rsp + 0x38]
call sub.ntoskrnl.exe_PsGetProcessImageFileName
add rsp, 0x28
ret
Function at 0x1400015fc
Capabilities:
Attach user process memory
Find process by pid

Disassembly:
mov r11, rsp
mov qword [r11 + 0x18], rbx
mov qword [r11 + 0x20], rsi
push rdi
sub rsp, 0x90
mov rax, qword [0x140004030]
xor rax, rsp
mov qword [rsp + 0x80], rax
movups xmm0, xmmword [rdx]
movdqu xmmword [rsp + 0x40], xmm0
xor ebx, ebx
mov qword [r11 - 0x70], rbx
xorps xmm0, xmm0
movups xmmword [rsp + 0x50], xmm0
movups xmmword [rsp + 0x60], xmm0
movups xmmword [rsp + 0x70], xmm0
mov qword [r11 - 0x78], rbx
lea rdx, [r11 - 0x78]
call qword [sym.imp.ntoskrnl.exe_PsLookupProcessByProcessId]
test eax, eax
jns 0x14000166a
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.ntoskrnl.exe_MmIsAddressValid]
test al, al
jne 0x14000166a
xor eax, eax
jmp 0x14000170e
lea rdx, [rsp + 0x50]
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.ntoskrnl.exe_KeStackAttachProcess]
nop
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.ntoskrnl.exe_PsGetProcessWow64Process]
mov ecx, dword [rax + 0xc]
mov esi, dword [rcx + 0x14]
mov edi, esi
xorps xmm0, xmm0
movups xmmword [rsp + 0x30], xmm0
mov edx, dword [rdi + 0x28]
lea rcx, [rsp + 0x30]
call qword [sym.imp.ntoskrnl.exe_RtlInitUnicodeString]
mov r8b, 1
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x40]
call qword [sym.imp.ntoskrnl.exe_RtlEqualUnicodeString]
test al, al
je 0x1400016c5
mov ebx, dword [rdi + 0x10]
mov qword [rsp + 0x28], rbx
jmp 0x1400016cc
mov edi, dword [rdi]
cmp rdi, rsi
jne 0x14000168e
lea rcx, [rsp + 0x50]
call qword [sym.imp.ntoskrnl.exe_KeUnstackDetachProcess]
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.ntoskrnl.exe_ObfDereferenceObject]
mov rax, rbx
jmp 0x14000170e
mov rcx, qword [rsp + 0x80]
xor rcx, rsp
call fcn.140002010
lea r11, [rsp + 0x90]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret
Function at 0x140001734
Capabilities:
Attach user process memory
Find process by pid

Disassembly:
mov r11, rsp
mov qword [r11 + 0x18], rbx
mov qword [r11 + 0x20], rsi
push rdi
sub rsp, 0x90
mov rax, qword [0x140004030]
xor rax, rsp
mov qword [rsp + 0x80], rax
movups xmm0, xmmword [rdx]
movdqu xmmword [rsp + 0x40], xmm0
xor ebx, ebx
mov qword [r11 - 0x70], rbx
xorps xmm0, xmm0
movups xmmword [rsp + 0x50], xmm0
movups xmmword [rsp + 0x60], xmm0
movups xmmword [rsp + 0x70], xmm0
mov qword [r11 - 0x78], rbx
lea rdx, [r11 - 0x78]
call qword [sym.imp.ntoskrnl.exe_PsLookupProcessByProcessId]
test eax, eax
jns 0x1400017a2
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.ntoskrnl.exe_MmIsAddressValid]
test al, al
jne 0x1400017a2
xor eax, eax
jmp 0x14000184b
lea rdx, [rsp + 0x50]
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.ntoskrnl.exe_KeStackAttachProcess]
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.ntoskrnl.exe_PsGetProcessPeb]
mov rcx, qword [rax + 0x18]
mov rsi, qword [rcx + 0x20]
mov rdi, rsi
xorps xmm0, xmm0
movups xmmword [rsp + 0x30], xmm0
mov rdx, qword [rdi + 0x50]
lea rcx, [rsp + 0x30]
call qword [sym.imp.ntoskrnl.exe_RtlInitUnicodeString]
mov r8b, 1
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x40]
call qword [sym.imp.ntoskrnl.exe_RtlEqualUnicodeString]
test al, al
je 0x140001801
mov rbx, qword [rdi + 0x20]
mov qword [rsp + 0x28], rbx
jmp 0x140001809
mov rdi, qword [rdi]
cmp rdi, rsi
jne 0x1400017c8
lea rcx, [rsp + 0x50]
call qword [sym.imp.ntoskrnl.exe_KeUnstackDetachProcess]
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.ntoskrnl.exe_ObfDereferenceObject]
mov rax, rbx
jmp 0x14000184b
mov rcx, qword [rsp + 0x80]
xor rcx, rsp
call fcn.140002010
lea r11, [rsp + 0x90]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret

Function at 0x140001958
Capabilities:
Print debug messages

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rdi, rcx
xor ebx, ebx
mov rax, qword [rdi]
lea rcx, [0x140004060]
cmp qword [rbx + rcx], rax
jne 0x14000198b
and qword [rbx + rcx], 0
lea rcx, [0x1400028c0]
mov rdx, qword [rdi]
call sub.ntoskrnl.exe_DbgPrint
add rbx, 8
cmp rbx, 0x500
jb 0x140001967
mov rbx, qword [rsp + 0x30]
mov al, 1
add rsp, 0x20
pop rdi
ret

Function at 0x1400019a8
Capabilities:
Print debug messages

Disassembly:
sub rsp, 0x28
mov rdx, rcx
lea r8, [0x140004060]
xor eax, eax
cmp qword [r8 + rax*8], 0
je 0x1400019ce
inc rax
cmp rax, 0xa0
jb 0x1400019b8
xor al, al
jmp 0x1400019e6
mov rcx, qword [rcx]
mov qword [r8 + rax*8], rcx
lea rcx, [0x1400028a0]
mov rdx, qword [rdx]
call sub.ntoskrnl.exe_DbgPrint
mov al, 1
add rsp, 0x28
ret
Function at 0x1400019ec
Capabilities:
Print debug messages

Disassembly:
mov qword [rsp + 8], rbx
push rbp
mov rbp, rsp
sub rsp, 0x70
xor ebx, ebx
test cl, cl
je 0x140001a8c
xorps xmm0, xmm0
mov dword [rbp - 0x1c], ebx
movdqu xmmword [rbp - 0x2c], xmm0
mov qword [rbp - 0x10], rbx
call qword [sym.imp.ntoskrnl.exe_ObGetFilterVersion]
lea rdx, [0x140002900]
mov qword [rbp - 0x18], rbx
mov word [rbp - 0x30], ax
lea rcx, [rbp - 0x28]
lea eax, [rbx + 1]
mov word [rbp - 0x2e], ax
call qword [sym.imp.ntoskrnl.exe_RtlInitUnicodeString]
mov rax, qword [sym.imp.ntoskrnl.exe_PsProcessType]
lea rdx, [0x140004100]
mov qword [rbp - 0x50], rax
lea rcx, [rbp - 0x30]
lea rax, [0x140001f40]
mov qword [rbp - 0x48], 3
mov qword [rbp - 0x40], rax
lea rax, [rbp - 0x50]
mov qword [rbp - 0x10], rax
mov qword [rbp - 0x38], rbx
call qword [sym.imp.ntoskrnl.exe_ObRegisterCallbacks]
mov rdx, qword [0x140004100]
lea rcx, [0x140002910]
mov ebx, eax
call sub.ntoskrnl.exe_DbgPrint
mov eax, ebx
jmp 0x140001ab0
cmp qword [0x140004100], rbx
jbe 0x140001aae
lea rcx, [0x140002930]
call sub.ntoskrnl.exe_DbgPrint
mov rcx, qword [0x140004100]
call qword [sym.imp.ntoskrnl.exe_ObUnRegisterCallbacks]
xor eax, eax
mov rbx, qword [rsp + 0x80]
add rsp, 0x70
pop rbp
ret

Function at 0x140001ac0
Capabilities:
Attach user process memory
Find process by pid

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x70
mov rax, qword [0x140004030]
xor rax, rsp
mov qword [rsp + 0x68], rax
mov rdi, rcx
mov qword [rsp + 0x30], rcx
mov bl, 1
mov byte [rsp + 0x20], bl
and qword [rsp + 0x28], 0
lea rdx, [rsp + 0x28]
mov rcx, qword [rcx]
call qword [sym.imp.ntoskrnl.exe_PsLookupProcessByProcessId]
test eax, eax
js 0x140001bda
xorps xmm0, xmm0
movups xmmword [rsp + 0x38], xmm0
movups xmmword [rsp + 0x48], xmm0
movups xmmword [rsp + 0x58], xmm0
lea rdx, [rsp + 0x38]
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.ntoskrnl.exe_KeStackAttachProcess]
mov rcx, qword [rdi + 8]
call qword [sym.imp.ntoskrnl.exe_MmIsAddressValid]
test al, al
je 0x140001bc4
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.ntoskrnl.exe_PsGetProcessExitStatus]
cmp eax, 0x103
jne 0x140001bc4
mov r8, qword [rdi + 0x10]
mov rdx, qword [rdi + 8]
mov rcx, rdi
call fcn.1400021c0
jmp 0x140001bc4
lea rcx, [rsp + 0x38]
call qword [sym.imp.ntoskrnl.exe_KeUnstackDetachProcess]
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.ntoskrnl.exe_ObfDereferenceObject]
mov al, bl
mov rcx, qword [rsp + 0x68]
xor rcx, rsp
call fcn.140002010
mov rbx, qword [rsp + 0x88]
add rsp, 0x70
pop rdi
ret
Function at 0x140001d34
Capabilities:
Attach user process memory
Find process by pid
Print debug messages

Disassembly:
mov r11, rsp
mov qword [r11 + 0x10], rbx
mov qword [r11 + 0x18], rsi
mov qword [r11 + 0x20], rdi
push r14
sub rsp, 0x80
mov rax, qword [0x140004030]
xor rax, rsp
mov qword [rsp + 0x78], rax
mov rdi, rcx
and qword [r11 - 0x58], 0
lea rdx, [r11 - 0x58]
mov rcx, qword [rcx]
call qword [sym.imp.ntoskrnl.exe_PsLookupProcessByProcessId]
test eax, eax
js 0x140001f11
xorps xmm0, xmm0
movups xmmword [rsp + 0x48], xmm0
movups xmmword [rsp + 0x58], xmm0
movups xmmword [rsp + 0x68], xmm0
lea rdx, [rsp + 0x48]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ntoskrnl.exe_KeStackAttachProcess]
mov rcx, qword [rdi + 8]
call qword [sym.imp.ntoskrnl.exe_MmIsAddressValid]
test al, al
je 0x140001efb
lea rcx, [0x140002770]
call sub.ntoskrnl.exe_DbgPrint
mov r8d, 0x537973
mov rdx, qword [rdi + 0x10]
xor ecx, ecx
call qword [sym.imp.ntoskrnl.exe_ExAllocatePoolWithTag]
mov rsi, rax
mov qword [rsp + 0x38], rax
test rax, rax
jne 0x140001df4
lea rcx, [rsp + 0x48]
call qword [sym.imp.ntoskrnl.exe_KeUnstackDetachProcess]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ntoskrnl.exe_ObfDereferenceObject]
xor al, al
jmp 0x140001f13
lea rdx, [rdi + 0x28]
mov r8, qword [rdi + 0x10]
mov rcx, rsi
call fcn.1400021c0
nop
xor r14d, r14d
and qword [rsp + 0x20], r14
xor r9d, r9d
xor r8d, r8d
mov edx, dword [rdi + 0x10]
mov rcx, qword [rdi + 8]
call qword [sym.imp.ntoskrnl.exe_IoAllocateMdl]
mov rbx, rax
test rax, rax
je 0x140001e92
mov rcx, rax
call qword [sym.imp.ntoskrnl.exe_MmBuildMdlForNonPagedPool]
xor r8d, r8d
xor edx, edx
mov rcx, rbx
call qword [sym.imp.ntoskrnl.exe_MmProbeAndLockPages]
mov dword [rsp + 0x28], 0x20
and dword [rsp + 0x20], r14d
xor r9d, r9d
xor edx, edx
lea r8d, [r14 + 1]
mov rcx, rbx
call qword [sym.imp.ntoskrnl.exe_MmMapLockedPagesSpecifyCache]
mov r14, rax
mov qword [rsp + 0x40], rax
test rax, rax
je 0x140001e92
lea rcx, [0x140002790]
call sub.ntoskrnl.exe_DbgPrint
mov r8, qword [rdi + 0x10]
mov rdx, rsi
mov rcx, r14
call fcn.1400021c0
lea rcx, [0x1400027b0]
call sub.ntoskrnl.exe_DbgPrint
test r14, r14
je 0x140001ea3
mov rdx, rbx
mov rcx, r14
call qword [sym.imp.ntoskrnl.exe_MmUnmapLockedPages]
test rbx, rbx
je 0x140001ec1
cmp word [rbx + 0xa], 2
je 0x140001eb8
mov rcx, rbx
call qword [sym.imp.ntoskrnl.exe_MmUnlockPages]
mov rcx, rbx
call qword [sym.imp.ntoskrnl.exe_IoFreeMdl]
jmp 0x140001ed4
xor edx, edx
mov rcx, rsi
call qword [sym.imp.ntoskrnl.exe_ExFreePoolWithTag]
jmp 0x140001efb
lea rcx, [rsp + 0x48]
call qword [sym.imp.ntoskrnl.exe_KeUnstackDetachProcess]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ntoskrnl.exe_ObfDereferenceObject]
mov al, 1
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.140002010
lea r11, [rsp + 0x80]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop r14
ret
Function at 0x140001008
Capabilities:
Accept command line arguments
Query environment variable

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x70
mov dl, 1
mov cl, dl
call sub.jli.dll_JLI_InitArgProcessing
lea rcx, str._JAVA_LAUNCHER_DEBUG
call qword [sym.imp.api_ms_win_crt_environment_l1_1_0.dll_getenv]
test rax, rax
je 0x140001072
lea rcx, str.Windows_original_main_args:_n
call fcn.14000114c
xor ebx, ebx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll___p___argc]
cmp dword [rax], ebx
jle 0x140001072
xor edi, edi
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll___p___argv]
mov edx, ebx
lea rcx, str.wwwd_args__d____s_n
mov r8, qword [rax]
mov r8, qword [r8 + rdi]
call fcn.14000114c
inc ebx
lea rdi, [rdi + 8]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll___p___argc]
cmp ebx, dword [rax]
jl 0x140001047
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
test edi, edi
jle 0x1400010be
xor edx, edx
mov r9d, edi
mov rcx, qword [rax]
lea rax, [rax + 0x10]
mov qword [rbx + rdx*8], rcx
inc rdx
cmp rdx, rdi
jl 0x1400010ab
mov rcx, qword [str.openjdk]
movsxd rax, r9d
and qword [rbx + rax*8], 0
test rcx, rcx
jne 0x1400010d5
mov rcx, qword [rbx]
mov rax, qword [section..data]
test rax, rax
jne 0x1400010e4
mov rax, qword [rbx]
and dword [rsp + 0x68], 0
lea r9, str._J__add_modules
mov byte [rsp + 0x60], 0
mov r8d, 5
mov byte [rsp + 0x58], 1
mov rdx, rbx
mov byte [rsp + 0x50], 1
mov qword [rsp + 0x48], rcx
mov ecx, edi
mov qword [rsp + 0x40], rax
lea rax, [0x140002324]
mov qword [rsp + 0x38], rax
lea rax, [0x140002328]
mov qword [rsp + 0x30], rax
and qword [rsp + 0x28], 0
and dword [rsp + 0x20], 0
call sub.jli.dll_JLI_Launch
mov rbx, qword [rsp + 0x80]
add rsp, 0x70
pop rdi
ret
Function at 0x140001ab0
Capabilities:
Get common file path

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, 0x20
xor ebp, ebp
mov rdi, rcx
mov ebx, ebp
test rcx, rcx
je 0x140001b73
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
or r14, 0xffffffffffffffff
mov esi, eax
mov rdx, r14
inc rdx
cmp word [rdi + rdx*2], bp
jne 0x140001aec
lea ecx, [rax + 1]
add rdx, rcx
mov ecx, 0x40
add rdx, rdx
call qword [sym.imp.KERNEL32.dll_LocalAlloc]
mov rbx, rax
test rax, rax
je 0x140001b76
mov edx, esi
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
mov r8d, eax
mov eax, 0x5c
lea ecx, [r8 - 1]
cmp word [rbx + rcx*2], ax
je 0x140001b36
mov word [rbx + r8*2], ax
inc r8d
mov r9d, ebp
mov rax, r14
inc rax
cmp word [rdi + rax*2], bp
jne 0x140001b3c
test rax, rax
je 0x140001b73
lfence
mov rdx, rbp
movzx eax, word [rdi + rdx*2]
lea ecx, [r9 + r8]
inc r9d
mov word [rbx + rcx*2], ax
mov edx, r9d
mov rax, r14
inc rax
cmp word [rdi + rax*2], bp
jne 0x140001b65
cmp rdx, rax
jb 0x140001b50
mov rax, rbx
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret
Function at 0x140004784
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r14
push r15
sub rsp, 0x30
mov rsi, rcx
xor r15d, r15d
xor ecx, ecx
mov ebx, r15d
call qword [sym.imp.KERNEL32.dll_SetLastError]
test rsi, rsi
je 0x14000494c
mov rcx, rsi
call fcn.140001b94
test eax, eax
jne 0x14000494c
mov rcx, rsi
call fcn.1400040a4
mov rdi, rax
test rax, rax
je 0x140004890
call fcn.140004eb8
mov rbp, rax
test rax, rax
je 0x140004888
mov rcx, rdi
call fcn.140001b94
test eax, eax
je 0x140004871
lea rax, str.system32_
mov qword [rsp + 0x20], rax
lea rsi, [rsp + 0x20]
lea rax, str.SystemRoot_system32_
mov qword [rsp + 0x28], rax
mov rdx, qword [rsi]
or r14, 0xffffffffffffffff
inc r14
cmp word [rdx + r14*2], r15w
jne 0x14000481b
mov r8, r14
mov rcx, rdi
call fcn.1400346d0
test eax, eax
je 0x140004844
add rsi, 8
lea rax, [rsp + 0x30]
cmp rsi, rax
jb 0x140004814
jmp 0x140004853
lea rdx, [rdi + r14*2]
mov rcx, rbp
call fcn.140005048
mov rbx, rax
lea rax, [rsp + 0x30]
cmp rsi, rax
jne 0x14000487f
mov rcx, rdi
call fcn.140001bd8
test eax, eax
je 0x14000487f
mov rbx, rdi
mov rdi, r15
jmp 0x14000487f
mov rdx, rdi
mov rcx, rbp
call fcn.140005048
mov rbx, rax
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov rcx, rdi
jmp 0x140004925
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7e
jne 0x140004934
mov rcx, rsi
call fcn.1400059c4
mov rsi, rax
test rax, rax
je 0x140004934
mov ecx, 0x37e4
call fcn.1400055a4
test eax, eax
je 0x1400048c8
call fcn.140004b38
jmp 0x1400048cd
call fcn.140004eb8
mov rdi, rax
test rax, rax
je 0x140004922
mov rdx, rsi
mov rcx, rax
call fcn.140005048
mov rbx, rax
test rax, rax
je 0x140004919
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x1400048fa
test al, 0x50
je 0x140004919
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
jne 0x14000490d
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov rbx, r15
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_LocalFree]
test rbx, rbx
je 0x140004934
xor ecx, ecx
jmp 0x140004941
call qword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x140004947
lea ecx, [rax + 0x7e]
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov rax, rbx
jmp 0x140004959
mov ecx, 0xa0
call qword [sym.imp.KERNEL32.dll_SetLastError]
xor eax, eax
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
add rsp, 0x30
pop r15
pop r14
pop rdi
ret
Function at 0x140004eb8
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetLastError]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
mov edx, eax
mov ecx, 0x40
add rdx, rdx
mov edi, eax
call qword [sym.imp.KERNEL32.dll_LocalAlloc]
mov rbx, rax
test rax, rax
je 0x140004f0c
mov edx, edi
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
test eax, eax
je 0x140004f01
cmp edi, eax
jae 0x140004f0c
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LocalFree]
xor ebx, ebx
mov rax, rbx
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
Function at 0x140009060
Capabilities:
Get common file path

Disassembly:
mov rax, rsp
push rbp
lea rbp, [rax - 0x1d8]
sub rsp, 0x2d0
mov qword [rsp + 0x48], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov qword [rax + 0x20], r14
mov rax, qword [0x1400b1040]
xor rax, rsp
mov qword [rbp + 0x1c0], rax
call fcn.140004b38
mov rbx, rax
or rdi, 0xffffffffffffffff
lea r14, str.nvcoproc.bin
xor esi, esi
test rax, rax
je 0x140009171
lea rax, [sub.KERNEL32.dll_LocalFree]
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x38], rbx
mov r8, rdi
inc r8
cmp word [rbx + r8*2], si
jne 0x1400090ce
mov qword [rsp + 0x60], rsi
mov qword [rsp + 0x68], 7
mov word [rsp + 0x50], si
mov rdx, rbx
lea rcx, [rsp + 0x50]
call fcn.14000dc38
nop
mov qword [rsp + 0x20], r14
mov qword [rsp + 0x28], ntohl
call fcn.14002dfd8
lea r8, [rsp + 0x20]
mov edx, eax
lea rcx, [rsp + 0x70]
call fcn.1400079f0
nop
lea rdx, [rsp + 0x70]
lea rcx, [rsp + 0x50]
call fcn.140007c48
nop
lea rcx, [rsp + 0x70]
call fcn.14000db60
lea rcx, [rsp + 0x50]
call fcn.14000857c
nop
lea rcx, [rsp + 0x50]
test al, al
je 0x140009162
call fcn.14000db60
nop
mov rcx, rbx
call sub.KERNEL32.dll_LocalFree
nop
mov al, 1
jmp 0x14000922f
call fcn.14000db60
nop
mov rcx, rbx
call sub.KERNEL32.dll_LocalFree
nop
xor edx, edx
mov r8d, 0x208
lea rcx, [rbp - 0x50]
call fcn.140031860
mov edx, 0x104
lea rcx, [rbp - 0x50]
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
test eax, eax
je 0x14000925b
mov qword [rsp + 0x20], r14
mov qword [rsp + 0x28], ntohl
call fcn.14002dfd8
lea r8, [rsp + 0x20]
mov edx, eax
lea rcx, [rsp + 0x70]
call fcn.1400079f0
nop
lea rax, [rbp - 0x50]
inc rdi
cmp word [rax + rdi*2], si
jne 0x1400091c2
mov qword [rsp + 0x60], rsi
mov qword [rsp + 0x68], 7
mov word [rsp + 0x50], si
mov r8, rdi
lea rdx, [rbp - 0x50]
lea rcx, [rsp + 0x50]
call fcn.14000dc38
nop
lea r8, [rsp + 0x70]
lea rdx, [rsp + 0x50]
lea rcx, [rbp - 0x70]
call fcn.140007fd0
nop
lea rcx, [rsp + 0x50]
call fcn.14000db60
nop
lea rcx, [rsp + 0x70]
call fcn.14000db60
lea rcx, [rbp - 0x70]
call fcn.14000857c
mov bl, al
lea rcx, [rbp - 0x70]
call fcn.14000db60
mov al, bl
mov rcx, qword [rbp + 0x1c0]
xor rcx, rsp
call fcn.14002ca00
lea r11, [rsp + 0x2d0]
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 qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, [rsp + 0x70]
call fcn.140006484
nop
mov r8, rax
lea rdx, str.GetSystemDirectoryW_failed_with
lea rcx, [rsp + 0x50]
call fcn.14000eca8
nop
mov rdx, rax
lea rcx, [rsp + 0x30]
call fcn.140006518
lea rdx, [0x1400aee28]
lea rcx, [rsp + 0x30]
call fcn.140031e08
int3