joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400074b0
Capabilities:
Set environment variable

Disassembly:
push r15
push r14
push r13
push r12
push rbx
sub rsp, 0x70
mov rbx, rdx
mov r14, r8
mov r15, rcx
call fcn.1400265d0
lea rdx, str.environ
mov rcx, rax
call qword [sym.imp.python37.dll_PyObject_GetAttrString]
mov rcx, rbx
mov r12, rax
call qword [sym.imp.python37.dll_PyUnicode_FromString]
mov r13, rax
test r14, r14
je 0x14000757d
mov rdx, r14
mov rcx, rbx
call fcn.140007360
mov rcx, r14
mov rdx, 0xffffffffffffffff
call sub.python37.dll_PyUnicode_FromWideChar
mov rdx, r13
mov rcx, r12
mov r14, rax
mov r8, rax
call qword [sym.imp.python37.dll_PyObject_SetItem]
test eax, eax
jne 0x1400075c6
sub qword [r14], 1
je 0x140007571
sub qword [r13], 1
je 0x140007565
sub qword [r12], 1
je 0x140007549
add rsp, 0x70
pop rbx
pop r12
pop r13
pop r14
pop r15
ret
mov rax, qword [r12 + 8]
mov rcx, r12
mov rax, qword [rax + 0x30]
add rsp, 0x70
pop rbx
pop r12
pop r13
pop r14
pop r15
jmp rax
mov rax, qword [r13 + 8]
mov rcx, r13
call qword [rax + 0x30]
jmp 0x140007534
mov rax, qword [r14 + 8]
mov rcx, r14
call qword [rax + 0x30]
jmp 0x14000752d
lea r14, [rsp + 0x20]
mov r8d, 0x28
mov rdx, rbx
mov word [rsp + 0x20], 0
mov rcx, r14
call fcn.14002c1f0
xor edx, edx
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
mov rdx, r13
mov rcx, r12
call qword [sym.imp.python37.dll_PyObject_DelItem]
test eax, eax
je 0x14000752d
mov rcx, r15
call fcn.1400071d0
jmp 0x14000752d
mov ecx, 1
call qword [sym.imp.python37.dll_PyErr_PrintEx]
mov ecx, 1
call qword [sym.imp.python37.dll_Py_Exit]
nop
nop dword [rax]
Function at 0x140090e60
Capabilities:
Encode data using xor
Extract resource via kernel32 functions
Hash data with crc32

