joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14002e110
Capabilities:
Check if file exists
Get common file path
Get file attributes
Get program files directory
Query environment variable

Disassembly:
sub rsp, 0x678
mov rax, qword [0x1400f2120]
xor rax, rsp
mov qword [rsp + 0x660], rax
xor edx, edx
lea rcx, [rsp + 0x450]
mov r8d, 0x208
call fcn.1400773b0
movaps xmm0, xmmword [str.oracle_virtualbox_guest_additions_]
lea rcx, [rsp + 0x76]
movaps xmm1, xmmword [0x1400c4390]
xor edx, edx
mov eax, dword [0x1400c43c0]
mov r8d, 0x1c2
movaps xmmword [rsp + 0x30], xmm0
movaps xmm0, xmmword [0x1400c43a0]
movaps xmmword [rsp + 0x40], xmm1
movaps xmm1, xmmword [0x1400c43b0]
mov dword [rsp + 0x70], eax
movzx eax, word [0x1400c43c4]
movaps xmmword [rsp + 0x50], xmm0
movaps xmmword [rsp + 0x60], xmm1
mov word [rsp + 0x74], ax
call fcn.1400773b0
lea rdx, [0x1400f4370]
mov dword [rsp + 0x20], 0
mov rcx, rdx
xor eax, eax
nop word [rax + rax]
cmp dword [rcx], 8
je 0x14002e22e
inc eax
add rcx, 0x30
cmp eax, 0x1e
jb 0x14002e1b0
xor r9d, r9d
lea rdx, [rsp + 0x240]
xor ecx, ecx
lea r8d, [r9 + 0x26]
call qword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
lea r8, [rsp + 0x30]
lea rdx, [rsp + 0x240]
lea rcx, [rsp + 0x450]
call qword [sym.imp.SHLWAPI.dll_PathCombineW]
lea rcx, [rsp + 0x450]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x14002e2bc
test al, 0x10
je 0x14002e2bc
mov eax, 1
mov rcx, qword [rsp + 0x660]
xor rcx, rsp
call fcn.140057d50
add rsp, 0x678
ret
cdqe
lea rcx, [rax + rax*2]
add rcx, rcx
cmp byte [rdx + rcx*8 + 0x24], 0
je 0x14002e1c0
mov qword [rsp + 0x670], rbx
xor eax, eax
mov rcx, rdx
nop dword [rax + rax]
cmp dword [rcx], 8
je 0x14002e2a5
inc eax
add rcx, 0x30
cmp eax, 0x1e
jb 0x14002e250
xor ebx, ebx
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
lea rdx, [rsp + 0x20]
call rbx
cmp dword [rsp + 0x20], 0
mov rbx, qword [rsp + 0x670]
je 0x14002e1c0
mov r8d, 0x104
lea rdx, [rsp + 0x240]
lea rcx, str._ProgramW6432_
call qword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
jmp 0x14002e1d7
cdqe
lea rbx, [rax + rax*2]
add rbx, rbx
cmp byte [rdx + rbx*8 + 0x24], 0
je 0x14002e260
mov rbx, qword [rdx + rbx*8 + 0x28]
jmp 0x14002e262
xor eax, eax
mov rcx, qword [rsp + 0x660]
xor rcx, rsp
call fcn.140057d50
add rsp, 0x678
ret
Function at 0x14002e550
Capabilities:
Reference wmi statements

