joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140011fb0
Capabilities:
Connect network resource

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
mov eax, 0x2090
call fcn.140001110
sub rsp, rax
mov rax, qword [0x1400a0f20]
xor rax, rsp
mov qword [rsp + 0x2080], rax
mov rax, qword [rcx + 0x20]
lea rdx, str.vbsvcAutomounterMountIt:_Trying_to_mount__s__idRoot_x__on__s..._n
mov r9d, dword [rcx]
mov rbx, rcx
mov r8, qword [rcx + 0x10]
mov ecx, 3
mov qword [rsp + 0x20], rax
call fcn.140002470
mov rax, qword [rbx + 0x20]
lea r8, str.VBoxSvr_
xor edi, edi
mov edx, 0x1004
movsx ecx, byte [rax]
mov word [rsp + 0x68], cx
lea rcx, [rsp + 0x70]
mov dword [rsp + 0x6a], 0x3a
mov word [rsp + 0x6e], di
call fcn.140035e20
lea rcx, [rsp + 0x70]
call fcn.140035bb0
lea rcx, [rsp + 0x70]
mov r9d, 0x2008
sub r9, rax
lea r8, [rsp + 0x30]
lea rdx, [rdi - 1]
lea rcx, [rcx + rax*2]
lea rax, str.C:DevelAntidetect4PersonalVirtualBox_srcVBoxAdditionscommonVBoxServiceVBoxServiceAutoMount.cpp
mov qword [rsp + 0x30], rcx
mov rcx, qword [rbx + 0x10]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rdi
call fcn.1400343e0
mov edi, eax
test eax, eax
jns 0x14001208e
mov rdx, qword [rbx + 0x10]
lea rcx, str.vbsvcAutomounterMountIt:_RTStrToUtf16Ex_failed_on__s:__Rrc_n
mov r8d, eax
call fcn.140001d30
mov eax, edi
jmp 0x140012144
lea r9, [rsp + 0x70]
mov ecx, 3
lea r8, [rsp + 0x68]
lea rdx, str.vbsvcAutomounterMountIt:_wszDrive_ls__wszPrefixedName_ls_n
call fcn.140002470
xor edx, edx
lea rcx, [rsp + 0x38]
lea r8d, [rdx + 0x30]
call sym.NetMonitor.exe_nocrt_memset
lea rax, [rsp + 0x68]
mov dword [rsp + 0x3c], 1
mov qword [rsp + 0x48], rax
lea rcx, [rsp + 0x38]
lea rax, [rsp + 0x70]
xor r9d, r9d
mov qword [rsp + 0x50], rax
xor r8d, r8d
lea rax, str.VirtualBox_Shared_Folders
xor edx, edx
mov qword [rsp + 0x60], rax
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x58], rax
call sub.MPR.dll_WNetAddConnection2W
mov edi, eax
test eax, eax
jne 0x14001211d
mov r9, qword [rbx + 0x20]
lea rdx, str.vbsvcAutomounterMountIt:_Successfully_mounted__s_on__s_n
mov r8, qword [rbx + 0x10]
xor ecx, ecx
call fcn.140002470
xor eax, eax
jmp 0x140012144
mov ecx, edi
call fcn.14001ee80
mov r8, qword [rbx + 0x20]
lea rcx, str.vbsvcAutomounterMountIt:_Failed_to_attach__s_to__s:__Rrc___u__n
mov rdx, qword [rbx + 0x10]
mov r9d, eax
mov dword [rsp + 0x20], edi
call fcn.140001d30
mov eax, 0xffffff9b
mov rcx, qword [rsp + 0x2080]
xor rcx, rsp
call fcn.140001250
mov rbx, qword [rsp + 0x20a8]
add rsp, 0x2090
pop rdi
ret
Function at 0x140015e70
Capabilities:
Delete registry key
Delete service