Disassembly:
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x28
cmp byte [0x1400c5959], 0
mov r12, rcx
mov r13, rdx
mov rdi, r8
je 0x140090ee8
lea rdx, [0x1400b2762]
mov rcx, rdi
call sub.msvcrt.dll_strcmp
test eax, eax
jne 0x140091000
mov rsi, qword [0x1400c5818]
jmp 0x140090ea5
lea rsi, [rdx + rax + 4]
mov rdx, rsi
mov rcx, rdi
call sub.msvcrt.dll_strcmp
mov rcx, rsi
mov ebx, eax
call sub.msvcrt.dll_strlen
lea rdx, [rsi + rax + 1]
mov eax, dword [rdx]
test ebx, ebx
jne 0x140090ea0
movzx r9d, word [rdx + 4]
lea r8, [rdx + 6]
mov rcx, r12
mov rdx, r13
add rsp, 0x28
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
jmp fcn.14007e460
mov r8d, 0xa
mov edx, 3
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 [0x1400c5818], rax
mov rdx, rax
mov r9d, dword [rax]
lea rax, [rax + 4]
mov qword [0x1400c5818], rax
mov eax, dword [rdx + 4]
lea rcx, [rdx + 8]
mov qword [0x1400c5818], rcx
test eax, eax
je 0x140090fe8
sub eax, 1
lea r8, [rdx + rax + 9]
mov eax, 0xffffffff
nop word [rax + rax]
movzx edx, byte [rcx]
xor edx, eax
mov eax, edx
and edx, 1
neg edx
shr eax, 1
and edx, 0xedb88320
xor eax, edx
mov edx, eax
and eax, 1
neg eax
shr edx, 1
and eax, 0xedb88320
xor edx, eax
mov eax, edx
and edx, 1
neg edx
shr eax, 1
and edx, 0xedb88320
xor eax, edx
mov edx, eax
and eax, 1
neg eax
shr edx, 1
and eax, 0xedb88320
xor edx, eax
mov eax, edx
and edx, 1
neg edx
shr eax, 1
and edx, 0xedb88320
xor eax, edx
mov edx, eax
and eax, 1
neg eax
shr edx, 1
and eax, 0xedb88320
xor edx, eax
mov eax, edx
shr eax, 1
and edx, 1
add rcx, 1
neg edx
and edx, 0xedb88320
xor eax, edx
mov edx, eax
and eax, 1
neg eax
shr edx, 1
and eax, 0xedb88320
xor eax, edx
cmp r8, rcx
jne 0x140090f50
not eax
cmp r9d, eax
jne 0x140091099
mov byte [0x1400c5959], 1
jmp 0x140090e7e
cmp byte [0x1400c5958], 0
jne 0x140090e95
mov rbx, qword [sym.imp.python37.dll_PyDict_New]
lea rsi, [0x1400c5008]
call rbx
mov qword [0x1400c6288], rax
call rbx
mov qword [0x1400c6280], rax
call rbx
mov qword [0x1400c6278], rax
call rbx
mov qword [0x1400c6270], rax
call rbx
mov qword [0x1400c6268], rax
call rbx
mov qword [0x1400c6260], rax
call rbx
mov qword [0x1400c6258], rax
call rbx
mov rbp, qword [sym.imp.python37.dll_PyLong_FromLong]
mov rbx, 0xfffffffffffffffb
mov qword [0x1400c6250], rax
nop dword [rax]
mov ecx, ebx
call rbp
mov qword [rsi + rbx*8], rax
add rbx, 1
cmp rbx, 0x101
jne 0x140091078
mov byte [0x1400c5958], 1
jmp 0x140090e95
lea rcx, str.Error__corrupted_constants_object
call sub.msvcrt.dll_puts
call sub.msvcrt.dll_abort
nop
nop dword [rax + rax]
Function at 0x1400932c0
Capabilities:
Write file on windows

Disassembly:
push rbp
push rbx
sub rsp, 0x38
lea rbp, [rsp + 0x30]
mov qword [rbp + 0x20], rcx
mov qword [rbp + 0x28], rdx
mov qword [rbp + 0x30], r8
mov qword [rbp + 0x38], r9
lea rax, [rbp + 0x28]
mov qword [rbp - 8], rax
mov ecx, 2
call fcn.1400a4580
mov r9, rax
mov r8d, 0x1b
mov edx, 1
lea rax, str.Mingw_w64_runtime_failure:_n
mov rcx, rax
call sub.msvcrt.dll_fwrite
mov rbx, qword [rbp - 8]
mov ecx, 2
call fcn.1400a4580
mov r8, rbx
mov rdx, qword [rbp + 0x20]
mov rcx, rax
call sub.msvcrt.dll_vfprintf
call sub.msvcrt.dll_abort
nop

Function at 0x140093f72
Capabilities:
Get thread local storage value

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x30
mov eax, dword [0x1400c66e8]
test eax, eax
je 0x14009400a
lea rax, [0x1400c66c0]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
call rax
mov rax, qword [0x1400c66f0]
mov qword [rbp - 8], rax
jmp 0x140093fee
mov rax, qword [rbp - 8]
mov eax, dword [rax]
mov ecx, eax
mov rax, qword [sym.imp.KERNEL32.dll_TlsGetValue]
call rax
mov qword [rbp - 0x10], rax
mov rax, qword [sym.imp.KERNEL32.dll_GetLastError]
call rax
test eax, eax
jne 0x140093fe2
cmp qword [rbp - 0x10], 0
je 0x140093fe2
mov rax, qword [rbp - 8]
mov rdx, qword [rax + 8]
mov rax, qword [rbp - 0x10]
mov rcx, rax
call rdx
mov rax, qword [rbp - 8]
mov rax, qword [rax + 0x10]
mov qword [rbp - 8], rax
cmp qword [rbp - 8], 0
jne 0x140093fa8
lea rax, [0x1400c66c0]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
call rax
jmp 0x14009400b
nop
add rsp, 0x30
pop rbp
ret

Function at 0x140094110
Capabilities:
Parse pe header

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x20
mov qword [rbp + 0x10], rcx
mov rax, qword [rbp + 0x10]
mov qword [rbp - 8], rax
mov rax, qword [rbp - 8]
movzx eax, word [rax]
cmp ax, 0x5a4d
je 0x140094138
mov eax, 0
jmp 0x140094186
mov rax, qword [rbp - 8]
mov eax, dword [rax + 0x3c]
movsxd rdx, eax
mov rax, qword [rbp - 8]
add rax, rdx
mov qword [rbp - 0x10], rax
mov rax, qword [rbp - 0x10]
mov eax, dword [rax]
cmp eax, 0x4550
je 0x140094161
mov eax, 0
jmp 0x140094186
mov rax, qword [rbp - 0x10]
add rax, 0x18
mov qword [rbp - 0x18], rax
mov rax, qword [rbp - 0x18]
movzx eax, word [rax]
cmp ax, 0x20b
je 0x140094181
mov eax, 0
jmp 0x140094186
mov eax, 1
add rsp, 0x20
pop rbp
ret
Function at 0x14009418c
Capabilities:
Enumerate pe sections

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x20
mov qword [rbp + 0x10], rcx
mov qword [rbp + 0x18], rdx
mov rax, qword [rbp + 0x10]
mov eax, dword [rax + 0x3c]
movsxd rdx, eax
mov rax, qword [rbp + 0x10]
add rax, rdx
mov qword [rbp - 0x18], rax
mov dword [rbp - 0xc], 0
mov rax, qword [rbp - 0x18]
movzx eax, word [rax + 0x14]
movzx edx, ax
mov rax, qword [rbp - 0x18]
add rax, rdx
add rax, 0x18
mov qword [rbp - 8], rax
jmp 0x14009420a
mov rax, qword [rbp - 8]
mov eax, dword [rax + 0xc]
mov eax, eax
cmp qword [rbp + 0x18], rax
jb 0x140094201
mov rax, qword [rbp - 8]
mov edx, dword [rax + 0xc]
mov rax, qword [rbp - 8]
mov eax, dword [rax + 8]
add eax, edx
mov eax, eax
cmp qword [rbp + 0x18], rax
jae 0x140094201
mov rax, qword [rbp - 8]
jmp 0x14009421f
add dword [rbp - 0xc], 1
add qword [rbp - 8], 0x28
mov rax, qword [rbp - 0x18]
movzx eax, word [rax + 6]
movzx eax, ax
cmp dword [rbp - 0xc], eax
jb 0x1400941d4
mov eax, 0
add rsp, 0x20
pop rbp
ret
Function at 0x14002e0b8
Capabilities:
Hash data using fnv

Disassembly:
sub rsp, 0x28
movabs rax, 0xcbf29ce484222325
xor r9d, r9d
movabs r10, 0x100000001b3
cmp r8, r9
je 0x14002e0ee
cmp rdx, r9
je 0x14002e0f3
movzx r11d, byte [rcx + r9]
xor rax, r11
imul rax, r10
inc r9
jmp 0x14002e0d3
add rsp, 0x28
ret
cmp r8, rdx
cmovae r8, rdx
mov rcx, r8
call fcn.140032190
ud2
Function at 0x140642058
Capabilities:
Decompress data using aplib

Disassembly:
call 0x1406421df
push r10
mov r10, rsp
push r10
mov rsi, qword [r10 + 0x10]
mov rdi, qword [r10 + 0x20]
cld
mov dl, 0x80
mov al, byte [rsi]
inc rsi
mov byte [rdi], al
inc rdi
mov ebx, 2
add dl, dl
jne 0x140642089
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x14064206f
add dl, dl
jne 0x140642096
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1406420f6
xor eax, eax
add dl, dl
jne 0x1406420a5
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1406421ad
add dl, dl
jne 0x1406420b6
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1406420c3
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1406420d0
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1406420dd
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
je 0x1406420ea
push rdi
mov eax, eax
sub rdi, rax
mov al, byte [rdi]
pop rdi
mov byte [rdi], al
inc rdi
mov ebx, 2
jmp 0x14064207e
mov eax, 1
add dl, dl
jne 0x140642106
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x140642113
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x1406420fb
sub eax, ebx
mov ebx, 1
jne 0x14064214c
mov ecx, 1
add dl, dl
jne 0x14064212e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x14064213b
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x140642123
push rsi
mov rsi, rdi
sub rsi, rbp
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x14064207e
dec eax
shl eax, 8
mov al, byte [rsi]
inc rsi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x140642168
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x140642175
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x14064215d
cmp eax, 0x7d00
jae 0x14064219b
cmp eax, 0x500
jb 0x140642196
inc ecx
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x14064207e
cmp eax, 0x7f
ja 0x14064219e
add ecx, 2
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x14064207e
mov al, byte [rsi]
inc rsi
xor ecx, ecx
shr al, 1
je 0x1406421d2
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 0x14064207e
pop r10
sub rdi, qword [r10 + 0x20]
mov eax, edi
pop r10
ret 0x20
Function at 0x1802a4d02
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov qword [rsp + 8], rbx
test rbx, r9
mov qword [rsp + 0x10], rdi
btc r11, 0xb9
mov r10b, r12b
movzx bx, r15b
sub edi, edi
bswap r10
mov r11b, r8b
movzx ebx, r8b
mov r10b, spl
mov r11, rcx
movsx r8w, bl
mov r8, rdi
jmp 0x1802a4d3e
nop
movzx r9d, byte [r11]
mov r10, rsp
bswap r10
movzx r10d, byte [rdx]
jmp 0x1802a4d52
inc r11
jmp 0x1802a4d5a
inc rdx
test rbx, r13
stc
test bl, bl
je 0x1802a4d90
mov ecx, r8d
movzx rax, bx
ror al, cl
rcr al, cl
mov eax, 0x734d697e
rol eax, cl
jmp 0x1802a4d80
add al, r8b
xor r9b, al
inc r8
cmp bl, dil
test r8b, 0x70
test r9b, r9b
jmp 0x1802a4d98
je 0x1802a4dac
cmp r9b, r10b
jmp 0x1802a4da6
je 0x1802a4d3f
cmp r9b, r10b
jmp 0x1802a4db4
jae 0x1802a4dd2
or eax, 0xffffffff
movsxd rdi, esi
mov rbx, qword [rsp + 8]
mov dil, spl
movsx di, cl
mov rdi, qword [rsp + 0x10]
ret
mov rbx, qword [rsp + 8]
cbw
seta dil
cdqe
movzx eax, cx
mov eax, edi
movsx edi, r9w
movzx rdi, r14w
mov rdi, qword [rsp + 0x10]
jmp 0x1802a4df6
ret
Function at 0x140027d34
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.14001bc0c
xor edx, edx
mov ecx, r14d
mov r12, rax
lea r8d, [rdx + 2]
call fcn.14001bc0c
mov rbp, rbx
sub rbp, rax
cmp r12, 0xffffffffffffffff
je 0x140027e84
cmp rax, 0xffffffffffffffff
je 0x140027e84
xor edi, edi
test rbp, rbp
jle 0x140027e2f
lea edx, [rdi + 1]
mov ecx, 0x1000
call fcn.14001e248
mov rbx, rax
test rax, rax
jne 0x140027dbc
lea edi, [rax + 0xc]
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], edi
jmp 0x140027e25
mov edx, 0x8000
mov ecx, r14d
call fcn.1400156f0
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.14001c90c
cmp eax, 0xffffffff
je 0x140027e05
cdqe
sub rbp, rax
test rbp, rbp
jg 0x140027dcc
mov edx, r15d
mov ecx, r14d
call fcn.1400156f0
jmp 0x140027e25
cmp byte [rsi + 0x38], dil
je 0x140027e1c
cmp dword [rsi + 0x34], 5
jne 0x140027e1c
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], 0xd
cmp byte [rsi + 0x30], dil
je 0x140027e25
mov edi, dword [rsi + 0x2c]
mov rcx, rbx
call fcn.14001a2b8
jmp 0x140027e98
jns 0x140027e98
xor r8d, r8d
mov rdx, rbx
mov ecx, r14d
call fcn.14001bc0c
cmp rax, 0xffffffffffffffff
jne 0x140027e50
cmp byte [rsi + 0x30], dil
je 0x140027e98
mov edi, dword [rsi + 0x2c]
jmp 0x140027e98
mov ecx, r14d
call fcn.140016ddc
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x140027e98
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 0x140027e98
xor edi, edi
cmp byte [rsi + 0x30], dil
je 0x140027e91
mov eax, dword [rsi + 0x2c]
jmp 0x140027e96
mov eax, 0x16
mov edi, eax
xor r8d, r8d
mov rdx, r12
mov ecx, r14d
call fcn.14001bc0c
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 0x1409794b7
Capabilities:
Encode data using xor

