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

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rsi
push rbp
push rdi
push r12
push r14
push r15
lea rbp, [rsp - 0x150]
sub rsp, 0x250
mov rax, qword [0x140124d60]
xor rax, rsp
mov qword [rbp + 0x140], rax
xor r12d, r12d
lea rax, [rsp + 0x30]
mov qword [rdx], r12
lea r8, [rsp + 0x30]
mov r14d, r12d
sub rcx, rax
mov r15, rdx
mov r9d, 0x104
lea rax, [r9 + 0x7ffffefa]
test rax, rax
je 0x140020649
movzx eax, word [rcx + r8]
test ax, ax
je 0x140020649
mov word [r8], ax
add r8, 2
sub r9, 1
jne 0x140020625
lea rax, [r8 - 2]
test r9, r9
lea rcx, [rsp + 0x30]
cmovne rax, r8
lea r8, [0x1400e0628]
mov word [rax], r12w
call fcn.14001d984
mov edi, 0x1f0003
lea r8, [rsp + 0x30]
mov ecx, edi
xor edx, edx
call qword [sym.imp.KERNEL32.dll_OpenSemaphoreW]
nop dword [rax + rax]
mov rbx, rax
test rax, rax
jne 0x1400206b8
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
cmp eax, 2
je 0x1400207ad
mov rcx, qword [rbp + 0x178]
mov edx, 0xc9
call fcn.14001f178
mov esi, eax
jmp 0x140020791
lea rdx, [rsp + 0x24]
mov dword [rsp + 0x24], r12d
mov rcx, rbx
mov dword [rsp + 0x20], r12d
call fcn.14001f6c8
mov esi, eax
test eax, eax
jns 0x1400206f6
mov rcx, qword [rbp + 0x178]
mov r9d, eax
mov edx, 0xcf
call fcn.14001f13c
mov rcx, rbx
call fcn.14001f20c
jmp 0x140020791
lea r8, [0x1400e0630]
lea rcx, [rsp + 0x30]
call fcn.14001d984
lea r8, [rsp + 0x30]
xor edx, edx
mov ecx, edi
call qword [sym.imp.KERNEL32.dll_OpenSemaphoreW]
nop dword [rax + rax]
mov rdi, rax
test rax, rax
jne 0x140020739
mov rcx, qword [rbp + 0x178]
mov edx, 0xd5
call fcn.14001f178
mov esi, eax
jmp 0x1400206e9
lea rdx, [rsp + 0x20]
mov rcx, rdi
call fcn.14001f6c8
mov esi, eax
test eax, eax
jns 0x14002076d
mov rcx, qword [rbp + 0x178]
mov r9d, eax
mov edx, 0xd7
call fcn.14001f13c
mov rcx, rdi
call fcn.14001f20c
jmp 0x1400206e9
mov rcx, rdi
call fcn.14001f20c
movsxd rax, dword [rsp + 0x20]
mov rcx, rbx
movsxd r14, dword [rsp + 0x24]
shl rax, 0x1f
or r14, rax
call fcn.14001f20c
mov esi, r12d
test esi, esi
jns 0x1400207ad
mov rcx, qword [rbp + 0x178]
mov r9d, esi
mov edx, 0x62
call fcn.14001f13c
mov eax, esi
jmp 0x1400207b2
mov qword [r15], r14
xor eax, eax
mov rcx, qword [rbp + 0x140]
xor rcx, rsp
call fcn.1400c0e50
lea r11, [rsp + 0x250]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret
Function at 0x140022710
Capabilities:
Write file on windows