Disassembly:
push rsi
sub rsp, 0x30
lea rdx, str.Uninstalling_service_..._n
mov ecx, 1
call fcn.140002470
xor edx, edx
xor ecx, ecx
mov r8d, 0xf003f
call qword [sym.imp.ADVAPI32.dll_OpenSCManagerA]
mov rsi, rax
test rax, rax
jne 0x140015ebc
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, str.Could_not_open_SCM__Error:__d_n
call fcn.140001d30
lea eax, [rsi + 1]
add rsp, 0x30
pop rsi
ret
mov qword [rsp + 0x48], rbx
lea rdx, str.NetMonitor
mov r8d, 0xf01ff
mov qword [rsp + 0x50], rdi
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_OpenServiceA]
mov rdi, rax
test rax, rax
je 0x140015f7e
mov rcx, rax
call qword [sym.imp.ADVAPI32.dll_DeleteService]
test eax, eax
je 0x140015f5d
lea rax, [rsp + 0x40]
xor ebx, ebx
mov r9d, 0xf003f
mov qword [rsp + 0x40], rbx
xor r8d, r8d
mov qword [rsp + 0x20], rax
lea rdx, str.SYSTEMCurrentControlSetServicesEventLogSystem
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x140015f44
mov rcx, qword [rsp + 0x40]
lea rdx, str.NetMonitor
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea rdx, str.Service_successfully_uninstalled__n
xor ecx, ecx
call fcn.140002470
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
jmp 0x140015f94
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, str.Could_not_remove_service__Error:__d_n
call fcn.140001d30
mov rcx, rdi
mov ebx, eax
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
jmp 0x140015f94
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, str.Could_not_open_service__Error:__d_n
call fcn.140001d30
mov ebx, eax
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov rdi, qword [rsp + 0x50]
mov eax, ebx
mov rbx, qword [rsp + 0x48]
add rsp, 0x30
pop rsi
ret
Function at 0x140016440
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov dword [rcx + 0x10], 2
mov r11, rcx
mov r8, qword [rdx]
movabs rax, 0x112e0be826d694b3
imul r8
sar rdx, 0x1a
mov rax, rdx
shr rax, 0x3f
add rdx, rax
imul eax, edx, 0x3b9aca00
lea r9, [rdx - 1]
sub r8d, eax
cmovns r9, rdx
test r8d, r8d
lea eax, [r8 + 0x3b9aca00]
cmovns eax, r8d
mov dword [rcx + 0xc], eax
movabs rax, 0x8888888888888889
imul r9
add rdx, r9
sar rdx, 5
mov rax, rdx
shr rax, 0x3f
add rdx, rax
imul eax, edx, 0x3c
lea r8d, [rdx - 1]
sub r9d, eax
lea eax, [r9 + 0x3c]
movzx ecx, al
movzx eax, r9b
cmovns ecx, eax
test r9d, r9d
mov byte [r11 + 0xb], cl
mov eax, 0x88888889
cmovns r8d, edx
imul r8d
add edx, r8d
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
imul eax, edx, 0x3c
lea r9d, [rdx - 1]
sub r8d, eax
cmovns r9d, edx
test r8d, r8d
lea eax, [r8 + 0x3c]
movzx ecx, al
movzx eax, r8b
cmovns ecx, eax
mov eax, 0x2aaaaaab
imul r9d
mov byte [r11 + 0xa], cl
sar edx, 2
mov eax, edx
shr eax, 0x1f
add edx, eax
lea eax, [rdx + rdx*2]
lea ecx, [rdx - 1]
shl eax, 3
sub r9d, eax
cmovns ecx, edx
test r9d, r9d
lea eax, [r9 + 0x18]
movzx edx, al
movzx eax, r9b
cmovns edx, eax
mov eax, 0x92492493
mov byte [r11 + 9], dl
imul ecx
mov eax, 0x92492493
add edx, ecx
sar edx, 2
mov r8d, edx
shr r8d, 0x1f
add edx, r8d
mov r8d, ecx
imul edx, edx, 7
sub r8d, edx
add r8d, 0xa
imul r8d
add edx, r8d
lea r10, [0x140062b10]
sar edx, 2
mov eax, edx
shr eax, 0x1f
add edx, eax
imul eax, edx, 7
sub r8d, eax
mov eax, 0xb38cf9b1
mov byte [r11 + 5], r8b
imul ecx
add edx, ecx
sar edx, 8
mov r8d, edx
add edx, 0x12c
shr r8d, 0x1f
add r8d, edx
lea edx, [r8 + 1]
cmp dword [r10 + rdx*4], ecx
jg 0x1400165bc
nop dword [rax + rax]
inc r8d
lea edx, [rdx + 1]
cmp dword [r10 + rdx*4], ecx
jle 0x1400165b0
cmp dword [r10 + r8*4], ecx
jle 0x1400165cb
dec r8d
cmp dword [r10 + r8*4], ecx
jg 0x1400165c2
sub ecx, dword [r10 + r8*4]
lea r9d, [r8 + 0x686]
mov dword [r11], r9d
lea eax, [rcx + 1]
mov word [r11 + 6], ax
mov eax, r9d
and eax, 0x80000003
jge 0x1400165f2
dec eax
or eax, 0xfffffffc
inc eax
test eax, eax
jne 0x140016635
mov eax, 0x51eb851f
imul r9d
sar edx, 5
mov r8d, edx
shr r8d, 0x1f
add edx, r8d
imul r8d, edx, 0x64
cmp r9d, r8d
jne 0x140016631
mov eax, 0x51eb851f
imul r9d
sar edx, 7
mov eax, edx
shr eax, 0x1f
add edx, eax
imul eax, edx, 0x190
cmp r9d, eax
jne 0x140016635
mov al, 1
jmp 0x140016637
xor al, al
test al, al
lea rdx, [0x140062ad0]
movzx eax, al
lea r10, [0x140062af0]
cmove r10, rdx
xor eax, 1
inc eax
shl eax, 6
or eax, 2
mov dword [r11 + 0x10], eax
mov eax, ecx
cdq
inc ecx
and edx, 0x1f
add eax, edx
sar eax, 5
movsxd r9, eax
movzx r8d, word [r10 + r9*2 + 2]
cmp r8d, ecx
jg 0x140016691
nop dword [rax + rax]
movsxd rdx, r9d
inc r9d
movzx r8d, word [r10 + rdx*2 + 4]
cmp r8d, ecx
jle 0x140016680
lea eax, [r9 + 1]
mov byte [r11 + 4], al
movsxd rax, r9d
sub cl, byte [r10 + rax*2]
mov rax, r11
inc cl
mov dword [r11 + 0x14], 0
mov byte [r11 + 8], cl
ret
Function at 0x140018a90
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rdx
sub rsp, 0x28
mov qword [rax + 8], rbx
mov qword [rax + 0x18], rbp
mov qword [rax - 8], rdi
mov qword [rax - 0x10], r12
mov r12, r9
mov qword [rax - 0x18], r13
xor r9d, r9d
mov qword [rax - 0x20], r14
mov r13, rdx
mov rax, rcx
mov qword [rsp], r15
movzx ecx, r8b
mov edx, r9d
shr r8d, 8
test r8d, r8d
jne 0x140018ad9
mov r8d, 0xffffffff
cmp ecx, 0x24
mov r10b, 1
cmovb edx, ecx
movzx ecx, byte [rax]
cmp cl, 0x2b
jne 0x140018aef
mov r10b, 1
jmp 0x140018af8
cmp cl, 0x2d
jne 0x140018b01
xor r10b, 1
inc rax
add r8d, 0xffffffff
jne 0x140018ae2
lea rbx, [0x140000000]
test edx, edx
jne 0x140018b56
cmp byte [rax], 0x30
lea edi, [rdx + 0xa]
jne 0x140018b8e
cmp r8d, 1
jbe 0x140018b41
movzx ecx, byte [rax + 1]
sub cl, 0x58
test cl, 0xdf
jne 0x140018b41
movzx ecx, byte [rax + 2]
cmp byte [rcx + rbx + 0x635d0], 0x10
jae 0x140018b41
add rax, 2
lea edi, [rdx + 0x10]
add r8d, 0xfffffffe
jmp 0x140018b8e
movzx ecx, byte [rax + 1]
cmp byte [rcx + rbx + 0x635d0], 8
jae 0x140018b8e
mov edi, 8
jmp 0x140018b8e
mov edi, edx
cmp edx, 0x10
jne 0x140018b8e
cmp byte [rax], 0x30
jne 0x140018b8e
cmp r8d, 1
jbe 0x140018b8e
movzx ecx, byte [rax + 1]
cmp cl, 0x78
je 0x140018b76
cmp cl, 0x58
jne 0x140018b8e
movzx ecx, byte [rax + 2]
mov edi, edx
cmp byte [rcx + rbx + 0x635d0], 0x10
jae 0x140018b8e
add r8d, 0xfffffffe
add rax, 2
mov r14d, edi
mov r15, rax
movsx ebp, byte [r14 + rbx + 0x636d0]
mov rbx, r9
test r8d, r8d
je 0x140018bf7
lea r13, [0x140000000]
mov qword [rsp + 0x48], rsi
movzx ecx, byte [rax]
test cl, cl
je 0x140018bed
movzx esi, byte [rcx + r13 + 0x635d0]
cmp esi, edi
jae 0x140018bed
mov r11, rbx
imul rbx, r14
add rbx, rsi
cmp r11, rbx
ja 0x140018bde
mov ecx, ebp
shr r11, cl
test r11, r11
je 0x140018be4
mov r9d, 0x37
inc rax
add r8d, 0xffffffff
jne 0x140018bb1
mov r13, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x48]
mov r14, qword [rsp + 8]
mov rdi, qword [rsp + 0x20]
mov rbp, qword [rsp + 0x40]
test r10b, r10b
jne 0x140018c1a
test r9d, r9d
mov ecx, 0x39
cmove r9d, ecx
neg rbx
test r12, r12
je 0x140018c23
mov qword [r12], rbx
mov r12, qword [rsp + 0x18]
cmp rax, r15
mov r15, qword [rsp]
mov ecx, 0xffffffc8
mov rbx, qword [rsp + 0x30]
cmove r9d, ecx
test r13, r13
je 0x140018c46
mov qword [r13], rax
mov r13, qword [rsp + 0x10]
test r9d, r9d
jne 0x140018c93
cmp byte [rax], r9b
je 0x140018c93
test r8d, r8d
je 0x140018c93
nop word [rax + rax]
movzx ecx, byte [rax]
cmp cl, 0x20
je 0x140018c6d
cmp cl, 9
jne 0x140018c80
inc rax
add r8d, 0xffffffff
jne 0x140018c60
mov eax, 0x4d
add rsp, 0x28
ret
test r8d, r8d
je 0x140018c76
test cl, cl
je 0x140018c76
mov eax, 0x4c
add rsp, 0x28
ret
mov eax, r9d
add rsp, 0x28
ret
Function at 0x14001b0e0
Capabilities:
Get thread local storage value

