joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140051480
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 0x1400514c9
mov r8d, 0xffffffff
cmp ecx, 0x24
mov r10b, 1
cmovb edx, ecx
movzx ecx, byte [rax]
cmp cl, 0x2b
jne 0x1400514df
mov r10b, 1
jmp 0x1400514e8
cmp cl, 0x2d
jne 0x1400514f1
xor r10b, 1
inc rax
add r8d, 0xffffffff
jne 0x1400514d2
lea rbx, [0x140000000]
test edx, edx
jne 0x140051546
cmp byte [rax], 0x30
lea edi, [rdx + 0xa]
jne 0x14005157e
cmp r8d, 1
jbe 0x140051531
movzx ecx, byte [rax + 1]
sub cl, 0x58
test cl, 0xdf
jne 0x140051531
movzx ecx, byte [rax + 2]
cmp byte [rcx + rbx + 0xb7400], 0x10
jae 0x140051531
add rax, 2
lea edi, [rdx + 0x10]
add r8d, 0xfffffffe
jmp 0x14005157e
movzx ecx, byte [rax + 1]
cmp byte [rcx + rbx + 0xb7400], 8
jae 0x14005157e
mov edi, 8
jmp 0x14005157e
mov edi, edx
cmp edx, 0x10
jne 0x14005157e
cmp byte [rax], 0x30
jne 0x14005157e
cmp r8d, 1
jbe 0x14005157e
movzx ecx, byte [rax + 1]
cmp cl, 0x78
je 0x140051566
cmp cl, 0x58
jne 0x14005157e
movzx ecx, byte [rax + 2]
mov edi, edx
cmp byte [rcx + rbx + 0xb7400], 0x10
jae 0x14005157e
add r8d, 0xfffffffe
add rax, 2
mov r14d, edi
mov r15, rax
movsx ebp, byte [r14 + rbx + 0xb7500]
mov rbx, r9
test r8d, r8d
je 0x1400515e7
lea r13, [0x140000000]
mov qword [rsp + 0x48], rsi
movzx ecx, byte [rax]
test cl, cl
je 0x1400515dd
movzx esi, byte [rcx + r13 + 0xb7400]
cmp esi, edi
jae 0x1400515dd
mov r11, rbx
imul rbx, r14
add rbx, rsi
cmp r11, rbx
ja 0x1400515ce
mov ecx, ebp
shr r11, cl
test r11, r11
je 0x1400515d4
mov r9d, 0x37
inc rax
add r8d, 0xffffffff
jne 0x1400515a1
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 0x14005160a
test r9d, r9d
mov ecx, 0x39
cmove r9d, ecx
neg rbx
test r12, r12
je 0x140051613
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 0x140051636
mov qword [r13], rax
mov r13, qword [rsp + 0x10]
test r9d, r9d
jne 0x140051683
cmp byte [rax], r9b
je 0x140051683
test r8d, r8d
je 0x140051683
nop word [rax + rax]
movzx ecx, byte [rax]
cmp cl, 0x20
je 0x14005165d
cmp cl, 9
jne 0x140051670
inc rax
add r8d, 0xffffffff
jne 0x140051650
mov eax, 0x4d
add rsp, 0x28
ret
test r8d, r8d
je 0x140051666
test cl, cl
je 0x140051666
mov eax, 0x4c
add rsp, 0x28
ret
mov eax, r9d
add rsp, 0x28
ret
Function at 0x140054d00
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.140054430
mov eax, dword [rbx + 0x28]
cmp eax, 2
je 0x140054e0d
mov rdx, rsi
mov qword [rsp + 0x38], rdi
lea rcx, [0x140105ab0]
call fcn.14007b080
mov rdi, rax
cmp rax, rbx
je 0x140054e08
test rax, rax
je 0x140054d6b
lea rcx, [rbx + 0x50]
mov edx, 2
call fcn.140001a20
mov rcx, rdi
call fcn.140054530
test byte [rdi + 0x50], 1
je 0x140054d6b
mov rcx, rdi
call fcn.140054f40
mov rax, rsi
lea rcx, [0x140105ab0]
xchg qword [rbx], rax
mov rdx, rbx
call fcn.14007b0b0
lock or dword [rbx + 0x50], 4
test al, al
je 0x140054dca
lock inc dword [0x140105ab8]
movsxd rax, dword [rbx + 0x48]
lea rcx, [0x140105a78]
lock inc dword [rcx + rax*4]
mov rdi, qword [0x1400f66c0]
cmp rdi, 0xffffffffffffffff
je 0x140054e08
mov rcx, rdi
call sub.KERNEL32.dll_TlsGetValue
test rax, rax
jne 0x140054e08
lea rdx, [rbx + 0x8d0]
mov rcx, rdi
call fcn.140066d60
jmp 0x140054e08
lea r9, str.void___cdecl_rtThreadInsert_struct_RTTHREADINT__unsigned___int64_
mov edx, 0x1ed
lea r8, str.C:DevelAntidetect4PersonalVirtualBox_srcVBoxRuntimecommonmisc_thread.cpp
lea rcx, [0x1400b7784]
call fcn.140057f60
lea r9, [rbx + 0x8c0]
mov r8, rsi
mov rdx, rbx
lea rcx, str.Lock_problem___p___RTnthrd___s_n
call fcn.140057f70
call fcn.140057fa0
int3
mov rdi, qword [rsp + 0x38]
mov rcx, qword [0x140105ac0]
call fcn.140071970
mov rsi, qword [rsp + 0x30]
mov ebx, eax
test eax, eax
jns 0x140054e57
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.140057f60
mov edx, ebx
lea rcx, str._Rra_n
call fcn.140057f70
call fcn.140057fa0
int3
add rsp, 0x20
pop rbx
ret

