joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140013384
Capabilities:
Encode data using add xor sub operations
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x40
mov rbx, rdx
mov rcx, r8
mov edx, 0x1000
mov rdi, r8
mov sil, 7
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strnlen]
lea r8, str.AT6Utl___Decode___d___s
mov dword [rsp + 0x38], LoadRegTypeLib
mov rbp, rax
mov qword [rsp + 0x20], rdi
lea rax, str...UtilAT6Util.cpp
shr rbp, 1
mov r9d, ebp
mov qword [rsp + 0x30], rax
mov edx, 0x35
lea rcx, [rsp + 0x30]
call fcn.140006d78
test ebp, ebp
jle 0x14001342b
mov ebp, ebp
mov al, byte [rdi]
lea rdx, str._02x
mov byte [rsp + 0x68], al
lea rcx, [rsp + 0x68]
mov al, byte [rdi + 1]
lea rdi, [rdi + 2]
mov r8, rbx
mov byte [rsp + 0x69], al
mov byte [rsp + 0x6a], 0
call fcn.14001380c
xor byte [rbx], sil
add sil, 0x11
and sil, 0x7f
inc rbx
sub rbp, 1
jne 0x1400133ed
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
mov byte [rbx], 0
mov rbx, qword [rsp + 0x50]
add rsp, 0x40
pop rdi
ret

Function at 0x1400134b8
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov rdi, rdx
mov rcx, r8
mov edx, 0x1000
mov rsi, r8
mov bl, 7
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strnlen]
test eax, eax
jle 0x140013517
mov ebp, eax
mov al, byte [rsi]
lea r8, str._02x
xor al, bl
mov edx, 3
add bl, 0x11
movzx r9d, al
mov rcx, rdi
and bl, 0x7f
inc rsi
call fcn.1400094c4
add rdi, 2
sub rbp, 1
jne 0x1400134e8
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
mov byte [rdi], 0
add rsp, 0x20
pop rdi
ret

Function at 0x1400135a0
Capabilities:
Query or enumerate registry value

Disassembly:
mov r11, rsp
mov qword [r11 + 8], rbx
mov qword [r11 + 0x10], rsi
push rdi
sub rsp, 0x40
mov rdi, qword [rsp + 0x70]
lea rcx, [r11 - 0x10]
mov rax, r8
mov qword [r11 - 0x28], rcx
mov r10, rdx
mov rsi, r9
mov r9d, 0x2001f
xor r8d, r8d
and dword [rdi], 0
mov rdx, rax
mov rcx, r10
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov ebx, eax
test eax, eax
jne 0x140013621
mov rcx, qword [rsp + 0x38]
lea eax, [rbx + 4]
mov dword [rsp + 0x70], eax
lea r9, [rsp + 0x30]
mov dword [rsp + 0x30], eax
xor r8d, r8d
lea rax, [rsp + 0x70]
mov rdx, rsi
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rdi
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov rcx, qword [rsp + 0x38]
mov ebx, eax
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rsi, qword [rsp + 0x58]
mov eax, ebx
mov rbx, qword [rsp + 0x50]
add rsp, 0x40
pop rdi
ret
Function at 0x140013634
Capabilities:
Query or enumerate registry value