Disassembly:
mov rax, rsp
push rbp
push rsi
push rdi
push r14
push r15
lea rbp, [rax - 0x5f]
sub rsp, 0xa0
mov qword [rbp - 1], 0xfffffffffffffffe
mov qword [rax + 0x18], rbx
mov rax, qword [0x140124d60]
xor rax, rsp
mov qword [rbp + 0x27], rax
mov esi, edx
mov rdi, rcx
or ebx, 0xffffffff
cmp edx, ebx
jne 0x140022752
xor eax, eax
jmp 0x140022936
mov rax, qword [rcx + 0x40]
cmp qword [rax], 0
je 0x14002278c
mov rdx, qword [rcx + 0x58]
movsxd r8, dword [rdx]
mov rcx, r8
add rcx, qword [rax]
cmp qword [rax], rcx
jae 0x14002278c
lea ecx, [r8 - 1]
mov dword [rdx], ecx
mov rdx, qword [rdi + 0x40]
mov r8, qword [rdx]
lea rcx, [r8 + 1]
mov qword [rdx], rcx
mov byte [r8], sil
mov eax, esi
jmp 0x140022936
cmp qword [rdi + 0x90], 0
je 0x140022934
mov rdx, qword [rdi + 0x18]
lea rax, [rdi + 0x80]
cmp qword [rdx], rax
jne 0x1400227c3
mov rcx, qword [rdi + 0x70]
mov rax, qword [rdi + 0x68]
mov qword [rdx], rax
mov rax, qword [rdi + 0x38]
mov qword [rax], rcx
mov rax, qword [rdi + 0x50]
and dword [rax], 0
cmp qword [rdi + 0x78], 0
jne 0x1400227eb
movsx ecx, sil
mov rdx, qword [rdi + 0x90]
call qword [sym.imp.msvcrt.dll_fputc]
nop dword [rax + rax]
cmp eax, ebx
cmovne ebx, esi
jmp 0x140022934
mov byte [rbp - 0x19], sil
mov qword [rbp + 0x1f], 0xf
and qword [rbp + 0x17], 0
mov byte [rbp + 7], 0
xor r8d, r8d
lea edx, [r8 + 8]
lea rcx, [rbp + 7]
call fcn.140011a98
nop
lea r8, [rbp + 7]
cmp qword [rbp + 0x1f], 0x10
cmovae r8, qword [rbp + 7]
lea r9, [rbp + 7]
cmovae r9, qword [rbp + 7]
mov rcx, qword [rdi + 0x78]
mov rdx, qword [rcx]
add r8, qword [rbp + 0x17]
mov rax, qword [rdx + 0x38]
lea rdx, [rbp - 0x11]
mov qword [rsp + 0x38], rdx
mov qword [rsp + 0x30], r8
mov qword [rsp + 0x28], r9
lea rdx, [rbp - 9]
mov qword [rsp + 0x20], rdx
lea r9, [rbp - 0x18]
lea r8, [rbp - 0x19]
lea rdx, [rdi + 0x84]
call qword [0x1400d4338]
test eax, eax
js 0x14002291d
cmp eax, 1
jg 0x1400228fc
lea rax, [rbp + 7]
mov rdx, qword [rbp + 7]
mov r10, qword [rbp + 0x1f]
cmp r10, 0x10
cmovae rax, rdx
mov r14, qword [rbp - 0x11]
sub r14, rax
je 0x1400228c2
lea rcx, [rbp + 7]
cmp r10, 0x10
cmovae rcx, rdx
mov r9, qword [rdi + 0x90]
mov r8, r14
mov edx, 1
call qword [sym.imp.msvcrt.dll_fwrite]
nop dword [rax + rax]
cmp r14, rax
jne 0x14002291d
mov byte [rdi + 0x81], 1
lea rax, [rbp - 0x19]
cmp qword [rbp - 9], rax
jne 0x1400228f8
test r14, r14
jne 0x140022811
cmp qword [rbp + 0x17], 0x20
jae 0x14002291d
xor r8d, r8d
lea edx, [r14 + 8]
lea rcx, [rbp + 7]
call fcn.140007af8
jmp 0x140022811
mov ebx, esi
jmp 0x14002291d
cmp eax, 3
jne 0x14002291d
movsx ecx, byte [rbp - 0x19]
mov rdx, qword [rdi + 0x90]
call qword [sym.imp.msvcrt.dll_fputc]
nop dword [rax + rax]
cmp eax, ebx
cmovne ebx, esi
cmp qword [rbp + 0x1f], 0x10
jb 0x140022934
mov rcx, qword [rbp + 7]
call qword [sym.imp.msvcrt.dll_void___cdecl_operator_delete_void____ptr64_]
nop dword [rax + rax]
mov eax, ebx
mov rcx, qword [rbp + 0x27]
xor rcx, rsp
call fcn.1400c0e50
mov rbx, qword [rsp + 0xe0]
add rsp, 0xa0
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
Function at 0x140022ebc
Capabilities:
Write file on windows

Disassembly:
mov rax, rsp
push rbp
push r14
push r15
mov rbp, rsp
sub rsp, 0x70
mov qword [rbp - 0x38], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov rax, qword [0x140124d60]
xor rax, rsp
mov qword [rbp - 0x10], rax
mov rdi, rcx
xor ebx, ebx
cmp qword [rcx + 0x78], rbx
je 0x140023025
cmp byte [rcx + 0x81], bl
je 0x140023025
or edx, 0xffffffff
call fcn.140022710
cmp eax, 0xffffffff
jne 0x140022f1c
xor al, al
jmp 0x14002302a
mov qword [rbp - 0x18], 0xf
mov qword [rbp - 0x20], rbx
mov byte [rbp - 0x30], bl
xor r8d, r8d
lea edx, [r8 + 8]
lea rcx, [rbp - 0x30]
call fcn.140011a98
nop
mov esi, 1
lea r9, [rbp - 0x30]
cmp qword [rbp - 0x18], 0x10
cmovae r9, qword [rbp - 0x30]
lea r8, [rbp - 0x30]
cmovae r8, qword [rbp - 0x30]
mov rcx, qword [rdi + 0x78]
mov rdx, qword [rcx]
add r9, qword [rbp - 0x20]
mov rax, qword [rdx + 0x40]
lea rdx, [rbp - 0x40]
mov qword [rsp + 0x20], rdx
lea rdx, [rdi + 0x84]
call qword [0x1400d4338]
mov ecx, eax
test eax, eax
je 0x140022f8e
sub ecx, esi
je 0x140022f94
cmp ecx, 2
jne 0x14002300a
jmp 0x140023007
mov byte [rdi + 0x81], bl
lea rax, [rbp - 0x30]
mov rdx, qword [rbp - 0x30]
mov r10, qword [rbp - 0x18]
cmp r10, 0x10
cmovae rax, rdx
mov r14, qword [rbp - 0x40]
sub r14, rax
je 0x140022fdb
lea rcx, [rbp - 0x30]
cmp r10, 0x10
cmovae rcx, rdx
mov r9, qword [rdi + 0x90]
mov r8, r14
mov rdx, rsi
call qword [sym.imp.msvcrt.dll_fwrite]
nop dword [rax + rax]
cmp r14, rax
jne 0x140023004
cmp byte [rdi + 0x81], bl
je 0x140023001
test r14, r14
jne 0x140022f41
xor r8d, r8d
lea edx, [r14 + 8]
lea rcx, [rbp - 0x30]
call fcn.140007af8
jmp 0x140022f41
mov bl, sil
mov sil, bl
mov bl, sil
cmp qword [rbp - 0x18], 0x10
jb 0x140023021
mov rcx, qword [rbp - 0x30]
call qword [sym.imp.msvcrt.dll_void___cdecl_operator_delete_void____ptr64_]
nop dword [rax + rax]
mov al, bl
jmp 0x14002302a
mov eax, 1
mov rcx, qword [rbp - 0x10]
xor rcx, rsp
call fcn.1400c0e50
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret
Function at 0x140028eb8
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 [0x140124d60]
xor rax, rsp
mov qword [rsp + 0x180], rax
mov r12, rdx
mov rdi, rcx
cmp qword [rcx + 0x18], 8
jb 0x140028ef9
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 0x140028fb6
lea eax, [rsi + 2]
mul r15
lea r14, [rsi - 1]
cmovo rax, r14
mov rcx, rax
call fcn.1400a4470
mov rbx, rax
mov qword [rsp + 0x28], rax
cmp qword [rdi + 0x18], 8
jb 0x140028f3f
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 0x140028ffe
cmp word [rbx], si
je 0x140028f6e
inc r14
cmp word [rbx + r14*2], si
jne 0x140028f61
mov rsi, r14
mov r8, rsi
mov rdx, rbx
mov rcx, r12
call fcn.140006eec
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.1400c0e50
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.140006cf8
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.1400063a0
lea rdx, [0x14011a5f0]
lea rcx, [rsp + 0x110]
call sub.msvcrt.dll__CxxThrowException
nop
lea rdx, str.Cannot_expand_environment_strings
lea rcx, [rsp + 0x38]
call fcn.140006cf8
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.1400063a0
lea rdx, [0x14011a5f0]
lea rcx, [rsp + 0xa0]
call sub.msvcrt.dll__CxxThrowException
int3
Function at 0x1400416d0
Capabilities:
Get common file path

