joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140027470
Capabilities:
Clear file content

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r12
push r14
push r15
sub rsp, 0x20
mov rbx, rdx
mov rsi, r8
xor edx, edx
mov r14d, ecx
lea r8d, [rdx + 1]
call fcn.14001b124
xor edx, edx
mov ecx, r14d
mov r12, rax
lea r8d, [rdx + 2]
call fcn.14001b124
mov rbp, rbx
sub rbp, rax
cmp r12, 0xffffffffffffffff
je 0x1400275c0
cmp rax, 0xffffffffffffffff
je 0x1400275c0
xor edi, edi
test rbp, rbp
jle 0x14002756b
lea edx, [rdi + 1]
mov ecx, 0x1000
call fcn.14001c498
mov rbx, rax
test rax, rax
jne 0x1400274f8
lea edi, [rax + 0xc]
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], edi
jmp 0x140027561
mov edx, 0x8000
mov ecx, r14d
call fcn.140015328
mov r15d, eax
mov eax, 0x1000
mov r8d, ebp
cmp rbp, rax
mov r9, rsi
mov rdx, rbx
mov ecx, r14d
cmovge r8d, eax
call fcn.14001bdfc
cmp eax, 0xffffffff
je 0x140027541
cdqe
sub rbp, rax
test rbp, rbp
jg 0x140027508
mov edx, r15d
mov ecx, r14d
call fcn.140015328
jmp 0x140027561
cmp byte [rsi + 0x38], dil
je 0x140027558
cmp dword [rsi + 0x34], 5
jne 0x140027558
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], 0xd
cmp byte [rsi + 0x30], dil
je 0x140027561
mov edi, dword [rsi + 0x2c]
mov rcx, rbx
call fcn.1400197f8
jmp 0x1400275d4
jns 0x1400275d4
xor r8d, r8d
mov rdx, rbx
mov ecx, r14d
call fcn.14001b124
cmp rax, 0xffffffffffffffff
jne 0x14002758c
cmp byte [rsi + 0x30], dil
je 0x1400275d4
mov edi, dword [rsi + 0x2c]
jmp 0x1400275d4
mov ecx, r14d
call fcn.1400168a4
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x1400275d4
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov byte [rsi + 0x38], 1
mov edi, 0xd
mov dword [rsi + 0x34], eax
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], 0xd
jmp 0x1400275d4
xor edi, edi
cmp byte [rsi + 0x30], dil
je 0x1400275cd
mov eax, dword [rsi + 0x2c]
jmp 0x1400275d2
mov eax, 0x16
mov edi, eax
xor r8d, r8d
mov rdx, r12
mov ecx, r14d
call fcn.14001b124
mov rbx, qword [rsp + 0x40]
mov eax, edi
mov rdi, qword [rsp + 0x58]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x20
pop r15
pop r14
pop r12
ret
Function at 0x1405a2058
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.1405a21df
push r10
mov r10, rsp
push r10
mov rsi, qword [r10 + 0x10]
mov rdi, qword [r10 + 0x20]
cld
mov dl, pe_nt_image_headers64
mov al, byte [rsi]
inc rsi
mov byte [rdi], al
inc rdi
mov ebx, 2
add dl, dl
jne 0x1405a2089
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1405a206f
add dl, dl
jne 0x1405a2096
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1405a20f6
xor eax, eax
add dl, dl
jne 0x1405a20a5
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1405a21ad
add dl, dl
jne 0x1405a20b6
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1405a20c3
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1405a20d0
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1405a20dd
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
je 0x1405a20ea
push rdi
mov eax, eax
sub rdi, rax
mov al, byte [rdi]
pop rdi
mov byte [rdi], al
inc rdi
mov ebx, 2
jmp 0x1405a207e
mov eax, 1
add dl, dl
jne 0x1405a2106
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1405a2113
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x1405a20fb
sub eax, ebx
mov ebx, 1
jne 0x1405a214c
mov ecx, 1
add dl, dl
jne 0x1405a212e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x1405a213b
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x1405a2123
push rsi
mov rsi, rdi
sub rsi, rbp
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x1405a207e
dec eax
shl eax, 8
mov al, byte [rsi]
inc rsi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x1405a2168
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x1405a2175
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x1405a215d
cmp eax, 0x7d00
jae 0x1405a219b
cmp eax, 0x500
jb 0x1405a2196
inc ecx
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x1405a207e
cmp eax, 0x7f
ja 0x1405a219e
add ecx, 2
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x1405a207e
mov al, byte [rsi]
inc rsi
xor ecx, ecx
shr al, 1
je 0x1405a21d2
adc ecx, 2
mov ebp, eax
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
mov ebx, 1
jmp 0x1405a207e
pop r10
sub rdi, qword [r10 + 0x20]
mov eax, edi
pop r10
ret 0x20
Function at 0x14007f9c0
Capabilities:
Query environment variable