Disassembly:
push rbx
sub rsp, 0x20
mov qword [rsp + 0x30], rsi
mov rbx, rcx
mov rsi, rdx
call fcn.14001a720
mov eax, dword [rbx + 0x28]
cmp eax, 2
je 0x14001b1ed
mov rdx, rsi
mov qword [rsp + 0x38], rdi
lea rcx, [0x1400a4d28]
call fcn.140034b50
mov rdi, rax
cmp rax, rbx
je 0x14001b1e8
test rax, rax
je 0x14001b14b
lea rcx, [rbx + 0x50]
mov edx, 2
call fcn.140001640
mov rcx, rdi
call fcn.14001a820
test byte [rdi + 0x50], 1
je 0x14001b14b
mov rcx, rdi
call fcn.14001b320
mov rax, rsi
lea rcx, [0x1400a4d28]
xchg qword [rbx], rax
mov rdx, rbx
call fcn.140034b80
lock or dword [rbx + 0x50], 4
test al, al
je 0x14001b1aa
lock inc dword [0x1400a4d30]
movsxd rax, dword [rbx + 0x48]
lea rcx, [0x1400a4cf0]
lock inc dword [rcx + rax*4]
mov rdi, qword [0x1400a11c0]
cmp rdi, 0xffffffffffffffff
je 0x14001b1e8
mov rcx, rdi
call sub.KERNEL32.dll_TlsGetValue
test rax, rax
jne 0x14001b1e8
lea rdx, [rbx + 0x8d0]
mov rcx, rdi
call fcn.14003aad0
jmp 0x14001b1e8
lea r9, str.void___cdecl_rtThreadInsert_struct_RTTHREADINT__unsigned___int64_
mov edx, 0x1ed
lea r8, str.C:DevelAntidetect4PersonalVirtualBox_srcVBoxRuntimecommonmisc_thread.cpp
lea rcx, [0x140063ec4]
call fcn.1400293b0
lea r9, [rbx + 0x8c0]
mov r8, rsi
mov rdx, rbx
lea rcx, str.Lock_problem___p___RTnthrd___s_n
call fcn.1400293c0
call fcn.1400293f0
int3
mov rdi, qword [rsp + 0x38]
mov rcx, qword [0x1400a4d38]
call fcn.14003ae10
mov rsi, qword [rsp + 0x30]
mov ebx, eax
test eax, eax
jns 0x14001b237
lea r9, str.void___cdecl_rtThreadUnLockRW_void_
mov edx, 0x101
lea r8, str.C:DevelAntidetect4PersonalVirtualBox_srcVBoxRuntimecommonmisc_thread.cpp
lea rcx, str.RT_SUCCESS_NP_rc_
call fcn.1400293b0
mov edx, ebx
lea rcx, str._Rra_n
call fcn.1400293c0
call fcn.1400293f0
int3
add rsp, 0x20
pop rbx
ret