Disassembly:
push rbp
push rbx
push r15
mov rbp, rsp
sub rsp, 0x70
xor r15d, r15d
lea rdx, [rbp - 0x40]
lea rcx, [rbp + 0x30]
mov qword [rbp + 0x30], r15
mov qword [rbp - 0x40], r15
mov ebx, r15d
mov qword [rbp + 0x28], r15
call fcn.140032810
test eax, eax
je 0x14002e725
mov qword [rsp + 0x68], rsi
lea rcx, [0x1400c60a8]
mov qword [rsp + 0x60], rdi
mov qword [rsp + 0x58], r12
mov qword [rsp + 0x50], r14
call qword [sym.imp.OLEAUT32.dll_SysReAllocString]
lea rcx, str.SELECT__FROM_Win32_NetworkAdapterConfiguration
mov rsi, rax
call qword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov r12d, 1
mov rdi, rax
mov r14d, r12d
test rsi, rsi
je 0x14002e61a
test rax, rax
je 0x14002e611
mov rcx, qword [rbp + 0x30]
lea rax, [rbp + 0x28]
mov qword [rsp + 0x28], rax
lea r9d, [r15 + 0x30]
mov r8, rdi
mov qword [rsp + 0x20], r15
mov rdx, rsi
mov r10, qword [rcx]
call qword [r10 + 0xa0]
test eax, eax
jns 0x14002e611
mov rcx, qword [rbp + 0x30]
mov r14d, r15d
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
mov rcx, qword [rbp - 0x40]
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
call qword [sym.imp.ole32.dll_CoUninitialize]
mov rcx, rsi
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
mov rsi, qword [rsp + 0x68]
test rdi, rdi
je 0x14002e62d
mov rcx, rdi
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
mov rdi, qword [rsp + 0x60]
test r14d, r14d
mov r14, qword [rsp + 0x50]
je 0x14002e715
mov rcx, qword [rbp + 0x28]
mov qword [rbp + 0x38], r15
mov dword [rbp + 0x20], r15d
test rcx, rcx
je 0x14002e6f5
nop word [rax + rax]
mov rax, qword [rcx]
lea rdx, [rbp + 0x20]
mov qword [rsp + 0x20], rdx
lea r9, [rbp + 0x38]
or edx, 0xffffffff
mov r8d, r12d
call qword [rax + 0x20]
cmp dword [rbp + 0x20], r15d
je 0x14002e6f1
mov rcx, qword [rbp + 0x38]
lea r9, [rbp - 0x38]
mov qword [rsp + 0x28], r15
lea rdx, str.MACAddress
xor r8d, r8d
mov qword [rsp + 0x20], r15
mov rax, qword [rcx]
call qword [rax + 0x20]
test eax, eax
js 0x14002e6d4
movzx eax, word [rbp - 0x38]
cmp ax, r12w
je 0x14002e6d4
test al, 8
je 0x14002e6ca
mov rcx, qword [rbp - 0x30]
lea rdx, str.08:00:27
call fcn.140077c00
test rax, rax
cmovne ebx, r12d
lea rcx, [rbp - 0x38]
call qword [sym.imp.OLEAUT32.dll_VariantCopy]
mov rcx, qword [rbp + 0x38]
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
test ebx, ebx
jne 0x14002e6f1
mov rcx, qword [rbp + 0x28]
test rcx, rcx
jne 0x14002e660
jmp 0x14002e6f5
mov rcx, qword [rbp + 0x28]
mov rdx, qword [rcx]
call qword [rdx + reloc.WS2_32.dll_recv]
mov rcx, qword [rbp + 0x30]
mov rdx, qword [rcx]
call qword [rdx + reloc.WS2_32.dll_recv]
mov rcx, qword [rbp - 0x40]
mov rdx, qword [rcx]
call qword [rdx + reloc.WS2_32.dll_recv]
call qword [sym.imp.ole32.dll_CoUninitialize]
mov eax, ebx
mov r12, qword [rsp + 0x58]
add rsp, 0x70
pop r15
pop rbx
pop rbp
ret
mov eax, ebx
add rsp, 0x70
pop r15
pop rbx
pop rbp
ret
Function at 0x14002ed00
Capabilities:
Reference wmi statements