Disassembly:
push rbx
sub rsp, 0x30
mov rax, qword [0x140124d60]
xor rax, rsp
mov qword [rsp + 0x28], rax
xor ebx, ebx
cmp qword [0x14011e3e8], rbx
jne 0x140041767
lea r9, [rsp + 0x20]
xor r8d, r8d
mov edx, 0x8000
lea rcx, [0x1400e8258]
call qword [sym.imp.SHELL32.dll_SHGetKnownFolderPath]
nop dword [rax + rax]
test eax, eax
js 0x140041756
mov rdx, qword [rsp + 0x20]
cmp word [rdx], bx
je 0x14004172e
or rax, 0xffffffffffffffff
inc rax
cmp word [rdx + rax*2], bx
jne 0x140041722
mov rbx, rax
mov r8, rbx
lea rcx, [0x14011e3d8]
call fcn.140006eec
mov r8d, 0x18
lea rdx, str.MicrosoftUEVTemplates
lea rcx, [0x14011e3d8]
call fcn.140006fd4
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.ole32.dll_CoTaskMemFree]
nop dword [rax + rax]
lea rax, [0x14011e3d8]
mov rcx, qword [rsp + 0x28]
xor rcx, rsp
call fcn.1400c0e50
add rsp, 0x30
pop rbx
ret

Function at 0x1400417fc
Capabilities:
Query or enumerate registry value

Disassembly:
push rbx
sub rsp, 0x50
mov rax, qword [0x140124d60]
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 0x1400418ba
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 0x1400418ba
cmp dword [rsp + 0x30], 1
sete bl
mov rcx, qword [rsp + 0x40]
test rcx, rcx
je 0x1400418d0
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop dword [rax + rax]
mov al, bl
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.1400c0e50
add rsp, 0x50
pop rbx
ret
Function at 0x1400476ec
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 0x140047703
mov rdx, qword [rdx]
xor r8d, r8d
movabs rcx, 0xcbf29ce484222325
add r9, r9
je 0x140047733
movzx eax, byte [rdx + r8]
movabs r10, 0x100000001b3
xor rcx, rax
inc r8
imul rcx, r10
cmp r8, r9
jb 0x140047715
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 0x140047772
add ecx, 0x7fffffff
movsxd rax, ecx
add rsp, 0x28
ret

