joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140063520
Capabilities:
Compare security identifiers

Disassembly:
mov qword [rsp + 0x20], rbp
push rsi
push r14
push r15
sub rsp, 0x40
mov ebp, r8d
mov r14, rdx
mov r8d, ecx
mov edx, 1
mov ecx, 0x2000000
mov r15, r9
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov rsi, rax
test rax, rax
je 0x140063728
lea r8, [rsp + 0x38]
mov qword [rsp + 0x60], rbx
mov edx, 0x201ef
mov rcx, rax
call qword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x1400636fa
mov qword [rsp + 0x68], rdi
xor ecx, ecx
mov qword [rsp + 0x70], r12
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov rcx, qword [rsp + 0x38]
lea rax, [rsp + 0x30]
xor r12d, r12d
mov qword [rsp + 0x20], rax
xor r9d, r9d
mov dword [rsp + 0x30], r12d
xor r8d, r8d
lea edx, [r12 + 1]
call qword [sym.imp.ADVAPI32.dll_GetTokenInformation]
mov ebx, eax
call qword [sym.imp.KERNEL32.dll_GetLastError]
test ebx, ebx
jne 0x1400636de
cmp eax, 0x7a
jne 0x1400636cf
mov ecx, dword [rsp + 0x30]
test ecx, ecx
je 0x1400636d3
lea rdx, [0x1400a1620]
call fcn.140041920
mov rdi, rax
test rax, rax
je 0x1400636c8
mov r9d, dword [rsp + 0x30]
lea rax, [rsp + 0x30]
mov rcx, qword [rsp + 0x38]
lea edx, [rbx + 1]
mov r8, rdi
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_GetTokenInformation]
test eax, eax
je 0x1400636af
mov rcx, qword [rdi]
call qword [sym.imp.ADVAPI32.dll_IsValidSid]
test eax, eax
je 0x1400636a0
mov rcx, qword [rdi]
mov rdx, r14
call qword [sym.imp.ADVAPI32.dll_EqualSid]
test eax, eax
je 0x1400636a0
cmp ebp, 0xffffffff
je 0x140063687
mov rcx, qword [rsp + 0x38]
lea rax, [rsp + 0x30]
lea r9d, [r12 + 4]
mov qword [rsp + 0x20], rax
lea r8, [rsp + 0x34]
mov dword [rsp + 0x34], 0xffffffff
lea edx, [rbx + 0xc]
call qword [sym.imp.ADVAPI32.dll_GetTokenInformation]
test eax, eax
je 0x140063674
cmp ebp, dword [rsp + 0x34]
mov ebx, 0xffffffb2
cmove ebx, r12d
jmp 0x140063683
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call fcn.14005db40
mov ebx, eax
test ebx, ebx
js 0x1400636be
mov rcx, qword [rsp + 0x38]
mov rdx, r15
call fcn.1400630c0
mov rcx, rdi
mov ebx, eax
call fcn.140041950
jmp 0x1400636e3
mov rcx, rdi
mov ebx, 0xffffffb2
call fcn.140041950
jmp 0x1400636e3
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call fcn.14005db40
mov ebx, eax
mov rcx, rdi
call fcn.140041950
jmp 0x1400636e3
mov ebx, 0xfffffff8
jmp 0x1400636e3
test eax, eax
je 0x1400636de
mov ecx, eax
call fcn.14005db40
mov ebx, eax
jmp 0x1400636e3
mov ebx, 0xffffff1a
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov r12, qword [rsp + 0x70]
mov rdi, qword [rsp + 0x68]
jmp 0x140063709
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call fcn.14005db40
mov ebx, eax
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, ebx
mov rbx, qword [rsp + 0x60]
mov rbp, qword [rsp + 0x78]
add rsp, 0x40
pop r15
pop r14
pop rsi
ret
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
mov rbp, qword [rsp + 0x78]
add rsp, 0x40
pop r15
pop r14
pop rsi
jmp fcn.14005db40
Function at 0x140066d60
Capabilities:
Set thread local storage value