Disassembly:
push r15
push r14
push rsi
push rdi
push rbp
push rbx
mov eax, 0x10088
call fcn.140099f20
sub rsp, rax
mov rax, qword [0x1400d7900]
xor rax, rsp
mov qword [rsp + 0x10080], rax
mov word [rsp + 0x80], 0
mov word [rsp + 0x30], 0
movzx ebp, byte [rcx]
test bpl, bpl
je 0x14007fa98
mov rsi, rcx
mov r14d, 0x28
lea r15, [rsp + 0x30]
xor eax, eax
lea rdi, [rsp + 0x2e]
nop dword [rax]
mov rbx, r15
mov rcx, r14
test ax, ax
je 0x14007fa51
mov rcx, r14
mov rax, r15
nop word cs:[rax + rax]
lea rbx, [rax + 2]
dec rcx
cmp word [rax + 2], 0
mov rax, rbx
jne 0x14007fa40
test rcx, rcx
je 0x14007faf4
mov rcx, rbx
call fcn.1400aa3d8
lea rcx, [rbx + rax*2]
mov byte [rsp + 0x2e], bpl
mov byte [rsp + 0x2f], 0
mov r8d, 2
mov rdx, rdi
call fcn.1400a82f0
movzx ebp, byte [rsi + 1]
test bpl, bpl
je 0x14007fa98
inc rsi
dec r14
movzx eax, word [r15 + 2]
add r15, 2
jmp 0x14007fa20
lea rcx, [rsp + 0x30]
lea rdx, [rsp + 0x80]
mov r8d, 0x10000
call qword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
add eax, 0xfffeffff
cmp eax, 0xffff0000
jae 0x14007fac1
xor esi, esi
jmp 0x14007fad1
lea rcx, [rsp + 0x80]
call fcn.1400a6bb4
mov rsi, rax
mov rcx, qword [rsp + 0x10080]
xor rcx, rsp
call fcn.140099f80
mov rax, rsi
add rsp, 0x10088
pop rbx
pop rbp
pop rdi
pop rsi
pop r14
pop r15
ret
call fcn.1400a7fa8
int3

Function at 0x14007fb00
Capabilities:
Set environment variable

