joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140006160
Capabilities:
Check if file exists

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rbp
push rdi
push r14
lea rbp, [rsp - 0x70]
sub rsp, 0x170
mov rax, qword [0x14002b400]
xor rax, rsp
mov qword [rbp + 0x60], rax
mov rdi, rcx
mov qword [rsp + 0x40], rcx
mov r8d, 0x104
lea rdx, [0x14002c3a0]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
nop dword [rax + rax]
xor esi, esi
test eax, eax
jne 0x14000622b
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
nop dword [rax + rax]
mov ebx, eax
call fcn.140006424
cmp dword [rax], 2
jbe 0x140006217
mov dword [rsp + 0x48], ebx
lea rcx, str.GetModuleFileName_failed
mov qword [rsp + 0x40], rcx
test ebx, ebx
jle 0x1400061e6
movzx ebx, bx
or ebx, 0x80070000
mov dword [rsp + 0x50], ebx
lea rcx, [rsp + 0x48]
mov qword [rsp + 0x30], rcx
lea rcx, [rsp + 0x40]
mov qword [rsp + 0x28], rcx
lea rcx, [rsp + 0x50]
mov qword [rsp + 0x20], rcx
lea rdx, [0x140023def]
mov rcx, rax
call fcn.1400024fc
lea rdx, [0x14001e948]
mov rcx, rdi
call fcn.1400070b0
jmp 0x14000634e
mov qword [rbp - 0x10], rsi
mov r14d, 7
mov qword [rbp - 8], r14
mov word [rbp - 0x20], si
mov qword [rbp - 0x30], rsi
mov qword [rbp - 0x28], r14
mov word [rbp - 0x40], si
mov qword [rbp + 0x50], rsi
mov qword [rbp + 0x58], r14
mov word [rbp + 0x40], si
mov qword [rbp + 0x30], rsi
mov qword [rbp + 0x38], r14
mov word [rbp + 0x20], si
mov r8d, eax
lea rdx, [0x14002c3a0]
lea rcx, [rbp]
call fcn.1400091b8
nop
lea rcx, [rbp + 0x20]
mov qword [rsp + 0x20], rcx
lea r9, [rbp + 0x40]
lea r8, [rbp - 0x40]
lea rdx, [rbp - 0x20]
mov rcx, rax
call fcn.140014f54
test al, al
sete bl
lea rcx, [rbp]
call fcn.140008970
test bl, bl
je 0x1400062b5
lea rdx, [0x14001e948]
mov rcx, rdi
call fcn.1400070b0
jmp 0x140006327
lea rax, [rsp + 0x58]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x68], rsi
mov qword [rsp + 0x70], r14
mov word [rsp + 0x58], si
lea rax, [rbp]
mov qword [rsp + 0x50], rax
mov qword [rbp + 0x10], rsi
mov qword [rbp + 0x18], r14
mov word [rbp], si
lea rax, [rbp - 0x80]
mov qword [rsp + 0x48], rax
lea rdx, [rbp - 0x40]
lea rcx, [rbp - 0x80]
call fcn.140008840
mov rbx, rax
lea rdx, [rbp - 0x20]
lea rcx, [rbp - 0x60]
call fcn.140008840
nop
lea rcx, [rsp + 0x58]
mov qword [rsp + 0x20], rcx
lea r9, [rbp]
mov r8, rbx
mov rdx, rax
mov rcx, rdi
call fcn.140014d0c
nop
lea rcx, [rbp + 0x20]
call fcn.140008970
nop
lea rcx, [rbp + 0x40]
call fcn.140008970
nop
lea rcx, [rbp - 0x40]
call fcn.140008970
nop
lea rcx, [rbp - 0x20]
call fcn.140008970
mov rax, rdi
mov rcx, qword [rbp + 0x60]
xor rcx, rsp
call fcn.14000f620
lea r11, [rsp + 0x170]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret
Function at 0x1400065e4
Capabilities:
Query or enumerate registry value

Disassembly:
mov r11, rsp
mov qword [r11 + 8], rbx
mov qword [r11 + 0x10], rsi
mov qword [r11 + 0x18], rdi
mov qword [r11 + 0x20], r9
push rbp
push r12
push r13
push r14
push r15
mov rbp, rsp
sub rsp, 0x80
mov rax, r9
mov r14, r8
mov rsi, rdx
mov rdi, rcx
mov r13, qword [rbp + 0x50]
mov byte [r13], 1
xor ebx, ebx
mov r12, qword [rbp + 0x58]
mov dword [r12], ebx
mov qword [rbp + 0x50], rbx
mov dword [rbp + 0x68], ebx
mov dword [rbp + 0x60], ebx
lea rcx, [rbp + 0x60]
mov qword [r11 - 0x70], rcx
lea rcx, [rbp + 0x68]
mov qword [r11 - 0x78], rcx
lea r9d, [rbx + 2]
mov r8, rax
lea rcx, [rbp + 0x50]
call fcn.1400067f4
mov dword [r12], eax
test eax, eax
jne 0x140006726
mov r15d, dword [rbp + 0x60]
mov edx, r15d
lea rcx, [rbp - 0x20]
call fcn.140007330
mov r8, rsi
cmp qword [rsi + 0x18], 8
jb 0x14000667c
mov r8, qword [rsi]
lea rax, [rbp + 0x68]
mov qword [rsp + 0x30], rax
mov rbx, qword [rbp - 0x20]
mov qword [rsp + 0x28], rbx
and qword [rsp + 0x20], 0
xor edx, edx
lea r9d, [rdx + 2]
mov rcx, qword [rbp + 0x50]
call qword [sym.imp.ADVAPI32.dll_RegGetValueW]
nop dword [rax + rax]
mov dword [r12], eax
test eax, eax
jne 0x140006749
xor esi, esi
mov byte [r13], sil
lea eax, [r15 - 1]
mov word [rbx + rax*2], si
mov rdx, rbx
mov rcx, rdi
call fcn.1400070b0
test rbx, rbx
jne 0x14000670f
mov rcx, qword [rbp + 0x50]
test rcx, rcx
je 0x1400066ea
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop dword [rax + rax]
nop
mov rax, rdi
lea r11, [rsp + 0x80]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
mov rdx, qword [rbp - 0x10]
sub rdx, rbx
sar rdx, 1
add rdx, rdx
mov rcx, rbx
call fcn.140009130
jmp 0x1400066d4
mov rdx, r14
mov rcx, rdi
call fcn.140008840
mov rcx, qword [rbp + 0x50]
test rcx, rcx
je 0x1400066ea
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop dword [rax + rax]
nop
jmp 0x1400066ea
call fcn.140006424
mov r8, rax
cmp dword [rax], 4
jbe 0x1400067c9
mov rcx, r14
call fcn.140006520
mov qword [rbp + 0x58], rax
mov ecx, dword [r12]
mov dword [rbp + 0x60], ecx
mov rcx, qword [rbp + 0x48]
call fcn.140006520
mov qword [rbp + 0x70], rax
mov rcx, rsi
call fcn.140006520
mov qword [rbp - 0x30], rax
lea rax, str.Failed_to_read_registry_value._Return_default_value
mov qword [rbp - 0x28], rax
lea rax, [rbp + 0x58]
mov qword [rsp + 0x40], rax
lea rax, [rbp + 0x60]
mov qword [rsp + 0x38], rax
lea rax, [rbp + 0x70]
mov qword [rsp + 0x30], rax
lea rax, [rbp - 0x30]
mov qword [rsp + 0x28], rax
lea rax, [rbp - 0x28]
mov qword [rsp + 0x20], rax
lea rdx, [0x140024120]
mov rcx, r8
call fcn.140002b78
mov rdx, r14
mov rcx, rdi
call fcn.140008840
lea rcx, [rbp - 0x20]
call fcn.14000dd94
lea rcx, [rbp + 0x50]
call fcn.14000dc64
jmp 0x1400066ea
Function at 0x1400067f4
Capabilities:
Query or enumerate registry value

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov qword [rax + 0x20], r12
push rbp
push r14
push r15
mov rbp, rsp
sub rsp, 0x60
mov rbx, rdx
mov r12d, r9d
mov rdx, rcx
mov r15, rcx
mov rcx, r8
mov r9d, 0x20019
mov r14, r8
call fcn.140006a14
mov edi, eax
test eax, eax
jne 0x1400068bb
cmp qword [rbx + 0x18], 8
mov r8, rbx
jb 0x140006847
mov r8, qword [rbx]
mov rsi, qword [rbp + 0x50]
mov r9d, r12d
mov rcx, qword [r15]
xor edx, edx
mov qword [rsp + 0x30], rsi
and qword [rsp + 0x28], 0
and qword [rsp + 0x20], 0
call qword [sym.imp.ADVAPI32.dll_RegGetValueW]
nop dword [rax + rax]
mov edi, eax
test eax, eax
jne 0x140006972
mov eax, dword [rsi]
mov r15d, 0x4000000
mov rdi, qword [rbp + 0x58]
mov dword [rdi], eax
cmp eax, 1
jb 0x140006981
cmp eax, r15d
ja 0x140006981
xor eax, eax
lea r11, [rsp + 0x60]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x30]
mov r12, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret
call fcn.140006424
mov r8, rax
cmp dword [rax], 5
jbe 0x14000696b
mov rcx, r14
mov dword [rbp + 0x40], edi
call fcn.140006520
mov qword [rbp + 0x60], rax
lea rdx, [0x14002424f]
lea rax, str.Could_not_open_or_create_the_registry_path._Return_default_value
mov rcx, r8
mov qword [rbp - 0x10], rax
lea rax, [rbp + 0x40]
mov qword [rsp + 0x30], rax
lea rax, [rbp + 0x60]
mov qword [rsp + 0x28], rax
lea rax, [rbp - 0x10]
mov qword [rsp + 0x20], rax
call fcn.140001538
jmp 0x14000696b
mov rcx, r14
mov dword [rbp + 0x40], edi
call fcn.140006520
mov rcx, rbx
mov qword [rbp + 0x60], rax
call fcn.140006520
mov qword [rbp - 0x10], rax
lea rdx, [0x1400241b7]
lea rax, str.Failed_to_get_registry_value_size._Return_default_value
mov rcx, r8
mov qword [rbp - 8], rax
lea rax, [rbp + 0x40]
mov qword [rsp + 0x38], rax
lea rax, [rbp + 0x60]
mov qword [rsp + 0x30], rax
lea rax, [rbp - 0x10]
mov qword [rsp + 0x28], rax
lea rax, [rbp - 8]
mov qword [rsp + 0x20], rax
call fcn.140002928
mov eax, edi
jmp 0x14000689c
call fcn.140006424
mov r8, rax
cmp dword [rax], 5
jbe 0x14000696b
jmp 0x140006912
call fcn.140006424
mov r8, rax
cmp dword [rax], 4
jbe 0x140006a04
mov ecx, dword [rsi]
mov dword [rbp + 0x48], ecx
mov ecx, dword [rdi]
mov dword [rbp + 0x68], ecx
mov rcx, r14
mov dword [rbp + 0x40], r15d
call fcn.140006520
mov rcx, rbx
mov qword [rbp + 0x60], rax
call fcn.140006520
mov qword [rbp - 8], rax
lea rdx, [0x1400241f8]
lea rax, str.Registry_value_is_empty_or_bigger_than_max_length._Return_default_value
mov rcx, r8
mov qword [rbp - 0x10], rax
lea rax, [rbp + 0x40]
mov qword [rsp + 0x48], rax
lea rax, [rbp + 0x48]
mov qword [rsp + 0x40], rax
lea rax, [rbp + 0x68]
mov qword [rsp + 0x38], rax
lea rax, [rbp + 0x60]
mov qword [rsp + 0x30], rax
lea rax, [rbp - 8]
mov qword [rsp + 0x28], rax
lea rax, [rbp - 0x10]
mov qword [rsp + 0x20], rax
call fcn.140002cd8
mov eax, 0xd
jmp 0x14000689c
Function at 0x14000abf4
Capabilities:
Parse credit card information

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rdi, rcx
xor al, al
mov ecx, dword [rdi + 0x7c]
cmp ecx, 0xffffffff
je 0x14000ada6
cmp ecx, 0x7c
je 0x14000ada6
cmp ecx, 0x29
jne 0x14000ac40
cmp dword [rdi + 0x1c], 0
jne 0x14000ada6
test dword [rdi + 0x80], 0x10000000
jne 0x14000ad5b
lea edx, [rcx - 0x24]
call fcn.14000b3d0
int3
cmp ecx, 0x2e
jne 0x14000ac58
lea rcx, [rdi + 0x40]
mov edx, 5
call fcn.14000a9f0
jmp 0x14000ad79
cmp ecx, 0x5c
jne 0x14000acbc
mov rcx, rdi
call fcn.14000aeb4
test byte [rdi + 0x80], 0x80
je 0x14000acaf
cmp word [rdi + 0x78], 0x62
jne 0x14000ac90
mov edx, 4
lea rcx, [rdi + 0x40]
call fcn.14000a9f0
mov rcx, rdi
call fcn.14000aeb4
jmp 0x14000ad89
cmp word [rdi + 0x78], 0x42
jne 0x14000acaf
lea rcx, [rdi + 0x40]
mov edx, 4
call fcn.14000a9f0
mov rax, qword [rdi + 0x48]
xor dword [rax + 0xc], 1
jmp 0x14000ac83
mov rcx, rdi
call fcn.14000b08c
jmp 0x14000ad81
cmp ecx, 0x5b
jne 0x14000ace7
mov rcx, rdi
call fcn.14000aeb4
mov rcx, rdi
call fcn.14000ee44
mov edx, 0x5d
mov rcx, rdi
lea r8d, [rdx - 0x59]
call fcn.14000aef4
jmp 0x14000ad81
cmp ecx, 0x28
jne 0x14000ad15
mov rcx, rdi
call fcn.14000aeb4
mov rcx, rdi
call fcn.14000adb8
mov edx, 0x29
mov rcx, rdi
mov bl, al
lea r8d, [rdx - 0x24]
call fcn.14000aef4
test bl, bl
jne 0x14000ad81
jmp 0x14000ad89
cmp ecx, 0x5e
jne 0x14000ad22
lea edx, [rcx - 0x5c]
jmp 0x14000ac7a
cmp ecx, 0x24
jne 0x14000ad2f
lea edx, [rcx - 0x21]
jmp 0x14000ac7a
cmp ecx, 0x3f
je 0x14000ad9b
lea eax, [rcx - 0x2a]
cmp eax, 1
jbe 0x14000ad9b
cmp ecx, 0x7b
je 0x14000ad9b
cmp ecx, 0x7d
jne 0x14000ad5b
test dword [rdi + 0x80], 0x10000000
jne 0x14000ad6c
lea edx, [rcx - 0x77]
call fcn.14000b3d0
int3
cmp ecx, 0x5d
jne 0x14000ad6c
test dword [rdi + 0x80], 0x10000000
je 0x14000ad90
movzx edx, word [rdi + 0x78]
lea rcx, [rdi + 0x40]
call fcn.14000eb48
mov rcx, rdi
call fcn.14000aeb4
mov rcx, rdi
call fcn.14000af68
mov al, 1
jmp 0x14000ac03
mov edx, 4
call fcn.14000b3d0
int3
mov edx, 0xa
call fcn.14000b3d0
int3
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
Function at 0x14000da74
Capabilities:
Get common file path