Disassembly:
mov r11, rsp
mov qword [r11 + 8], rbx
mov qword [r11 + 0x10], rsi
push rdi
sub rsp, 0x50
lea rcx, [r11 - 0x20]
mov rax, r8
mov r10, rdx
mov qword [r11 - 0x38], rcx
mov rsi, r9
mov rcx, r10
mov r9d, 0x2001f
xor r8d, r8d
mov rdx, rax
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov edi, eax
test eax, eax
jne 0x1400136ea
mov eax, dword [rsp + 0x88]
xor r9d, r9d
mov rbx, qword [rsp + 0x80]
xor r8d, r8d
mov rcx, qword [rsp + 0x38]
mov rdx, rsi
mov dword [rsp + 0x30], eax
lea rax, [rsp + 0x30]
mov qword [rsp + 0x28], rax
mov byte [rbx], dil
mov qword [rsp + 0x20], rbx
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov rcx, qword [rsp + 0x38]
mov edi, eax
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea rax, str...UtilAT6Util.cpp
mov dword [rsp + 0x48], reloc.MurocApi.dll_Ordinal_144
mov r9, rsi
mov qword [rsp + 0x40], rax
lea r8, str.AT6Utl___QueryString___s___s
mov qword [rsp + 0x20], rbx
mov edx, 0x35
lea rcx, [rsp + 0x40]
call fcn.140006d78
jmp 0x140013717
lea rax, str...UtilAT6Util.cpp
mov dword [rsp + 0x48], reloc.MurocApi.dll_Ordinal_147
mov r9, rsi
mov qword [rsp + 0x40], rax
lea r8, str.AT6Utl___QueryString___s____ERROR
mov edx, 0x35
lea rcx, [rsp + 0x40]
call fcn.140006d78
mov rbx, qword [rsp + 0x60]
mov eax, edi
mov rsi, qword [rsp + 0x68]
add rsp, 0x50
pop rdi
ret

Function at 0x14001372c
Capabilities:
Set registry value

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
mov rax, r8
mov rcx, rdx
mov rdx, rax
lea r8, [rsp + 0x30]
mov rdi, r9
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyA]
mov ebx, eax
test eax, eax
jne 0x140013784
mov rcx, qword [rsp + 0x30]
lea r9d, [rax + 4]
lea rax, [rsp + 0x70]
mov dword [rsp + 0x28], r9d
xor r8d, r8d
mov qword [rsp + 0x20], rax
mov rdx, rdi
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov rcx, qword [rsp + 0x30]
mov ebx, eax
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, ebx
mov rbx, qword [rsp + 0x50]
add rsp, 0x40
pop rdi
ret

Function at 0x140013794
Capabilities:
Set registry value

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
mov rax, r8
mov rcx, rdx
mov rdx, rax
lea r8, [rsp + 0x30]
mov rdi, r9
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyA]
mov ebx, eax
test eax, eax
jne 0x1400137f6
mov rbx, qword [rsp + 0x70]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_lstrlenA]
mov rcx, qword [rsp + 0x30]
mov r9d, 1
mov dword [rsp + 0x28], eax
xor r8d, r8d
mov rdx, rdi
mov qword [rsp + 0x20], rbx
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov rcx, qword [rsp + 0x30]
mov ebx, eax
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, ebx
mov rbx, qword [rsp + 0x50]
add rsp, 0x40
pop rdi
ret
Function at 0x140013d2c
Capabilities:
Get session user name

Disassembly:
mov rax, rsp
push rbp
push rsi
push rdi
lea rbp, [rax - 0x5f]
sub rsp, 0x100
mov qword [rbp - 0x69], 0xfffffffffffffffe
mov qword [rax + 0x18], rbx
mov rax, qword [0x14009b3d0]
xor rax, rsp
mov qword [rbp + 0x37], rax
mov rsi, rcx
mov qword [rsp + 0x30], rdx
xor ebx, ebx
mov dword [rsp + 0x38], 0x64
lea rdx, [rsp + 0x38]
lea rcx, [rbp - 0x39]
call qword [sym.imp.ADVAPI32.dll_GetUserNameA]
lea rcx, [rbp - 0x61]
call qword [sym.imp.api_ms_win_crt_time_l1_1_0.dll__strtime]
lea rcx, [rbp - 0x51]
call qword [sym.imp.api_ms_win_crt_time_l1_1_0.dll__strdate]
lea r8, [0x14006f88c]
lea rdx, [0x1400a3af0]
lea rcx, [rbp - 0x71]
call fcn.1400139d8
nop
lea r8, str.AutoImportLog.txt
mov rdx, rax
lea rcx, [rbp - 0x79]
call fcn.1400139d8
nop
lea rcx, [rbp - 0x71]
call qword [sym.imp.mfc140.dll_Ordinal_1032]
mov edi, ebx
mov rcx, qword [rsp + 0x30]
test rcx, rcx
jne 0x140013df1
lea edi, [rbx + 1]
lea r8, [0x14006c138]
mov rdx, qword [rbp - 0x79]
lea rcx, [rsp + 0x30]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fopen_s]
mov rcx, qword [rsp + 0x30]
test rcx, rcx
je 0x140013e2c
mov qword [rsp + 0x28], rsi
lea rax, [rbp - 0x39]
mov qword [rsp + 0x20], rax
lea r9, [rbp - 0x61]
lea r8, [rbp - 0x51]
lea rdx, str._s__s___s_:__s_n
call fcn.140004b00
test edi, edi
je 0x140013e27
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov qword [rsp + 0x30], rbx
mov ebx, 1
lea rcx, [rbp - 0x79]
call qword [sym.imp.mfc140.dll_Ordinal_1032]
mov eax, ebx
mov rcx, qword [rbp + 0x37]
xor rcx, rsp
call fcn.14005d930
mov rbx, qword [rsp + 0x130]
add rsp, 0x100
pop rdi
pop rsi
pop rbp
ret