Disassembly:
push rbp
push rbx
push r15
mov rbp, rsp
sub rsp, 0x70
xor r15d, r15d
lea rdx, [rbp - 0x40]
lea rcx, [rbp + 0x28]
mov qword [rbp + 0x28], r15
mov qword [rbp - 0x40], r15
mov ebx, r15d
mov qword [rbp + 0x30], r15
call fcn.140032810
test eax, eax
je 0x14002eecc
mov qword [rsp + 0x68], rsi
lea rcx, [0x1400c60a8]
mov qword [rsp + 0x60], rdi
mov qword [rsp + 0x58], r12
mov qword [rsp + 0x50], r14
call qword [sym.imp.OLEAUT32.dll_SysReAllocString]
lea rcx, str.SELECT__FROM_Win32_PnPEntity
mov rsi, rax
call qword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov r12d, 1
mov rdi, rax
mov r14d, r12d
test rsi, rsi
je 0x14002edca
test rax, rax
je 0x14002edc1
mov rcx, qword [rbp + 0x28]
lea rax, [rbp + 0x30]
mov qword [rsp + 0x28], rax
lea r9d, [r15 + 0x30]
mov r8, rdi
mov qword [rsp + 0x20], r15
mov rdx, rsi
mov r10, qword [rcx]
call qword [r10 + 0xa0]
test eax, eax
jns 0x14002edc1
mov rcx, qword [rbp + 0x28]
mov r14d, r15d
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
mov rcx, qword [rbp - 0x40]
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
call qword [sym.imp.ole32.dll_CoUninitialize]
mov rcx, rsi
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
mov rsi, qword [rsp + 0x68]
test rdi, rdi
je 0x14002eddd
mov rcx, rdi
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
mov rdi, qword [rsp + 0x60]
test r14d, r14d
mov r14, qword [rsp + 0x50]
je 0x14002eebc
mov rcx, qword [rbp + 0x30]
mov qword [rbp + 0x38], r15
mov dword [rbp + 0x20], r15d
test rcx, rcx
je 0x14002ee98
nop word [rax + rax]
mov rax, qword [rcx]
lea rdx, [rbp + 0x20]
mov qword [rsp + 0x20], rdx
lea r9, [rbp + 0x38]
or edx, 0xffffffff
mov r8d, r12d
call qword [rax + 0x20]
cmp dword [rbp + 0x20], r15d
je 0x14002ee98
mov rcx, qword [rbp + 0x38]
lea r9, [rbp - 0x38]
mov qword [rsp + 0x28], r15
lea rdx, str.DeviceId
xor r8d, r8d
mov qword [rsp + 0x20], r15
mov rax, qword [rcx]
call qword [rax + 0x20]
test eax, eax
js 0x14002ee7d
cmp word [rbp - 0x38], 8
jne 0x14002ee73
mov rcx, qword [rbp - 0x30]
lea rdx, str.PCIVEN_80EEDEV_CAFE
call fcn.140077c00
test rax, rax
cmovne ebx, r12d
lea rcx, [rbp - 0x38]
call qword [sym.imp.OLEAUT32.dll_VariantCopy]
mov rcx, qword [rbp + 0x38]
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
test ebx, ebx
jne 0x14002ee98
mov rcx, qword [rbp + 0x30]
test rcx, rcx
jne 0x14002ee10
mov rcx, qword [rbp + 0x28]
mov rdx, qword [rcx]
call qword [rdx + reloc.WS2_32.dll_recv]
mov rcx, qword [rbp - 0x40]
mov rdx, qword [rcx]
call qword [rdx + reloc.WS2_32.dll_recv]
mov rcx, qword [rbp + 0x30]
mov rdx, qword [rcx]
call qword [rdx + reloc.WS2_32.dll_recv]
call qword [sym.imp.ole32.dll_CoUninitialize]
mov eax, ebx
mov r12, qword [rsp + 0x58]
add rsp, 0x70
pop r15
pop rbx
pop rbp
ret
mov eax, ebx
add rsp, 0x70
pop r15
pop rbx
pop rbp
ret
Function at 0x14002eee0
Capabilities:
Reference wmi statements

Disassembly:
push rbp
push rdi
mov rbp, rsp
sub rsp, 0x68
xor edi, edi
lea rdx, [rbp - 0x38]
lea rcx, [rbp + 0x28]
mov qword [rbp + 0x28], rdi
mov qword [rbp - 0x38], rdi
mov qword [rbp + 0x20], rdi
call fcn.140032810
test eax, eax
je 0x14002f0eb
mov qword [rsp + 0x60], rbx
lea rcx, [0x1400c60a8]
mov qword [rsp + 0x58], rsi
mov qword [rsp + 0x50], r14
call qword [sym.imp.OLEAUT32.dll_SysReAllocString]
lea rcx, str.SELECT__FROM_Win32_PnPEntity
mov rsi, rax
call qword [sym.imp.OLEAUT32.dll_SysReAllocString]
lea r14d, [rdi + 1]
mov rbx, rax
test rsi, rsi
je 0x14002ef9a
test rax, rax
je 0x14002ef91
mov rcx, qword [rbp + 0x28]
lea rax, [rbp + 0x20]
mov qword [rsp + 0x28], rax
lea r9d, [rdi + 0x30]
mov r8, rbx
mov qword [rsp + 0x20], rdi
mov rdx, rsi
mov r10, qword [rcx]
call qword [r10 + 0xa0]
test eax, eax
jns 0x14002ef91
mov rcx, qword [rbp + 0x28]
mov r14d, edi
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
mov rcx, qword [rbp - 0x38]
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
call qword [sym.imp.ole32.dll_CoUninitialize]
mov rcx, rsi
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
mov rsi, qword [rsp + 0x58]
test rbx, rbx
je 0x14002efad
mov rcx, rbx
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
test r14d, r14d
mov r14, qword [rsp + 0x50]
je 0x14002f0dd
mov rcx, qword [rbp + 0x20]
mov ebx, edi
mov qword [rbp + 0x30], rdi
mov dword [rbp + 0x18], edi
test rcx, rcx
je 0x14002f0b6
nop dword [rax]
nop word [rax + rax]
mov rax, qword [rcx]
lea rdx, [rbp + 0x18]
mov qword [rsp + 0x20], rdx
lea r9, [rbp + 0x30]
or edx, 0xffffffff
mov r8d, 1
call qword [rax + 0x20]
cmp dword [rbp + 0x18], edi
je 0x14002f0b2
mov rcx, qword [rbp + 0x30]
lea r9, [rbp - 0x30]
mov qword [rsp + 0x28], rdi
lea rdx, str.Name
xor r8d, r8d
mov qword [rsp + 0x20], rdi
mov rax, qword [rcx]
call qword [rax + 0x20]
test eax, eax
js 0x14002f099
movzx eax, word [rbp - 0x30]
cmp ax, 1
je 0x14002f099
test al, 8
je 0x14002f08f
mov rcx, qword [rbp - 0x28]
lea rdx, str.82801FB
call fcn.140077c00
test rax, rax
jne 0x14002f08d
mov rcx, qword [rbp - 0x28]
lea rdx, str.82441FX
call fcn.140077c00
test rax, rax
jne 0x14002f08d
mov rcx, qword [rbp - 0x28]
lea rdx, str.82371SB
call fcn.140077c00
test rax, rax
jne 0x14002f08d
mov rcx, qword [rbp - 0x28]
lea rdx, str.OpenHCD
call fcn.140077c00
test rax, rax
je 0x14002f08f
inc ebx
lea rcx, [rbp - 0x30]
call qword [sym.imp.OLEAUT32.dll_VariantCopy]
mov rcx, qword [rbp + 0x30]
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
mov rcx, qword [rbp + 0x20]
test rcx, rcx
jne 0x14002efe0
jmp 0x14002f0b6
mov rcx, qword [rbp + 0x20]
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
mov rcx, qword [rbp + 0x28]
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
mov rcx, qword [rbp - 0x38]
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
call qword [sym.imp.ole32.dll_CoUninitialize]
cmp ebx, 3
setge dil
mov eax, edi
mov rbx, qword [rsp + 0x60]
add rsp, 0x68
pop rdi
pop rbp
ret
mov eax, edi
add rsp, 0x68
pop rdi
pop rbp
ret
Function at 0x14002f100
Capabilities:
Reference wmi statements