Disassembly:
push r15
push r14
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x90
mov rsi, rdx
mov rax, qword [0x1400d7900]
xor rax, rsp
mov qword [rsp + 0x88], rax
mov word [rsp + 0x30], 0
movzx ebp, byte [rcx]
test bpl, bpl
je 0x14007fbc5
mov rdi, rcx
mov r15d, 0x28
lea r12, [rsp + 0x30]
xor eax, eax
lea rbx, [rsp + 0x2e]
nop
mov r14, r12
mov rcx, r15
test ax, ax
je 0x14007fb81
mov rcx, r15
mov rax, r12
nop word cs:[rax + rax]
lea r14, [rax + 2]
dec rcx
cmp word [rax + 2], 0
mov rax, r14
jne 0x14007fb70
test rcx, rcx
je 0x14007fbf6
mov rcx, r14
call fcn.1400aa3d8
lea rcx, [r14 + rax*2]
mov byte [rsp + 0x2e], bpl
mov byte [rsp + 0x2f], 0
mov r8d, 2
mov rdx, rbx
call fcn.1400a82f0
movzx ebp, byte [rdi + 1]
test bpl, bpl
je 0x14007fbc5
inc rdi
dec r15
movzx eax, word [r12 + 2]
add r12, 2
jmp 0x14007fb50
lea rcx, [rsp + 0x30]
mov rdx, rsi
call qword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
mov rcx, qword [rsp + 0x88]
xor rcx, rsp
call fcn.140099f80
nop
add rsp, 0x90
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret
call fcn.1400a7fa8
int3
Function at 0x14008a3c0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push r15
push r14
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x20
mov rbx, r8
mov rsi, rdx
mov rdi, rcx
cmp byte [0x1400dbe40], 0
jne 0x14008a440
mov edx, 3
mov r8d, 0xa
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_FindResourceA]
xor ecx, ecx
mov rdx, rax
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
mov qword [0x1400dbe38], rax
mov ebp, dword [rax]
lea rcx, [rax + 4]
mov qword [0x1400dbe38], rcx
mov r8d, dword [rax + 4]
lea rdx, [rax + 8]
mov qword [0x1400dbe38], rdx
xor ecx, ecx
call fcn.140089b60
cmp eax, ebp
jne 0x14008a582
mov byte [0x1400dbe40], 1
lea rdx, [0x1400c7558]
mov rcx, rbx
call fcn.1400aa040
test eax, eax
je 0x14008a4ff
cmp byte [0x1400dc8b8], 0
jne 0x14008a4ff
mov r14, qword [sym.imp.python38.dll_PyDict_New]
call r14
mov qword [0x1400dc8c0], rax
call r14
mov qword [0x1400dc8c8], rax
call r14
mov qword [0x1400dc8d0], rax
call r14
mov qword [0x1400dc8d8], rax
call r14
mov qword [0x1400dc8e0], rax
call r14
mov qword [0x1400dc8e8], rax
call r14
mov qword [0x1400dc8f0], rax
call r14
mov qword [0x1400dc8f8], rax
mov ebp, 0xfffffffb
xor r14d, r14d
mov r15, qword [sym.imp.python38.dll_PyLong_FromLong]
lea r12, [0x1400dbed0]
nop word cs:[rax + rax]
mov ecx, ebp
call r15
mov qword [r14 + r12], rax
add r14, 8
inc ebp
cmp r14, 0x830
jne 0x14008a4e0
mov byte [0x1400dc8b8], 1
mov r14, qword [0x1400dbe38]
mov rcx, rbx
mov rdx, r14
call fcn.1400aa040
mov ebp, eax
mov rcx, r14
call fcn.1400aa0c0
lea r8, [rax + r14]
inc r8
test ebp, ebp
je 0x14008a560
nop word cs:[rax + rax]
mov eax, dword [r8]
lea r15, [r8 + rax]
lea r14, [r8 + rax]
add r14, 4
mov rcx, rbx
mov rdx, r14
call fcn.1400aa040
mov ebp, eax
mov rcx, r14
call fcn.1400aa0c0
lea r8, [rax + r15]
add r8, 5
test ebp, ebp
jne 0x14008a530
movzx r9d, word [r8 + 4]
add r8, 6
mov rcx, rdi
mov rdx, rsi
add rsp, 0x20
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r14
pop r15
jmp fcn.140095be0
lea rcx, str.Error__corrupted_constants_object
call fcn.1400a9c24
call fcn.1400a7fa8
int3