Disassembly:
sub rsp, 0x28
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
test eax, eax
je 0x140066d75
xor eax, eax
add rsp, 0x28
ret
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
add rsp, 0x28
jmp fcn.14005db40

Function at 0x140066d90
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
sub rsp, 0x28
mfence
mov eax, dword [0x140108b14]
test eax, eax
je 0x140066e14
mov qword [rsp + 0x30], rbx
lea rcx, [0x140108b20]
mov qword [rsp + 0x20], rdi
call fcn.140052180
mov rbx, qword [0x140108b60]
lea rdi, [0x140108b60]
cmp rbx, rdi
je 0x140066dfe
nop word [rax + rax]
mov ecx, dword [rbx + 0x10]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x140066df6
mov rcx, rax
mov rax, qword [rbx + 0x18]
call qword [case.0x140035d81.0]
mov ecx, dword [rbx + 0x10]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
mov rbx, qword [rbx]
cmp rbx, rdi
jne 0x140066dd0
lea rcx, [0x140108b20]
call fcn.1400523c0
mov rdi, qword [rsp + 0x20]
mov rbx, qword [rsp + 0x30]
add rsp, 0x28
ret
Function at 0x14006b150
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x30
mov rdi, rcx
mov rbx, rdx
mov ecx, 0xfffffff5
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
lea r8, [rax - 1]
cmp r8, 0xfffffffffffffffd
ja 0x14006b192
lea r9, [rsp + 0x50]
mov qword [rsp + 0x20], 0
mov r8d, ebx
mov rdx, rdi
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rdi
ret

Function at 0x14006b1a0
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x30
mov rdi, rcx
mov rbx, rdx
mov ecx, 0xfffffff4
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
lea r8, [rax - 1]
cmp r8, 0xfffffffffffffffd
ja 0x14006b1e2
lea r9, [rsp + 0x50]
mov qword [rsp + 0x20], 0
mov r8d, ebx
mov rdx, rdi
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rdi
ret

Function at 0x14006b7c0
Capabilities:
Set thread local storage value

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
mov rdx, rcx
mov ecx, dword [0x1400f6428]
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
test eax, eax
jne 0x14006b7e7
mov eax, 0xffffffe8
add rsp, 0x20
pop rbx
ret
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov edx, eax
mov rcx, rbx
call fcn.14006b620
xor eax, eax
add rsp, 0x20
pop rbx
ret

Function at 0x14006b800
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x30
mov r8, qword [rcx + 0x68]
mov eax, 0xffffffff
mov rdi, rdx
mov rbx, rcx
cmp r8, rax
jae 0x14006b8a3
test r8d, r8d
je 0x14006b83f
lea eax, [r8 + 0xffff]
and eax, 0xffff0000
cmp eax, r8d
jne 0x14006b83f
add r8d, 0x1000
mov qword [rcx + 0x30], 0xffffffffffffffff
lea rax, [rsp + 0x40]
xor ecx, ecx
mov edx, r8d
mov qword [rsp + 0x28], rax
lea r8, [0x14006b300]
mov r9, rbx
mov dword [rsp + 0x40], ecx
mov dword [rsp + 0x20], ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
test rax, rax
je 0x14006b88b
mov qword [rbx + 0x30], rax
mov eax, dword [rsp + 0x40]
mov qword [rdi], rax
xor eax, eax
mov rbx, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call fcn.14005db40
mov rbx, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret
mov rbx, qword [rsp + 0x48]
mov eax, 0xfffffffe
add rsp, 0x30
pop rdi
ret

Function at 0x14006b8c0
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
mov ecx, dword [0x1400f6428]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
cmp rbx, rax
jne 0x14006b8e8
mov ecx, dword [0x1400f6428]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
mov rcx, qword [rbx + 0x30]
cmp rcx, 0xffffffffffffffff
je 0x14006b900
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rbx + 0x30], 0xffffffffffffffff
add rsp, 0x20
pop rbx
ret
Function at 0x14006b910
Capabilities:
Allocate thread local storage