Function at 0x14004c688
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 0x14004c820
cmp ecx, 0x7c
je 0x14004c820
cmp ecx, 0x29
jne 0x14004c6cb
cmp dword [rbx + 0x1c], 0
jne 0x14004c820
test dword [rbx + 0x80], 0x10000000
je 0x14004c842
cmp ecx, 0x2e
jne 0x14004c6eb
lea rcx, [rbx + 0x40]
mov edx, 5
call fcn.14004c968
mov rcx, rbx
call fcn.14004c620
jmp 0x14004c80e
cmp ecx, 0x5c
jne 0x14004c74f
mov rcx, rbx
call fcn.14004c620
test byte [rbx + 0x80], 0x80
je 0x14004c742
cmp word [rbx + 0x78], 0x62
jne 0x14004c723
mov edx, 4
lea rcx, [rbx + 0x40]
call fcn.14004c968
mov rcx, rbx
call fcn.14004c620
jmp 0x14004c816
cmp word [rbx + 0x78], 0x42
jne 0x14004c742
lea rcx, [rbx + 0x40]
mov edx, 4
call fcn.14004c968
mov rax, qword [rbx + 0x48]
xor dword [rax + 0xc], 1
jmp 0x14004c716
mov rcx, rbx
call fcn.14004cfec
jmp 0x14004c80e
cmp ecx, 0x5b
jne 0x14004c773
mov rcx, rbx
call fcn.14004c620
mov rcx, rbx
call fcn.14004ce94
cmp dword [rbx + 0x7c], 0x5d
jne 0x14004c82c
jmp 0x14004c6de
cmp ecx, 0x28
jne 0x14004c797
mov rcx, rbx
call fcn.14004c620
mov rcx, rbx
call fcn.14004d170
cmp dword [rbx + 0x7c], 0x29
mov dil, al
jne 0x14004c837
jmp 0x14004c801
cmp ecx, 0x5e
jne 0x14004c7a4
lea edx, [rcx - 0x5c]
jmp 0x14004c70d
cmp ecx, 0x24
jne 0x14004c7b1
lea edx, [rcx - 0x21]
jmp 0x14004c70d
lea eax, [rcx - 0x2a]
cmp eax, 1
jbe 0x14004c863
cmp ecx, 0x3f
je 0x14004c863
cmp ecx, 0x7b
je 0x14004c863
cmp ecx, 0x7d
jne 0x14004c7e0
test dword [rbx + 0x80], 0x10000000
je 0x14004c84d
cmp ecx, 0x5d
jne 0x14004c7f1
test dword [rbx + 0x80], 0x10000000
je 0x14004c858
movzx edx, word [rbx + 0x78]
lea rcx, [rbx + 0x40]
call fcn.14004d448
mov dil, 1
mov rcx, rbx
call fcn.14004c620
test dil, dil
je 0x14004c816
mov rcx, rbx
call fcn.14004d340
mov ecx, dword [rbx + 0x7c]
mov al, 1
jmp 0x14004c69a
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
mov edx, 4
call fcn.14004bdcc
int3
mov edx, 5
call fcn.14004bdcc
int3
mov edx, 5
call fcn.14004bdcc
int3
mov edx, 6
call fcn.14004bdcc
int3
mov edx, 4
call fcn.14004bdcc
int3
mov edx, 0xa
call fcn.14004bdcc
int3
Function at 0x14004fcac
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 [0x140124d60]
xor rax, rsp
mov qword [rbp + 0x1f], rax
mov r15, r8
mov rsi, rdx
mov qword [rbp + 0x17], rdx
mov ecx, 0x18
call fcn.1400a32f0
mov rdi, rax
mov qword [rbp + 7], rax
xor r13d, r13d
test rax, rax
je 0x14004fd0f
mov qword [rax], r13
mov qword [rax + 8], r13
mov qword [rax + 0x10], r13
jmp 0x14004fd12
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 0x14004fe67
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.1400a4470
mov rbx, rax
mov qword [rbp - 0x49], rax
mov r14d, r13d
cmp dword [rbp + 0xf], r13d
jbe 0x14004fe2a
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 0x14004feae
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.140006eec
nop
lea rdx, [rbp - 0x79]
mov rcx, rdi
call fcn.1400466ac
nop
cmp qword [rbp - 0x61], 8
jb 0x14004fe1d
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 0x14004fd9e
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.1400c0e50
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 [0x140125f00], 2
je 0x14004fe7f
mov r8d, eax
lea rdx, [0x1400d96e0]
call fcn.140008724
lea rdx, str.Unable_to_query_template_index.
lea rcx, [rbp - 0x79]
call fcn.140006cf8
nop
lea rdx, [rbp - 0x79]
lea rcx, [rbp - 0x39]
call fcn.14004f8d8
lea rdx, [0x14011b600]
lea rcx, [rbp - 0x39]
call sub.msvcrt.dll__CxxThrowException
nop
test byte [0x140125f00], 2
je 0x14004fec6
mov r8d, eax
lea rdx, [0x1400d9480]
call fcn.140008724
lea rdx, str.Unable_to_enumerate_template_index_subkeys.
lea rcx, [rbp - 0x79]
call fcn.140006cf8
nop
lea rdx, [rbp - 0x79]
lea rcx, [rbp - 0x39]
call fcn.14004f8d8
lea rdx, [0x14011b600]
lea rcx, [rbp - 0x39]
call sub.msvcrt.dll__CxxThrowException
int3
Function at 0x14005080c
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 0x1400508e9
mov cl, 1
call fcn.1400a3b40
mov qword [rsp + 0x60], rax
cmp qword [rsi + 0x18], 8
jb 0x140050876
mov rax, qword [rsi]
jmp 0x140050879
mov rax, rsi
movzx ebx, word [rax + rbp*2]
lea rcx, [rsp + 0x60]
call fcn.140007488
mov r8, rax
mov rcx, qword [rax]
mov rax, qword [rcx + 0x40]
movzx edx, bx
mov rcx, r8
call qword [0x1400d4338]
movzx ecx, ax
imul r12, r12, 0x1000193
xor r12, rcx
mov rcx, qword [rsp + 0x60]
test rcx, rcx
je 0x1400508dd
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
call qword [0x1400d4338]
mov r8, rax
test rax, rax
je 0x1400508dd
mov rcx, qword [rax]
mov rax, qword [rcx]
mov edx, 1
mov rcx, r8
call qword [0x1400d4338]
add rbp, rdi
cmp rbp, r14
jb 0x14005085e
mov rdx, qword [r15 + 0x28]
mov rax, rdx
and rax, r12
cmp qword [r15 + 0x30], rax
ja 0x140050906
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 0x140050924
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 [0x140124d60]
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 0x140050964
mov r8, qword [r8]
movabs rcx, 0xcbf29ce484222325
xor edx, edx
add r9, r9
je 0x140050993
movzx eax, byte [r8 + rdx]
xor rcx, rax
movabs r10, 0x100000001b3
imul rcx, r10
inc rdx
cmp rdx, r9
jb 0x140050975
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 0x1400509ba
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 0x140050a1f
mov rbx, qword [rax + rsi*8 + 8]
mov rbx, qword [rbx]
cmp rbx, rcx
je 0x140050a1f
mov rbx, qword [rbx + 8]
lea rdx, [rbx + 0x10]
mov rcx, r11
call fcn.14003dce4
test al, al
jne 0x1400509fa
mov rax, qword [r14 + 0x10]
cmp rbx, qword [rax + rsi*8]
jne 0x1400509da
jmp 0x140050a1f
mov rdx, r11
lea rcx, [rbx + 0x10]
call fcn.14003dce4
test al, al
jne 0x140050a0f
mov rbx, qword [rbx]
jmp 0x140050a1f
mov qword [r15], rbx
mov byte [r15 + 8], 0
mov rax, r15
jmp 0x140050b04
mov rax, qword [r14]
mov rdi, qword [rax]
mov r9, r11
mov r8, qword [rdi + 8]
mov rdx, rdi
call fcn.14005140c
mov rdx, rax
mov rax, qword [r14 + 8]
movabs rcx, 0x492492492492491
sub rcx, rax
cmp rcx, 1
jb 0x140050b1e
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 0x140050aa7
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 0x140050ac0
mov qword [rcx + rsi*8], rdi
mov rax, qword [r14 + 0x10]
mov qword [rax + rsi*8 + 8], rdi
jmp 0x140050af0
cmp qword [rcx + rsi*8], rbx
jne 0x140050acc
mov qword [rcx + rsi*8], rdi
jmp 0x140050af0
mov rax, qword [rcx + rsi*8 + 8]
mov rdx, qword [rax]
mov qword [rcx + rsi*8 + 8], rdx
cmp rdx, rdi
je 0x140050af0
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.140050b34
nop
mov qword [r15], rdi
mov byte [r15 + 8], 1
mov rax, r15
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.1400c0e50
add rsp, 0x60
pop r15
pop r14
pop rdi
pop rsi
pop rbx
ret
lea rcx, str.list_T__too_long
call fcn.1400a360c
int3
Function at 0x140050c10
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 [0x140124d60]
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 0x140050c4c
mov r8, qword [rsi]
jmp 0x140050c4f
mov r8, rsi
xor ebp, ebp
movabs rcx, 0xcbf29ce484222325
mov edx, ebp
add r9, r9
je 0x140050c80
movzx eax, byte [r8 + rdx]
movabs r10, 0x100000001b3
xor rcx, rax
inc rdx
imul rcx, r10
cmp rdx, r9
jb 0x140050c62
mov r8, qword [r14 + 0x28]
mov rdx, rcx
shr rdx, 0x20
xor rdx, rcx
and rdx, r8
cmp qword [r14 + 0x30], rdx
ja 0x140050ca4
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 0x140050cd3
cmp qword [rcx + rdx*8], rbx
jne 0x140050cc8
mov rax, qword [r14]
mov qword [rcx + rdx*8], rax
mov rcx, qword [r14 + 0x10]
mov rax, qword [r14]
jmp 0x140050ccc
mov rax, qword [rbx + 8]
mov qword [rcx + rdx*8 + 8], rax
jmp 0x140050ce0
cmp qword [rcx + rdx*8], rbx
jne 0x140050ce0
mov rax, qword [rbx]
mov qword [rcx + rdx*8], rax
mov rdi, qword [rbx]
cmp rbx, qword [r14]
je 0x140050d32
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 0x140050d10
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.1400c0e50
mov rbx, qword [rsp + 0x70]
add rsp, 0x30
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret