joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400282d8
Capabilities:
Query environment variable

Disassembly:
mov rax, rsp
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0x190
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov qword [rax + 0x18], rbx
mov rax, qword [0x14011dab0]
xor rax, rsp
mov qword [rsp + 0x180], rax
mov r12, rdx
mov rdi, rcx
cmp qword [rcx + 0x18], 8
jb 0x140028319
mov rcx, qword [rcx]
xor r8d, r8d
xor edx, edx
call qword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
nop dword [rax + rax]
mov r15d, eax
xor esi, esi
test eax, eax
je 0x1400283d6
lea eax, [rsi + 2]
mul r15
lea r14, [rsi - 1]
cmovo rax, r14
mov rcx, rax
call fcn.14009e1a0
mov rbx, rax
mov qword [rsp + 0x28], rax
cmp qword [rdi + 0x18], 8
jb 0x14002835f
mov rdi, qword [rdi]
mov r8d, r15d
mov rdx, rbx
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
nop dword [rax + rax]
test eax, eax
je 0x14002841e
cmp word [rbx], si
je 0x14002838e
inc r14
cmp word [rbx + r14*2], si
jne 0x140028381
mov rsi, r14
mov r8, rsi
mov rdx, rbx
mov rcx, r12
call fcn.1400063dc
nop
mov rcx, rbx
call qword [sym.imp.msvcrt.dll_void___cdecl_operator_delete___void____ptr64_]
nop dword [rax + rax]
nop
mov rcx, qword [rsp + 0x180]
xor rcx, rsp
call fcn.1400bab80
mov rbx, qword [rsp + 0x1d0]
add rsp, 0x190
pop r15
pop r14
pop r12
pop rdi
pop rsi
ret
lea rdx, str.Cannot_expand_environment_strings
lea rcx, [rsp + 0x38]
call fcn.1400061e8
nop
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
mov r8d, eax
lea rdx, [rsp + 0x38]
lea rcx, [rsp + 0x110]
call fcn.140005890
lea rdx, [0x1401131f0]
lea rcx, [rsp + 0x110]
call sub.msvcrt.dll__CxxThrowException
nop
lea rdx, str.Cannot_expand_environment_strings
lea rcx, [rsp + 0x38]
call fcn.1400061e8
nop
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
mov r8d, eax
lea rdx, [rsp + 0x38]
lea rcx, [rsp + 0xa0]
call fcn.140005890
lea rdx, [0x1401131f0]
lea rcx, [rsp + 0xa0]
call sub.msvcrt.dll__CxxThrowException
int3
Function at 0x140039e00
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
sub r8, rdx
movabs rcx, 0xcbf29ce484222325
sar r8, 1
mov r9d, 0
add r8, r8
je 0x140039e39
movzx eax, byte [r9 + rdx]
movabs r10, 0x100000001b3
xor rcx, rax
inc r9
imul rcx, r10
cmp r9, r8
jb 0x140039e1b
mov rax, rcx
shr rax, 0x20
xor eax, ecx
ret

Function at 0x14003b400
Capabilities:
Get common file path

Disassembly:
push rbx
sub rsp, 0x30
mov rax, qword [0x14011dab0]
xor rax, rsp
mov qword [rsp + 0x28], rax
xor ebx, ebx
cmp qword [0x140117298], rbx
jne 0x14003b497
lea r9, [rsp + 0x20]
xor r8d, r8d
mov edx, 0x8000
lea rcx, [0x1400e1db8]
call qword [sym.imp.SHELL32.dll_SHGetKnownFolderPath]
nop dword [rax + rax]
test eax, eax
js 0x14003b486
mov rdx, qword [rsp + 0x20]
cmp word [rdx], bx
je 0x14003b45e
or rax, 0xffffffffffffffff
inc rax
cmp word [rdx + rax*2], bx
jne 0x14003b452
mov rbx, rax
mov r8, rbx
lea rcx, [0x140117288]
call fcn.1400063dc
mov r8d, 0x18
lea rdx, str.MicrosoftUEVTemplates
lea rcx, [0x140117288]
call fcn.1400064c4
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.ole32.dll_CoTaskMemFree]
nop dword [rax + rax]
lea rax, [0x140117288]
mov rcx, qword [rsp + 0x28]
xor rcx, rsp
call fcn.1400bab80
add rsp, 0x30
pop rbx
ret