Function at 0x14009a6e8
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x14009a732
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x14009a732
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x14009a732
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x14009a732
cmp dword [rcx + 0x84], 0xe
jbe 0x14009a732
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x14009a734
xor al, al
add rsp, 0x28
ret
Function at 0x1400a58d4
Capabilities:
Parse pe header

Disassembly:
xor r8d, r8d
xor edx, edx
jmp 0x1400a5a1c
mov dword [rsp + 0x18], r8d
mov dword [rsp + 0x10], edx
push rbp
mov rbp, rsp
sub rsp, 0x50
mov qword [rbp - 0x20], 0xfffffffffffffffe
mov qword [rsp + 0x60], rbx
mov ebx, ecx
test r8d, r8d
jne 0x1400a5a8b
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x1400a5a8b
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x1400a5a8b
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x1400a5a8b
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x1400a5a8b
cmp dword [rcx + 0x84], 0xe
jbe 0x1400a5a8b
cmp dword [rcx + 0xf8], 0
je 0x1400a5a8b
mov ecx, ebx
call fcn.1400a5954
mov byte [rbp + 0x28], 0
lea rax, [rbp + 0x18]
mov qword [rbp - 0x18], rax
lea rax, [rbp + 0x20]
mov qword [rbp - 0x10], rax
lea rax, [rbp + 0x28]
mov qword [rbp - 8], rax
mov eax, 2
mov dword [rbp - 0x2c], eax
mov dword [rbp - 0x28], eax
lea r9, [rbp - 0x2c]
lea r8, [rbp - 0x18]
lea rdx, [rbp - 0x28]
lea rcx, [rbp - 0x30]
call fcn.1400a5bb0
nop
cmp dword [rbp + 0x20], 0
je 0x1400a5ad9
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rbp
ret
mov ecx, ebx
call fcn.1400a59e8
int3

Function at 0x1400a5a1c
Capabilities:
Parse pe header

Disassembly:
xor r8d, r8d
xor edx, edx
jmp 0x1400a5a1c
mov dword [rsp + 0x18], r8d
mov dword [rsp + 0x10], edx
push rbp
mov rbp, rsp
sub rsp, 0x50
mov qword [rbp - 0x20], 0xfffffffffffffffe
mov qword [rsp + 0x60], rbx
mov ebx, ecx
test r8d, r8d
jne 0x1400a5a8b
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x1400a5a8b
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x1400a5a8b
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x1400a5a8b
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x1400a5a8b
cmp dword [rcx + 0x84], 0xe
jbe 0x1400a5a8b
cmp dword [rcx + 0xf8], 0
je 0x1400a5a8b
mov ecx, ebx
call fcn.1400a5954
mov byte [rbp + 0x28], 0
lea rax, [rbp + 0x18]
mov qword [rbp - 0x18], rax
lea rax, [rbp + 0x20]
mov qword [rbp - 0x10], rax
lea rax, [rbp + 0x28]
mov qword [rbp - 8], rax
mov eax, 2
mov dword [rbp - 0x2c], eax
mov dword [rbp - 0x28], eax
lea r9, [rbp - 0x2c]
lea r8, [rbp - 0x18]
lea rdx, [rbp - 0x28]
lea rcx, [rbp - 0x30]
call fcn.1400a5bb0
nop
cmp dword [rbp + 0x20], 0
je 0x1400a5ad9
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rbp
ret
mov ecx, ebx
call fcn.1400a59e8
int3

Function at 0x1400aa860
Capabilities:
Parse pe header