Disassembly:
push rbp
push rdi
mov rbp, rsp
sub rsp, 0x78
xor edi, edi
lea rdx, [rbp - 0x48]
lea rcx, [rbp + 0x28]
mov qword [rbp + 0x28], rdi
mov qword [rbp - 0x48], rdi
mov qword [rbp + 0x20], rdi
call fcn.140032810
test eax, eax
je 0x14002f303
mov qword [rsp + 0x70], rbx
lea rcx, [0x1400c60a8]
mov qword [rsp + 0x68], rsi
mov qword [rsp + 0x60], r14
mov qword [rsp + 0x58], r15
call qword [sym.imp.OLEAUT32.dll_SysReAllocString]
lea rcx, str.SELECT__FROM_Win32_Bus
mov rsi, rax
call qword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov r15d, 1
mov rbx, rax
mov r14d, r15d
test rsi, rsi
je 0x14002f1c4
test rax, rax
je 0x14002f1bb
mov rcx, qword [rbp + 0x28]
lea rax, [rbp + 0x20]
mov qword [rsp + 0x28], rax
lea r9d, [rdi + 0x30]
mov r8, rbx
mov qword [rsp + 0x20], rdi
mov rdx, rsi
mov r10, qword [rcx]
call qword [r10 + 0xa0]
test eax, eax
jns 0x14002f1bb
mov rcx, qword [rbp + 0x28]
mov r14d, edi
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
mov rcx, qword [rbp - 0x48]
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
call qword [sym.imp.ole32.dll_CoUninitialize]
mov rcx, rsi
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
test rbx, rbx
je 0x14002f1d2
mov rcx, rbx
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
test r14d, r14d
mov r14, qword [rsp + 0x60]
je 0x14002f2eb
mov rcx, qword [rbp + 0x20]
mov esi, edi
mov qword [rbp + 0x30], rdi
mov ebx, edi
mov dword [rbp + 0x18], edi
test rcx, rcx
je 0x14002f2cb
nop dword [rax + rax]
mov rax, qword [rcx]
lea rdx, [rbp + 0x18]
mov qword [rsp + 0x20], rdx
lea r9, [rbp + 0x30]
or edx, 0xffffffff
mov r8d, r15d
call qword [rax + 0x20]
cmp dword [rbp + 0x18], edi
je 0x14002f2bc
mov rcx, qword [rbp + 0x30]
lea r9, [rbp - 0x40]
mov qword [rsp + 0x28], rdi
lea rdx, str.Name
xor r8d, r8d
mov qword [rsp + 0x20], rdi
inc esi
mov rax, qword [rcx]
call qword [rax + 0x20]
test eax, eax
js 0x14002f2a3
movzx eax, word [rbp - 0x40]
cmp ax, r15w
je 0x14002f2a3
test al, 8
je 0x14002f299
mov rcx, qword [rbp - 0x38]
lea rdx, str.ACPIBus_BUS_0
call fcn.140077c00
test rax, rax
jne 0x14002f297
mov rcx, qword [rbp - 0x38]
lea rdx, str.PCI_BUS_0
call fcn.140077c00
test rax, rax
jne 0x14002f297
mov rcx, qword [rbp - 0x38]
lea rdx, str.PNP_BUS_0
call fcn.140077c00
test rax, rax
je 0x14002f299
inc ebx
lea rcx, [rbp - 0x40]
call qword [sym.imp.OLEAUT32.dll_VariantCopy]
mov rcx, qword [rbp + 0x30]
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
mov rcx, qword [rbp + 0x20]
test rcx, rcx
jne 0x14002f200
jmp 0x14002f2c0
mov rcx, qword [rbp + 0x20]
cmp esi, 3
jne 0x14002f2cb
cmp ebx, esi
cmove edi, r15d
mov rdx, qword [rcx]
call qword [rdx + reloc.WS2_32.dll_recv]
mov rcx, qword [rbp + 0x28]
mov rdx, qword [rcx]
call qword [rdx + reloc.WS2_32.dll_recv]
mov rcx, qword [rbp - 0x48]
mov rdx, qword [rcx]
call qword [rdx + reloc.WS2_32.dll_recv]
call qword [sym.imp.ole32.dll_CoUninitialize]
mov rsi, qword [rsp + 0x68]
mov eax, edi
mov rbx, qword [rsp + 0x70]
mov r15, qword [rsp + 0x58]
add rsp, 0x78
pop rdi
pop rbp
ret
mov eax, edi
add rsp, 0x78
pop rdi
pop rbp
ret
Function at 0x14002fd10
Capabilities:
Check if file exists
Get common file path
Get file attributes
Get program files directory
Query environment variable

Disassembly:
sub rsp, 0x678
mov rax, qword [0x1400f2120]
xor rax, rsp
mov qword [rsp + 0x660], rax
xor edx, edx
lea rcx, [rsp + 0x450]
mov r8d, 0x208
call fcn.1400773b0
movups xmm0, xmmword [0x1400c4f80]
xor edx, edx
lea rcx, [rsp + 0x40]
mov r8d, 0x1f8
movaps xmmword [rsp + 0x30], xmm0
call fcn.1400773b0
lea rdx, [0x1400f4370]
mov dword [rsp + 0x20], 0
mov rcx, rdx
xor eax, eax
cmp dword [rcx], 8
je 0x14002fdee
inc eax
add rcx, 0x30
cmp eax, 0x1e
jb 0x14002fd70
xor r9d, r9d
lea rdx, [rsp + 0x240]
xor ecx, ecx
lea r8d, [r9 + 0x26]
call qword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
lea r8, [rsp + 0x30]
lea rdx, [rsp + 0x240]
lea rcx, [rsp + 0x450]
call qword [sym.imp.SHLWAPI.dll_PathCombineW]
lea rcx, [rsp + 0x450]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x14002fe7c
test al, 0x10
je 0x14002fe7c
mov eax, 1
mov rcx, qword [rsp + 0x660]
xor rcx, rsp
call fcn.140057d50
add rsp, 0x678
ret
cdqe
lea rcx, [rax + rax*2]
add rcx, rcx
cmp byte [rdx + rcx*8 + 0x24], 0
je 0x14002fd80
mov qword [rsp + 0x670], rbx
xor eax, eax
mov rcx, rdx
nop dword [rax + rax]
cmp dword [rcx], 8
je 0x14002fe65
inc eax
add rcx, 0x30
cmp eax, 0x1e
jb 0x14002fe10
xor ebx, ebx
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
lea rdx, [rsp + 0x20]
call rbx
cmp dword [rsp + 0x20], 0
mov rbx, qword [rsp + 0x670]
je 0x14002fd80
mov r8d, 0x104
lea rdx, [rsp + 0x240]
lea rcx, str._ProgramW6432_
call qword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
jmp 0x14002fd97
cdqe
lea rbx, [rax + rax*2]
add rbx, rbx
cmp byte [rdx + rbx*8 + 0x24], 0
je 0x14002fe20
mov rbx, qword [rdx + rbx*8 + 0x28]
jmp 0x14002fe22
xor eax, eax
mov rcx, qword [rsp + 0x660]
xor rcx, rsp
call fcn.140057d50
add rsp, 0x678
ret
Function at 0x140030670
Capabilities:
Check if file exists
Get common file path
Get file attributes
Get program files directory
Query environment variable

Disassembly:
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x670
mov rax, qword [0x1400f2120]
xor rax, rsp
mov qword [rsp + 0x660], rax
xor edx, edx
lea rcx, [rsp + 0x40]
mov r8d, 0x208
call fcn.1400773b0
lea rax, str.qemu_ga
mov qword [rsp + 0x680], rbx
mov qword [rsp + 0x28], rax
lea rbp, [0x1400f4370]
lea rax, str.SPICE_Guest_Tools
xor esi, esi
mov qword [rsp + 0x30], rax
mov edi, esi
nop dword [rax]
nop word [rax + rax]
xor edx, edx
lea rcx, [rsp + 0x460]
mov r8d, 0x200
call fcn.1400773b0
mov ecx, esi
mov dword [rsp + 0x20], esi
mov rdx, rsi
mov rax, rbp
cmp dword [rax], 8
je 0x1400307b9
inc ecx
inc rdx
add rax, 0x30
cmp ecx, 0x1e
jb 0x140030701
xor r9d, r9d
lea rdx, [rsp + 0x250]
xor ecx, ecx
lea r8d, [r9 + 0x26]
call qword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
mov r8, qword [rsp + rdi*8 + 0x28]
lea rdx, [rsp + 0x250]
lea rcx, [rsp + 0x40]
call qword [sym.imp.SHLWAPI.dll_PathCombineW]
lea r9, [rsp + 0x40]
mov edx, 0x100
lea r8, str.Checking_QEMU_directory__s
lea rcx, [rsp + 0x460]
call fcn.14002db30
lea rcx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x14003077d
test al, 0x10
jne 0x140030838
inc rdi
cmp rdi, 2
jl 0x1400306e0
mov eax, esi
mov rbx, qword [rsp + 0x680]
mov rcx, qword [rsp + 0x660]
xor rcx, rsp
call fcn.140057d50
lea r11, [rsp + 0x670]
mov rbp, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret
lea rax, [rdx + rdx*2]
add rax, rax
cmp byte [rbp + rax*8 + 0x24], sil
je 0x140030718
mov ecx, esi
mov rdx, rsi
mov rax, rbp
cmp dword [rax], 8
je 0x140030823
inc ecx
inc rdx
add rax, 0x30
cmp ecx, 0x1e
jb 0x1400307d3
mov rbx, rsi
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
lea rdx, [rsp + 0x20]
call rbx
cmp dword [rsp + 0x20], esi
je 0x140030718
mov r8d, 0x104
lea rdx, [rsp + 0x250]
lea rcx, str._ProgramW6432_
call qword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
jmp 0x14003072f
lea rbx, [rdx + rdx*2]
add rbx, rbx
cmp byte [rbp + rbx*8 + 0x24], sil
je 0x1400307e6
mov rbx, qword [rbp + rbx*8 + 0x28]
jmp 0x1400307e9
mov eax, 1
jmp 0x14003078c

Function at 0x140030a00
Capabilities:
Check if process is running under wine

Disassembly:
sub rsp, 0x258
mov rax, qword [0x1400f2120]
xor rax, rsp
mov qword [rsp + 0x240], rax
xor edx, edx
lea rcx, [rsp + 0x40]
mov r8d, 0x200
call fcn.1400773b0
lea r9, str.SOFTWAREWine
mov edx, 0x100
lea r8, [0x1400c3ed8]
lea rcx, [rsp + 0x40]
call fcn.14002db30
lea rax, [rsp + 0x30]
mov qword [rsp + 0x30], 0
mov r9d, 0x20019
mov qword [rsp + 0x20], rax
xor r8d, r8d
lea rdx, str.SOFTWAREWine
mov rcx, 0xffffffff80000001
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x140030aa4
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, 1
mov rcx, qword [rsp + 0x240]
xor rcx, rsp
call fcn.140057d50
add rsp, 0x258
ret
xor eax, eax
mov rcx, qword [rsp + 0x240]
xor rcx, rsp
call fcn.140057d50
add rsp, 0x258
ret
Function at 0x140030e80
Capabilities:
Check if file exists
Get common file path
Get file attributes
Get program files directory
Query environment variable

Disassembly:
sub rsp, 0x678
mov rax, qword [0x1400f2120]
xor rax, rsp
mov qword [rsp + 0x660], rax
xor edx, edx
lea rcx, [rsp + 0x450]
mov r8d, 0x208
call fcn.1400773b0
movups xmm0, xmmword [str.Virtio_Win_]
lea rcx, [rsp + 0x48]
xor edx, edx
movsd xmm1, qword [0x1400c5860]
mov r8d, 0x1f0
movaps xmmword [rsp + 0x30], xmm0
movsd qword [rsp + 0x40], xmm1
call fcn.1400773b0
lea rdx, [0x1400f4370]
mov dword [rsp + 0x20], 0
mov rcx, rdx
xor eax, eax
nop
cmp dword [rcx], 8
je 0x140030f6e
inc eax
add rcx, 0x30
cmp eax, 0x1e
jb 0x140030ef0
xor r9d, r9d
lea rdx, [rsp + 0x240]
xor ecx, ecx
lea r8d, [r9 + 0x26]
call qword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
lea r8, [rsp + 0x30]
lea rdx, [rsp + 0x240]
lea rcx, [rsp + 0x450]
call qword [sym.imp.SHLWAPI.dll_PathCombineW]
lea rcx, [rsp + 0x450]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x140030ffc
test al, 0x10
je 0x140030ffc
mov eax, 1
mov rcx, qword [rsp + 0x660]
xor rcx, rsp
call fcn.140057d50
add rsp, 0x678
ret
cdqe
lea rcx, [rax + rax*2]
add rcx, rcx
cmp byte [rdx + rcx*8 + 0x24], 0
je 0x140030f00
mov qword [rsp + 0x670], rbx
xor eax, eax
mov rcx, rdx
nop dword [rax + rax]
cmp dword [rcx], 8
je 0x140030fe5
inc eax
add rcx, 0x30
cmp eax, 0x1e
jb 0x140030f90
xor ebx, ebx
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
lea rdx, [rsp + 0x20]
call rbx
cmp dword [rsp + 0x20], 0
mov rbx, qword [rsp + 0x670]
je 0x140030f00
mov r8d, 0x104
lea rdx, [rsp + 0x240]
lea rcx, str._ProgramW6432_
call qword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
jmp 0x140030f17
cdqe
lea rbx, [rax + rax*2]
add rbx, rbx
cmp byte [rdx + rbx*8 + 0x24], 0
je 0x140030fa0
mov rbx, qword [rdx + rbx*8 + 0x28]
jmp 0x140030fa2
xor eax, eax
mov rcx, qword [rsp + 0x660]
xor rcx, rsp
call fcn.140057d50
add rsp, 0x678
ret
Function at 0x1400312d0
Capabilities:
Check for sandbox username or hostname
Get session user name

Disassembly:
mov r11, rsp
push rsi
sub rsp, 0x2d0
mov rax, qword [0x1400f2120]
xor rax, rsp
mov qword [rsp + 0x2c0], rax
lea rax, str.CurrentUser
mov dword [rsp + 0x20], 0x101
mov qword [rsp + 0x30], rax
mov ecx, 0x202
lea rax, str.Sandbox
mov qword [rsp + 0x38], rax
lea rax, str.Emily
mov qword [rsp + 0x40], rax
lea rax, str.HAPUBWS
mov qword [rsp + 0x48], rax
lea rax, str.Hong_Lee
mov qword [rsp + 0x50], rax
lea rax, str.IT_ADMIN
mov qword [rsp + 0x58], rax
lea rax, str.Johnson
mov qword [rsp + 0x60], rax
lea rax, str.Miller
mov qword [rsp + 0x68], rax
lea rax, str.milozs
mov qword [rsp + 0x70], rax
lea rax, str.Peter_Wilson
mov qword [rsp + 0x78], rax
lea rax, str.timmy
mov qword [r11 - 0x258], rax
lea rax, str.sand_box
mov qword [r11 - 0x250], rax
lea rax, str.malware
mov qword [r11 - 0x248], rax
lea rax, str.maltest
mov qword [r11 - 0x240], rax
lea rax, str.test_user
mov qword [r11 - 0x238], rax
lea rax, str.virus
mov qword [r11 - 0x230], rax
lea rax, str.John_Doe
mov qword [r11 - 0x228], rax
call fcn.14007970c
mov rsi, rax
test rax, rax
je 0x1400313fb
lea rdx, [rsp + 0x20]
mov rcx, rax
call qword [sym.imp.ADVAPI32.dll_GetUserNameW]
test eax, eax
jne 0x140031419
mov rcx, rsi
call fcn.140079704
mov eax, 1
mov rcx, qword [rsp + 0x2c0]
xor rcx, rsp
call fcn.140057d50
add rsp, 0x2d0
pop rsi
ret
mov qword [rsp + 0x2e0], rbx
mov qword [rsp + 0x2e8], rbp
xor ebp, ebp
mov ebx, ebp
mov qword [rsp + 0x2f0], rdi
nop word [rax + rax]
mov rdi, qword [rsp + rbx*8 + 0x30]
lea r8, str.Checking_if_username_matches_:__s
mov r9, rdi
lea rcx, [rsp + 0xc0]
mov edx, 0x100
call fcn.14002db30
mov rdx, rsi
mov rcx, rdi
call fcn.1400821c0
test eax, eax
je 0x14003147b
inc rbx
cmp rbx, 0x11
jl 0x140031440
jmp 0x140031480
mov ebp, 1
mov rcx, rsi
call fcn.140079704
mov rdi, qword [rsp + 0x2f0]
mov eax, ebp
mov rbp, qword [rsp + 0x2e8]
mov rbx, qword [rsp + 0x2e0]
jmp 0x140031400