Function at 0x14001b240
Capabilities:
Get thread local storage value

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov rbx, rcx
call fcn.14001b0e0
mov edx, dword [rbx + 0x48]
mov rcx, rbx
call fcn.14003bf10
mov eax, 3
mov rcx, rbx
xchg dword [rbx + 0x28], eax
mov rax, qword [rbx + 0x58]
mov rdx, qword [rbx + 0x60]
call qword [case.0x14004be35.0]
mov esi, eax
call fcn.14003ab00
mov ecx, 2
mov dword [rbx + 0x54], esi
xchg dword [rbx + 0x28], ecx
lock or dword [rbx + 0x50], 2
mov rcx, qword [rbx + 0x40]
test rcx, rcx
je 0x14001b2a0
call fcn.14001ff60
mov rcx, rbx
call fcn.14001a790
mov rdi, qword [0x1400a11c0]
cmp rdi, 0xffffffffffffffff
je 0x14001b2d8
mov rcx, rdi
call sub.KERNEL32.dll_TlsGetValue
lea rdx, [rbx + 0x8d0]
cmp rax, rdx
jne 0x14001b2d8
lea rdx, [0x1400a11c8]
mov rcx, rdi
call fcn.14003aad0
mov eax, dword [rbx + 0x24]
cmp eax, 1
jb 0x14001b2f7
mov eax, 0xffffffff
lock xadd dword [rbx + 0x24], eax
cmp eax, 1
jne 0x14001b2f7
mov rcx, rbx
call fcn.14001a690
mov rbx, qword [rsp + 0x38]
mov eax, esi
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x14001ce40
Capabilities:
Print debug messages