Function at 0x140013f04
Capabilities:
Read file on windows

Disassembly:
mov r11, rsp
mov qword [r11 + 0x10], rbx
mov qword [r11 + 0x18], rbp
mov qword [r11 + 0x20], rsi
push rdi
sub rsp, 0x40
mov rax, qword [0x14009b3d0]
xor rax, rsp
mov qword [rsp + 0x38], rax
xor eax, eax
mov rsi, rcx
mov rcx, qword [rcx]
xor edx, edx
mov qword [r11 - 0x28], rax
xor ebx, ebx
mov qword [r11 - 0x20], rax
mov word [rsp + 0x30], ax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll__open]
mov edi, eax
cmp eax, 0xffffffff
je 0x140013fb4
xor edx, edx
lea r8d, [rbx + 2]
mov ecx, eax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll__lseek]
lea ebp, [rbx + 1]
mov ecx, edi
mov r8d, ebp
lea edx, [rbx - 0x11]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll__lseek]
lea r8d, [rbx + 0x11]
mov ecx, edi
lea rdx, [rsp + 0x20]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll__read]
lea rdx, str.____________
lea rcx, [rsp + 0x20]
call sub.api_ms_win_crt_string_l1_1_0.dll_strcmp
test eax, eax
jne 0x140013f96
mov ebx, ebp
jmp 0x140013fac
lea rdx, str.____________
lea rcx, [rsp + 0x20]
call sub.api_ms_win_crt_string_l1_1_0.dll_strcmp
test eax, eax
cmove ebx, ebp
mov ecx, edi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll__close]
mov rcx, rsi
call qword [sym.imp.mfc140.dll_Ordinal_1032]
mov eax, ebx
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.14005d930
mov rbx, qword [rsp + 0x58]
mov rbp, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x68]
add rsp, 0x40
pop rdi
ret
Function at 0x140016d30
Capabilities:
Encrypt or decrypt via wincrypt