Function at 0x140054e60
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.140054d00
mov edx, dword [rbx + 0x48]
mov rcx, rbx
call fcn.14007b540
mov eax, 3
mov rcx, rbx
xchg dword [rbx + 0x28], eax
mov rax, qword [rbx + 0x58]
mov rdx, qword [rbx + 0x60]
call qword [case.0x140035d81.0]
mov esi, eax
call fcn.140066d90
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 0x140054ec0
call fcn.14005bc00
mov rcx, rbx
call fcn.1400544a0
mov rdi, qword [0x1400f66c0]
cmp rdi, 0xffffffffffffffff
je 0x140054ef8
mov rcx, rdi
call sub.KERNEL32.dll_TlsGetValue
lea rdx, [rbx + 0x8d0]
cmp rax, rdx
jne 0x140054ef8
lea rdx, [0x1400f66c8]
mov rcx, rdi
call fcn.140066d60
mov eax, dword [rbx + 0x24]
cmp eax, 1
jb 0x140054f17
mov eax, 0xffffffff
lock xadd dword [rbx + 0x24], eax
cmp eax, 1
jne 0x140054f17
mov rcx, rbx
call fcn.1400543a0
mov rbx, qword [rsp + 0x38]
mov eax, esi
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x1400554d0
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
mov r10, rcx
mov eax, 0xffffffff
test rdx, rdx
je 0x14005550f
lea r11, [0x1400b7860]
nop dword [rax]
nop dword [rax + rax]
movzx r9d, byte [r10]
lea r10, [r10 + 1]
mov r8d, eax
shr eax, 8
xor r9, r8
movzx ecx, r9b
xor eax, dword [r11 + rcx*4]
sub rdx, 1
jne 0x1400554f0
not eax
ret

Function at 0x140055530
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
test r8, r8
je 0x14005555e
lea r10, [0x1400b7860]
nop dword [rax]
movzx r9d, byte [rdx]
lea rdx, [rdx + 1]
mov eax, ecx
shr ecx, 8
xor r9, rax
movzx eax, r9b
xor ecx, dword [r10 + rax*4]
sub r8, 1
jne 0x140055540
mov eax, ecx
ret

Function at 0x140055620
Capabilities:
Get file attributes

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x80
mov rax, qword [0x1400f54e0]
xor rax, rsp
mov qword [rsp + 0x70], rax
xor ebx, ebx
mov ebp, edx
mov rdi, rcx
cmp byte [rcx + 0x14], bl
jne 0x1400556b5
movzx eax, byte [rcx + 0x12]
cmp byte [rcx + 0x10], bl
je 0x1400556bf
test al, al
jne 0x140055756
mov rcx, qword [rcx + 8]
lea rax, [rsp + 0x30]
mov qword [rsp + 0x28], rbx
xor r9d, r9d
xor r8d, r8d
mov qword [rsp + 0x20], rax
xor edx, edx
call qword [sym.imp.KERNEL32.dll_PeekNamedPipe]
test eax, eax
je 0x1400556a6
test bpl, 1
je 0x140055756
cmp dword [rsp + 0x30], ebx
jbe 0x140055756
mov ebx, 1
jmp 0x140055756
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x6d
jne 0x1400556b5
mov byte [rdi + 0x14], 1
mov ebx, 4
jmp 0x140055756
mov esi, 4
test al, al
je 0x1400556d3
call fcn.140055780
cmp byte [rdi + 0x14], bl
cmovne ebx, esi
cmp byte [rdi + 0x12], 0
jne 0x140055756
test ebx, ebx
jne 0x140055756
xor edx, edx
lea r8d, [rbx + 0x10]
lea rcx, [rsp + 0x38]
call sym.vkat.exe_nocrt_memset
xor edx, edx
lea r8d, [rbx + 0x28]
lea rcx, [rsp + 0x48]
call sym.vkat.exe_nocrt_memset
mov rcx, qword [rdi + 8]
lea r9d, [rbx + 0x28]
lea r8, [rsp + 0x48]
mov dword [rsp + 0x20], 0x18
lea rdx, [rsp + 0x38]
call qword [sym.imp.ntdll.dll_NtQueryInformationFile]
test eax, eax
js 0x14005574a
cmp dword [rsp + 0x68], esi
jne 0x14005572f
mov ebx, esi
mov byte [rdi + 0x14], 1
jmp 0x140055756
test bpl, 2
je 0x140055756
cmp dword [rsp + 0x64], 0
ja 0x140055743
cmp dword [rsp + 0x60], 0
jne 0x140055756
mov ebx, 2
jmp 0x140055756
test bpl, 2
mov eax, 2
cmovne ebx, eax
mov eax, ebx
mov rcx, qword [rsp + 0x70]
xor rcx, rsp
call fcn.140001270
lea r11, [rsp + 0x80]
mov rbx, qword [r11 + 0x18]
mov rbp, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret
Function at 0x140055780
Capabilities:
Write file on windows

Disassembly:
push rbx
sub rsp, 0x30
mov rbx, rcx
xor edx, edx
mov rcx, qword [rcx + 0x38]
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0x1400558bb
mov rcx, qword [rbx + 8]
lea r9d, [rax + 1]
mov qword [rsp + 0x48], rdi
lea r8, [rsp + 0x40]
lea rdi, [rbx + 0x20]
mov dword [rsp + 0x40], eax
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_GetOverlappedResult]
test eax, eax
je 0x14005589f
mov edx, dword [rsp + 0x40]
mov rax, qword [rbx + 0x48]
cmp rdx, rax
jae 0x140055829
nop word [rax + rax]
mov rcx, qword [rbx + 0x40]
sub rax, rdx
add rdx, rcx
mov r8, rax
call sym.vkat.exe_nocrt_memmove
mov rcx, qword [rbx + 0x38]
call qword [sym.imp.KERNEL32.dll_ResetEvent]
mov r8d, dword [rbx + 0x48]
lea r9, [rsp + 0x40]
mov rdx, qword [rbx + 0x40]
mov rcx, qword [rbx + 8]
mov qword [rsp + 0x20], rdi
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x14005583a
mov edx, dword [rsp + 0x40]
mov rax, qword [rbx + 0x48]
cmp rdx, rax
jb 0x1400557e0
mov byte [rbx + 0x12], 0
xor eax, eax
mov rdi, qword [rsp + 0x48]
add rsp, 0x30
pop rbx
ret
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x3e5
jne 0x140055857
mov rdi, qword [rsp + 0x48]
mov eax, 0x34
add rsp, 0x30
pop rbx
ret
mov byte [rbx + 0x12], 0
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xe8
jne 0x14005587c
mov rdi, qword [rsp + 0x48]
mov eax, 0xfffffed3
mov byte [rbx + 0x14], 1
add rsp, 0x30
pop rbx
ret
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call fcn.14005db40
cmp eax, 0xfffffed3
jne 0x14005582f
mov rdi, qword [rsp + 0x48]
mov byte [rbx + 0x14], 1
add rsp, 0x30
pop rbx
ret
mov byte [rbx + 0x12], 0
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call fcn.14005db40
mov rdi, qword [rsp + 0x48]
add rsp, 0x30
pop rbx
ret
cmp eax, 0x102
jne 0x1400558cd
mov eax, 0x34
add rsp, 0x30
pop rbx
ret
mov byte [rbx + 0x12], 0
cmp eax, 0x80
jne 0x1400558e3
mov eax, 0xfffffffc
add rsp, 0x30
pop rbx
ret
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
add rsp, 0x30
pop rbx
jmp fcn.14005db40
Function at 0x1400564f0
Capabilities:
Read file on windows