Disassembly:
push rbx
sub rsp, 0x40
mov r10, qword [rcx + 0x40]
mov r11, r9
mov rbx, rcx
xor r9d, r9d
mov rcx, qword [r10 + 0x18]
test rcx, rcx
je 0x14001ce6a
movzx eax, byte [rcx]
test al, al
je 0x14001ce6a
mov byte [rcx], r9b
mov dword [r10 + 0xc], r9d
mov eax, dword [rbx + 0x28]
test rax, 0x7dff8010
je 0x14001ce96
mov dword [rsp + 0x28], edx
lea rcx, [0x14001b750]
lea rdx, [rsp + 0x20]
mov qword [rsp + 0x20], rbx
mov dword [rsp + 0x2c], r8d
mov qword [rsp + 0x30], r9
jmp 0x14001cea0
mov rdx, rbx
lea rcx, [0x14001b5c0]
mov r9, qword [rsp + 0x70]
mov r8, r11
call fcn.1400400b0
test byte [rbx + 0x28], 2
mov rax, qword [rbx + 0x40]
jne 0x14001cecc
cmp dword [rax + 0xc], 0
je 0x14001cecc
xor edx, edx
mov rcx, rbx
add rsp, 0x40
pop rbx
jmp fcn.14001c920
mov rcx, qword [rax + 0x18]
test rcx, rcx
je 0x14001cedb
mov eax, dword [rax + 0xc]
mov dword [rcx + 4], eax
add rsp, 0x40
pop rbx
ret

Function at 0x1400204d0
Capabilities:
Set thread local storage value

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

Function at 0x140020510
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 0x1400205b3
test r8d, r8d
je 0x14002054f
lea eax, [r8 + 0xffff]
and eax, 0xffff0000
cmp eax, r8d
jne 0x14002054f
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, [0x140020010]
mov r9, rbx
mov dword [rsp + 0x40], ecx
mov dword [rsp + 0x20], ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
test rax, rax
je 0x14002059b
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.14001ee80
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 0x1400205d0
Capabilities:
Get thread local storage value
Set thread local storage value

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

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

Function at 0x1400207b0
Capabilities:
Execute anti-debugging instructions

Disassembly:
push rbx
sub rsp, 0x20
rdtsc
shl rdx, 0x20
xor ecx, ecx
or rax, rdx
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_Sleep]
rdtsc
shl rdx, 0x20
or rax, rdx
sub rax, rbx
cmp rax, 0x5dc
seta al
add rsp, 0x20
pop rbx
ret