Disassembly:
sub rsp, 0x28
call qword [sym.imp.KERNEL32.dll_TlsAlloc]
mov dword [0x1400f6428], eax
cmp eax, 0xffffffff
jne 0x14006b92f
mov eax, 0xffffffe9
add rsp, 0x28
ret
mov rcx, qword [0x140105c10]
lea rdx, str.SetThreadDescription
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x140108b80], rax
xor eax, eax
add rsp, 0x28
ret

Function at 0x14006b9b0
Capabilities:
Set environment variable

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
mov rbx, r8
lea rdi, str.C:DevelAntidetect4PersonalVirtualBox_srcVBoxRuntime_r3winenv_win.cpp
mov qword [rsp + 0x28], rdi
lea r8, [rsp + 0x30]
xor r9d, r9d
mov qword [rsp + 0x20], 0
call fcn.14005b270
test eax, eax
js 0x14006ba41
mov r8, rdi
lea rdx, [rsp + 0x68]
mov rcx, rbx
call fcn.14005b360
mov ebx, eax
test eax, eax
js 0x14006ba35
mov ecx, 0xe
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov rdx, qword [rsp + 0x68]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
test eax, eax
je 0x14006ba1c
xor ebx, ebx
jmp 0x14006ba2b
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call fcn.14005db40
mov ebx, eax
mov rcx, qword [rsp + 0x68]
call fcn.140041e90
mov rcx, qword [rsp + 0x30]
call fcn.140041e90
mov eax, ebx
mov rbx, qword [rsp + 0x50]
add rsp, 0x40
pop rdi
ret

Function at 0x14006ba50
Capabilities:
Query environment variable

Disassembly:
push rbx
sub rsp, 0x20
mov edx, 0x3d
mov rbx, rcx
call sym.vkat.exe_nocrt_strchr
test rax, rax
jne 0x14006baa8
lea r8, str.C:DevelAntidetect4PersonalVirtualBox_srcVBoxRuntime_r3winenv_win.cpp
mov rcx, rbx
lea rdx, [rsp + 0x38]
call fcn.14005b360
test eax, eax
js 0x14006baa8
mov rcx, qword [rsp + 0x38]
xor r8d, r8d
xor edx, edx
call qword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
mov rcx, qword [rsp + 0x38]
test eax, eax
setne bl
call fcn.140041e90
movzx eax, bl
add rsp, 0x20
pop rbx
ret
xor al, al
add rsp, 0x20
pop rbx
ret
Function at 0x14006bab0
Capabilities:
Query environment variable