Disassembly:
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x1400aa888
movsxd rdx, dword [rcx + 0x3c]
add rdx, rcx
cmp dword [rdx], 0x4550
jne 0x1400aa888
xor eax, eax
mov ecx, 0x20b
cmp word [rdx + 0x18], cx
sete al
ret
xor eax, eax
ret
Function at 0x1400b036c
Capabilities:
Query environment variable

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
xor ebp, ebp
mov rbx, rax
test rax, rax
je 0x1400b03f3
mov rsi, rbx
cmp word [rax], bp
je 0x1400b03b2
or rax, 0xffffffffffffffff
inc rax
cmp word [rsi + rax*2], bp
jne 0x1400b039c
lea rsi, [rsi + rax*2]
add rsi, 2
cmp word [rsi], bp
jne 0x1400b0398
sub rsi, rbx
add rsi, 2
sar rsi, 1
add rsi, rsi
mov rcx, rsi
call fcn.1400ad588
mov rdi, rax
test rax, rax
je 0x1400b03e0
mov r8, rsi
mov rdx, rbx
mov rcx, rax
call fcn.1400b9000
mov rbp, rdi
xor ecx, ecx
call fcn.1400ac6e4
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov rax, rbp
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x1400b4f14
Capabilities:
Get file size

Disassembly:
push rbx
sub rsp, 0x20
mov edx, dword [rcx + 0x14]
nop
shr edx, 3
test dl, 1
je 0x1400b4f2a
mov al, 1
jmp 0x1400b4f8a
mov eax, dword [rcx + 0x14]
nop
test al, 0xc0
je 0x1400b4f3b
mov rax, qword [rcx + 8]
cmp qword [rcx], rax
je 0x1400b4f88
mov ecx, dword [rcx + 0x18]
nop
call fcn.1400b0acc
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x1400b4f88
mov r9d, 1
lea r8, [rsp + 0x38]
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetFilePointerEx]
test eax, eax
je 0x1400b4f88
lea rdx, [rsp + 0x30]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
je 0x1400b4f88
mov rax, qword [rsp + 0x30]
cmp qword [rsp + 0x38], rax
sete al
jmp 0x1400b4f8a
xor al, al
add rsp, 0x20
pop rbx
ret
Function at 0x1400082b0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
cmp qword [rdx + 0x18], 8
mov rax, qword [rdx + 0x10]
jb 0x1400082be
mov rdx, qword [rdx]
lea r9, [rax + rax]
xor r8d, r8d
movabs rcx, 0xcbf29ce484222325
test r9, r9
je 0x1400082f2
movabs r10, 0x100000001b3
movzx eax, byte [r8 + rdx]
inc r8
xor rcx, rax
imul rcx, r10
cmp r8, r9
jb 0x1400082de
mov rax, rcx
ret