Function at 0x14003b52c
Capabilities:
Query or enumerate registry value

Disassembly:
push rbx
sub rsp, 0x50
mov rax, qword [0x14011dab0]
xor rax, rsp
mov qword [rsp + 0x48], rax
and dword [rsp + 0x30], 0
lea rdx, str.SOFTWAREMicrosoftHvsiOffice
and qword [rsp + 0x40], 0
mov eax, 4
mov dword [rsp + 0x38], eax
mov r9d, 0x20019
mov dword [rsp + 0x34], eax
xor r8d, r8d
lea rax, [rsp + 0x40]
mov rcx, 0xffffffff80000002
mov qword [rsp + 0x20], rax
xor bl, bl
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
nop dword [rax + rax]
mov ecx, eax
movzx eax, ax
or eax, 0x80070000
test ecx, ecx
cmovle eax, ecx
test eax, eax
js 0x14003b5ea
mov rcx, qword [rsp + 0x40]
lea rax, [rsp + 0x34]
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x38]
lea rax, [rsp + 0x30]
xor r8d, r8d
lea rdx, str.OfficeWDAGEnabledOnHost
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
nop dword [rax + rax]
mov ecx, eax
movzx eax, ax
or eax, 0x80070000
test ecx, ecx
cmovle eax, ecx
test eax, eax
js 0x14003b5ea
cmp dword [rsp + 0x30], 1
sete bl
mov rcx, qword [rsp + 0x40]
test rcx, rcx
je 0x14003b600
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop dword [rax + rax]
mov al, bl
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.1400bab80
add rsp, 0x50
pop rbx
ret
Function at 0x14004141c
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x28
cmp qword [rdx + 0x18], 8
mov r9, qword [rdx + 0x10]
jb 0x140041433
mov rdx, qword [rdx]
xor r8d, r8d
movabs rcx, 0xcbf29ce484222325
add r9, r9
je 0x140041463
movzx eax, byte [rdx + r8]
movabs r10, 0x100000001b3
xor rcx, rax
inc r8
imul rcx, r10
cmp r8, r9
jb 0x140041445
mov rax, rcx
mov edx, 0x1f31d
shr rax, 0x20
xor ecx, eax
btr ecx, 0x1f
call qword [sym.imp.msvcrt.dll_ldiv]
nop dword [rax + rax]
mov qword [rsp + 0x30], rax
shr rax, 0x20
imul ecx, eax, 0x41a7
imul eax, dword [rsp + 0x30], 0xb14
sub ecx, eax
jns 0x1400414a2
add ecx, 0x7fffffff
movsxd rax, ecx
add rsp, 0x28
ret