Disassembly:
push rbx
sub rsp, 0x20
and qword [rsp + 0x38], 0
mov rbx, r8
mov r8, qword [rdx]
test r8, r8
je 0x14000da8e
mov r8, qword [r8]
lea r9, [rsp + 0x38]
xor edx, edx
call qword [sym.imp.SHELL32.dll_SHGetKnownFolderPath]
nop dword [rax + rax]
test eax, eax
jns 0x14000daae
add rsp, 0x20
pop rbx
ret
mov rdx, qword [rsp + 0x38]
mov rcx, rbx
call fcn.140008da0
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ole32.dll_CoTaskMemFree]
nop dword [rax + rax]
xor eax, eax
jmp 0x14000daa5

Function at 0x14000dad8
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
movabs rcx, 0xcbf29ce484222325
xor r8d, r8d
movzx eax, byte [r8 + rdx]
movabs r9, 0x100000001b3
xor rcx, rax
inc r8
imul rcx, r9
cmp r8, 2
jb 0x14000dae5
mov rax, rcx
ret

Function at 0x14000deec
Capabilities:
Get file version info

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 8], rcx
push rdi
sub rsp, 0x40
mov rbx, rdx
mov rdi, rcx
and dword [rax - 0x18], 0
mov rcx, rdx
cmp qword [rdx + 0x18], 8
jb 0x14000df17
mov rcx, qword [rdx]
xor edx, edx
call qword [sym.imp.VERSION.dll_GetFileVersionInfoSizeW]
nop dword [rax + rax]
mov esi, eax
test eax, eax
sete dl
mov rcx, qword [rsp + 0x48]
lea rax, str.Could_not_read_file_version_info
mov qword [rsp + 0x20], rax
movzx r9d, dl
lea r8, str.amcorewcd_sourcecommon_src_versioninfo.cpp
mov edx, 0x7b
call fcn.14000dfc4
mov ecx, esi
call fcn.1400108cc
mov qword [rdi], rax
mov dword [rsp + 0x30], 1
cmp qword [rbx + 0x18], 8
jb 0x14000df6e
mov rbx, qword [rbx]
mov r9, rax
mov r8d, esi
xor edx, edx
mov rcx, rbx
call qword [sym.imp.VERSION.dll_GetFileVersionInfoW]
nop dword [rax + rax]
mov rcx, qword [rsp + 0x48]
lea rdx, str.Could_not_retrieve_file_version_info
mov qword [rsp + 0x20], rdx
mov r9d, eax
lea r8, str.amcorewcd_sourcecommon_src_versioninfo.cpp
mov edx, 0x84
call fcn.14000e000
mov rax, rdi
mov rbx, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
add rsp, 0x40
pop rdi
ret
Function at 0x1400125f8
Capabilities:
Check if file exists

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rbp
push rdi
push r14
lea rbp, [rsp - 0x160]
sub rsp, 0x260
mov rax, qword [0x14002b400]
xor rax, rsp
mov qword [rbp + 0x150], rax
mov rsi, r8
xor ebx, ebx
mov qword [r8], rbx
mov r14d, 0x104
mov r8, rcx
mov edx, r14d
lea rcx, [rsp + 0x40]
call fcn.140012504
lea r8, [0x14001ff88]
mov edx, r14d
lea rcx, [rsp + 0x40]
call fcn.14001248c
lea r8, [rsp + 0x40]
xor edx, edx
mov ecx, 0x1f0003
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_OpenSemaphoreW]
nop dword [rax + rax]
mov qword [rsp + 0x30], rax
test rax, rax
jne 0x1400126ad
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
nop dword [rax + rax]
cmp eax, 2
je 0x1400127a1
mov rcx, qword [rbp + 0x178]
lea r8, [0x14001ff20]
lea edx, [r14 - 0x3b]
call fcn.14000b7c0
mov ebx, eax
jmp 0x1400127a1
lea rdx, [rsp + 0x24]
mov dword [rsp + 0x24], ebx
mov rcx, rax
mov dword [rsp + 0x20], ebx
call fcn.1400117bc
mov edi, eax
test eax, eax
jns 0x1400126ea
mov rcx, qword [rbp + 0x178]
lea r8, [0x14001ff20]
mov r9d, eax
mov edx, 0xcf
call fcn.14000b79c
mov ebx, edi
jmp 0x1400127a1
lea r8, [0x14001ff90]
mov rdx, r14
lea rcx, [rsp + 0x40]
call fcn.14001248c
lea r8, [rsp + 0x40]
xor edx, edx
mov ecx, 0x1f0003
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_OpenSemaphoreW]
nop dword [rax + rax]
mov qword [rsp + 0x28], rax
test rax, rax
jne 0x140012746
mov rcx, qword [rbp + 0x178]
lea r8, [0x14001ff20]
mov edx, 0xd5
call fcn.14000b7c0
lea rcx, [rsp + 0x28]
mov ebx, eax
call fcn.14000c5a4
jmp 0x1400127a1
lea rdx, [rsp + 0x20]
mov rcx, rax
call fcn.1400117bc
mov edi, eax
test eax, eax
jns 0x140012783
mov rcx, qword [rbp + 0x178]
lea r8, [0x14001ff20]
mov r9d, eax
mov edx, 0xd7
call fcn.14000b79c
lea rcx, [rsp + 0x28]
call fcn.14000c5a4
jmp 0x1400126e3
lea rcx, [rsp + 0x28]
call fcn.14000c5a4
movsxd rdx, dword [rsp + 0x20]
movsxd rcx, dword [rsp + 0x24]
shl rdx, 0x1f
or rdx, rcx
mov qword [rsi], rdx
lea rcx, [rsp + 0x30]
call fcn.14000c5a4
mov eax, ebx
mov rcx, qword [rbp + 0x150]
xor rcx, rsp
call fcn.14000f620
lea r11, [rsp + 0x260]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret
Function at 0x140014448
Capabilities:
Check if file exists
Query environment variable

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 [0x14002b400]
xor rax, rsp
mov qword [rbp - 8], rax
mov qword [rbp - 0x38], rcx
mov rbx, rcx
cmp qword [rdx + 0x18], 8
mov rdi, rdx
mov rcx, rdx
jb 0x140014485
mov rcx, qword [rdx]
xor r8d, r8d
xor edx, edx
call qword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
nop dword [rax + rax]
xor r14d, r14d
mov esi, eax
test eax, eax
jne 0x140014513
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
nop dword [rax + rax]
mov esi, eax
call fcn.140006424
mov r8, rax
cmp dword [rax], 2
jbe 0x1400144fe
mov rcx, rdi
call fcn.140006520
mov qword [rbp - 0x30], rax
lea rdx, [0x140023d67]
lea rax, str.Failed_to_expand_environment_strings_in_path
mov dword [rbp - 0x40], esi
mov qword [rbp - 0x38], rax
mov rcx, r8
lea rax, [rbp - 0x30]
mov qword [rsp + 0x30], rax
lea rax, [rbp - 0x38]
mov qword [rsp + 0x28], rax
lea rax, [rbp - 0x40]
mov qword [rsp + 0x20], rax
call fcn.1400025c0
mov qword [rbx + 0x10], r14
mov qword [rbx + 0x18], 7
mov word [rbx], r14w
jmp 0x1400145e7
lea edx, [rax - 1]
lea rcx, [rbp - 0x28]
call fcn.140009510
cmp qword [rbp - 0x10], 8
lea rdx, [rbp - 0x28]
mov rcx, rdi
cmovae rdx, qword [rbp - 0x28]
cmp qword [rdi + 0x18], 8
jb 0x14001453a
mov rcx, qword [rdi]
mov r8d, esi
call qword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
nop dword [rax + rax]
test eax, eax
jne 0x1400145be
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
nop dword [rax + rax]
mov esi, eax
call fcn.140006424
mov r8, rax
cmp dword [rax], 2
jbe 0x1400145ac
mov rcx, rdi
call fcn.140006520
mov qword [rbp - 0x38], rax
lea rdx, [0x140023d67]
lea rax, str.Failed_to_expand_environment_strings_in_path_after_increasing_buffer_size
mov dword [rbp - 0x40], esi
mov qword [rbp - 0x30], rax
mov rcx, r8
lea rax, [rbp - 0x38]
mov qword [rsp + 0x30], rax
lea rax, [rbp - 0x30]
mov qword [rsp + 0x28], rax
lea rax, [rbp - 0x40]
mov qword [rsp + 0x20], rax
call fcn.1400025c0
mov qword [rbx + 0x10], r14
mov qword [rbx + 0x18], 7
mov word [rbx], r14w
jmp 0x1400145de
movups xmm1, xmmword [rbp - 0x18]
mov qword [rbp - 0x18], r14
movups xmm0, xmmword [rbp - 0x28]
mov qword [rbp - 0x10], 7
mov word [rbp - 0x28], r14w
movups xmmword [rbx], xmm0
movups xmmword [rbx + 0x10], xmm1
lea rcx, [rbp - 0x28]
call fcn.140008970
mov rax, rbx
mov rcx, qword [rbp - 8]
xor rcx, rsp
call fcn.14000f620
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 0x14001495c
Capabilities:
Check if file exists
Get common file path

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rdi
push rbp
lea rbp, [rsp - 0x57]
sub rsp, 0xc0
mov rax, qword [0x14002b400]
xor rax, rsp
mov qword [rbp + 0x4f], rax
mov rbx, rcx
xor edi, edi
mov qword [rbp - 1], rdi
mov qword [rbp + 7], 7
mov word [rbp - 0x11], di
mov dword [rbp - 0x39], edi
lea rdx, [rbp - 0x39]
xor ecx, ecx
call qword [sym.imp.USERENV.dll_GetAllUsersProfileDirectoryW]
nop dword [rax + rax]
mov edx, dword [rbp - 0x39]
lea rcx, [rbp - 0x29]
call fcn.140007330
lea rdx, [rbp - 0x39]
mov rcx, qword [rbp - 0x29]
call qword [sym.imp.USERENV.dll_GetAllUsersProfileDirectoryW]
nop dword [rax + rax]
test eax, eax
je 0x140014a1c
mov r8d, dword [rbp - 0x39]
dec r8d
mov rdx, qword [rbp - 0x29]
lea rcx, [rbp + 0x2f]
call fcn.1400091b8
mov rdx, rax
lea r8, [0x14001e944]
lea rcx, [rbp + 0xf]
call fcn.140009df8
lea r8, str.MicrosoftWindows_Defender_Advanced_Threat_Protection_
mov rdx, rax
mov rcx, rbx
call fcn.140009df8
lea rcx, [rbp + 0xf]
call fcn.140008970
lea rcx, [rbp + 0x2f]
call fcn.140008970
jmp 0x140014a72
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
nop dword [rax + rax]
mov edi, eax
call fcn.140006424
cmp dword [rax], 2
jbe 0x140014a63
lea rcx, str.GetAllUsersProfileDirectory_failed
mov qword [rbp - 0x31], rcx
mov dword [rbp - 0x35], edi
lea rcx, [rbp - 0x31]
mov qword [rsp + 0x28], rcx
lea rcx, [rbp - 0x35]
mov qword [rsp + 0x20], rcx
lea rdx, [0x140023d9c]
mov rcx, rax
call fcn.140002458
lea rdx, str.MicrosoftWindows_Defender_Advanced_Threat_Protection_
mov rcx, rbx
call fcn.1400070b0
lea rcx, [rbp - 0x29]
call fcn.14000dd94
lea rcx, [rbp - 0x11]
call fcn.140008970
mov rax, rbx
mov rcx, qword [rbp + 0x4f]
xor rcx, rsp
call fcn.14000f620
lea r11, [rsp + 0xc0]
mov rbx, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov rsp, r11
pop rbp
ret

