joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14010a094
Capabilities:
Delete directory
Delete file

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
sub rsp, 0x30
and dword [rsp + 0x20], 0
lea rbp, [0x1402cc558]
mov rdi, rdx
mov rbx, rcx
mov r8, rbp
lea rdx, [0x14003be20]
xor r9d, r9d
lea rcx, [0x1402cc568]
call qword [sym.imp.KERNEL32.dll_InitOnceExecuteOnce]
test eax, eax
je 0x14010a236
mov qword [rsp + 0x28], rbp
lea rdx, [0x14003be20]
movups xmm0, xmmword [rsp + 0x20]
xor r9d, r9d
lea rcx, [0x1402cc568]
mov r8, rbp
movdqu xmmword [rdi], xmm0
call qword [sym.imp.KERNEL32.dll_InitOnceExecuteOnce]
test eax, eax
je 0x14010a236
cmp qword [rbx + 0x18], 8
mov rcx, rbx
jb 0x14010a111
mov rcx, qword [rbx]
lea rdx, [rsp + 0x20]
call fcn.14010f640
xor r9d, r9d
lea rdx, [0x14003be20]
mov r8, rbp
lea rcx, [0x1402cc568]
mov esi, eax
call qword [sym.imp.KERNEL32.dll_InitOnceExecuteOnce]
test eax, eax
je 0x14010a236
cmp esi, 8
je 0x14010a1c8
cmp esi, 0xffffffff
je 0x14010a1c8
mov r8, rdi
lea rcx, [rsp + 0x20]
mov rdx, rbx
call fcn.14010aab4
cmp dword [rax], 2
jne 0x14010a1cc
cmp qword [rbx + 0x18], 8
jb 0x14010a16c
mov rbx, qword [rbx]
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_filesystem_l1_1_0.dll__wrmdir]
cmp eax, 0xffffffff
je 0x14010a189
mov al, 1
mov rbx, qword [rsp + 0x60]
add rsp, 0x30
pop rdi
pop rsi
pop rbp
ret
lea rbx, [0x1402c1f30]
xor r9d, r9d
mov r8, rbx
lea rdx, [0x14000ef80]
lea rcx, [0x1402c1f40]
call qword [sym.imp.KERNEL32.dll_InitOnceExecuteOnce]
test eax, eax
je 0x14010a236
mov dword [rsp + 0x20], 1
mov qword [rsp + 0x28], rbx
movups xmm0, xmmword [rsp + 0x20]
movdqu xmmword [rdi], xmm0
xor al, al
jmp 0x14010a17c
cmp qword [rbx + 0x18], 8
jb 0x14010a1d6
mov rbx, qword [rbx]
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_filesystem_l1_1_0.dll__wremove]
test eax, eax
je 0x14010a1e9
call qword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
sete sil
test eax, eax
je 0x14010a22e
lea rbx, [0x1402c1f30]
xor r9d, r9d
mov r8, rbx
lea rdx, [0x14000ef80]
lea rcx, [0x1402c1f40]
call qword [sym.imp.KERNEL32.dll_InitOnceExecuteOnce]
test eax, eax
je 0x14010a236
mov dword [rsp + 0x20], 1
mov qword [rsp + 0x28], rbx
movups xmm0, xmmword [rsp + 0x20]
movdqu xmmword [rdi], xmm0
mov al, sil
jmp 0x14010a17c
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_terminate]
int3
Function at 0x14010a8a0
Capabilities:
Create directory