Disassembly:
jmp 0x14006bac0
push rbx
sub rsp, 0x470
mov rax, qword [0x1400f54e0]
xor rax, rsp
mov qword [rsp + 0x440], rax
mov edx, 0x3d
mov rbx, rcx
call sym.vkat.exe_nocrt_strchr
test rax, rax
jne 0x14006bccd
mov qword [rsp + 0x460], r12
cmp rbx, 0x1000
jb 0x14006bcbe
movabs rax, 0xffff800000000000
test rax, rbx
jne 0x14006bcbe
lea r12, str.C:DevelAntidetect4PersonalVirtualBox_srcVBoxRuntime_r3winenv_win.cpp
mov rcx, rbx
mov r8, r12
lea rdx, [rsp + 0x38]
call fcn.14005b360
xor ebx, ebx
test eax, eax
js 0x14006bcc0
mov qword [rsp + 0x488], rbp
xor ecx, ecx
mov qword [rsp + 0x490], rsi
mov ebp, ebx
mov qword [rsp + 0x468], rdi
mov edi, 0x200
mov qword [rsp + 0x458], r14
lea r14, [rsp + 0x40]
mov qword [rsp + 0x450], r15
mov r15d, ebx
mov qword [rsp + 0x30], rbx
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov rcx, qword [rsp + 0x38]
lea rdx, [rsp + 0x40]
mov r8d, edi
call qword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
mov esi, eax
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp esi, edi
jb 0x14006bc14
nop dword [rax]
mov rcx, r15
call fcn.140041950
cmp edi, 0x8000
jae 0x14006bc48
lea r8d, [rsi + rbp]
mov edx, ebp
shl rdx, 9
mov ecx, ebp
shl ecx, 9
mov eax, r8d
cmp rax, rdx
lea rdx, [0x1400a1620]
cmovb r8d, ecx
mov ecx, r8d
add rcx, rcx
mov edi, r8d
call fcn.1400418f0
mov r14, rax
mov r15, rax
test rax, rax
je 0x14006bc48
xor ecx, ecx
inc ebp
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov rcx, qword [rsp + 0x38]
mov r8d, edi
mov rdx, r15
call qword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
mov esi, eax
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp esi, edi
jae 0x14006bba0
test esi, esi
jne 0x14006bc1c
test eax, eax
jne 0x14006bc48
mov edx, esi
lea r8, [rsp + 0x30]
mov qword [rsp + 0x28], r12
xor r9d, r9d
mov rcx, r14
mov qword [rsp + 0x20], rbx
call fcn.1400594a0
mov rdx, qword [rsp + 0x30]
test eax, eax
cmovs rdx, rbx
mov qword [rsp + 0x30], rdx
mov rcx, r15
call fcn.140041950
mov rcx, qword [rsp + 0x38]
call fcn.140041e90
mov rbx, qword [rsp + 0x30]
mov r15, qword [rsp + 0x450]
mov r14, qword [rsp + 0x458]
mov rdi, qword [rsp + 0x468]
mov rsi, qword [rsp + 0x490]
mov rbp, qword [rsp + 0x488]
test rbx, rbx
je 0x14006bcc0
mov eax, 1
lock xadd dword [0x140108ba0], eax
inc eax
lea rdx, [0x140108bb0]
and eax, 0x3f
mov rcx, rbx
xchg qword [rdx + rax*8], rcx
call fcn.140041e90
mov r12, qword [rsp + 0x460]
mov rax, rbx
jmp 0x14006bccf
xor ebx, ebx
mov r12, qword [rsp + 0x460]
mov rax, rbx
jmp 0x14006bccf
xor eax, eax
mov rcx, qword [rsp + 0x440]
xor rcx, rsp
call fcn.140001270
add rsp, 0x470
pop rbx
ret
Function at 0x14006bac0
Capabilities:
Query environment variable