Function at 0x14001602c
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r14
push r15
sub rsp, 0x20
sub r9, r8
mov rax, rdx
sub rax, rcx
mov r15, r8
xor rax, r9
mov rbp, rdx
mov r14, rcx
test rax, 0xfffffffffffffffe
jne 0x1400160a8
mov rbx, qword [rsp + 0x60]
sub r15, rcx
cmp r14, rbp
je 0x1400160ac
movzx edx, word [r15 + r14]
mov rcx, qword [rbx + 8]
movzx esi, word [r14]
call qword [sym.imp.msvcp_win.dll_public:_wchar_t___cdecl_std::ctype_wchar_t_::tolower_wchar_t_const___ptr64]
nop dword [rax + rax]
mov rcx, qword [rbx + 8]
movzx edx, si
movzx edi, ax
call qword [sym.imp.msvcp_win.dll_public:_wchar_t___cdecl_std::ctype_wchar_t_::tolower_wchar_t_const___ptr64]
nop dword [rax + rax]
cmp ax, di
jne 0x1400160a8
add r14, 2
jmp 0x140016069
xor al, al
jmp 0x1400160ae
mov al, 1
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x20
pop r15
pop r14
pop rdi
ret
Function at 0x140018ffc
Capabilities:
Delete registry value

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
mov rbp, rsp
sub rsp, 0x70
mov rsi, rdx
mov rdi, rcx
and qword [rbp + 0x38], 0
lea rdx, [rbp + 0x38]
mov rcx, rsi
call fcn.140019248
mov ebx, eax
test eax, eax
je 0x14001908c
call fcn.140006424
mov r8, rax
cmp dword [rax], 3
jbe 0x140019079
mov rcx, rsi
call fcn.140006520
mov qword [rbp - 0x30], rax
mov dword [rbp + 0x30], ebx
lea rax, str.Could_not_open_the_registry_key
mov qword [rbp - 0x28], rax
lea rax, [rbp - 0x30]
mov qword [rsp + 0x30], rax
lea rax, [rbp + 0x30]
mov qword [rsp + 0x28], rax
lea rax, [rbp - 0x28]
mov qword [rsp + 0x20], rax
lea rdx, [0x140023f9f]
mov rcx, r8
call fcn.140001104
test ebx, ebx
jle 0x140019108
movzx ebx, bx
or ebx, 0x80070000
jmp 0x140019108
lea rax, [rbp - 0x10]
mov qword [rbp - 0x30], rax
mov rdx, rdi
cmp qword [rdi + 0x18], 8
jb 0x1400190a1
mov rdx, qword [rdi]
lea rcx, [rbp - 0x10]
call qword [sym.imp.ntdll.dll_RtlCreateUnicodeString]
nop dword [rax + rax]
test al, al
jne 0x140019118
call fcn.140006424
mov r8, rax
cmp dword [rax], 3
jbe 0x1400190fa
mov rcx, rdi
call fcn.140006520
mov qword [rbp + 0x30], rax
lea rax, str.Could_not_create_a_UNICODE_STRING_to_hold_valueName
mov qword [rbp - 0x28], rax
lea rax, [rbp + 0x30]
mov qword [rsp + 0x28], rax
lea rax, [rbp - 0x28]
mov qword [rsp + 0x20], rax
lea rdx, [0x14002406d]
mov rcx, r8
call fcn.1400013f0
lea rcx, [rbp - 0x30]
call fcn.140018d64
mov ebx, 0x80070057
lea rcx, [rbp + 0x38]
call fcn.14000dc64
mov eax, ebx
jmp 0x140019230
lea rdx, [rbp - 0x10]
mov rcx, qword [rbp + 0x38]
call qword [sym.imp.ntdll.dll_NtDeleteValueKey]
nop dword [rax + rax]
mov ebx, eax
test eax, eax
je 0x1400191c2
cmp eax, 0xc0000034
je 0x1400191c2
call fcn.140006424
mov r8, rax
cmp dword [rax], 3
jbe 0x1400191a7
mov rcx, rsi
call fcn.140006520
mov qword [rbp - 0x28], rax
mov rcx, rdi
call fcn.140006520
mov qword [rbp - 0x20], rax
mov dword [rbp + 0x30], ebx
lea rax, str.Failed_to_delete_registry_value
mov qword [rbp - 0x18], rax
lea rax, [rbp - 0x28]
mov qword [rsp + 0x38], rax
lea rax, [rbp - 0x20]
mov qword [rsp + 0x30], rax
lea rax, [rbp + 0x30]
mov qword [rsp + 0x28], rax
lea rax, [rbp - 0x18]
mov qword [rsp + 0x20], rax
lea rdx, [0x14002409e]
mov rcx, r8
call fcn.140002a50
lea rcx, [rbp - 0x30]
call fcn.140018d64
lea rcx, [rbp + 0x38]
call fcn.14000dc64
bts ebx, 0x1c
jmp 0x140019111
call fcn.140006424
mov r8, rax
cmp dword [rax], 4
jbe 0x14001921c
mov rcx, rsi
call fcn.140006520
mov qword [rbp + 0x30], rax
mov rcx, rdi
call fcn.140006520
mov qword [rbp - 0x18], rax
lea rax, str.Delete_registry_value
mov qword [rbp - 0x20], rax
lea rax, [rbp + 0x30]
mov qword [rsp + 0x30], rax
lea rax, [rbp - 0x18]
mov qword [rsp + 0x28], rax
lea rax, [rbp - 0x20]
mov qword [rsp + 0x20], rax
lea rdx, [0x140024033]
mov rcx, r8
call fcn.140001fb8
lea rcx, [rbp - 0x30]
call fcn.140018d64
lea rcx, [rbp + 0x38]
call fcn.14000dc64
xor eax, eax
mov rbx, qword [rsp + 0x90]
add rsp, 0x70
pop rdi
pop rsi
pop rbp
ret