Function at 0x1400463b8
Capabilities:
Parse credit card information

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rbx, rcx
xor al, al
mov ecx, dword [rcx + 0x7c]
cmp ecx, 0xffffffff
je 0x140046550
cmp ecx, 0x7c
je 0x140046550
cmp ecx, 0x29
jne 0x1400463fb
cmp dword [rbx + 0x1c], 0
jne 0x140046550
test dword [rbx + 0x80], 0x10000000
je 0x140046572
cmp ecx, 0x2e
jne 0x14004641b
lea rcx, [rbx + 0x40]
mov edx, 5
call fcn.140046698
mov rcx, rbx
call fcn.140046350
jmp 0x14004653e
cmp ecx, 0x5c
jne 0x14004647f
mov rcx, rbx
call fcn.140046350
test byte [rbx + 0x80], 0x80
je 0x140046472
cmp word [rbx + 0x78], 0x62
jne 0x140046453
mov edx, 4
lea rcx, [rbx + 0x40]
call fcn.140046698
mov rcx, rbx
call fcn.140046350
jmp 0x140046546
cmp word [rbx + 0x78], 0x42
jne 0x140046472
lea rcx, [rbx + 0x40]
mov edx, 4
call fcn.140046698
mov rax, qword [rbx + 0x48]
xor dword [rax + 0xc], 1
jmp 0x140046446
mov rcx, rbx
call fcn.140046d1c
jmp 0x14004653e
cmp ecx, 0x5b
jne 0x1400464a3
mov rcx, rbx
call fcn.140046350
mov rcx, rbx
call fcn.140046bc4
cmp dword [rbx + 0x7c], 0x5d
jne 0x14004655c
jmp 0x14004640e
cmp ecx, 0x28
jne 0x1400464c7
mov rcx, rbx
call fcn.140046350
mov rcx, rbx
call fcn.140046ea0
cmp dword [rbx + 0x7c], 0x29
mov dil, al
jne 0x140046567
jmp 0x140046531
cmp ecx, 0x5e
jne 0x1400464d4
lea edx, [rcx - 0x5c]
jmp 0x14004643d
cmp ecx, 0x24
jne 0x1400464e1
lea edx, [rcx - 0x21]
jmp 0x14004643d
lea eax, [rcx - 0x2a]
cmp eax, 1
jbe 0x140046593
cmp ecx, 0x3f
je 0x140046593
cmp ecx, 0x7b
je 0x140046593
cmp ecx, 0x7d
jne 0x140046510
test dword [rbx + 0x80], 0x10000000
je 0x14004657d
cmp ecx, 0x5d
jne 0x140046521
test dword [rbx + 0x80], 0x10000000
je 0x140046588
movzx edx, word [rbx + 0x78]
lea rcx, [rbx + 0x40]
call fcn.140047178
mov dil, 1
mov rcx, rbx
call fcn.140046350
test dil, dil
je 0x140046546
mov rcx, rbx
call fcn.140047070
mov ecx, dword [rbx + 0x7c]
mov al, 1
jmp 0x1400463ca
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
mov edx, 4
call fcn.140045afc
int3
mov edx, 5
call fcn.140045afc
int3
mov edx, 5
call fcn.140045afc
int3
mov edx, 6
call fcn.140045afc
int3
mov edx, 4
call fcn.140045afc
int3
mov edx, 0xa
call fcn.140045afc
int3
Function at 0x1400499dc
Capabilities:
Query or enumerate registry key