Function at 0x1400207f0
Capabilities:
Create directory
Set file attributes

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov eax, edx
mov edi, r8d
mov rdx, rcx
mov rbx, rcx
mov ecx, eax
mov r9d, 0x4000
xor r8d, r8d
call fcn.140041b90
mov ecx, eax
call fcn.140041b60
test al, al
je 0x1400208c3
xor r8d, r8d
lea rcx, [rsp + 0x48]
mov rdx, rbx
call fcn.1400417f0
test eax, eax
js 0x1400208c8
mov rcx, qword [rsp + 0x48]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
je 0x140020851
xor ebx, ebx
jmp 0x140020864
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call fcn.14001ee80
mov ebx, eax
test eax, eax
js 0x1400208ac
test dil, 2
jne 0x1400208ac
mov rcx, qword [rsp + 0x48]
mov edx, 0x2000
call qword [sym.imp.KERNEL32.dll_SetFileAttributesW]
test eax, eax
jne 0x1400208aa
test dil, 4
jne 0x1400208aa
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call fcn.14001ee80
mov rcx, qword [rsp + 0x48]
mov ebx, eax
call fcn.1400417e0
mov eax, ebx
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
xor ebx, ebx
mov rcx, qword [rsp + 0x48]
call fcn.1400417e0
mov eax, ebx
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
mov eax, 0xffffffeb
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret

Function at 0x1400208e0
Capabilities:
Delete directory