Function at 0x140008ffc
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 0x140009027
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, 0x82
call fcn.1400090d4
mov ecx, esi
call fcn.140010ad0
mov qword [rdi], rax
mov dword [rsp + 0x30], 1
cmp qword [rbx + 0x18], 8
jb 0x14000907e
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, 0x8b
call fcn.14000910c
mov rax, rdi
mov rbx, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
add rsp, 0x40
pop rdi
ret
Function at 0x14000a044
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 [rbx + 0x7c]
mov dil, 1
cmp ecx, 0xffffffff
je 0x14000a22f
cmp ecx, 0x7c
je 0x14000a22f
cmp ecx, 0x29
jne 0x14000a08a
cmp dword [rbx + 0x1c], 0
jne 0x14000a22f
test dword [rbx + 0x80], 0x10000000
je 0x14000a1e7
cmp ecx, 0x2e
jne 0x14000a0aa
lea rcx, [rbx + 0x40]
mov edx, 5
call fcn.14000ad10
mov rcx, rbx
call fcn.14000a47c
jmp 0x14000a1d8
cmp ecx, 0x5c
jne 0x14000a10e
mov rcx, rbx
call fcn.14000a47c
test byte [rbx + 0x80], 0x80
je 0x14000a101
cmp word [rbx + 0x78], 0x62
jne 0x14000a0e2
mov edx, 4
lea rcx, [rbx + 0x40]
call fcn.14000ad10
mov rcx, rbx
call fcn.14000a47c
jmp 0x14000a1e0
cmp word [rbx + 0x78], 0x42
jne 0x14000a101
lea rcx, [rbx + 0x40]
mov edx, 4
call fcn.14000ad10
mov rax, qword [rbx + 0x48]
xor dword [rax + 0xc], 1
jmp 0x14000a0d5
mov rcx, rbx
call fcn.14000a350
jmp 0x14000a1d8
cmp ecx, 0x5b
jne 0x14000a139
mov rcx, rbx
call fcn.14000a47c
mov rcx, rbx
call fcn.14000eba4
mov edx, 0x5d
mov rcx, rbx
lea r8d, [rdx - 0x59]
call fcn.14000f280
jmp 0x14000a1d8
cmp ecx, 0x28
jne 0x14000a164
mov rcx, rbx
call fcn.14000a47c
mov rcx, rbx
call fcn.14001bc18
mov edx, 0x29
mov rcx, rbx
mov dil, al
lea r8d, [rdx - 0x24]
call fcn.14000f280
jmp 0x14000a1d3
cmp ecx, 0x5e
jne 0x14000a171
lea edx, [rcx - 0x5c]
jmp 0x14000a0cc
cmp ecx, 0x24
jne 0x14000a17e
lea edx, [rcx - 0x21]
jmp 0x14000a0cc
cmp ecx, 0x3f
je 0x14000a21d
lea eax, [rcx - 0x2a]
cmp eax, 1
jbe 0x14000a21d
cmp ecx, 0x7b
je 0x14000a21d
cmp ecx, 0x7d
jne 0x14000a1ad
test dword [rbx + 0x80], 0x10000000
je 0x14000a1f9
cmp ecx, 0x5d
jne 0x14000a1be
test dword [rbx + 0x80], 0x10000000
je 0x14000a20b
movzx edx, word [rbx + 0x78]
lea rcx, [rbx + 0x40]
call fcn.14000ab68
mov rcx, rbx
call fcn.14000a47c
test dil, dil
je 0x14000a1e0
mov rcx, rbx
call fcn.14000a244
mov al, 1
jmp 0x14000a053
mov ecx, 5
call qword [sym.imp.msvcp_win.dll_void___cdecl_std::_Xregex_error_enum_std::regex_constants::error_type_]
nop dword [rax + rax]
int3
mov ecx, 6
call qword [sym.imp.msvcp_win.dll_void___cdecl_std::_Xregex_error_enum_std::regex_constants::error_type_]
nop dword [rax + rax]
int3
mov ecx, 4
call qword [sym.imp.msvcp_win.dll_void___cdecl_std::_Xregex_error_enum_std::regex_constants::error_type_]
nop dword [rax + rax]
int3
mov ecx, 0xa
call qword [sym.imp.msvcp_win.dll_void___cdecl_std::_Xregex_error_enum_std::regex_constants::error_type_]
nop dword [rax + rax]
int3
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret

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

Disassembly:
xor r9d, r9d
movabs rcx, 0xcbf29ce484222325
test r8, r8
je 0x14000b588
movzx eax, byte [r9 + rdx]
movabs r10, 0x100000001b3
xor rcx, rax
inc r9
imul rcx, r10
cmp r9, r8
jb 0x14000b56a
mov rax, rcx
ret
Function at 0x14000cb18
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 0x14000cb32
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
js 0x14000cb69
mov rdx, qword [rsp + 0x38]
mov rcx, rbx
call fcn.140007b20
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ole32.dll_CoTaskMemFree]
nop dword [rax + rax]
xor eax, eax
add rsp, 0x20
pop rbx
ret