Disassembly:
jmp 0x14006bac0
push rbx
sub rsp, 0x470
mov rax, qword [0x1400f54e0]
xor rax, rsp
mov qword [rsp + 0x440], rax
mov edx, 0x3d
mov rbx, rcx
call sym.vkat.exe_nocrt_strchr
test rax, rax
jne 0x14006bccd
mov qword [rsp + 0x460], r12
cmp rbx, 0x1000
jb 0x14006bcbe
movabs rax, 0xffff800000000000
test rax, rbx
jne 0x14006bcbe
lea r12, str.C:DevelAntidetect4PersonalVirtualBox_srcVBoxRuntime_r3winenv_win.cpp
mov rcx, rbx
mov r8, r12
lea rdx, [rsp + 0x38]
call fcn.14005b360
xor ebx, ebx
test eax, eax
js 0x14006bcc0
mov qword [rsp + 0x488], rbp
xor ecx, ecx
mov qword [rsp + 0x490], rsi
mov ebp, ebx
mov qword [rsp + 0x468], rdi
mov edi, 0x200
mov qword [rsp + 0x458], r14
lea r14, [rsp + 0x40]
mov qword [rsp + 0x450], r15
mov r15d, ebx
mov qword [rsp + 0x30], rbx
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov rcx, qword [rsp + 0x38]
lea rdx, [rsp + 0x40]
mov r8d, edi
call qword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
mov esi, eax
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp esi, edi
jb 0x14006bc14
nop dword [rax]
mov rcx, r15
call fcn.140041950
cmp edi, 0x8000
jae 0x14006bc48
lea r8d, [rsi + rbp]
mov edx, ebp
shl rdx, 9
mov ecx, ebp
shl ecx, 9
mov eax, r8d
cmp rax, rdx
lea rdx, [0x1400a1620]
cmovb r8d, ecx
mov ecx, r8d
add rcx, rcx
mov edi, r8d
call fcn.1400418f0
mov r14, rax
mov r15, rax
test rax, rax
je 0x14006bc48
xor ecx, ecx
inc ebp
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov rcx, qword [rsp + 0x38]
mov r8d, edi
mov rdx, r15
call qword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
mov esi, eax
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp esi, edi
jae 0x14006bba0
test esi, esi
jne 0x14006bc1c
test eax, eax
jne 0x14006bc48
mov edx, esi
lea r8, [rsp + 0x30]
mov qword [rsp + 0x28], r12
xor r9d, r9d
mov rcx, r14
mov qword [rsp + 0x20], rbx
call fcn.1400594a0
mov rdx, qword [rsp + 0x30]
test eax, eax
cmovs rdx, rbx
mov qword [rsp + 0x30], rdx
mov rcx, r15
call fcn.140041950
mov rcx, qword [rsp + 0x38]
call fcn.140041e90
mov rbx, qword [rsp + 0x30]
mov r15, qword [rsp + 0x450]
mov r14, qword [rsp + 0x458]
mov rdi, qword [rsp + 0x468]
mov rsi, qword [rsp + 0x490]
mov rbp, qword [rsp + 0x488]
test rbx, rbx
je 0x14006bcc0
mov eax, 1
lock xadd dword [0x140108ba0], eax
inc eax
lea rdx, [0x140108bb0]
and eax, 0x3f
mov rcx, rbx
xchg qword [rdx + rax*8], rcx
call fcn.140041e90
mov r12, qword [rsp + 0x460]
mov rax, rbx
jmp 0x14006bccf
xor ebx, ebx
mov r12, qword [rsp + 0x460]
mov rax, rbx
jmp 0x14006bccf
xor eax, eax
mov rcx, qword [rsp + 0x440]
xor rcx, rsp
call fcn.140001270
add rsp, 0x470
pop rbx
ret
Function at 0x14006bcf0
Capabilities:
Query environment variable