Disassembly:
call fcn.140978947
add r11, 0xc
push 0xfffffffff7031aa6
xor eax, eax
test rsi, rsi
lea rsp, [rsp + 0x10]
je 0x14097aabe
mov r10d, 0xf3ad381a
shl r10w, 0x28
push r9
bswap r10
lea r10, [0x14097bce0]
mov r9d, 0xb9b8e14
bswap r9d
add r9, 0xffffffff8f05c70b
movzx r9d, byte [rdx + r9 + 0x5c6b9dea]
xor r9d, eax
push 0x64236694
not byte [rsp + 2]
and r9d, 0xff
and qword [rsp], 0x26aeb388
push 0x1e04f704
mov r9d, dword [r10 + r9*4]
shr eax, 8
sal word [rsp + 9], 0x64
xor eax, r9d
inc rdx
xor eax, 0x4215104
ror byte [rsp + 0xc], 0xa3
dec rsi
lea rsp, [rsp + 0x10]
jne 0x140979437
mov r9d, 0x63186b9f
call fcn.14097aaba
mov qword [rsp], 0x3b1e8a17
mov rdx, qword [r11]
mov rsi, qword [r11 + 8]
jmp 0x140979404
jmp 0x140972e3f
Function at 0x140006228
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 0x140006253
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.140006300
mov ecx, esi
call fcn.14000ef6c
mov qword [rdi], rax
mov dword [rsp + 0x30], 1
cmp qword [rbx + 0x18], 8
jb 0x1400062aa
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.140006338
mov rax, rdi
mov rbx, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
add rsp, 0x40
pop rdi
ret

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