Disassembly:
mov rax, rsp
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x5f]
sub rsp, 0x100
mov qword [rbp - 0x59], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov rax, qword [0x14011dab0]
xor rax, rsp
mov qword [rbp + 0x1f], rax
mov r15, r8
mov rsi, rdx
mov qword [rbp + 0x17], rdx
mov ecx, 0x18
call fcn.14009d020
mov rdi, rax
mov qword [rbp + 7], rax
xor r13d, r13d
test rax, rax
je 0x140049a3f
mov qword [rax], r13
mov qword [rax + 8], r13
mov qword [rax + 0x10], r13
jmp 0x140049a42
mov rdi, r13
mov qword [rbp - 0x51], rdi
mov qword [rsp + 0x58], r13
mov qword [rsp + 0x50], r13
mov qword [rsp + 0x48], r13
mov qword [rsp + 0x40], r13
mov qword [rsp + 0x38], r13
mov qword [rsp + 0x30], r13
lea rax, [rbp + 0x17]
mov qword [rsp + 0x28], rax
lea rax, [rbp + 0xf]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, r15
call qword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
nop dword [rax + rax]
test eax, eax
jne 0x140049b97
mov r12d, dword [rbp + 0x17]
inc r12d
mov ecx, r12d
mov eax, 2
mul rcx
mov rcx, 0xffffffffffffffff
cmovo rax, rcx
mov rcx, rax
call fcn.14009e1a0
mov rbx, rax
mov qword [rbp - 0x49], rax
mov r14d, r13d
cmp dword [rbp + 0xf], r13d
jbe 0x140049b5a
mov dword [rbp + 7], r12d
mov qword [rsp + 0x38], r13
mov qword [rsp + 0x30], r13
mov qword [rsp + 0x28], r13
mov qword [rsp + 0x20], r13
lea r9, [rbp + 7]
mov r8, rbx
mov edx, r14d
mov rcx, r15
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
nop dword [rax + rax]
test eax, eax
jne 0x140049bde
mov r8d, dword [rbp + 7]
mov qword [rbp - 0x61], 7
mov qword [rbp - 0x69], r13
mov word [rbp - 0x79], r13w
mov rdx, rbx
lea rcx, [rbp - 0x79]
call fcn.1400063dc
nop
lea rdx, [rbp - 0x79]
mov rcx, rdi
call fcn.1400403dc
nop
cmp qword [rbp - 0x61], 8
jb 0x140049b4d
mov rcx, qword [rbp - 0x79]
call qword [sym.imp.msvcrt.dll_void___cdecl_operator_delete_void____ptr64_]
nop dword [rax + rax]
inc r14d
cmp r14d, dword [rbp + 0xf]
jb 0x140049ace
mov rcx, rbx
call qword [sym.imp.msvcrt.dll_void___cdecl_operator_delete___void____ptr64_]
nop dword [rax + rax]
mov qword [rsi], rdi
mov rax, rsi
mov rcx, qword [rbp + 0x1f]
xor rcx, rsp
call fcn.1400bab80
mov rbx, qword [rsp + 0x140]
add rsp, 0x100
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
test byte [0x14011ebc0], 2
je 0x140049baf
mov r8d, eax
lea rdx, [0x1400d3470]
call fcn.140007c14
lea rdx, str.Unable_to_query_template_index.
lea rcx, [rbp - 0x79]
call fcn.1400061e8
nop
lea rdx, [rbp - 0x79]
lea rcx, [rbp - 0x39]
call fcn.140049608
lea rdx, [0x140114200]
lea rcx, [rbp - 0x39]
call sub.msvcrt.dll__CxxThrowException
nop
test byte [0x14011ebc0], 2
je 0x140049bf6
mov r8d, eax
lea rdx, [0x1400d3210]
call fcn.140007c14
lea rdx, str.Unable_to_enumerate_template_index_subkeys.
lea rcx, [rbp - 0x79]
call fcn.1400061e8
nop
lea rdx, [rbp - 0x79]
lea rcx, [rbp - 0x39]
call fcn.140049608
lea rdx, [0x140114200]
lea rcx, [rbp - 0x39]
call sub.msvcrt.dll__CxxThrowException
int3
Function at 0x14004a53c
Capabilities:
Hash data using fnv