Disassembly:
push rbx
push r12
push r15
sub rsp, 0x480
mov rax, qword [0x1400f54e0]
xor rax, rsp
mov qword [rsp + 0x440], rax
mov qword [rsp + 0x38], rdx
mov r15, r9
mov r12, r8
mov rbx, rcx
cmp rcx, 0x1000
jb 0x14006bf46
movabs rax, 0xffff800000000000
test rax, rcx
jne 0x14006bf46
cmp rdx, 0x1000
jb 0x14006bd4b
test rax, rdx
je 0x14006bd5d
test rdx, rdx
jne 0x14006bf46
test r12, r12
jne 0x14006bf3f
cmp r15, 0x1000
jb 0x14006bd6b
test rax, r15
je 0x14006bd86
test r15, r15
jne 0x14006bf46
test rdx, rdx
je 0x14006bf3f
test r12, r12
je 0x14006bf3f
mov edx, 0x3d
call sym.vkat.exe_nocrt_strchr
test rax, rax
jne 0x14006bf38
mov qword [rsp + 0x468], rdi
xor edi, edi
mov qword [rsp + 0x460], r13
test r15, r15
je 0x14006bdb3
mov qword [r15], rdi
lea r13, str.C:DevelAntidetect4PersonalVirtualBox_srcVBoxRuntime_r3winenv_win.cpp
mov rcx, rbx
mov r8, r13
lea rdx, [rsp + 0x30]
call fcn.14005b360
test eax, eax
js 0x14006bf0b
mov qword [rsp + 0x478], rbp
xor ecx, ecx
mov qword [rsp + 0x470], rsi
lea rbp, [rsp + 0x40]
mov qword [rsp + 0x458], r14
mov ebx, 0x200
mov r14d, edi
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov rcx, qword [rsp + 0x30]
lea rdx, [rsp + 0x40]
mov r8d, ebx
call qword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
mov esi, eax
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp esi, ebx
jb 0x14006be93
nop
mov rcx, rdi
call fcn.140041950
cmp ebx, 0x8000
jae 0x14006beab
lea r8d, [rsi + r14]
mov edx, r14d
shl rdx, 9
mov ecx, r14d
shl ecx, 9
mov eax, r8d
cmp rax, rdx
lea rdx, [0x1400a1620]
cmovb r8d, ecx
mov ecx, r8d
add rcx, rcx
mov ebx, r8d
call fcn.1400418f0
mov rbp, rax
mov rdi, rax
test rax, rax
je 0x14006bea4
xor ecx, ecx
inc r14d
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov rcx, qword [rsp + 0x30]
mov r8d, ebx
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
mov esi, eax
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp esi, ebx
jae 0x14006be20
test esi, esi
jne 0x14006beb2
test eax, eax
je 0x14006beb2
mov ecx, eax
call fcn.14005db40
jmp 0x14006bedd
mov ebx, 0xffffffec
jmp 0x14006bedf
mov ebx, 0xffffff1d
jmp 0x14006bedf
mov edx, esi
mov rcx, rbp
test r12, r12
je 0x14006bed5
mov qword [rsp + 0x28], r13
lea r8, [rsp + 0x38]
mov r9, r12
mov qword [rsp + 0x20], r15
call fcn.1400594a0
jmp 0x14006bedd
mov r8, r15
call fcn.1400592e0
mov ebx, eax
mov rcx, rdi
call fcn.140041950
mov rcx, qword [rsp + 0x30]
call fcn.140041e90
mov r14, qword [rsp + 0x458]
mov eax, ebx
mov rsi, qword [rsp + 0x470]
mov rbp, qword [rsp + 0x478]
mov rdi, qword [rsp + 0x468]
mov r13, qword [rsp + 0x460]
mov rcx, qword [rsp + 0x440]
xor rcx, rsp
call fcn.140001270
add rsp, 0x480
pop r15
pop r12
pop rbx
ret
mov eax, 0xfffffd10
jmp 0x14006bf1b
mov eax, 0xfffffffe
jmp 0x14006bf1b
mov eax, 0xfffffffa
jmp 0x14006bf1b
Function at 0x14006bf50
Capabilities:
Set environment variable

Disassembly:
push rbx
sub rsp, 0x20
mov edx, 0x3d
mov rbx, rcx
call sym.vkat.exe_nocrt_strchr
test rax, rax
jne 0x14006bff5
lea r8, str.C:DevelAntidetect4PersonalVirtualBox_srcVBoxRuntime_r3winenv_win.cpp
mov rcx, rbx
lea rdx, [rsp + 0x38]
call fcn.14005b360
mov ebx, eax
test eax, eax
js 0x14006bfed
mov ecx, 0xcb
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov rcx, qword [rsp + 0x38]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
test eax, eax
je 0x14006bfb6
mov rcx, qword [rsp + 0x38]
xor ebx, ebx
call fcn.140041e90
mov eax, ebx
add rsp, 0x20
pop rbx
ret
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xcb
jne 0x14006bfda
mov rcx, qword [rsp + 0x38]
mov ebx, 0x2ee
call fcn.140041e90
mov eax, ebx
add rsp, 0x20
pop rbx
ret
mov ecx, eax
call fcn.14005db40
mov rcx, qword [rsp + 0x38]
mov ebx, eax
call fcn.140041e90
mov eax, ebx
add rsp, 0x20
pop rbx
ret
mov eax, 0xfffffd10
add rsp, 0x20
pop rbx
ret

Function at 0x14006d2f0
Capabilities:
Terminate process