Disassembly:
xor r9d, r9d
movabs rcx, 0xcbf29ce484222325
test r8, r8
je 0x14000775c
movzx eax, byte [r9 + rdx]
movabs r10, 0x100000001b3
xor rcx, rax
inc r9
imul rcx, r10
cmp r9, r8
jb 0x14000773e
mov rax, rcx
ret
Function at 0x140009374
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 0x14000955f
cmp ecx, 0x7c
je 0x14000955f
cmp ecx, 0x29
jne 0x1400093ba
cmp dword [rbx + 0x1c], 0
jne 0x14000955f
test dword [rbx + 0x80], 0x10000000
je 0x140009517
cmp ecx, 0x2e
jne 0x1400093da
lea rcx, [rbx + 0x40]
mov edx, 5
call fcn.14000a040
mov rcx, rbx
call fcn.1400097ac
jmp 0x140009508
cmp ecx, 0x5c
jne 0x14000943e
mov rcx, rbx
call fcn.1400097ac
test byte [rbx + 0x80], 0x80
je 0x140009431
cmp word [rbx + 0x78], 0x62
jne 0x140009412
mov edx, 4
lea rcx, [rbx + 0x40]
call fcn.14000a040
mov rcx, rbx
call fcn.1400097ac
jmp 0x140009510
cmp word [rbx + 0x78], 0x42
jne 0x140009431
lea rcx, [rbx + 0x40]
mov edx, 4
call fcn.14000a040
mov rax, qword [rbx + 0x48]
xor dword [rax + 0xc], 1
jmp 0x140009405
mov rcx, rbx
call fcn.140009680
jmp 0x140009508
cmp ecx, 0x5b
jne 0x140009469
mov rcx, rbx
call fcn.1400097ac
mov rcx, rbx
call fcn.14000d074
mov edx, 0x5d
mov rcx, rbx
lea r8d, [rdx - 0x59]
call fcn.14000d5fc
jmp 0x140009508
cmp ecx, 0x28
jne 0x140009494
mov rcx, rbx
call fcn.1400097ac
mov rcx, rbx
call fcn.140016e44
mov edx, 0x29
mov rcx, rbx
mov dil, al
lea r8d, [rdx - 0x24]
call fcn.14000d5fc
jmp 0x140009503
cmp ecx, 0x5e
jne 0x1400094a1
lea edx, [rcx - 0x5c]
jmp 0x1400093fc
cmp ecx, 0x24
jne 0x1400094ae
lea edx, [rcx - 0x21]
jmp 0x1400093fc
cmp ecx, 0x3f
je 0x14000954d
lea eax, [rcx - 0x2a]
cmp eax, 1
jbe 0x14000954d
cmp ecx, 0x7b
je 0x14000954d
cmp ecx, 0x7d
jne 0x1400094dd
test dword [rbx + 0x80], 0x10000000
je 0x140009529
cmp ecx, 0x5d
jne 0x1400094ee
test dword [rbx + 0x80], 0x10000000
je 0x14000953b
movzx edx, word [rbx + 0x78]
lea rcx, [rbx + 0x40]
call fcn.140009e98
mov rcx, rbx
call fcn.1400097ac
test dil, dil
je 0x140009510
mov rcx, rbx
call fcn.140009574
mov al, 1
jmp 0x140009383
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 0x14000b528
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 0x14000b542
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 0x14000b579
mov rdx, qword [rsp + 0x38]
mov rcx, rbx
call fcn.140007040
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 0x14000b588
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 0x14000b595
mov rax, rcx
ret

Function at 0x14000b8a8
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.14000bb2c
mov dword [r12], eax
test eax, eax
je 0x14000b937
mov rdx, rsi
mov rcx, rdi
call fcn.140007960
lea rcx, [rbp + 0x50]
call fcn.14000c89c
jmp 0x14000ba86
mov r15d, dword [rbp + 0x60]
lea rcx, [rbp - 0x20]
mov edx, r15d
call fcn.14000bab4
cmp qword [rbx + 0x18], 8
mov r8, rbx
jb 0x14000b954
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 0x14000ba2c
call fcn.140007b40
cmp dword [rax], 4
jbe 0x14000ba13
cmp qword [rsi + 0x18], 8
mov rcx, rsi
jb 0x14000b9a5
mov rcx, qword [rsi]
cmp qword [r14 + 0x18], 8
mov qword [rbp + 0x58], rcx
mov ecx, dword [r12]
mov dword [rbp + 0x60], ecx
jb 0x14000b9ba
mov r14, qword [r14]
cmp qword [rbx + 0x18], 8
mov qword [rbp + 0x70], r14
jb 0x14000b9c8
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, [0x140022eb7]
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.140001d10
mov rdx, rsi
mov rcx, rdi
call fcn.140007960
lea rcx, [rbp - 0x20]
call fcn.14000c7f0
jmp 0x14000b929
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.140006d00
mov rcx, qword [rbp - 0x20]
test rcx, rcx
je 0x14000ba71
mov rdx, qword [rbp - 0x10]
sub rdx, rcx
sar rdx, 1
add rdx, rdx
call fcn.140007300
xorps xmm0, xmm0
mov qword [rbp - 0x10], rbx
movdqu xmmword [rbp - 0x20], xmm0
mov rcx, qword [rbp + 0x50]
test rcx, rcx
je 0x14000ba86
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