Function at 0x14000cb78
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 0x14000cb85
mov rax, rcx
ret
Function at 0x14000ce98
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
push rbp
push r12
push r13
push r14
push r15
mov rbp, rsp
sub rsp, 0x80
mov r13, qword [rbp + 0x50]
lea rax, [rbp + 0x60]
mov r12, qword [rbp + 0x58]
xor r15d, r15d
mov r14, r9
mov qword [r11 - 0x70], rax
mov rsi, r8
mov qword [rbp + 0x50], r15
mov rdi, rcx
mov byte [r13], 1
lea rax, [rbp + 0x68]
mov dword [r12], r15d
lea r9d, [r15 + 2]
mov dword [rbp + 0x68], r15d
mov r8, r14
mov dword [rbp + 0x60], r15d
lea rcx, [rbp + 0x50]
mov qword [r11 - 0x78], rax
mov rbx, rdx
call fcn.14000d11c
mov dword [r12], eax
test eax, eax
je 0x14000cf27
mov rdx, rsi
mov rcx, rdi
call fcn.140008740
lea rcx, [rbp + 0x50]
call fcn.14000dedc
jmp 0x14000d076
mov r15d, dword [rbp + 0x60]
lea rcx, [rbp - 0x20]
mov edx, r15d
call fcn.14000d0a4
cmp qword [rbx + 0x18], 8
mov r8, rbx
jb 0x14000cf44
mov r8, qword [rbx]
mov rcx, qword [rbp + 0x50]
lea rax, [rbp + 0x68]
mov qword [rsp + 0x30], rax
xor edx, edx
mov rax, qword [rbp - 0x20]
mov qword [rsp + 0x28], rax
and qword [rsp + 0x20], 0
lea r9d, [rdx + 2]
call qword [sym.imp.ADVAPI32.dll_RegGetValueW]
nop dword [rax + rax]
mov dword [r12], eax
test eax, eax
je 0x14000d01c
call fcn.140008bdc
cmp dword [rax], 4
jbe 0x14000d003
cmp qword [rsi + 0x18], 8
mov rcx, rsi
jb 0x14000cf95
mov rcx, qword [rsi]
cmp qword [r14 + 0x18], 8
mov qword [rbp + 0x58], rcx
mov ecx, dword [r12]
mov dword [rbp + 0x60], ecx
jb 0x14000cfaa
mov r14, qword [r14]
cmp qword [rbx + 0x18], 8
mov qword [rbp + 0x70], r14
jb 0x14000cfb8
mov rbx, qword [rbx]
lea rcx, str.Failed_to_read_registry_value._Return_default_value
mov qword [rbp - 0x30], rbx
mov qword [rbp - 0x28], rcx
lea rdx, [0x14002ebc4]
lea rcx, [rbp + 0x58]
mov qword [rsp + 0x40], rcx
lea rcx, [rbp + 0x60]
mov qword [rsp + 0x38], rcx
lea rcx, [rbp + 0x70]
mov qword [rsp + 0x30], rcx
lea rcx, [rbp - 0x30]
mov qword [rsp + 0x28], rcx
lea rcx, [rbp - 0x28]
mov qword [rsp + 0x20], rcx
mov rcx, rax
call fcn.140001f38
mov rdx, rsi
mov rcx, rdi
call fcn.140008740
lea rcx, [rbp - 0x20]
call fcn.14000de30
jmp 0x14000cf19
mov rax, qword [rbp - 0x20]
lea ecx, [r15 - 1]
xor ebx, ebx
mov byte [r13], bl
mov word [rax + rcx*2], bx
mov rcx, rdi
mov rdx, qword [rbp - 0x20]
call fcn.140007470
mov rcx, qword [rbp - 0x20]
test rcx, rcx
je 0x14000d061
mov rdx, qword [rbp - 0x10]
sub rdx, rcx
sar rdx, 1
add rdx, rdx
call fcn.140007de0
xorps xmm0, xmm0
mov qword [rbp - 0x10], rbx
movdqu xmmword [rbp - 0x20], xmm0
mov rcx, qword [rbp + 0x50]
test rcx, rcx
je 0x14000d076
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop dword [rax + rax]
lea r11, [rsp + 0x80]
mov rax, rdi
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