Disassembly:
mov qword [rsp + 0x18], rbx
push rdi
sub rsp, 0xd0
mov rax, qword [0x140105c88]
mov rdi, rdx
mov ebx, ecx
test rax, rax
je 0x14006d321
mov ecx, 0x17
call qword [case.0x140035d81.0]
test eax, eax
je 0x14006d321
mov ecx, ebx
int 0x29
mov rax, qword [0x140105c40]
test rax, rax
je 0x14006d338
call qword [case.0x140035d81.0]
test eax, eax
je 0x14006d338
int3
mov rax, qword [0x140105c78]
test rax, rax
je 0x14006d3e3
cmp qword [0x140105c80], 0
je 0x14006d3e3
xor ecx, ecx
call qword [case.0x140035d81.0]
mov rax, qword [rdi + 0xf8]
lea rcx, [rsp + 0x20]
xorps xmm0, xmm0
mov qword [rsp + 0x40], rax
lea rax, [rsp + 0x30]
mov dword [rsp + 0x30], 0xc0000409
mov qword [rsp + 0x20], rax
mov rax, qword [0x140105c80]
mov dword [rsp + 0x34], 1
mov qword [rsp + 0x38], 0
mov dword [rsp + 0x48], 1
mov qword [rsp + 0x50], rbx
movups xmmword [rsp + 0x58], xmm0
mov qword [rsp + 0x28], rdi
movups xmmword [rsp + 0x68], xmm0
movups xmmword [rsp + 0x78], xmm0
movups xmmword [rsp + 0x88], xmm0
movups xmmword [rsp + 0x98], xmm0
movups xmmword [rsp + 0xa8], xmm0
movups xmmword [rsp + 0xb8], xmm0
call qword [case.0x140035d81.0]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
mov edx, 0xc0000409
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
jmp 0x14006d3e3
Function at 0x14006d580
Capabilities:
Get file attributes

Disassembly:
push rbx
push r12
push r13
sub rsp, 0x80
cmp qword [rcx + 0x28], 0
mov r12, r8
mov r13, rdx
mov qword [rcx + 0x80], 0
mov rbx, rcx
jbe 0x14006d5ee
cmp dword [rcx + 4], 2
jne 0x14006d5ee
mov rcx, qword [rcx + 0x20]
lea r8, str.C:DevelAntidetect4PersonalVirtualBox_srcVBoxRuntime_r3_ntdirenum_r3_nt.cpp
lea rdx, [rsp + 0x40]
call fcn.14005b360
test eax, eax
js 0x14006d7e9
mov rcx, qword [rsp + 0x40]
mov qword [rbx + 0x78], rcx
call fcn.140059470
add ax, ax
lea rcx, [rbx + 0x70]
mov word [rbx + 0x72], ax
mov word [rcx], ax
mov qword [rbx + 0x80], rcx
mov qword [rsp + 0xa8], rbp
xor al, al
mov qword [rsp + 0x78], rsi
mov qword [rsp + 0x70], rdi
mov qword [rsp + 0x68], r14
mov qword [rsp + 0x60], r15
mov byte [rsp + 0xa0], al
cmp r13, 0xffffffffffffffff
je 0x14006d629
test r12, r12
jne 0x14006d629
mov qword [rbx + 0x60], r13
xor edi, edi
jmp 0x14006d7af
mov r14d, dword [0x1400f6430]
mov esi, 0x4021
test r14d, r14d
je 0x14006d64c
test byte [rbx + 0x58], 4
je 0x14006d64c
cmp byte [rbx + 0x5c], 0
mov eax, 0x204021
cmove esi, eax
mov ebp, 0x1000a1
lea r15, [rbx + 0x60]
nop word [rax + rax]
lea rax, [rsp + 0xa0]
test r12, r12
jne 0x14006d694
mov rcx, qword [rbx + 0x30]
lea r8d, [r12 + 3]
mov qword [rsp + 0x30], rax
mov r9d, esi
mov qword [rsp + 0x28], r15
mov edx, ebp
mov dword [rsp + 0x20], 0x40
call fcn.14005fec0
jmp 0x14006d6be
mov qword [rsp + 0x38], rax
mov r9d, 3
mov qword [rsp + 0x30], r15
mov r8d, ebp
mov dword [rsp + 0x28], 0x40
mov rdx, r12
mov rcx, r13
mov dword [rsp + 0x20], esi
call fcn.14005ffe0
mov edi, eax
cmp eax, 0xffffffda
jne 0x14006d6d0
test bpl, 0x20
je 0x14006d6d0
and ebp, 0xffffffdf
jmp 0x14006d660
bt esi, 0x15
jae 0x14006d7a3
test edi, edi
je 0x14006d704
cmp edi, 0xfffffffe
jne 0x14006d7a3
cmp r14d, 0xffffffff
jne 0x14006d793
xor r14d, r14d
mov dword [0x1400f6430], r14d
btr esi, 0x15
jmp 0x14006d660
cmp r14d, 0xffffffff
jne 0x14006d714
mov dword [0x1400f6430], 1
mov rcx, qword [r15]
lea r8, [rsp + 0xb8]
xor eax, eax
mov dword [rsp + 0x48], 0xc0000365
lea rdx, [rsp + 0x48]
mov qword [rsp + 0xb8], rax
mov dword [rsp + 0x4c], eax
mov qword [rsp + 0x50], 0xffffffffffffffd5
lea r9d, [rax + 8]
mov dword [rsp + 0x20], 0x23
call qword [sym.imp.ntdll.dll_NtQueryInformationFile]
test eax, eax
jns 0x14006d769
mov qword [rsp + 0xb8], 0
xor eax, eax
jmp 0x14006d770
mov eax, dword [rsp + 0xb8]
bt eax, 0xa
jae 0x14006d7a7
mov rcx, qword [r15]
call qword [sym.imp.ntdll.dll_NtClose]
cmp dword [rsp + 0xbc], 0xa000000c
mov qword [r15], 0xffffffffffffffff
je 0x14006d79c
btr esi, 0x15
jmp 0x14006d660
mov edi, 0xffffff60
jmp 0x14006d7cb
test edi, edi
js 0x14006d7cb
movzx eax, byte [rsp + 0xa0]
mov byte [rbx + 0x5d], 0
mov dword [rbx + 0xa8], 0
test al, al
je 0x14006d7cb
mov dword [rbx + 0x88], 0x4c
mov r15, qword [rsp + 0x60]
mov eax, edi
mov rdi, qword [rsp + 0x70]
mov r14, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x78]
mov rbp, qword [rsp + 0xa8]
add rsp, 0x80
pop r13
pop r12
pop rbx
ret
Function at 0x140071010
Capabilities:
Set file attributes