Disassembly:
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x480
mov qword [rsp + 0x48], 0xfffffffffffffffe
mov rax, qword [0x14009b3d0]
xor rax, rsp
mov qword [rsp + 0x470], rax
mov r12, r9
mov esi, r8d
mov qword [rsp + 0x38], rdx
mov rbx, rcx
mov r14, qword [rsp + 0x4e0]
xor r13d, r13d
mov dword [rsp + 0x30], r13d
cmp qword [rcx + 0x10], r13
je 0x140016e8a
cmp qword [rcx + 8], r13
je 0x140016ea6
mov r8d, esi
xor edx, edx
mov rcx, r9
call sub.VCRUNTIME140.dll_memset
mov edi, r13d
mov r15d, r13d
mov dword [r14], r13d
mov ecx, esi
sub ecx, edi
mov eax, 0x3e8
cmp ecx, eax
cmovb eax, ecx
mov dword [rsp + 0x30], eax
xor edx, edx
mov r8d, 0x3f0
lea rcx, [rsp + 0x80]
call sub.VCRUNTIME140.dll_memset
mov r13d, edi
mov r8d, dword [rsp + 0x30]
mov rdx, qword [rsp + 0x38]
add rdx, r13
lea rcx, [rsp + 0x80]
call sub.VCRUNTIME140.dll_memmove
mov eax, 1
cmp dword [rsp + 0x30], 0x3e8
cmovne r15d, eax
lea rax, [rsp + 0x30]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x80]
mov qword [rsp + 0x20], rax
xor r9d, r9d
mov r8d, r15d
xor edx, edx
mov rcx, qword [rbx + 0x10]
call qword [sym.imp.ADVAPI32.dll_CryptDecrypt]
test eax, eax
je 0x140016ec2
mov r8d, dword [rsp + 0x30]
lea rcx, [r12 + r13]
lea rdx, [rsp + 0x80]
call sub.VCRUNTIME140.dll_memmove
add edi, dword [rsp + 0x30]
cmp edi, esi
jae 0x140016e53
test r15d, r15d
je 0x140016da6
mov dword [r14], edi
lea rdi, [rsp + 0x80]
xor eax, eax
mov ecx, 0x3f0
rep stosb byte [rdi], al
mov rcx, qword [rsp + 0x470]
xor rcx, rsp
call fcn.14005d930
add rsp, 0x480
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
ret
lea rcx, [rsp + 0x50]
call fcn.140016550
lea rdx, [0x140095088]
lea rcx, [rsp + 0x50]
call sub.VCRUNTIME140.dll__CxxThrowException
int3
lea rcx, [rsp + 0x60]
call fcn.1400164a8
lea rdx, [0x140095110]
lea rcx, [rsp + 0x60]
call sub.VCRUNTIME140.dll__CxxThrowException
nop
lea rcx, [rsp + 0x70]
call fcn.140016518
lea rdx, [0x1400953b0]
lea rcx, [rsp + 0x70]
call sub.VCRUNTIME140.dll__CxxThrowException
int3
Function at 0x1400179c0
Capabilities:
Encrypt or decrypt via wincrypt