Disassembly:
mov rax, rsp
push rbp
push rdi
push r14
mov rbp, rsp
sub rsp, 0x60
mov qword [rbp - 0x30], 0xfffffffffffffffe
mov qword [rax + 0x18], rbx
mov rdi, rdx
mov rbx, rcx
and dword [rbp - 0x40], 0
xor r9d, r9d
lea r14, [0x1402cc558]
mov r8, r14
lea rdx, [0x14003be20]
lea rcx, [0x1402cc568]
call qword [sym.imp.KERNEL32.dll_InitOnceExecuteOnce]
nop
test eax, eax
je 0x14010aaac
mov qword [rbp - 0x38], r14
movups xmm0, xmmword [rbp - 0x40]
movdqu xmmword [rdi], xmm0
cmp qword [rbx + 0x10], 0
je 0x14010a9c4
xor r9d, r9d
mov r8, r14
lea rdx, [0x14003be20]
lea rcx, [0x1402cc568]
call qword [sym.imp.KERNEL32.dll_InitOnceExecuteOnce]
nop
test eax, eax
je 0x14010aaac
lea r8, [rbp - 0x28]
mov rdx, rbx
lea rcx, [rbp - 0x40]
call fcn.14010aab4
nop
cmp dword [rbp - 0x40], 8
je 0x14010a9d7
cmp dword [rbp - 0x40], 0xffffffff
je 0x14010a9d7
xor r9d, r9d
mov r8, r14
lea rdx, [0x14003be20]
lea rcx, [0x1402cc568]
call qword [sym.imp.KERNEL32.dll_InitOnceExecuteOnce]
nop
test eax, eax
je 0x14010aaac
lea r8, [rbp - 0x28]
mov rdx, rbx
lea rcx, [rbp - 0x40]
call fcn.14010aab4
nop
cmp dword [rbp - 0x40], 2
je 0x14010a9c4
xor r9d, r9d
lea rbx, [0x1402c1f30]
mov r8, rbx
lea rdx, [0x14000ef80]
lea rcx, [0x1402c1f40]
call qword [sym.imp.KERNEL32.dll_InitOnceExecuteOnce]
nop
test eax, eax
je 0x14010aaac
mov dword [rbp - 0x40], 1
mov qword [rbp - 0x38], rbx
movups xmm0, xmmword [rbp - 0x40]
movdqu xmmword [rdi], xmm0
xor al, al
mov rbx, qword [rsp + 0x90]
add rsp, 0x60
pop r14
pop rdi
pop rbp
ret
lea rdx, [rbp - 0x28]
mov rcx, rbx
call fcn.14010a724
nop
mov rcx, rax
mov rdx, rdi
call fcn.14010a8a0
nop
lea rcx, [rbp - 0x28]
call fcn.14000f680
nop
cmp dword [rdi], 0
jne 0x14010a9c4
cmp qword [rbx + 0x18], 8
jb 0x14010aa09
mov rbx, qword [rbx]
xor edx, edx
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
nop
test eax, eax
je 0x14010aa20
mov ebx, 1
jmp 0x14010aa30
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop
sub eax, 0xb7
neg eax
sbb ebx, ebx
and dword [rbp - 0x40], 0
xor r9d, r9d
mov r8, r14
lea rdx, [0x14003be20]
lea rcx, [0x1402cc568]
call qword [sym.imp.KERNEL32.dll_InitOnceExecuteOnce]
nop
test eax, eax
je 0x14010aaac
mov qword [rbp - 0x38], r14
movups xmm0, xmmword [rbp - 0x40]
movdqu xmmword [rdi], xmm0
test ebx, ebx
jns 0x14010aa9c
xor r9d, r9d
lea rbx, [0x1402c1f30]
mov r8, rbx
lea rdx, [0x14000ef80]
lea rcx, [0x1402c1f40]
call qword [sym.imp.KERNEL32.dll_InitOnceExecuteOnce]
nop
test eax, eax
je 0x14010aaac
mov dword [rbp - 0x40], 1
mov qword [rbp - 0x38], rbx
movups xmm0, xmmword [rbp - 0x40]
movdqu xmmword [rdi], xmm0
cmp dword [rdi], 0
jne 0x14010a9c4
mov al, 1
jmp 0x14010a9c6
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_terminate]
nop
int3
Function at 0x14010d774
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov rax, rsp
mov qword [rax + 8], rcx
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0x60
mov qword [rax - 0x68], 0xfffffffffffffffe
mov qword [rax + 0x18], rbx
mov rdi, rcx
mov r14, qword [rdx]
mov rsi, qword [rdx + 8]
mov r9, qword [rsi + 0x10]
mov r8, rsi
cmp qword [rsi + 0x18], 8
jb 0x14010d7ae
mov r8, qword [rsi]
movabs rcx, 0xcbf29ce484222325
xor r12d, r12d
mov edx, r12d
add r9, r9
je 0x14010d7e1
movzx eax, byte [rdx + r8]
xor rcx, rax
movabs r10, 0x100000001b3
imul rcx, r10
inc rdx
cmp rdx, r9
jb 0x14010d7c3
mov r15, qword [r14 + 0x38]
and r15, rcx
add r15, r15
mov rbx, qword [r14 + 0x20]
mov rbx, qword [rbx + r15*8]
mov rax, qword [r14 + 0x20]
mov rcx, qword [r14 + 0x10]
cmp qword [rax + r15*8], rcx
jne 0x14010d806
mov rax, rcx
jmp 0x14010d80e
mov rax, qword [rax + r15*8 + 8]
mov rax, qword [rax]
cmp rbx, rax
je 0x14010d83c
lea rdx, [rbx + 0x10]
mov r8, rsi
call fcn.1400e0368
test eax, eax
je 0x14010d828
mov rbx, qword [rbx]
jmp 0x14010d7f3
lea r8, [rbx + 0x10]
mov rdx, rsi
call fcn.1400e0368
mov rcx, qword [r14 + 0x10]
test eax, eax
je 0x14010d83f
mov rbx, rcx
cmp rbx, rcx
je 0x14010d8a7
lea rdx, [rbx + 0x30]
lea rcx, [rsp + 0x38]
call fcn.14000b4bc
movups xmm0, xmmword [rsp + 0x38]
movups xmmword [rdi], xmm0
movups xmm1, xmmword [rsp + 0x48]
movups xmmword [rdi + 0x10], xmm1
mov qword [rsp + 0x48], r12
mov qword [rsp + 0x50], 7
mov word [rsp + 0x38], r12w
mov byte [rdi + 0x20], r12b
lea rcx, [rsp + 0x38]
call fcn.14000f680
mov rax, rdi
jmp 0x14010d892
mov rbx, qword [rsp + 0xa0]
add rsp, 0x60
pop r15
pop r14
pop r12
pop rdi
pop rsi
ret
lea rcx, str.invalid_unordered_map_K__T__key
call fcn.14003b5ac
int3
Function at 0x14010d994
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov r11, rsp
mov qword [r11 + 8], rcx
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x60
mov qword [r11 - 0x68], 0xfffffffffffffffe
mov qword [r11 + 0x18], rbx
mov qword [r11 + 0x20], rsi
mov rbx, rdx
mov rdi, rcx
lea rax, [r11 - 0x50]
mov qword [r11 + 0x10], rax
mov rdx, qword [rdx]
lea rcx, [r11 - 0x50]
call fcn.14000b4bc
nop
mov r11, qword [rbx + 8]
mov rdx, qword [rbx]
mov rsi, qword [rdx + 0x10]
mov r9, rdx
cmp qword [rdx + 0x18], 8
jb 0x14010d9eb
mov r9, qword [rdx]
movabs r8, 0xcbf29ce484222325
lea r10, [rsi + rsi]
xor r13d, r13d
mov ecx, r13d
test r10, r10
je 0x14010da22
movzx eax, byte [rcx + r9]
xor r8, rax
movabs rbx, 0x100000001b3
imul r8, rbx
inc rcx
cmp rcx, r10
jb 0x14010da04
mov r15, qword [r11 + 0x78]
and r15, r8
add r15, r15
mov r12, qword [r11 + 0x60]
mov rax, qword [r12 + r15*8]
mov r10, qword [r11 + 0x50]
cmp qword [r12 + r15*8], r10
jne 0x14010da43
mov rcx, r10
jmp 0x14010da4b
mov rcx, qword [r12 + r15*8 + 8]
mov rcx, qword [rcx]
cmp rax, rcx
je 0x14010daf5
lea r8, [rax + 0x10]
mov rcx, rdx
cmp qword [rdx + 0x18], 8
jb 0x14010da65
mov rcx, qword [rdx]
mov r9, qword [r8 + 0x10]
mov r14, qword [r8 + 0x18]
cmp r14, 8
jb 0x14010da76
mov r8, qword [r8]
cmp r9, rsi
jne 0x14010da9f
test r9, r9
je 0x14010da98
sub r8, rcx
movzx r11d, word [r8 + rcx]
cmp r11w, word [rcx]
jne 0x14010daa4
add rcx, 2
sub r9, 1
jne 0x14010da83
mov ecx, r13d
test ecx, ecx
je 0x14010daad
mov rax, qword [rax]
jmp 0x14010da38
sbb ecx, ecx
and ecx, 0xfffffffe
inc ecx
jmp 0x14010da9b
lea rcx, [rax + 0x10]
cmp r14, 8
jb 0x14010daba
mov rcx, qword [rcx]
cmp qword [rdx + 0x18], 8
jb 0x14010dac4
mov rdx, qword [rdx]
test rsi, rsi
je 0x14010dae1
sub rdx, rcx
movzx r8d, word [rdx + rcx]
cmp r8w, word [rcx]
jne 0x14010daec
add rcx, 2
sub rsi, 1
jne 0x14010dacc
mov ecx, r13d
test ecx, ecx
cmovne rax, r10
jmp 0x14010daf8
sbb ecx, ecx
and ecx, 0xfffffffe
inc ecx
jmp 0x14010dae4
mov rax, r10
cmp rax, r10
je 0x14010db67
movsd xmm2, qword [rax + 0x30]
movsd qword [rsp + 0x58], xmm2
movups xmm0, xmmword [rsp + 0x38]
movups xmmword [rdi], xmm0
movups xmm1, xmmword [rsp + 0x48]
movups xmmword [rdi + 0x10], xmm1
mov qword [rsp + 0x48], r13
mov qword [rsp + 0x50], 7
mov word [rsp + 0x38], r13w
movsd qword [rdi + 0x20], xmm2
mov byte [rdi + 0x28], r13b
lea rcx, [rsp + 0x38]
call fcn.14000f680
mov rax, rdi
jmp 0x14010db4d
lea r11, [rsp + 0x60]
mov rbx, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
lea rcx, str.invalid_unordered_map_K__T__key
call fcn.14003b5ac
int3
Function at 0x14011b8f4
Capabilities:
Encrypt data using dpapi