Disassembly:
mov qword [rsp + 0x20], rbx
push rsi
sub rsp, 0x70
mov rax, qword [0x1400f54e0]
xor rax, rsp
mov qword [rsp + 0x68], rax
mov ebx, edx
call fcn.1400383b0
mov rsi, rax
cmp rax, 0xffffffffffffffff
je 0x140071101
mov r9d, 0x8000
mov qword [rsp + 0x90], rdi
xor r8d, r8d
xor edx, edx
mov ecx, ebx
call fcn.14005e640
mov ecx, eax
mov edi, eax
call fcn.14005e610
test al, al
je 0x1400710fa
xor eax, eax
shr edi, 0x10
xor ebx, ebx
mov dword [rsp + 0x34], eax
mov eax, 0x80
mov dword [rsp + 0x30], 0xc0000365
xorps xmm0, xmm0
mov qword [rsp + 0x38], 0xffffffffffffffd5
and edi, 0x31af
mov qword [rsp + 0x40], rbx
lea r9d, [rbx + 0x28]
mov qword [rsp + 0x58], rbx
cmove edi, eax
mov dword [rsp + 0x20], 4
lea r8, [rsp + 0x40]
mov dword [rsp + 0x60], edi
lea rdx, [rsp + 0x30]
mov rcx, rsi
movdqu xmmword [rsp + 0x48], xmm0
call qword [sym.imp.ntdll.dll_NtSetInformationFile]
test eax, eax
jns 0x1400710d5
mov ecx, eax
call fcn.140060810
mov ebx, eax
mov eax, ebx
mov rdi, qword [rsp + 0x90]
mov rcx, qword [rsp + 0x68]
xor rcx, rsp
call fcn.140001270
mov rbx, qword [rsp + 0x98]
add rsp, 0x70
pop rsi
ret
mov eax, 0xffffffeb
jmp 0x1400710d7
mov eax, 0xfffffffc
jmp 0x1400710df