Disassembly:
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x490
mov qword [rsp + 0x48], 0xfffffffffffffffe
mov rax, qword [0x14009b3d0]
xor rax, rsp
mov qword [rsp + 0x480], rax
mov r15, r9
mov r12d, r8d
mov dword [rsp + 0x44], r8d
mov r13, rdx
mov rbx, rcx
mov rsi, qword [rsp + 0x4f8]
xor r14d, r14d
mov dword [rsp + 0x40], r14d
cmp qword [rcx + 0x10], r14
je 0x140017b2a
cmp qword [rcx + 8], r14
je 0x140017b46
mov r8d, dword [rsp + 0x4f0]
xor edx, edx
mov rcx, r9
call sub.VCRUNTIME140.dll_memset
mov edi, r14d
and dword [rsi], r14d
mov ecx, r12d
sub ecx, edi
mov eax, 0x3e8
cmp ecx, eax
cmovb eax, ecx
mov dword [rsp + 0x40], eax
xor edx, edx
mov r8d, 0x3f0
lea rcx, [rsp + 0x90]
call sub.VCRUNTIME140.dll_memset
mov r12d, edi
mov r8d, dword [rsp + 0x40]
lea rdx, [r12 + r13]
lea rcx, [rsp + 0x90]
call sub.VCRUNTIME140.dll_memmove
mov eax, 1
mov ecx, 0x3e8
cmp dword [rsp + 0x40], ecx
cmovne r14d, eax
mov dword [rsp + 0x30], ecx
lea rax, [rsp + 0x40]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x90]
mov qword [rsp + 0x20], rax
xor r9d, r9d
mov r8d, r14d
xor edx, edx
mov rcx, qword [rbx + 0x10]
call qword [sym.imp.ADVAPI32.dll_CryptEncrypt]
test eax, eax
je 0x140017b62
mov r8d, dword [rsp + 0x40]
lea rcx, [r12 + r15]
lea rdx, [rsp + 0x90]
call sub.VCRUNTIME140.dll_memmove
add edi, dword [rsp + 0x40]
cmp edi, dword [rsp + 0x4f0]
jae 0x140017af4
test r14d, r14d
mov r12d, dword [rsp + 0x44]
je 0x140017a3b
mov dword [rsi], edi
lea rdi, [rsp + 0x90]
xor eax, eax
mov ecx, 0x3f0
rep stosb byte [rdi], al
mov rcx, qword [rsp + 0x480]
xor rcx, rsp
call fcn.14005d930
add rsp, 0x490
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
ret
lea rcx, [rsp + 0x50]
call fcn.140016550
lea rdx, [0x140095088]
lea rcx, [rsp + 0x50]
call sub.VCRUNTIME140.dll__CxxThrowException
int3
lea rcx, [rsp + 0x60]
call fcn.1400164a8
lea rdx, [0x140095110]
lea rcx, [rsp + 0x60]
call sub.VCRUNTIME140.dll__CxxThrowException
nop
lea rcx, [rsp + 0x70]
call fcn.140016588
lea rdx, [0x1400952f0]
lea rcx, [rsp + 0x70]
call sub.VCRUNTIME140.dll__CxxThrowException
int3
Function at 0x140017da4
Capabilities:
Create new key via cryptacquirecontext
Generate random numbers via winapi

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
push rdi
sub rsp, 0x40
and qword [rax + 0x18], 0
lea r8, str.Microsoft_Base_Cryptographic_Provider_v1.0
mov ebx, edx
mov rdi, rcx
xor edx, edx
mov dword [rax - 0x28], 0xf0000000
lea rcx, [rax + 0x18]
mov r9d, 1
call qword [sym.imp.ADVAPI32.dll_CryptAcquireContextA]
test eax, eax
je 0x140017e23
mov r8d, ebx
xor edx, edx
mov rcx, rdi
call sub.VCRUNTIME140.dll_memset
mov rcx, qword [rsp + 0x60]
mov r8, rdi
mov edx, ebx
call qword [sym.imp.ADVAPI32.dll_CryptGenRandom]
mov rcx, qword [rsp + 0x60]
test eax, eax
jne 0x140017e0b
test rcx, rcx
jne 0x140017e3f
jmp 0x140017e47
test rcx, rcx
je 0x140017e18
xor edx, edx
call qword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
mov rbx, qword [rsp + 0x50]
add rsp, 0x40
pop rdi
ret
lea rcx, [rsp + 0x30]
call fcn.1400164a8
lea rdx, [0x140095110]
lea rcx, [rsp + 0x30]
call sub.VCRUNTIME140.dll__CxxThrowException
int3
xor edx, edx
call qword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
lea rcx, [rsp + 0x30]
call fcn.1400165c0
lea rdx, [0x140095470]
lea rcx, [rsp + 0x30]
call sub.VCRUNTIME140.dll__CxxThrowException
int3
Function at 0x140017e64
Capabilities:
Create new key via cryptacquirecontext
Encrypt data using rc4 via winapi
Hash data using sha1
Hash data using sha1 via wincrypt
Hash data via wincrypt
Initialize hashing via wincrypt

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push rbp
mov rbp, rsp
sub rsp, 0x40
lea rbx, [rcx + 8]
mov dword [rax - 0x28], 0xf0000000
and qword [rbx], 0
lea r8, str.Microsoft_Base_Cryptographic_Provider_v1.0
mov rsi, rdx
mov rdi, rcx
mov rcx, rbx
mov r9d, 1
xor edx, edx
call qword [sym.imp.ADVAPI32.dll_CryptAcquireContextA]
test eax, eax
je 0x140017f42
mov rcx, qword [rbx]
lea rax, [rbp + 0x10]
xor r9d, r9d
mov qword [rsp + 0x20], rax
xor r8d, r8d
mov edx, 0x8004
call qword [sym.imp.ADVAPI32.dll_CryptCreateHash]
test eax, eax
je 0x140017f5c
mov edx, 0x1000
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strnlen]
mov rcx, qword [rbp + 0x10]
xor r9d, r9d
mov r8d, eax
mov rdx, rsi
call qword [sym.imp.ADVAPI32.dll_CryptHashData]
test eax, eax
je 0x140017f76
mov r8, qword [rbp + 0x10]
lea rax, [rdi + 0x10]
mov rcx, qword [rbx]
mov r9d, 0x280000
and qword [rax], 0
mov edx, 0x6801
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_CryptDeriveKey]
test eax, eax
je 0x140017f90
mov rcx, qword [rbp + 0x10]
call qword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
mov rbx, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x68]
add rsp, 0x40
pop rbp
ret
lea rcx, [rbp - 0x10]
call fcn.1400164a8
lea rdx, [0x140095110]
lea rcx, [rbp - 0x10]
call sub.VCRUNTIME140.dll__CxxThrowException
int3
lea rcx, [rbp - 0x10]
call fcn.1400164e0
lea rdx, [0x1400954d0]
lea rcx, [rbp - 0x10]
call sub.VCRUNTIME140.dll__CxxThrowException
int3
lea rcx, [rbp - 0x10]
call fcn.1400165f8
lea rdx, [0x140095530]
lea rcx, [rbp - 0x10]
call sub.VCRUNTIME140.dll__CxxThrowException
int3
lea rcx, [rbp - 0x10]
call fcn.140016550
lea rdx, [0x140095088]
lea rcx, [rbp - 0x10]
call sub.VCRUNTIME140.dll__CxxThrowException
int3
Function at 0x140018658
Capabilities:
Delete file

Disassembly:
sub rsp, 0x1c8
mov qword [rsp + 0x28], 0xfffffffffffffffe
mov rax, qword [0x14009b3d0]
xor rax, rsp
mov qword [rsp + 0x1b0], rax
lea rcx, [rsp + 0x30]
call qword [sym.imp.PsRegApi.dll_public:_void___cdecl_CRegApi::constructor_void____ptr64]
nop
mov r9d, 0x20019
lea r8, str.SoftwareIntelWirelessEvTraceEng_
mov rdx, 0xffffffff80000002
lea rcx, [rsp + 0x30]
call qword [sym.imp.PsRegApi.dll_public:_long_int___cdecl_CRegApi::OpenKey_struct_HKEY______ptr64__char_const____ptr64__unsigned_long_int____ptr64]
test eax, eax
jne 0x140018718
xor edx, edx
mov r8d, Ordinal_262
lea rcx, [rsp + 0xa0]
call sub.VCRUNTIME140.dll_memset
mov dword [rsp + 0x20], Ordinal_266
lea r9, [rsp + 0x20]
lea r8, [rsp + 0xa0]
lea rdx, str.SnapShotFile
lea rcx, [rsp + 0x30]
call qword [sym.imp.PsRegApi.dll_public:_long_int___cdecl_CRegApi::QueryValue_char_const____ptr64__char____ptr64__unsigned_long_int____ptr64____ptr64]
test eax, eax
jne 0x14001870c
xor edx, edx
lea rcx, [rsp + 0xa0]
call qword [sym.imp.api_ms_win_crt_filesystem_l1_1_0.dll__access]
cmp eax, 0xffffffff
je 0x14001870c
lea rcx, [rsp + 0xa0]
call qword [sym.imp.KERNEL32.dll_DeleteFileA]
lea rcx, [rsp + 0x30]
call qword [sym.imp.PsRegApi.dll_public:_long_int___cdecl_CRegApi::CloseKey_void____ptr64]
nop
lea rcx, [rsp + 0x30]
call qword [sym.imp.PsRegApi.dll_public_virtual:_void___cdecl_CRegApi::destructor_void____ptr64]
xor eax, eax
mov rcx, qword [rsp + 0x1b0]
xor rcx, rsp
call fcn.14005d930
add rsp, 0x1c8
ret
Function at 0x14001898c
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rbp
push rdi
push r14
mov rbp, rsp
sub rsp, 0x80
mov rax, qword [0x14009b3d0]
xor rax, rsp
mov qword [rbp - 8], rax
mov eax, dword [0x140070510]
mov rdi, rcx
movups xmm0, xmmword [str.SoftwareIntelWireless]
mov r9d, 0x20019
mov dword [rbp - 0x28], eax
movsd xmm1, qword [0x140070810]
xor r8d, r8d
mov al, byte [0x140070514]
mov rcx, 0xffffffff80000002
movups xmmword [rbp - 0x20], xmm0
mov byte [rbp - 0x24], al
lea rax, [rbp - 0x48]
movsd xmm0, qword [str.PROSetBinDir]
mov esi, edx
lea rdx, [rbp - 0x20]
movsd qword [rbp - 0x30], xmm0
mov qword [rsp + 0x20], rax
movsd qword [rbp - 0x10], xmm1
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x140018a5d
mov rcx, qword [rbp - 0x48]
lea r14d, [rax + 1]
lea rax, [rbp - 0x50]
mov dword [rbp - 0x4c], r14d
mov qword [rsp + 0x28], rax
lea r9, [rbp - 0x4c]
xor r8d, r8d
mov qword [rsp + 0x20], rdi
lea rdx, [rbp - 0x30]
mov dword [rbp - 0x50], Ordinal_266
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov rcx, qword [rbp - 0x48]
xor ebx, ebx
test eax, eax
cmove ebx, r14d
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
test ebx, ebx
jne 0x140018a70
mov rdx, rsi
lea r8, [0x140070818]
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strcpy_s]
mov ebx, 0x35
mov dword [rbp - 0x38], 0x25d
lea rsi, str.CEvtEngine.cpp
mov edx, ebx
lea r8, str.the_value_of_the_getFilelocation_is
mov qword [rbp - 0x40], rsi
lea rcx, [rbp - 0x40]
call fcn.140006d78
mov r8, rdi
mov qword [rbp - 0x40], rsi
mov edx, ebx
mov dword [rbp - 0x38], 0x25e
lea rcx, [rbp - 0x40]
call fcn.140006d78
mov rcx, qword [rbp - 8]
xor rcx, rsp
call fcn.14005d930
lea r11, [rsp + 0x80]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret
Function at 0x140018b30
Capabilities:
Create process on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0xe0
mov bpl, r8b
mov rdi, rdx
mov rsi, rcx
test rcx, rcx
je 0x140018c10
test rdx, rdx
je 0x140018c10
mov ebx, 1
lea rcx, [rsp + 0x50]
xor edx, edx
lea r8d, [rbx + 0x17]
call sub.VCRUNTIME140.dll_memset
xor edx, edx
lea r8d, [rbx + 0x67]
lea rcx, [rsp + 0x70]
call sub.VCRUNTIME140.dll_memset
lea rcx, [rsp + 0x70]
call qword [sym.imp.KERNEL32.dll_GetStartupInfoA]
lea rax, [rsp + 0x50]
xor r9d, r9d
mov qword [rsp + 0x48], rax
xor r8d, r8d
lea rax, [rsp + 0x70]
mov rdx, rdi
mov qword [rsp + 0x40], rax
mov rcx, rsi
and qword [rsp + 0x38], 0
and qword [rsp + 0x30], 0
and dword [rsp + 0x28], 0
mov dword [rsp + 0x20], ebx
call qword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
je 0x140018c0a
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x50]
test rcx, rcx
je 0x140018c0c
xor ebx, ebx
test bpl, bpl
je 0x140018bfd
or edx, 0xffffffff
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rcx, qword [rsp + 0x50]
mov ebx, eax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test ebx, ebx
sete bl
jmp 0x140018c0c
xor bl, bl
mov al, bl
jmp 0x140018c12
xor al, al
lea r11, [rsp + 0xe0]
mov rbx, qword [r11 + 0x10]
mov rbp, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret

Function at 0x1400195c0
Capabilities:
Create thread

Disassembly:
sub rsp, 0x38
lea r9, [rcx + 0x40]
xor edx, edx
lea rax, [rsp + 0x40]
mov qword [r9], rcx
mov qword [rsp + 0x28], rax
lea r8, [0x140018314]
and dword [rsp + 0x20], 0
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov qword [0x1400a3df8], rax
xor eax, eax
add rsp, 0x38
ret

Function at 0x14001984c
Capabilities:
Create thread

Disassembly:
mov r11, rsp
push rdi
sub rsp, 0xc0
mov qword [r11 - 0x80], 0xfffffffffffffffe
mov qword [r11 + 0x10], rbx
mov rax, qword [0x14009b3d0]
xor rax, rsp
mov qword [rsp + 0xb0], rax
mov rbx, rcx
mov dword [rsp + 0x20], 0x35
mov r9d, 0x215
lea rdi, str.CEvtEngine.cpp
mov r8, rdi
lea rdx, str.CCEvtEngine::StartProfileBackupRestoreThread
lea rcx, [r11 - 0x78]
call fcn.140006b9c
nop
call fcn.140018ad8
mov qword [rsp + 0x30], rdi
lea rcx, [rsp + 0x30]
test al, al
jne 0x1400198cf
mov dword [rsp + 0x38], 0x21b
lea r8, str.EvntEng___The_System_is_not_Vista_OS_so_not_starting_the_thread_for_profile_backup_n
mov edx, 0x36
call fcn.140006d78
jmp 0x14001991f
mov dword [rsp + 0x38], 0x220
lea r8, str.EvntEng___The_System_is_Vista_OS_so_starting_the_thread_for_profile_backup_n
mov edx, 0x35
call fcn.140006d78
lea rax, [rsp + 0x40]
mov qword [rsp + 0x28], rax
and dword [rsp + 0x20], 0
xor r9d, r9d
lea r8, [0x140018cc8]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov qword [0x1400a3ed0], rax
lea rcx, [rbx + 0x2c0]
call fcn.140008780
nop
lea rcx, [rsp + 0x50]
call fcn.140006cd4
xor eax, eax
mov rcx, qword [rsp + 0xb0]
xor rcx, rsp
call fcn.14005d930
mov rbx, qword [rsp + 0xd8]
add rsp, 0xc0
pop rdi
ret
Function at 0x140019dc8
Capabilities:
Enumerate processes

Disassembly:
mov r11, rsp
push rdi
sub rsp, 0x210
mov qword [rsp + 0x28], 0xfffffffffffffffe
mov qword [r11 + 0x10], rbx
mov rax, qword [0x14009b3d0]
xor rax, rsp
mov qword [rsp + 0x200], rax
mov rdi, rcx
lea rcx, [r11 - 0xb8]
call fcn.140040098
xor edx, edx
mov r8d, Ordinal_307
lea rcx, [rsp + 0x30]
call sub.VCRUNTIME140.dll_memset
nop
mov edx, 0x200
lea rcx, [rsp + reloc.MurocApi.dll_Ordinal_352]
call fcn.140040154
test eax, eax
je 0x140019ef4
xor edx, edx
lea ecx, [rdx + 0xf]
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov rbx, rax
mov dword [rsp + 0x30], Ordinal_307
lea rdx, [rsp + 0x30]
mov rcx, rax
call sub.KERNEL32.dll_Process32First
jmp 0x140019e7f
lea rcx, [rsp + 0x5c]
call qword [sym.imp.api_ms_win_crt_multibyte_l1_1_0.dll__mbsupr]
lea rdx, str.EXPLORER
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_multibyte_l1_1_0.dll__mbsstr]
test rax, rax
jne 0x140019e85
lea rdx, [rsp + 0x30]
mov rcx, rbx
call sub.KERNEL32.dll_Process32Next
test eax, eax
jne 0x140019e52
jmp 0x140019eef
mov r8d, dword [rsp + 0x38]
xor edx, edx
mov ecx, 0x1fffff
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov rbx, rax
test rax, rax
je 0x140019ef4
lea r8, [rsp + 0x20]
mov edx, 0xa
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
jne 0x140019ec3
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
jmp 0x140019ef4
mov r8, rdi
mov edx, 2
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.ADVAPI32.dll_DuplicateToken]
test eax, eax
je 0x140019ef4
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
mov eax, 1
mov rcx, qword [rsp + 0x200]
xor rcx, rsp
call fcn.14005d930
mov rbx, qword [rsp + 0x228]
add rsp, 0x210
pop rdi
ret