Disassembly:
mov rax, rsp
push rbp
push rsi
push rdi
push r14
push r15
sub rsp, 0x50
mov qword [rax - 0x58], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov r14, rdx
mov rbp, rcx
mov ecx, 0x20
call fcn.140154508
mov rdi, rax
mov qword [rsp + 0x80], rax
mov r9, qword [rbp + 0x20]
mov rdx, qword [rbp + 0x28]
sub rdx, r9
shr rdx, 1
xor r15d, r15d
mov qword [rax + 0x10], r15
mov qword [rax + 0x18], 7
mov word [rax], r15w
cmp rdx, qword [rax + 0x18]
ja 0x14011b97a
mov rsi, rax
cmp qword [rax + 0x18], 8
jb 0x14011b95d
mov rsi, qword [rax]
mov qword [rax + 0x10], rdx
lea rbx, [rdx + rdx]
mov r8, rbx
mov rdx, r9
mov rcx, rsi
call fcn.1401572b0
mov word [rbx + rsi], r15w
jmp 0x14011b986
lfence
mov rcx, rdi
call fcn.14000eb38
nop
mov qword [rsp + 0x98], rdi
mov rax, qword [rbp + 0x28]
sub rax, qword [rbp + 0x20]
mov rcx, rdi
cmp qword [rdi + 0x18], 8
jb 0x14011b9a3
mov rcx, qword [rdi]
xor r8d, r8d
mov edx, eax
call qword [sym.imp.CRYPT32.dll_CryptUnprotectMemory]
test eax, eax
je 0x14011ba02
mov rdx, qword [rbp + 0x38]
mov rax, qword [rdi + 0x10]
cmp rdx, rax
ja 0x14011b9d7
mov rax, rdi
cmp qword [rdi + 0x18], 8
jb 0x14011b9cc
mov rax, qword [rdi]
mov qword [rdi + 0x10], rdx
mov word [rax + rdx*2], r15w
jmp 0x14011b9e8
lfence
xor r8d, r8d
sub rdx, rax
mov rcx, rdi
call fcn.14003abd4
mov qword [r14], rdi
mov rax, r14
mov rbx, qword [rsp + 0x88]
add rsp, 0x50
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop
mov edx, eax
lea rcx, [rsp + 0x28]
call fcn.14004b558
lea rdx, [0x14022ae88]
lea rcx, [rsp + 0x28]
call fcn.1401556e8
int3
Function at 0x14012b2ac
Capabilities:
Hash data via bcrypt