Disassembly:
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0x30
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov qword [rsp + 0x68], rbx
mov qword [rsp + 0x70], rbp
mov rsi, rdx
mov r15, rcx
xor ebp, ebp
mov r12d, 0x811c9dc5
mov r14, qword [rdx + 0x10]
movabs rax, 0xcccccccccccccccd
mul r14
mov rdi, rdx
shr rdi, 3
inc rdi
test r14, r14
je 0x14004a619
mov cl, 1
call fcn.14009d870
mov qword [rsp + 0x60], rax
cmp qword [rsi + 0x18], 8
jb 0x14004a5a6
mov rax, qword [rsi]
jmp 0x14004a5a9
mov rax, rsi
movzx ebx, word [rax + rbp*2]
lea rcx, [rsp + 0x60]
call fcn.140006978
mov r8, rax
mov rcx, qword [rax]
mov rax, qword [rcx + 0x40]
movzx edx, bx
mov rcx, r8
call qword [0x1400ce238]
movzx ecx, ax
imul r12, r12, 0x1000193
xor r12, rcx
mov rcx, qword [rsp + 0x60]
test rcx, rcx
je 0x14004a60d
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
call qword [0x1400ce238]
mov r8, rax
test rax, rax
je 0x14004a60d
mov rcx, qword [rax]
mov rax, qword [rcx]
mov edx, 1
mov rcx, r8
call qword [0x1400ce238]
add rbp, rdi
cmp rbp, r14
jb 0x14004a58e
mov rdx, qword [r15 + 0x28]
mov rax, rdx
and rax, r12
cmp qword [r15 + 0x30], rax
ja 0x14004a636
shr rdx, 1
or rcx, 0xffffffffffffffff
sub rcx, rdx
add rax, rcx
mov rbx, qword [rsp + 0x68]
mov rbp, qword [rsp + 0x70]
add rsp, 0x30
pop r15
pop r14
pop r12
pop rdi
pop rsi
ret
Function at 0x14004a654
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push rbx
push rsi
push rdi
push r14
push r15
sub rsp, 0x60
mov qword [rsp + 0x40], 0xfffffffffffffffe
mov rax, qword [0x14011dab0]
xor rax, rsp
mov qword [rsp + 0x50], rax
mov r11, r8
mov r15, rdx
mov r14, rcx
mov qword [rsp + 0x30], rcx
mov r9, qword [r8 + 0x10]
cmp qword [r8 + 0x18], 8
jb 0x14004a694
mov r8, qword [r8]
movabs rcx, 0xcbf29ce484222325
xor edx, edx
add r9, r9
je 0x14004a6c3
movzx eax, byte [r8 + rdx]
xor rcx, rax
movabs r10, 0x100000001b3
imul rcx, r10
inc rdx
cmp rdx, r9
jb 0x14004a6a5
mov rax, rcx
shr rax, 0x20
xor rcx, rax
mov rdx, qword [r14 + 0x28]
mov rsi, rdx
and rsi, rcx
cmp qword [r14 + 0x30], rsi
ja 0x14004a6ea
shr rdx, 1
or rax, 0xffffffffffffffff
sub rax, rdx
add rsi, rax
mov rbx, qword [r14]
add rsi, rsi
mov rax, qword [r14 + 0x10]
mov rcx, qword [rax + rsi*8]
cmp rbx, rcx
je 0x14004a74f
mov rbx, qword [rax + rsi*8 + 8]
mov rbx, qword [rbx]
cmp rbx, rcx
je 0x14004a74f
mov rbx, qword [rbx + 8]
lea rdx, [rbx + 0x10]
mov rcx, r11
call fcn.140037c60
test al, al
jne 0x14004a72a
mov rax, qword [r14 + 0x10]
cmp rbx, qword [rax + rsi*8]
jne 0x14004a70a
jmp 0x14004a74f
mov rdx, r11
lea rcx, [rbx + 0x10]
call fcn.140037c60
test al, al
jne 0x14004a73f
mov rbx, qword [rbx]
jmp 0x14004a74f
mov qword [r15], rbx
mov byte [r15 + 8], 0
mov rax, r15
jmp 0x14004a834
mov rax, qword [r14]
mov rdi, qword [rax]
mov r9, r11
mov r8, qword [rdi + 8]
mov rdx, rdi
call fcn.14004b13c
mov rdx, rax
mov rax, qword [r14 + 8]
movabs rcx, 0x492492492492491
sub rcx, rax
cmp rcx, 1
jb 0x14004a84e
inc rax
mov qword [r14 + 8], rax
mov qword [rdi + 8], rdx
mov rax, qword [rdx + 8]
mov qword [rax], rdx
mov rdx, qword [r14]
mov rdi, qword [rdx]
mov qword [rsp + 0x20], rdi
mov rax, qword [rdi]
cmp rbx, rax
je 0x14004a7d7
mov rcx, qword [rdi + 8]
mov qword [rcx], rax
mov rcx, qword [rax + 8]
mov qword [rcx], rbx
mov rcx, qword [rbx + 8]
mov qword [rcx], rdi
mov rdx, qword [rbx + 8]
mov rcx, qword [rax + 8]
mov qword [rbx + 8], rcx
mov rcx, qword [rdi + 8]
mov qword [rax + 8], rcx
mov qword [rdi + 8], rdx
mov rdx, qword [r14]
mov rcx, qword [r14 + 0x10]
cmp qword [rcx + rsi*8], rdx
jne 0x14004a7f0
mov qword [rcx + rsi*8], rdi
mov rax, qword [r14 + 0x10]
mov qword [rax + rsi*8 + 8], rdi
jmp 0x14004a820
cmp qword [rcx + rsi*8], rbx
jne 0x14004a7fc
mov qword [rcx + rsi*8], rdi
jmp 0x14004a820
mov rax, qword [rcx + rsi*8 + 8]
mov rdx, qword [rax]
mov qword [rcx + rsi*8 + 8], rdx
cmp rdx, rdi
je 0x14004a820
mov r8, qword [r14 + 0x10]
mov rax, qword [r8 + rsi*8 + 8]
mov rdx, qword [rax + 8]
mov qword [r8 + rsi*8 + 8], rdx
mov rcx, r14
call fcn.14004a864
nop
mov qword [r15], rdi
mov byte [r15 + 8], 1
mov rax, r15
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.1400bab80
add rsp, 0x60
pop r15
pop r14
pop rdi
pop rsi
pop rbx
ret
lea rcx, str.list_T__too_long
call fcn.14009d33c
int3
Function at 0x14004a940
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r14
push r15
sub rsp, 0x30
mov rax, qword [0x14011dab0]
xor rax, rsp
mov qword [rsp + 0x20], rax
lea rsi, [r8 + 0x10]
mov rbx, r8
cmp qword [rsi + 0x18], 8
mov r15, rdx
mov r9, qword [rsi + 0x10]
mov r14, rcx
jb 0x14004a97c
mov r8, qword [rsi]
jmp 0x14004a97f
mov r8, rsi
xor ebp, ebp
movabs rcx, 0xcbf29ce484222325
mov edx, ebp
add r9, r9
je 0x14004a9b0
movzx eax, byte [r8 + rdx]
movabs r10, 0x100000001b3
xor rcx, rax
inc rdx
imul rcx, r10
cmp rdx, r9
jb 0x14004a992
mov r8, qword [r14 + 0x28]
mov rdx, rcx
shr rdx, 0x20
xor rdx, rcx
and rdx, r8
cmp qword [r14 + 0x30], rdx
ja 0x14004a9d4
shr r8, 1
or rax, 0xffffffffffffffff
sub rax, r8
add rdx, rax
mov rcx, qword [r14 + 0x10]
add rdx, rdx
cmp qword [rcx + rdx*8 + 8], rbx
jne 0x14004aa03
cmp qword [rcx + rdx*8], rbx
jne 0x14004a9f8
mov rax, qword [r14]
mov qword [rcx + rdx*8], rax
mov rcx, qword [r14 + 0x10]
mov rax, qword [r14]
jmp 0x14004a9fc
mov rax, qword [rbx + 8]
mov qword [rcx + rdx*8 + 8], rax
jmp 0x14004aa10
cmp qword [rcx + rdx*8], rbx
jne 0x14004aa10
mov rax, qword [rbx]
mov qword [rcx + rdx*8], rax
mov rdi, qword [rbx]
cmp rbx, qword [r14]
je 0x14004aa62
mov rax, qword [rbx + 8]
mov qword [rax], rdi
mov rcx, qword [rbx]
mov rax, qword [rbx + 8]
mov qword [rcx + 8], rax
cmp qword [rsi + 0x18], 8
jb 0x14004aa40
mov rcx, qword [rsi]
call qword [sym.imp.msvcrt.dll_void___cdecl_operator_delete_void____ptr64_]
nop dword [rax + rax]
mov qword [rsi + 0x18], 7
mov rcx, rbx
mov qword [rsi + 0x10], rbp
mov word [rsi], bp
call qword [sym.imp.msvcrt.dll_void___cdecl_operator_delete_void____ptr64_]
nop dword [rax + rax]
dec qword [r14 + 8]
mov qword [r15], rdi
mov rax, r15
mov rcx, qword [rsp + 0x20]
xor rcx, rsp
call fcn.1400bab80
mov rbx, qword [rsp + 0x70]
add rsp, 0x30
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
Function at 0x14004ac44
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov qword [rsp + 0x20], r9
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x50
mov qword [rsp + 0x28], 0xfffffffffffffffe
mov rax, qword [0x14011dab0]
xor rax, rsp
mov qword [rsp + 0x40], rax
mov rbx, r9
mov r15, r8
mov r14, rdx
mov rsi, rcx
mov qword [rsp + 0x20], rcx
mov rax, qword [r8 + 0x10]
cmp qword [r8 + 0x18], 8
jb 0x14004ac91
mov rdx, qword [r8]
jmp 0x14004ac94
mov rdx, r15
movabs r11, 0xcbf29ce484222325
lea r8, [rax + rax]
xor r13d, r13d
mov ecx, r13d
test r8, r8
je 0x14004acca
movzx eax, byte [rdx + rcx]
xor r11, rax
movabs r9, 0x100000001b3
imul r11, r9
inc rcx
cmp rcx, r8
jb 0x14004acad
mov rax, r11
shr rax, 0x20
xor r11, rax
mov rcx, qword [rsi + 0x28]
and r11, rcx
cmp qword [rsi + 0x30], r11
ja 0x14004acee
shr rcx, 1
or rax, 0xffffffffffffffff
sub rax, rcx
add r11, rax
mov rdi, qword [rsi]
add r11, r11
mov rax, qword [rsi + 0x10]
mov rcx, qword [rax + r11*8]
cmp rdi, rcx
je 0x14004adaf
mov rdi, qword [rax + r11*8 + 8]
mov rdi, qword [rdi]
cmp rdi, rcx
je 0x14004adaf
mov rdi, qword [rdi + 8]
lea rdx, [rdi + 0x10]
mov rcx, r15
call fcn.140037c60
test al, al
jne 0x14004ad36
mov rax, qword [rsi + 0x10]
cmp rdi, qword [rax + r11*8]
jne 0x14004ad16
jmp 0x14004adaf
mov rdx, r15
lea rcx, [rdi + 0x10]
call fcn.140037c60
test al, al
jne 0x14004ad4b
mov rdi, qword [rdi]
jmp 0x14004adaf
cmp rbx, qword [rsi]
je 0x14004ada0
mov rcx, qword [rbx + 8]
mov rax, qword [rbx]
mov qword [rcx], rax
mov rcx, qword [rbx]
mov rax, qword [rbx + 8]
mov qword [rcx + 8], rax
cmp qword [rbx + 0x28], 8
jb 0x14004ad7c
mov rcx, qword [rbx + 0x10]
call qword [sym.imp.msvcrt.dll_void___cdecl_operator_delete_void____ptr64_]
nop dword [rax + rax]
mov qword [rbx + 0x28], 7
mov qword [rbx + 0x20], r13
mov word [rbx + 0x10], r13w
mov rcx, rbx
call qword [sym.imp.msvcrt.dll_void___cdecl_operator_delete_void____ptr64_]
nop dword [rax + rax]
dec qword [rsi + 8]
mov qword [r14], rdi
mov byte [r14 + 8], r13b
mov rax, r14
jmp 0x14004ae43
mov rax, qword [rbx]
cmp rdi, rax
je 0x14004ade4
mov rcx, qword [rbx + 8]
mov qword [rcx], rax
mov rcx, qword [rax + 8]
mov qword [rcx], rdi
mov rcx, qword [rdi + 8]
mov qword [rcx], rbx
mov rdx, qword [rdi + 8]
mov rcx, qword [rax + 8]
mov qword [rdi + 8], rcx
mov rcx, qword [rbx + 8]
mov qword [rax + 8], rcx
mov qword [rbx + 8], rdx
mov rcx, qword [rsi + 0x10]
mov rax, qword [rcx + r11*8]
cmp rax, qword [rsi]
jne 0x14004ae00
mov qword [rcx + r11*8], rbx
mov rax, qword [rsi + 0x10]
mov qword [rax + r11*8 + 8], rbx
jmp 0x14004ae2f
cmp rax, rdi
jne 0x14004ae0b
mov qword [rcx + r11*8], rbx
jmp 0x14004ae2f
mov rax, qword [rcx + r11*8 + 8]
mov rdx, qword [rax]
mov qword [rcx + r11*8 + 8], rdx
cmp rdx, rbx
je 0x14004ae2f
mov r8, qword [rsi + 0x10]
mov rax, qword [r8 + r11*8 + 8]
mov rdx, qword [rax + 8]
mov qword [r8 + r11*8 + 8], rdx
mov rcx, rsi
call fcn.14004a864
nop
mov qword [r14], rbx
mov byte [r14 + 8], 1
mov rax, r14
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.1400bab80
add rsp, 0x50
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
ret
Function at 0x14006c420
Capabilities:
Get hostname