Disassembly:
push rbx
push rbp
push r14
push r15
sub rsp, 0x48
mov r14, r9
mov rbp, r8
mov r15, rdx
mov rbx, rcx
cmp rcx, 0x1000
jb 0x140056701
movabs rax, 0xffff800000000000
test rax, rcx
jne 0x140056701
cmp dword [rcx], 0x19570528
jne 0x140056701
cmp byte [rcx + 0x10], 0
je 0x1400566f1
mov qword [rsp + 0x78], rsi
add rcx, 0x60
mov qword [rsp + 0x80], rdi
call fcn.1400518e0
mov edi, eax
test eax, eax
js 0x1400566d7
cmp dword [rbx + 0x18], 0
jne 0x1400566c9
mov rcx, qword [rbx + 0x38]
mov qword [rsp + 0x88], r12
mov qword [rsp + 0x40], r13
mov dword [rbx + 0x18], 1
call qword [sym.imp.KERNEL32.dll_ResetEvent]
xor edi, edi
mov r13d, 0xffffffff
mov eax, edi
mov dword [rsp + 0x70], eax
test rbp, rbp
je 0x1400566b3
mov rcx, qword [rbx + 8]
lea r12, [rbx + 0x20]
mov r8d, r13d
mov qword [rsp + 0x20], r12
cmp rbp, r13
lea r9, [rsp + 0x70]
mov rdx, r15
cmovbe r8d, ebp
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x1400566af
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x3e5
jne 0x140056692
lea rcx, [rbx + 0x60]
mov byte [rbx + 0x12], 1
call fcn.140051ac0
mov rcx, qword [rbx + 8]
lea rdx, [rsp + 0x30]
xor eax, eax
mov dword [rsp + 0x30], 0xc0000365
mov dword [rsp + 0x34], eax
mov qword [rsp + 0x38], 0xffffffffffffffd5
call qword [sym.imp.ntdll.dll_NtCancelIoFile]
test eax, eax
jns 0x14005661e
mov rcx, qword [rbx + 0x38]
mov edx, r13d
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rcx, qword [rbx + 8]
lea r8, [rsp + 0x70]
mov r9d, 1
mov rdx, r12
call qword [sym.imp.KERNEL32.dll_GetOverlappedResult]
test eax, eax
je 0x140056650
mov eax, dword [rsp + 0x70]
lea rcx, [rbx + 0x60]
mov qword [r14], rax
call fcn.1400518e0
mov byte [rbx + 0x12], 0
jmp 0x1400566a1
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x3e3
jne 0x140056674
mov qword [r14], rdi
lea rcx, [rbx + 0x60]
mov edi, 0x34
call fcn.1400518e0
mov byte [rbx + 0x12], 0
jmp 0x1400566a1
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call fcn.14005db40
lea rcx, [rbx + 0x60]
mov edi, eax
call fcn.1400518e0
mov byte [rbx + 0x12], 0
jmp 0x1400566a1
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call fcn.14005db40
mov edi, eax
cmp edi, 0xfffffed3
jne 0x1400566b6
mov byte [rbx + 0x14], 1
jmp 0x1400566b6
mov eax, dword [rsp + 0x70]
mov qword [r14], rax
add dword [rbx + 0x18], r13d
mov r13, qword [rsp + 0x40]
mov r12, qword [rsp + 0x88]
jmp 0x1400566ce
mov edi, 0xffffffea
lea rcx, [rbx + 0x60]
call fcn.140051ac0
mov rsi, qword [rsp + 0x78]
mov eax, edi
mov rdi, qword [rsp + 0x80]
add rsp, 0x48
pop r15
pop r14
pop rbp
pop rbx
ret
mov eax, 0xffffffda
add rsp, 0x48
pop r15
pop r14
pop rbp
pop rbx
ret
mov eax, 0xfffffffc
add rsp, 0x48
pop r15
pop r14
pop rbp
pop rbx
ret
Function at 0x140056720
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x20], r9
push rbx
push rbp
push r13
push r15
sub rsp, 0x48
mov r13, r9
mov rbp, r8
mov r15, rdx
mov rbx, rcx
cmp rcx, 0x1000
jb 0x1400568fa
movabs rax, 0xffff800000000000
test rax, rcx
jne 0x1400568fa
cmp dword [rcx], 0x19570528
jne 0x1400568fa
cmp byte [rcx + 0x10], 0
je 0x1400568ea
mov qword [rsp + 0x78], rsi
add rcx, 0x60
mov qword [rsp + 0x40], rdi
call fcn.1400518e0
mov edi, eax
test eax, eax
js 0x1400568d3
cmp dword [rbx + 0x18], 0
jne 0x1400568c5
xor eax, eax
mov qword [rsp + 0x30], r14
mov dword [rbx + 0x18], 1
mov r14d, eax
mov ecx, 0xffffffff
test rbp, rbp
je 0x1400568a3
mov qword [rsp + 0x38], r12
xor r13d, r13d
lea r12, [rbx + 0x20]
mov rcx, qword [rbx + 0x38]
call qword [sym.imp.KERNEL32.dll_ResetEvent]
lea rcx, [rbx + 0x60]
mov dword [rsp + 0x70], r13d
mov byte [rbx + 0x12], 1
call fcn.140051ac0
mov rcx, qword [rbx + 8]
lea r9, [rsp + 0x70]
mov edi, 0xffffffff
mov qword [rsp + 0x20], r12
mov r8d, edi
cmp rbp, rdi
mov rdx, r15
cmovbe r8d, ebp
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x14005681b
lea rcx, [rbx + 0x60]
mov edi, r13d
call fcn.1400518e0
mov byte [rbx + 0x12], dil
jmp 0x140056870
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x3e5
jne 0x140056850
mov rcx, qword [rbx + 0x38]
mov edx, edi
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rcx, qword [rbx + 8]
lea r8, [rsp + 0x70]
mov r9d, 1
mov rdx, r12
call qword [sym.imp.KERNEL32.dll_GetOverlappedResult]
test eax, eax
jne 0x140056809
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call fcn.14005db40
lea rcx, [rbx + 0x60]
mov edi, eax
call fcn.1400518e0
mov byte [rbx + 0x12], r13b
test edi, edi
js 0x140056883
mov eax, dword [rsp + 0x70]
add r14, rax
add r15, rax
sub rbp, rax
jne 0x1400567c3
mov r12, qword [rsp + 0x38]
mov ecx, 0xffffffff
mov r13, qword [rsp + 0x88]
cmp edi, 0xfffffed3
jne 0x1400568a1
mov byte [rbx + 0x14], 1
xor eax, eax
test r13, r13
je 0x1400568bb
mov qword [r13], r14
test edi, edi
jns 0x1400568bb
test r14, r14
je 0x1400568bb
cmp edi, 0xfffffffa
cmovne edi, eax
add dword [rbx + 0x18], ecx
mov r14, qword [rsp + 0x30]
jmp 0x1400568ca
mov edi, 0xffffffea
lea rcx, [rbx + 0x60]
call fcn.140051ac0
mov rsi, qword [rsp + 0x78]
mov eax, edi
mov rdi, qword [rsp + 0x40]
add rsp, 0x48
pop r15
pop r13
pop rbp
pop rbx
ret
mov eax, 0xffffffda
add rsp, 0x48
pop r15
pop r13
pop rbp
pop rbx
ret
mov eax, 0xfffffffc
add rsp, 0x48
pop r15
pop r13
pop rbp
pop rbx
ret
Function at 0x140057370
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r14
sub rsp, 0x30
mov esi, r8d
mov rbp, rdx
mov rbx, rcx
cmp rcx, 0x1000
jb 0x140057499
movabs rax, 0xffff800000000000
test rax, rcx
jne 0x140057499
cmp dword [rcx], 0x19570528
jne 0x140057499
add rcx, 0x60
call fcn.1400518e0
test eax, eax
js 0x140057499
cmp dword [rbx + 0x18], 0
je 0x1400573e9
cmp qword [rbx + 0x58], rbp
je 0x1400573e9
lea rcx, [rbx + 0x60]
mov edi, 0xffffffff
call fcn.140051ac0
mov eax, edi
jmp 0x14005749e
mov edx, esi
mov rcx, rbx
call fcn.140055620
mov edi, eax
test eax, eax
jne 0x140057465
cmp byte [rsp + 0x70], al
jne 0x140057465
movzx eax, byte [rbx + 0x12]
test al, al
jne 0x14005745e
mov rcx, qword [rbx + 0x38]
call qword [sym.imp.KERNEL32.dll_ResetEvent]
movzx eax, byte [rbx + 0x12]
test al, al
jne 0x14005745e
cmp byte [rbx + 0x10], al
je 0x14005745e
test sil, 1
je 0x14005745e
mov rcx, qword [rbx + 8]
lea rax, [rbx + 0x20]
lea rdx, [rbx + 0x90]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x50]
mov dword [rsp + 0x50], edi
xor r8d, r8d
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x140057472
mov edx, esi
mov rcx, rbx
call fcn.140055620
mov edi, eax
test eax, eax
jne 0x140057465
inc dword [rbx + 0x18]
mov qword [rbx + 0x58], rbp
lea rcx, [rbx + 0x60]
call fcn.140051ac0
mov eax, edi
jmp 0x14005749e
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x3e5
jne 0x140057487
mov word [rbx + 0x12], 0x101
jmp 0x14005745e
lea rcx, [rbx + 0x60]
mov edi, 4
call fcn.140051ac0
mov eax, edi
jmp 0x14005749e
mov eax, 0xffffffff
mov rbx, qword [rsp + 0x58]
mov rbp, qword [rsp + 0x60]
add rsp, 0x30
pop r14
pop rdi
pop rsi
ret
Function at 0x14005c580
Capabilities:
Link many functions at runtime

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
sub rsp, 0x20
mov qword [rsp + 0x30], rsi
mov esi, ecx
mov ecx, 0x8001
call qword [sym.imp.KERNEL32.dll_SetErrorMode]
or eax, 0x8001
mov ecx, eax
call qword [sym.imp.KERNEL32.dll_SetErrorMode]
mov rcx, qword [0x140105c10]
lea rdx, str.SetDllDirectoryW
xor ebp, ebp
mov ebx, ebp
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x14005c5e8
lea rcx, [0x1400b809c]
call qword [case.0x140035d81.0]
test eax, eax
je 0x14005c5e3
mov dword [0x1400f5544], 2
jmp 0x14005c5e8
mov ebx, 0xffffff1d
and esi, 4
mov qword [rsp + 0x38], rdi
cmp dword [0x140105ae4], 0x6c
jg 0x14005c5fd
test esi, esi
je 0x14005c650
mov rcx, qword [0x140105c10]
lea rdx, str.SetDefaultDllDirectories
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x14005c650
mov ecx, 0x800
test esi, esi
mov edi, 0xa00
cmovne edi, ecx
mov ecx, edi
call qword [case.0x140035d81.0]
test eax, eax
je 0x14005c646
and edi, 0x200
neg edi
sbb eax, eax
add eax, 4
mov dword [0x1400f5544], eax
jmp 0x14005c650
test ebx, ebx
mov eax, 0xffffff1c
cmovns ebx, eax
mov rcx, qword [0x140105c10]
lea rdx, str.GetCurrentThreadStackLimits
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [0x140105c10]
lea rdx, str.SetUnhandledExceptionFilter
mov qword [0x140105ad0], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [0x140105c10]
lea rdx, str.UnhandledExceptionFilter
mov qword [0x140105c78], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rsi, qword [rsp + 0x30]
mov qword [0x140105c80], rax
mov rax, qword [0x140105c78]
test rax, rax
je 0x14005c6d9
cmp qword [0x140105ad8], rbp
jne 0x14005c6d9
lea rdi, [0x14005cc70]
mov rcx, rdi
call qword [case.0x140035d81.0]
cmp rax, rdi
cmove rax, rbp
mov qword [0x140105ad8], rax
mov rdi, qword [rsp + 0x38]
mov eax, ebx
mov rbx, qword [rsp + 0x40]
add rsp, 0x20
pop rbp
ret
Function at 0x14005d980
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 0x10], rbx
push rbp
push rsi
push rdi
sub rsp, 0x40
xor ebp, ebp
lea rax, str.C:DevelAntidetect4PersonalVirtualBox_srcVBoxRuntime_r3winpathint_win.cpp
mov rbx, rdx
mov qword [rsp + 0x28], rax
mov rdi, rcx
mov qword [rcx], rbp
lea rax, [rsp + 0x60]
mov qword [rsp + 0x60], rbp
mov r8, rcx
mov qword [rsp + 0x20], rax
lea rdx, [rbp - 1]
xor r9d, r9d
mov rcx, rbx
call fcn.14005b270
mov esi, eax
test eax, eax
js 0x14005db23
mov rcx, qword [rsp + 0x60]
cmp rcx, 0xf3
ja 0x14005da8e
movsx edx, byte [rbx]
lea eax, [rdx - 0x61]
cmp eax, 0x1a
jb 0x14005d9f3
lea eax, [rdx - 0x41]
cmp eax, 0x1a
jae 0x14005da28
cmp byte [rbx + 1], 0x3a
jne 0x14005da28
movzx eax, byte [rbx + 2]
cmp al, 0x5c
je 0x14005db05
cmp al, 0x2f
je 0x14005db05
mov rcx, rdi
call fcn.14005d8f0
test al, al
je 0x14005da8e
xor eax, eax
mov rbx, qword [rsp + 0x68]
add rsp, 0x40
pop rdi
pop rsi
pop rbp
ret
cmp dl, 0x5c
je 0x14005da4c
cmp dl, 0x2f
je 0x14005da4c
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
mov ecx, eax
add rcx, qword [rsp + 0x60]
cmp rcx, 0xf2
jmp 0x14005da8c
movzx eax, byte [rbx + 1]
cmp al, 0x5c
je 0x14005da58
cmp al, 0x2f
jne 0x14005da85
movzx eax, byte [rbx + 2]
cmp al, 0x5c
je 0x14005da85
cmp al, 0x2f
je 0x14005da85
test al, al
je 0x14005da85
cmp al, 0x3f
jne 0x14005da7c
movzx eax, byte [rbx + 3]
cmp al, 0x5c
je 0x14005da7c
cmp al, 0x2f
jne 0x14005db05
cmp rcx, 0xf0
jmp 0x14005da8c
cmp rcx, 0xf1
jbe 0x14005db05
mov rcx, qword [rdi]
call fcn.140041e90
mov r8, rbx
mov qword [rdi], rbp
lea rdx, [rsp + 0x78]
mov dword [rsp + 0x30], ebp
lea rcx, [rsp + 0x30]
mov qword [rsp + 0x38], rbp
mov qword [rsp + 0x78], rbp
call fcn.14005feb0
mov esi, eax
test eax, eax
js 0x14005db23
cmp qword [rsp + 0x78], rbp
jne 0x14005db14
mov rax, qword [rsp + 0x38]
cmp word [rax], 0x5c
jne 0x14005db14
cmp word [rax + 2], 0x3f
jne 0x14005db14
cmp word [rax + 4], 0x3f
jne 0x14005db14
cmp word [rax + 6], 0x5c
jne 0x14005db14
mov ecx, 0x5c
mov word [rax + 2], cx
movzx eax, word [rsp + 0x30]
mov rcx, qword [rsp + 0x38]
shr rax, 1
cmp word [rcx + rax*2], bp
jne 0x14005db14
mov qword [rdi], rcx
xor eax, eax
mov rbx, qword [rsp + 0x68]
add rsp, 0x40
pop rdi
pop rsi
pop rbp
ret
lea rdx, [rsp + 0x78]
lea rcx, [rsp + 0x30]
call fcn.14005fd50
mov rbx, qword [rsp + 0x68]
mov eax, esi
add rsp, 0x40
pop rdi
pop rsi
pop rbp
ret
Function at 0x14005ecf0
Capabilities:
Get file attributes

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rbp
push rdi
push r12
push r14
sub rsp, 0x40
xor eax, eax
mov dword [rsp + 0x30], 0xc0000365
mov r14, r8
mov dword [rsp + 0x34], eax
mov rbx, r9
mov qword [rsp + 0x38], 0xffffffffffffffd5
mov rdi, rdx
mov dword [rsp + 0x20], 0x12
mov r8, rdx
lea r9d, [rax + 0x68]
lea rdx, [rsp + 0x30]
mov rbp, rcx
call qword [sym.imp.ntdll.dll_NtQueryInformationFile]
mov r12d, 0x80000000
lea ecx, [rax + r12]
test r12d, ecx
jne 0x14005ed62
cmp eax, 0x80000005
je 0x14005ed62
mov ecx, eax
call fcn.140060810
jmp 0x14005ee84
mov rax, qword [rdi + 0x30]
movabs rcx, 0x5e6684f4b3960000
mov qword [rbx], rax
mov rax, qword [rdi + 0x28]
mov qword [rbx + 8], rax
imul rax, qword [rdi], 0x64
mov qword [rsp + 0x60], rsi
mov rsi, qword [rsp + 0x88]
add rax, rcx
mov qword [rbx + 0x28], rax
imul rax, qword [rdi + 8], 0x64
mov qword [rsp + 0x68], r15
xor r15d, r15d
add rax, rcx
mov qword [rbx + 0x10], rax
imul rax, qword [rdi + 0x10], 0x64
add rax, rcx
mov qword [rbx + 0x18], rax
imul rax, qword [rdi + 0x18], 0x64
add rax, rcx
mov qword [rbx + 0x20], rax
test rsi, rsi
je 0x14005edce
mov rcx, rsi
call sym.vkat.exe_nocrt_strlen
jmp 0x14005edd1
mov rax, r15
mov ecx, dword [rdi + 0x20]
mov r8, rax
mov r9d, dword [rsp + 0x90]
and ecx, 0x7fff
shl ecx, 0x10
mov rdx, rsi
mov dword [rsp + 0x20], r15d
call fcn.14005e460
mov esi, dword [rsp + 0x80]
mov dword [rbx + 0x30], eax
mov dword [rbx + 0x34], esi
cmp esi, 2
jne 0x14005ee6d
mov ecx, 1
mov qword [rbx + 0x38], 0xffffffffffffffff
mov eax, dword [rdi + 0x38]
lea rdx, [rsp + 0x30]
cmp eax, ecx
mov dword [rbx + 0x44], r15d
mov dword [rsp + 0x20], ecx
mov r8, rdi
cmovbe eax, ecx
mov rcx, rbp
mov dword [rbx + 0x40], eax
mov rax, qword [rdi + 0x40]
mov qword [rbx + 0x48], rax
mov eax, 0x800
cmp r14, rax
mov qword [rbx + 0x50], r15
mov dword [rbx + 0x58], r15d
cmovbe eax, r14d
mov r9d, eax
call qword [sym.imp.ntdll.dll_NtQueryVolumeInformationFile]
lea ecx, [rax + r12]
test r12d, ecx
jne 0x14005ee67
cmp eax, 0x80000005
jne 0x14005ee6d
mov eax, dword [rdi + 8]
mov dword [rbx + 0x44], eax
mov r8d, esi
mov rdx, rbx
xor ecx, ecx
call fcn.14005e740
mov r15, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x60]
mov rbx, qword [rsp + 0x70]
mov rbp, qword [rsp + 0x78]
add rsp, 0x40
pop r14
pop r12
pop rdi
ret