Disassembly:
push rbp
push rbx
push rdi
lea rbp, [rsp - 0x47]
sub rsp, 0xc0
mov qword [rbp - 0x19], 0xfffffffffffffffe
mov rax, qword [0x1402338a8]
xor rax, rsp
mov qword [rbp + 0x37], rax
mov rbx, r8
mov rdi, rcx
mov qword [rbp - 0x11], rcx
and dword [rbp - 0x21], 0
and qword [rbp - 0x29], 0
and qword [rbp - 0x31], 0
and qword [rcx], 0
and qword [rcx + 8], 0
and qword [rcx + 0x10], 0
mov dword [rbp - 0x21], 1
and dword [rbp - 0x39], 0
and dword [rbp - 0x1d], 0
lea rcx, [rbp + 0x17]
call fcn.14004c364
nop
mov rdx, rbx
lea rcx, [rbp - 9]
call fcn.14004c364
nop
mov r9d, 8
xor r8d, r8d
lea rdx, str.SHA1
lea rcx, [rbp - 0x29]
call qword [sym.imp.bcrypt.dll_BCryptOpenAlgorithmProvider]
test eax, eax
js 0x14012b3e6
and dword [rsp + 0x28], 0
lea rax, [rbp - 0x1d]
mov qword [rsp + 0x20], rax
mov r9d, 4
lea r8, [rbp - 0x39]
lea rdx, str.HashDigestLength
mov rcx, qword [rbp - 0x29]
call qword [sym.imp.bcrypt.dll_BCryptGetProperty]
test eax, eax
js 0x14012b3e6
mov edx, dword [rbp - 0x39]
mov rcx, rdi
call fcn.1400e1c90
mov eax, dword [rbp + 0x27]
lea rcx, [rbp + 0x17]
cmp qword [rbp + 0x2f], 0x10
cmovae rcx, qword [rbp + 0x17]
and dword [rsp + 0x30], 0
mov dword [rsp + 0x28], eax
mov qword [rsp + 0x20], rcx
xor r9d, r9d
xor r8d, r8d
lea rdx, [rbp - 0x31]
mov rcx, qword [rbp - 0x29]
call qword [sym.imp.bcrypt.dll_BCryptCreateHash]
test eax, eax
js 0x14012b3e6
lea rdx, [rbp - 9]
cmp qword [rbp + 0xf], 0x10
cmovae rdx, qword [rbp - 9]
xor r9d, r9d
mov r8d, dword [rbp + 7]
mov rcx, qword [rbp - 0x31]
call qword [sym.imp.bcrypt.dll_BCryptHashData]
test eax, eax
js 0x14012b3e6
xor r9d, r9d
mov r8d, dword [rbp - 0x39]
mov rdx, qword [rdi]
mov rcx, qword [rbp - 0x31]
call qword [sym.imp.bcrypt.dll_BCryptFinishHash]
mov rcx, qword [rbp - 0x31]
test rcx, rcx
je 0x14012b3f5
call qword [sym.imp.bcrypt.dll_BCryptDestroyHash]
mov rcx, qword [rbp - 0x29]
test rcx, rcx
je 0x14012b407
xor edx, edx
call qword [sym.imp.bcrypt.dll_BCryptCloseAlgorithmProvider]
nop
mov ebx, 0x1000
mov rdx, qword [rbp + 0xf]
cmp rdx, 0x10
jb 0x14012b446
inc rdx
mov rcx, qword [rbp - 9]
mov rax, rcx
cmp rdx, rbx
jb 0x14012b441
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14012b441
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14015449c
movdqa xmm0, xmmword [0x1401cfe10]
movdqu xmmword [rbp + 7], xmm0
mov byte [rbp - 9], 0
mov rdx, qword [rbp + 0x2f]
cmp rdx, 0x10
jb 0x14012b491
inc rdx
mov rcx, qword [rbp + 0x17]
mov rax, rcx
cmp rdx, rbx
jb 0x14012b48c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14012b48c
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14015449c
mov rax, rdi
mov rcx, qword [rbp + 0x37]
xor rcx, rsp
call fcn.140154030
add rsp, 0xc0
pop rdi
pop rbx
pop rbp
ret
Function at 0x140138fac
Capabilities:
Query or enumerate registry value