Disassembly:
mov rax, rsp
push rbp
push rdi
push r14
lea rbp, [rax - 0x1f8]
sub rsp, 0x2e0
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x18], rsi
mov rax, qword [0x14011dab0]
xor rax, rsp
mov qword [rbp + 0x1d0], rax
mov r14, rdx
lea r8, str.BackupProfile::GetDeviceFolderName__
lea rdx, str.UevCommon
lea rcx, [rsp + 0x40]
call fcn.14004b628
nop
xor esi, esi
mov edi, esi
xor r8d, r8d
lea rdx, [0x1400d3ea0]
mov rcx, r14
call fcn.1400063dc
mov dword [rsp + 0x30], 0x104
lea r8, [rsp + 0x30]
lea rdx, [rbp - 0x40]
lea ecx, [rsi + 3]
call qword [sym.imp.KERNEL32.dll_GetComputerNameExW]
nop dword [rax + rax]
test eax, eax
jne 0x14006c56a
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
movzx edi, ax
or edi, 0x80070000
test eax, eax
cmovle edi, eax
cmp edi, 0x800700ea
jne 0x14006c5aa
mov ecx, dword [rsp + 0x30]
lea eax, [rsi + 2]
mul rcx
lea rcx, [rsi - 1]
cmovo rax, rcx
mov rcx, rax
call fcn.14009e1a0
mov rbx, rax
mov qword [rsp + 0x28], rax
lea r8, [rsp + 0x30]
mov rdx, rax
lea ecx, [rsi + 3]
call qword [sym.imp.KERNEL32.dll_GetComputerNameExW]
nop dword [rax + rax]
test eax, eax
jne 0x14006c530
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
movzx edi, ax
or edi, 0x80070000
test eax, eax
cmovle edi, eax
jmp 0x14006c559
mov edi, esi
mov r8d, dword [rsp + 0x30]
mov rdx, rbx
mov rcx, r14
call fcn.1400063dc
mov r8d, 7
lea rdx, str.Success
lea rcx, [rbp - 0x80]
call fcn.1400063dc
nop
mov rcx, rbx
call qword [sym.imp.msvcrt.dll_void___cdecl_operator_delete___void____ptr64_]
nop dword [rax + rax]
jmp 0x14006c5aa
cmp word [rbp - 0x40], si
je 0x14006c584
lea rax, [rbp - 0x40]
or rcx, 0xffffffffffffffff
inc rcx
cmp word [rax + rcx*2], si
jne 0x14006c578
mov rsi, rcx
mov r8, rsi
lea rdx, [rbp - 0x40]
mov rcx, r14
call fcn.1400063dc
mov r8d, 7
lea rdx, str.Success
lea rcx, [rbp - 0x80]
call fcn.1400063dc
nop
lea rcx, [rsp + 0x40]
call fcn.14004b744
mov eax, edi
mov rcx, qword [rbp + 0x1d0]
xor rcx, rsp
call fcn.1400bab80
lea r11, [rsp + 0x2e0]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret