joyce8/EMBER2024-capa huggingface dataset:
Function at 0x18005e060
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 [0x180140f20]
xor rax, rsp
mov qword [rsp + 0x660], rax
xor edx, edx
lea rcx, [rsp + 0x450]
mov r8d, 0x208
call fcn.1800a8ae0
movaps xmm0, xmmword [str.oracle_virtualbox_guest_additions_]
lea rcx, [rsp + 0x76]
movaps xmm1, xmmword [0x1800fbae0]
xor edx, edx
mov eax, dword [0x1800fbb10]
mov r8d, 0x1c2
movaps xmmword [rsp + 0x30], xmm0
movaps xmm0, xmmword [0x1800fbaf0]
movaps xmmword [rsp + 0x40], xmm1
movaps xmm1, xmmword [0x1800fbb00]
mov dword [rsp + 0x70], eax
movzx eax, word [0x1800fbb14]
movaps xmmword [rsp + 0x50], xmm0
movaps xmmword [rsp + 0x60], xmm1
mov word [rsp + 0x74], ax
call fcn.1800a8ae0
lea rdx, [0x180142ea0]
mov dword [rsp + 0x20], 0
mov rcx, rdx
xor eax, eax
nop word [rax + rax]
cmp dword [rcx], 8
je 0x18005e17e
inc eax
add rcx, 0x30
cmp eax, 0x1e
jb 0x18005e100
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 0x18005e20c
test al, 0x10
je 0x18005e20c
mov eax, 1
mov rcx, qword [rsp + 0x660]
xor rcx, rsp
call fcn.1800871a0
add rsp, 0x678
ret
cdqe
lea rcx, [rax + rax*2]
add rcx, rcx
cmp byte [rdx + rcx*8 + 0x24], 0
je 0x18005e110
mov qword [rsp + 0x670], rbx
xor eax, eax
mov rcx, rdx
nop dword [rax + rax]
cmp dword [rcx], 8
je 0x18005e1f5
inc eax
add rcx, 0x30
cmp eax, 0x1e
jb 0x18005e1a0
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 0x18005e110
mov r8d, 0x104
lea rdx, [rsp + 0x240]
lea rcx, str._ProgramW6432_
call qword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
jmp 0x18005e127
cdqe
lea rbx, [rax + rax*2]
add rbx, rbx
cmp byte [rdx + rbx*8 + 0x24], 0
je 0x18005e1b0
mov rbx, qword [rdx + rbx*8 + 0x28]
jmp 0x18005e1b2
xor eax, eax
mov rcx, qword [rsp + 0x660]
xor rcx, rsp
call fcn.1800871a0
add rsp, 0x678
ret
Function at 0x18005e230
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.180061450
test eax, eax
je 0x18005e405
mov qword [rsp + 0x68], rsi
lea rcx, [0x1800fd7b8]
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 0x18005e2fa
test rax, rax
je 0x18005e2f1
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 0x18005e2f1
mov rcx, qword [rbp + 0x30]
mov r14d, r15d
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [rbp - 0x40]
mov rax, qword [rcx]
call qword [rax + 0x10]
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 0x18005e30d
mov rcx, rdi
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
mov rdi, qword [rsp + 0x60]
test r14d, r14d
mov r14, qword [rsp + 0x50]
je 0x18005e3f5
mov rcx, qword [rbp + 0x28]
mov qword [rbp + 0x38], r15
mov dword [rbp + 0x20], r15d
test rcx, rcx
je 0x18005e3d5
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 0x18005e3d1
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 0x18005e3b4
movzx eax, word [rbp - 0x38]
cmp ax, r12w
je 0x18005e3b4
test al, 8
je 0x18005e3aa
mov rcx, qword [rbp - 0x30]
lea rdx, str.08:00:27
call fcn.1800a8c80
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 + 0x10]
test ebx, ebx
jne 0x18005e3d1
mov rcx, qword [rbp + 0x28]
test rcx, rcx
jne 0x18005e340
jmp 0x18005e3d5
mov rcx, qword [rbp + 0x28]
mov rdx, qword [rcx]
call qword [rdx + 0x10]
mov rcx, qword [rbp + 0x30]
mov rdx, qword [rcx]
call qword [rdx + 0x10]
mov rcx, qword [rbp - 0x40]
mov rdx, qword [rcx]
call qword [rdx + 0x10]
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 0x18005e910
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.180061450
test eax, eax
je 0x18005eadc
mov qword [rsp + 0x68], rsi
lea rcx, [0x1800fd7b8]
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 0x18005e9da
test rax, rax
je 0x18005e9d1
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 0x18005e9d1
mov rcx, qword [rbp + 0x28]
mov r14d, r15d
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [rbp - 0x40]
mov rax, qword [rcx]
call qword [rax + 0x10]
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 0x18005e9ed
mov rcx, rdi
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
mov rdi, qword [rsp + 0x60]
test r14d, r14d
mov r14, qword [rsp + 0x50]
je 0x18005eacc
mov rcx, qword [rbp + 0x30]
mov qword [rbp + 0x38], r15
mov dword [rbp + 0x20], r15d
test rcx, rcx
je 0x18005eaa8
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 0x18005eaa8
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 0x18005ea8d
cmp word [rbp - 0x38], 8
jne 0x18005ea83
mov rcx, qword [rbp - 0x30]
lea rdx, str.PCIVEN_80EEDEV_CAFE
call fcn.1800a8c80
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 + 0x10]
test ebx, ebx
jne 0x18005eaa8
mov rcx, qword [rbp + 0x30]
test rcx, rcx
jne 0x18005ea20
mov rcx, qword [rbp + 0x28]
mov rdx, qword [rcx]
call qword [rdx + 0x10]
mov rcx, qword [rbp - 0x40]
mov rdx, qword [rcx]
call qword [rdx + 0x10]
mov rcx, qword [rbp + 0x30]
mov rdx, qword [rcx]
call qword [rdx + 0x10]
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 0x18005eaf0
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.180061450
test eax, eax
je 0x18005ecfb
mov qword [rsp + 0x60], rbx
lea rcx, [0x1800fd7b8]
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 0x18005ebaa
test rax, rax
je 0x18005eba1
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 0x18005eba1
mov rcx, qword [rbp + 0x28]
mov r14d, edi
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [rbp - 0x38]
mov rax, qword [rcx]
call qword [rax + 0x10]
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 0x18005ebbd
mov rcx, rbx
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
test r14d, r14d
mov r14, qword [rsp + 0x50]
je 0x18005eced
mov rcx, qword [rbp + 0x20]
mov ebx, edi
mov qword [rbp + 0x30], rdi
mov dword [rbp + 0x18], edi
test rcx, rcx
je 0x18005ecc6
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 0x18005ecc2
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 0x18005eca9
movzx eax, word [rbp - 0x30]
cmp ax, 1
je 0x18005eca9
test al, 8
je 0x18005ec9f
mov rcx, qword [rbp - 0x28]
lea rdx, str.82801FB
call fcn.1800a8c80
test rax, rax
jne 0x18005ec9d
mov rcx, qword [rbp - 0x28]
lea rdx, str.82441FX
call fcn.1800a8c80
test rax, rax
jne 0x18005ec9d
mov rcx, qword [rbp - 0x28]
lea rdx, str.82371SB
call fcn.1800a8c80
test rax, rax
jne 0x18005ec9d
mov rcx, qword [rbp - 0x28]
lea rdx, str.OpenHCD
call fcn.1800a8c80
test rax, rax
je 0x18005ec9f
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 + 0x10]
mov rcx, qword [rbp + 0x20]
test rcx, rcx
jne 0x18005ebf0
jmp 0x18005ecc6
mov rcx, qword [rbp + 0x20]
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [rbp + 0x28]
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [rbp - 0x38]
mov rax, qword [rcx]
call qword [rax + 0x10]
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 0x18005ed10
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.180061450
test eax, eax
je 0x18005ef13
mov qword [rsp + 0x70], rbx
lea rcx, [0x1800fd7b8]
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 0x18005edd4
test rax, rax
je 0x18005edcb
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 0x18005edcb
mov rcx, qword [rbp + 0x28]
mov r14d, edi
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [rbp - 0x48]
mov rax, qword [rcx]
call qword [rax + 0x10]
call qword [sym.imp.ole32.dll_CoUninitialize]
mov rcx, rsi
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
test rbx, rbx
je 0x18005ede2
mov rcx, rbx
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
test r14d, r14d
mov r14, qword [rsp + 0x60]
je 0x18005eefb
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 0x18005eedb
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 0x18005eecc
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 0x18005eeb3
movzx eax, word [rbp - 0x40]
cmp ax, r15w
je 0x18005eeb3
test al, 8
je 0x18005eea9
mov rcx, qword [rbp - 0x38]
lea rdx, str.ACPIBus_BUS_0
call fcn.1800a8c80
test rax, rax
jne 0x18005eea7
mov rcx, qword [rbp - 0x38]
lea rdx, str.PCI_BUS_0
call fcn.1800a8c80
test rax, rax
jne 0x18005eea7
mov rcx, qword [rbp - 0x38]
lea rdx, str.PNP_BUS_0
call fcn.1800a8c80
test rax, rax
je 0x18005eea9
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 + 0x10]
mov rcx, qword [rbp + 0x20]
test rcx, rcx
jne 0x18005ee10
jmp 0x18005eed0
mov rcx, qword [rbp + 0x20]
cmp esi, 3
jne 0x18005eedb
cmp ebx, esi
cmove edi, r15d
mov rdx, qword [rcx]
call qword [rdx + 0x10]
mov rcx, qword [rbp + 0x28]
mov rdx, qword [rcx]
call qword [rdx + 0x10]
mov rcx, qword [rbp - 0x48]
mov rdx, qword [rcx]
call qword [rdx + 0x10]
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 0x18005f8c0
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 [0x180140f20]
xor rax, rsp
mov qword [rsp + 0x660], rax
xor edx, edx
lea rcx, [rsp + 0x40]
mov r8d, 0x208
call fcn.1800a8ae0
lea rax, str.qemu_ga
mov qword [rsp + 0x680], rbx
mov qword [rsp + 0x28], rax
lea rbp, [0x180142ea0]
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.1800a8ae0
mov ecx, esi
mov dword [rsp + 0x20], esi
mov rdx, rsi
mov rax, rbp
cmp dword [rax], 8
je 0x18005fa09
inc ecx
inc rdx
add rax, 0x30
cmp ecx, 0x1e
jb 0x18005f951
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.18005dd20
lea rcx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x18005f9cd
test al, 0x10
jne 0x18005fa88
inc rdi
cmp rdi, 2
jl 0x18005f930
mov eax, esi
mov rbx, qword [rsp + 0x680]
mov rcx, qword [rsp + 0x660]
xor rcx, rsp
call fcn.1800871a0
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 0x18005f968
mov ecx, esi
mov rdx, rsi
mov rax, rbp
cmp dword [rax], 8
je 0x18005fa73
inc ecx
inc rdx
add rax, 0x30
cmp ecx, 0x1e
jb 0x18005fa23
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 0x18005f968
mov r8d, 0x104
lea rdx, [rsp + 0x250]
lea rcx, str._ProgramW6432_
call qword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
jmp 0x18005f97f
lea rbx, [rdx + rdx*2]
add rbx, rbx
cmp byte [rbp + rbx*8 + 0x24], sil
je 0x18005fa36
mov rbx, qword [rbp + rbx*8 + 0x28]
jmp 0x18005fa39
mov eax, 1
jmp 0x18005f9dc
Function at 0x1800601a0
Capabilities:
Check for sandbox username or hostname
Get session user name

Disassembly:
mov r11, rsp
push rsi
sub rsp, 0x2d0
mov rax, qword [0x180140f20]
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.1800abad8
mov rsi, rax
test rax, rax
je 0x1800602cb
lea rdx, [rsp + 0x20]
mov rcx, rax
call qword [sym.imp.ADVAPI32.dll_GetUserNameW]
test eax, eax
jne 0x1800602e9
mov rcx, rsi
call fcn.1800ab6a4
mov eax, 1
mov rcx, qword [rsp + 0x2c0]
xor rcx, rsp
call fcn.1800871a0
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.18005dd20
mov rdx, rsi
mov rcx, rdi
call fcn.1800b33f0
test eax, eax
je 0x18006034b
inc rbx
cmp rbx, 0x11
jl 0x180060310
jmp 0x180060350
mov ebp, 1
mov rcx, rsi
call fcn.1800ab6a4
mov rdi, qword [rsp + 0x2f0]
mov eax, ebp
mov rbp, qword [rsp + 0x2e8]
mov rbx, qword [rsp + 0x2e0]
jmp 0x1800602d0
Function at 0x180060380
Capabilities:
Reference wmi statements

Disassembly:
push rbp
push rbx
push rdi
push r12
mov rbp, rsp
sub rsp, 0x68
xor r12d, r12d
lea rdx, [rbp - 0x38]
lea rcx, [rbp + 0x38]
mov qword [rbp + 0x38], r12
mov qword [rbp - 0x38], r12
mov edi, r12d
mov qword [rbp + 0x30], r12
mov ebx, r12d
call fcn.180061450
test eax, eax
je 0x180060568
mov qword [rsp + 0x60], rsi
lea rcx, [0x1800fd7b8]
mov qword [rsp + 0x58], r14
mov qword [rsp + 0x50], r15
call qword [sym.imp.OLEAUT32.dll_SysReAllocString]
lea rcx, str.SELECT__FROM_Win32_LogicalDisk
mov r14, rax
call qword [sym.imp.OLEAUT32.dll_SysReAllocString]
lea r15d, [r12 + 1]
mov rsi, rax
test r14, r14
je 0x180060446
test rax, rax
je 0x18006043d
mov rcx, qword [rbp + 0x38]
lea rax, [rbp + 0x30]
mov qword [rsp + 0x28], rax
lea r9d, [r12 + 0x30]
mov r8, rsi
mov qword [rsp + 0x20], r12
mov rdx, r14
mov r10, qword [rcx]
call qword [r10 + 0xa0]
test eax, eax
jns 0x18006043d
mov rcx, qword [rbp + 0x38]
mov r15d, r12d
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [rbp - 0x38]
mov rax, qword [rcx]
call qword [rax + 0x10]
call qword [sym.imp.ole32.dll_CoUninitialize]
mov rcx, r14
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
mov r14, qword [rsp + 0x58]
test rsi, rsi
je 0x180060459
mov rcx, rsi
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
test r15d, r15d
mov r15, qword [rsp + 0x50]
je 0x180060556
mov rcx, qword [rbp + 0x30]
mov qword [rbp + 0x40], r12
mov dword [rbp + 0x28], r12d
test rcx, rcx
je 0x180060536
nop dword [rax]
mov rax, qword [rcx]
lea rdx, [rbp + 0x28]
mov qword [rsp + 0x20], rdx
lea r9, [rbp + 0x40]
or edx, 0xffffffff
mov r8d, 1
call qword [rax + 0x20]
cmp dword [rbp + 0x28], r12d
je 0x180060532
mov rcx, qword [rbp + 0x40]
lea r9, [rbp - 0x30]
mov qword [rsp + 0x28], r12
lea rdx, str.Size
xor r8d, r8d
mov qword [rsp + 0x20], r12
mov rax, qword [rcx]
call qword [rax + 0x20]
test eax, eax
js 0x180060515
cmp word [rbp - 0x30], 1
je 0x180060515
call fcn.1800ab468
mov dword [rax], r12d
call fcn.1800b3fd4
mov rcx, qword [rbp - 0x28]
xor edx, edx
mov r9, rax
lea r8d, [rdx + 0xa]
call fcn.1800b5b24
mov rsi, rax
call fcn.1800ab468
cmp dword [rax], r12d
jne 0x18006050b
mov rbx, rsi
mov edi, 1
shr rbx, 0x1e
lea rcx, [rbp - 0x30]
call qword [sym.imp.OLEAUT32.dll_VariantCopy]
mov rcx, qword [rbp + 0x40]
mov rax, qword [rcx]
call qword [rax + 0x10]
test edi, edi
jne 0x180060532
mov rcx, qword [rbp + 0x30]
test rcx, rcx
jne 0x180060480
jmp 0x180060536
mov rcx, qword [rbp + 0x30]
mov rdx, qword [rcx]
call qword [rdx + 0x10]
mov rcx, qword [rbp + 0x38]
mov rdx, qword [rcx]
call qword [rdx + 0x10]
mov rcx, qword [rbp - 0x38]
mov rdx, qword [rcx]
call qword [rdx + 0x10]
call qword [sym.imp.ole32.dll_CoUninitialize]
mov rax, rbx
mov rsi, qword [rsp + 0x60]
add rsp, 0x68
pop r12
pop rdi
pop rbx
pop rbp
ret
mov rax, rbx
add rsp, 0x68
pop r12
pop rdi
pop rbx
pop rbp
ret
Function at 0x180060580
Capabilities:
Reference wmi statements

Disassembly:
push rbp
push rbx
mov rbp, rsp
sub rsp, 0x68
xor ebx, ebx
lea rdx, [rbp - 0x38]
lea rcx, [rbp + 0x28]
mov qword [rbp + 0x28], rbx
mov qword [rbp - 0x38], rbx
mov qword [rbp + 0x30], rbx
call fcn.180061450
test eax, eax
je 0x180060774
mov qword [rsp + 0x60], rsi
lea rcx, [0x1800fd7b8]
mov qword [rsp + 0x58], rdi
mov qword [rsp + 0x50], r14
call qword [sym.imp.OLEAUT32.dll_SysReAllocString]
lea rcx, str.SELECT__FROM_Win32_ComputerSystem
mov rsi, rax
call qword [sym.imp.OLEAUT32.dll_SysReAllocString]
lea r14d, [rbx + 1]
mov rdi, rax
test rsi, rsi
je 0x18006063a
test rax, rax
je 0x180060631
mov rcx, qword [rbp + 0x28]
lea rax, [rbp + 0x30]
mov qword [rsp + 0x28], rax
lea r9d, [rbx + 0x30]
mov r8, rdi
mov qword [rsp + 0x20], rbx
mov rdx, rsi
mov r10, qword [rcx]
call qword [r10 + 0xa0]
test eax, eax
jns 0x180060631
mov rcx, qword [rbp + 0x28]
mov r14d, ebx
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [rbp - 0x38]
mov rax, qword [rcx]
call qword [rax + 0x10]
call qword [sym.imp.ole32.dll_CoUninitialize]
mov rcx, rsi
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
mov rsi, qword [rsp + 0x60]
test rdi, rdi
je 0x18006064d
mov rcx, rdi
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
mov rdi, qword [rsp + 0x58]
test r14d, r14d
mov r14, qword [rsp + 0x50]
je 0x180060774
mov rcx, qword [rbp + 0x30]
mov qword [rbp + 0x20], rbx
mov dword [rbp + 0x18], ebx
test rcx, rcx
je 0x180060750
nop dword [rax]
nop dword [rax + rax]
mov rax, qword [rcx]
lea rdx, [rbp + 0x18]
mov qword [rsp + 0x20], rdx
lea r9, [rbp + 0x20]
or edx, 0xffffffff
mov r8d, 1
call qword [rax + 0x20]
cmp dword [rbp + 0x18], ebx
je 0x180060750
mov rcx, qword [rbp + 0x20]
lea r9, [rbp - 0x30]
mov qword [rsp + 0x28], rbx
lea rdx, str.Model
xor r8d, r8d
mov qword [rsp + 0x20], rbx
mov rax, qword [rcx]
call qword [rax + 0x20]
test eax, eax
js 0x18006071e
cmp word [rbp - 0x30], 8
jne 0x180060714
mov rcx, qword [rbp - 0x28]
lea rdx, str.VirtualBox
call qword [sym.imp.SHLWAPI.dll_StrStrIW]
test rax, rax
jne 0x180060737
mov rcx, qword [rbp - 0x28]
lea rdx, str.HVM_domU
call qword [sym.imp.SHLWAPI.dll_StrStrIW]
test rax, rax
jne 0x180060737
mov rcx, qword [rbp - 0x28]
lea rdx, str.VMWare
call qword [sym.imp.SHLWAPI.dll_StrStrIW]
test rax, rax
jne 0x180060737
lea rcx, [rbp - 0x30]
call qword [sym.imp.OLEAUT32.dll_VariantCopy]
mov rcx, qword [rbp + 0x20]
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [rbp + 0x30]
test rcx, rcx
jne 0x180060680
jmp 0x180060750
lea rcx, [rbp - 0x30]
call qword [sym.imp.OLEAUT32.dll_VariantCopy]
mov rcx, qword [rbp + 0x20]
mov rax, qword [rcx]
call qword [rax + 0x10]
mov ebx, 1
mov rcx, qword [rbp + 0x28]
mov rdx, qword [rcx]
call qword [rdx + 0x10]
mov rcx, qword [rbp - 0x38]
mov rdx, qword [rcx]
call qword [rdx + 0x10]
mov rcx, qword [rbp + 0x30]
mov rdx, qword [rcx]
call qword [rdx + 0x10]
call qword [sym.imp.ole32.dll_CoUninitialize]
mov eax, ebx
add rsp, 0x68
pop rbx
pop rbp
ret