Disassembly:
mov r11, rsp
sub rsp, 0x58
mov rax, qword [0x1402338a8]
xor rax, rsp
mov qword [rsp + 0x48], rax
lea rax, [r11 - 0x18]
mov dword [rsp + 0x40], 4
mov qword [r11 - 0x28], rax
mov rcx, 0xffffffff80000002
mov qword [r11 - 0x30], r9
mov r9d, 0x10
and qword [r11 - 0x38], 0
call qword [sym.imp.ADVAPI32.dll_RegGetValueW]
mov ecx, eax
movzx eax, ax
or eax, 0x80070000
test ecx, ecx
cmovle eax, ecx
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.140154030
add rsp, 0x58
ret

Function at 0x14013ac50
Capabilities:
Query or enumerate registry value

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r14
lea rbp, [rsp - 0x37]
sub rsp, 0xd0
mov qword [rbp - 0x29], 0xfffffffffffffffe
mov rax, qword [0x1402338a8]
xor rax, rsp
mov qword [rbp + 0x27], rax
mov r14, rdx
mov rsi, rcx
lea rdx, [rbp - 0x19]
call fcn.14013b1f4
nop
mov dword [rbp - 0x21], 4
lea rdi, [rbp + 7]
cmp qword [rbp + 0x1f], 8
cmovae rdi, qword [rbp + 7]
lea rbx, [rbp - 0x19]
cmp qword [rbp - 1], 8
cmovae rbx, qword [rbp - 0x19]
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp - 0x51], xmm0
movups xmmword [rbp - 0x41], xmm0
mov qword [rbp - 0x31], rax
mov byte [rbp - 0x51], al
mov byte [rbp - 0x31], al
lea r8, [rbp - 0x51]
lea rdx, [rbp - 0x59]
mov rcx, rsi
call fcn.14013baec
lea rcx, [rbp - 0x21]
mov qword [rsp + 0x30], rcx
lea rcx, [rbp - 0x1d]
mov qword [rsp + 0x28], rcx
and qword [rsp + 0x20], 0
mov r9d, 0x10
mov r8, rdi
mov rdx, rbx
mov rcx, qword [rax]
call qword [sym.imp.ADVAPI32.dll_RegGetValueW]
mov ebx, eax
mov rcx, qword [rbp - 0x59]
test rcx, rcx
je 0x14013ad12
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop
cmp byte [rbp - 0x31], 0
je 0x14013ad21
lea rcx, [rbp - 0x51]
call fcn.14000f680
cmp ebx, 2
jne 0x14013ad2d
xor eax, eax
mov qword [r14], rax
jmp 0x14013ad40
mov rcx, qword [rbp + 0x5f]
test ebx, ebx
jne 0x14013ad6f
mov eax, dword [rbp - 0x1d]
mov dword [r14], eax
mov byte [r14 + 4], 1
lea rcx, [rbp + 7]
call fcn.14000f680
lea rcx, [rbp - 0x19]
call fcn.14000f680
mov rax, r14
mov rcx, qword [rbp + 0x27]
xor rcx, rsp
call fcn.140154030
add rsp, 0xd0
pop r14
pop rdi
pop rsi
pop rbx
pop rbp
ret
mov r9d, ebx
lea r8, str.amcore_smartscreencommonwindows_src_registry.cpp
mov edx, 0x98
call fcn.1400a0e64
int3
Function at 0x14013f8e4
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
sub rsp, 0x20
mov rbx, r8
mov r9, rcx
xor ecx, ecx
movabs r8, 0xcbf29ce484222325
mov rsi, rdx
movzx eax, byte [rbx + rcx + 0x10]
movabs rdx, 0x100000001b3
xor r8, rax
inc rcx
imul r8, rdx
cmp rcx, 8
jb 0x14013f905
mov rdx, qword [r9 + 0x30]
mov rcx, qword [r9 + 0x18]
and rdx, r8
add rdx, rdx
cmp qword [rcx + rdx*8 + 8], rbx
jne 0x14013f95c
cmp qword [rcx + rdx*8], rbx
jne 0x14013f951
mov rax, qword [r9 + 8]
mov qword [rcx + rdx*8], rax
mov rcx, qword [r9 + 0x18]
mov rax, qword [r9 + 8]
jmp 0x14013f955
mov rax, qword [rbx + 8]
mov qword [rcx + rdx*8 + 8], rax
jmp 0x14013f969
cmp qword [rcx + rdx*8], rbx
jne 0x14013f969
mov rax, qword [rbx]
mov qword [rcx + rdx*8], rax
mov rax, qword [rbx + 8]
lea rbp, [rbx + 0x18]
mov rdi, qword [rbx]
mov qword [rax], rdi
mov rcx, qword [rbx]
mov rax, qword [rbx + 8]
mov qword [rcx + 8], rax
dec qword [r9 + 0x10]
mov rcx, qword [rbp + 0x38]
test rcx, rcx
je 0x14013f9a7
mov r8, qword [rcx]
cmp rcx, rbp
setne dl
mov rax, qword [r8 + 0x20]
call qword [case.0x140055453.0]
and qword [rbp + 0x38], 0
mov edx, 0x58
mov rcx, rbx
call fcn.14015449c
mov rbx, qword [rsp + 0x50]
mov rax, rsi
mov qword [rsi], rdi
add rsp, 0x20
pop rdi
pop rsi
pop rbp
ret
Function at 0x14014cff8
Capabilities:
Hash data via bcrypt

Disassembly:
mov rax, rsp
push rbp
lea rbp, [rax - 0x5f]
sub rsp, 0xc0
mov qword [rbp - 1], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov rax, qword [0x1402338a8]
xor rax, rsp
mov qword [rbp + 0x47], rax
mov rsi, rdx
mov rdi, rcx
mov byte [rbp - 0x29], 0
lea rax, [rbp - 0x29]
mov qword [rbp - 0x11], rax
lea rax, [rbp - 0x11]
mov qword [rbp - 9], rax
and qword [rbp + 0x27], 0
and qword [rbp + 0x2f], 0
lea rax, [rbp + 0x27]
mov qword [rbp + 0x37], rax
lea rax, [rbp - 9]
mov qword [rbp + 0x3f], rax
xor r9d, r9d
lea r8, [rbp + 0x37]
lea rdx, [0x14014d470]
lea rcx, [0x1402ccc08]
call qword [sym.imp.KERNEL32.dll_InitOnceExecuteOnce]
test eax, eax
je 0x14014d1aa
mov rbx, qword [rbp + 0x2f]
test rbx, rbx
je 0x14014d0c2
or eax, 0xffffffff
lock xadd dword [rbx + 8], eax
cmp eax, 1
jne 0x14014d0c2
mov rax, qword [rbx]
mov rcx, rbx
mov rax, qword [rax]
call qword [case.0x140055453.0]
or eax, 0xffffffff
lock xadd dword [rbx + 0xc], eax
cmp eax, 1
jne 0x14014d0c2
mov rax, qword [rbx]
mov rcx, rbx
mov rax, qword [rax + 8]
call qword [case.0x140055453.0]
mov rcx, qword [0x1402ccc10]
and qword [rbp + 0x1f], 0
lea rax, [rbp + 0x1f]
mov qword [rbp - 0x21], rax
and qword [rbp - 0x19], 0
and dword [rsp + 0x30], 0
and dword [rsp + 0x28], 0
and qword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
lea rdx, [rbp - 0x19]
mov rcx, qword [rcx]
call qword [sym.imp.bcrypt.dll_BCryptCreateHash]
mov rcx, qword [rbp + 0x5f]
test eax, eax
js 0x14014d1cd
mov rdx, qword [rbp - 0x19]
test rdx, rdx
je 0x14014d128
mov rax, qword [rbp - 0x21]
mov rcx, qword [rax]
mov qword [rax], rdx
test rcx, rcx
je 0x14014d128
call qword [sym.imp.bcrypt.dll_BCryptDestroyHash]
mov rax, qword [rsi + 8]
mov r8, qword [rax]
mov rax, qword [rsi]
mov rdx, qword [rax]
add r8, rdx
sub r8d, edx
xor r9d, r9d
mov rcx, qword [rbp + 0x1f]
call qword [sym.imp.bcrypt.dll_BCryptHashData]
mov rcx, qword [rbp + 0x5f]
test eax, eax
js 0x14014d1de
xor r9d, r9d
lea r8d, [r9 + 0x10]
mov rdx, rdi
mov rcx, qword [rbp + 0x1f]
call qword [sym.imp.bcrypt.dll_BCryptFinishHash]
mov rcx, qword [rbp + 0x5f]
test eax, eax
js 0x14014d1ef
lfence
mov rcx, qword [rbp + 0x1f]
test rcx, rcx
je 0x14014d182
call qword [sym.imp.bcrypt.dll_BCryptDestroyHash]
mov rax, rdi
mov rcx, qword [rbp + 0x47]
xor rcx, rsp
call fcn.140154030
lea r11, [rsp + 0xc0]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret
cmp qword [rbp + 0x27], 0
je 0x14014d1c7
lea rdx, [rbp + 0x27]
lea rcx, [rbp + 7]
call fcn.14003a628
mov rcx, rax
call fcn.14003a5f0
int3
call fcn.14003bc98
nop
lfence
mov r9d, eax
mov edx, 0x88
call fcn.140109690
nop
lfence
mov r9d, eax
mov edx, 0x8f
call fcn.140109690
int3
lfence
mov r9d, eax
mov edx, 0x94
call fcn.140109690
int3
Function at 0x140001d54
Capabilities:
Write file on windows

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x20
mov rsi, qword [fcn.140015980]
xor ebx, ebx
mov rdi, rcx
mov rbp, rdx
cmp rbx, rbp
jl 0x140001dac
mov ecx, 1
call rsi
mov r8d, 1
mov edx, 1
lea rcx, [0x14001913c]
mov r9, rax
call sub.msvcrt.dll_fwrite
mov ecx, 1
call rsi
mov rcx, rax
add rsp, 0x20
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
jmp 0x140015f60
mov r12, qword [rdi + rbx*8]
mov ecx, 1
inc rbx
call rsi
xor r8d, r8d
mov rcx, rax
mov rdx, r12
call fcn.140001bf3
jmp 0x140001d6d

Function at 0x140001edb
Capabilities:
Write file on windows

Disassembly:
push rsi
push rbx
sub rsp, 0x28
xor r8d, r8d
mov rsi, rcx
mov rbx, rdx
test rdx, rdx
je 0x140001efa
mov rcx, rdx
call sub.msvcrt.dll_strlen
mov r8, rax
mov rcx, rbx
mov r9, rsi
mov edx, 1
call sub.msvcrt.dll_fwrite
mov rcx, rsi
add rsp, 0x28
pop rbx
pop rsi
jmp 0x140015f60
jmp qword [sym.imp.msvcrt.dll_fflush]