Disassembly:
sub rsp, 0x28
mov rdx, rcx
xor r8d, r8d
lea rcx, [rsp + 0x38]
call fcn.1400417f0
test eax, eax
js 0x140020930
mov rcx, qword [rsp + 0x38]
mov qword [rsp + 0x20], rbx
call qword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
test eax, eax
je 0x140020910
xor ebx, ebx
jmp 0x14002091f
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call fcn.14001ee80
mov ebx, eax
mov rcx, qword [rsp + 0x38]
call fcn.1400417e0
mov eax, ebx
mov rbx, qword [rsp + 0x20]
add rsp, 0x28
ret
Function at 0x140021c90
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 0x140021cfe
cmp dword [rcx + 4], 2
jne 0x140021cfe
mov rcx, qword [rcx + 0x20]
lea r8, str.C:DevelAntidetect4PersonalVirtualBox_srcVBoxRuntime_r3_ntdirenum_r3_nt.cpp
lea rdx, [rsp + 0x40]
call fcn.1400344d0
test eax, eax
js 0x140021ef9
mov rcx, qword [rsp + 0x40]
mov qword [rbx + 0x78], rcx
call fcn.140035bb0
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 0x140021d39
test r12, r12
jne 0x140021d39
mov qword [rbx + 0x60], r13
xor edi, edi
jmp 0x140021ebf
mov r14d, dword [0x1400a0f2c]
mov esi, 0x4021
test r14d, r14d
je 0x140021d5c
test byte [rbx + 0x58], 4
je 0x140021d5c
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 0x140021da4
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.140042590
jmp 0x140021dce
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.1400426b0
mov edi, eax
cmp eax, 0xffffffda
jne 0x140021de0
test bpl, 0x20
je 0x140021de0
and ebp, 0xffffffdf
jmp 0x140021d70
bt esi, 0x15
jae 0x140021eb3
test edi, edi
je 0x140021e14
cmp edi, 0xfffffffe
jne 0x140021eb3
cmp r14d, 0xffffffff
jne 0x140021ea3
xor r14d, r14d
mov dword [0x1400a0f2c], r14d
btr esi, 0x15
jmp 0x140021d70
cmp r14d, 0xffffffff
jne 0x140021e24
mov dword [0x1400a0f2c], 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 0x140021e79
mov qword [rsp + 0xb8], 0
xor eax, eax
jmp 0x140021e80
mov eax, dword [rsp + 0xb8]
bt eax, 0xa
jae 0x140021eb7
mov rcx, qword [r15]
call qword [sym.imp.ntdll.dll_NtClose]
cmp dword [rsp + 0xbc], 0xa000000c
mov qword [r15], 0xffffffffffffffff
je 0x140021eac
btr esi, 0x15
jmp 0x140021d70
mov edi, 0xffffff60
jmp 0x140021edb
test edi, edi
js 0x140021edb
movzx eax, byte [rsp + 0xa0]
mov byte [rbx + 0x5d], 0
mov dword [rbx + 0xa8], 0
test al, al
je 0x140021edb
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 0x140022be0
Capabilities:
Get file attributes

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x1120]
mov eax, 0x1220
call fcn.140001110
sub rsp, rax
mov rax, qword [0x1400a0f20]
xor rax, rsp
mov qword [rbp + 0x1110], rax
mov r15, rdx
mov r12, rcx
xor r14d, r14d
mov r13d, 0x80000000
nop dword [rax]
mov qword [rbp + 0xf60], r12
lea rbx, [rbp + 0xf70]
mov qword [rbp + 0x1038], r15
xor esi, esi
nop word [rax + rax]
xor edx, edx
mov rcx, rbx
lea r8d, [rdx + 0x48]
call sym.NetMonitor.exe_nocrt_memset
mov rcx, qword [rbx - 0x10]
lea rdx, [rsp + 0x30]
xor eax, eax
mov dword [rsp + 0x30], 0xc0000365
mov r8, rbx
mov dword [rsp + 0x34], eax
mov qword [rsp + 0x38], 0xffffffffffffffd5
mov dword [rsp + 0x20], 0x1d
lea r9d, [rax + 0x48]
call qword [sym.imp.ntdll.dll_NtQueryInformationFile]
xor edx, edx
lea rcx, [rbx + 0x48]
mov dword [rbx - 8], eax
lea r8d, [rdx + 0x68]
call sym.NetMonitor.exe_nocrt_memset
mov rcx, qword [rbx - 0x10]
lea r8, [rbx + 0x48]
mov r9d, 0x68
mov dword [rsp + 0x30], 0xc0000365
lea rdx, [rsp + 0x30]
mov qword [rsp + 0x38], 0xffffffffffffffd5
mov dword [rsp + 0x20], 0x12
call qword [sym.imp.ntdll.dll_NtQueryInformationFile]
lea ecx, [rax + r13]
test r13d, ecx
jne 0x140022ceb
cmp eax, 0x80000005
jne 0x140022df7
xor edx, edx
lea rcx, [rsp + 0x40]
lea r8d, [rdx + 0x18]
call sym.NetMonitor.exe_nocrt_memset
mov rcx, qword [rbx - 0x10]
lea r8, [rsp + 0x40]
mov r9d, 0x1018
mov dword [rsp + 0x30], 0xc0000365
lea rdx, [rsp + 0x30]
mov qword [rsp + 0x38], 0xffffffffffffffd5
mov dword [rsp + 0x20], 1
call qword [sym.imp.ntdll.dll_NtQueryVolumeInformationFile]
test eax, eax
js 0x140022d4e
movaps xmm0, xmmword [rsp + 0x40]
movsd xmm1, qword [rsp + 0x50]
movups xmmword [rbx + 0xb0], xmm0
movsd qword [rbx + 0xc0], xmm1
jmp 0x140022d60
xor edx, edx
lea rcx, [rbx + 0xb0]
lea r8d, [rdx + 0x18]
call sym.NetMonitor.exe_nocrt_memset
inc rsi
add rbx, 0xd8
cmp rsi, 2
jb 0x140022c50
movzx eax, byte [rbp + 0x10cd]
cmp byte [rbp + 0xff5], al
jne 0x140022df7
mov eax, dword [rbp + 0x10b0]
xor eax, dword [rbp + 0xfd8]
test eax, 0x450
jne 0x140022df7
mov eax, dword [rbp + 0x1100]
cmp dword [rbp + 0x1028], eax
jne 0x140022df7
mov rax, qword [rbp + 0x10d0]
cmp qword [rbp + 0xff8], rax
jne 0x140022df7
cmp dword [rbp + 0xf68], 0
jl 0x140022dda
mov r8d, 0x18
lea rdx, [rbp + 0x1048]
lea rcx, [rbp + 0xf70]
call sym.NetMonitor.exe_nocrt_memcmp
test eax, eax
jne 0x140022dea
mov rax, qword [rbp + 0x1090]
cmp qword [rbp + 0xfb8], rax
je 0x140022e29
inc r14d
cmp r14d, 3
jb 0x140022c30
xor al, al
mov rcx, qword [rbp + 0x1110]
xor rcx, rsp
call fcn.140001250
lea r11, [rsp + 0x1220]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
mov al, 1
jmp 0x140022df9