joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140003c40
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x30
lea rbp, [rcx + 2]
mov qword [rsp + 0x20], 4
mov qword [rsp + 0x18], rbp
nop word [rax + rax]
movzx r9d, byte [rbp - 1]
movzx edx, byte [rbp - 2]
movzx ebx, r9b
movzx r8d, byte [rbp]
movzx eax, dl
shr al, 7
movzx r10d, r8b
movzx eax, al
add r10b, r10b
imul eax, eax, 0x1b
add bl, bl
movzx ecx, byte [rbp + 1]
mov byte [rsp], dl
add dl, dl
mov byte [rsp + 0x80], r9b
mov byte [rsp + 0x88], r8b
xor dl, al
mov dword [rsp + 8], eax
movzx eax, dl
movzx esi, dl
shr al, 7
add sil, sil
movzx eax, al
imul eax, eax, 0x1b
xor sil, al
mov dword [rsp + 4], eax
movzx eax, r9b
shr al, 7
movzx eax, al
imul r14d, eax, 0x1b
xor bl, r14b
movzx eax, bl
movzx r9d, bl
shr al, 7
add r9b, r9b
movzx eax, al
imul eax, eax, 0x1b
xor r9b, al
mov dword [rsp + 0xc], eax
movzx eax, r8b
shr al, 7
movzx eax, al
imul r12d, eax, 0x1b
xor r10b, r12b
movzx eax, r10b
movzx r8d, r10b
shr al, 7
xor r10b, dl
movzx eax, al
add r8b, r8b
imul ebp, eax, 0x1b
movzx eax, cl
shr al, 7
add cl, cl
movzx eax, al
imul r13d, eax, 0x1b
xor r8b, bpl
xor cl, r13b
mov dword [rsp + 0x10], r13d
movzx eax, cl
shr al, 7
movzx eax, al
imul r15d, eax, 0x1b
movzx eax, cl
add al, al
xor al, r15b
xor r10b, al
mov byte [rsp + 0x78], al
shr al, 7
xor r10b, r8b
movzx eax, al
xor r10b, r9b
imul edi, eax, 0x1b
xor r10b, sil
movzx eax, r8b
mov byte [rsp + 1], r10b
shr al, 7
movzx eax, al
imul r11d, eax, 0x1b
movzx eax, r9b
shr al, 7
movzx eax, al
imul r10d, eax, 0x1b
movzx eax, sil
xor byte [rsp + 0x78], cl
shr al, 7
movzx eax, al
imul edx, eax, 0x1b
mov r13, qword [rsp + 0x18]
movzx eax, byte [rsp + 1]
xor al, byte [rsp + 0x80]
xor al, byte [rsp]
add al, al
movzx ecx, byte [rsp + 0x78]
xor al, dl
xor cl, r8b
xor al, r10b
mov r8d, dword [rsp + 0xc]
xor al, r11b
xor cl, r9b
xor al, dil
movzx r9d, byte [r13 + 1]
xor al, bpl
xor cl, bl
xor al, r14b
movzx ebx, byte [rsp + 0x88]
xor al, byte [rsp + 4]
xor cl, sil
xor al, byte [rsp + 8]
xor al, byte [r13 + 1]
xor al, byte [rsp + 0x88]
xor al, byte [rsp + 0x80]
movzx esi, byte [rsp + 0x80]
mov byte [r13 - 2], al
movzx eax, cl
xor al, bl
xor cl, r9b
xor al, sil
add al, al
xor al, dl
xor al, r10b
xor al, r11b
xor al, dil
xor al, r15b
xor al, r12b
xor al, r8b
xor al, r14b
mov r14, r13
movzx r14d, byte [rsp]
xor al, r9b
xor al, bl
xor cl, r14b
xor al, r14b
add cl, cl
mov byte [r13 - 1], al
xor cl, dl
mov r13d, dword [rsp + 0x10]
xor cl, r10b
movzx eax, byte [rsp + 1]
xor cl, r11b
xor al, r9b
xor cl, dil
xor al, bl
xor cl, r15b
add al, al
xor cl, r13b
xor al, dl
xor cl, r8b
xor cl, byte [rsp + 8]
xor al, r10b
xor al, r11b
xor al, dil
xor al, r13b
xor al, bpl
mov rbp, qword [rsp + 0x18]
xor al, r12b
xor al, byte [rsp + 4]
xor al, r9b
xor al, sil
xor al, r14b
mov byte [rbp], al
xor cl, bl
xor cl, sil
xor cl, r14b
mov byte [rbp + 1], cl
add rbp, 4
sub qword [rsp + 0x20], 1
mov qword [rsp + 0x18], rbp
jne 0x140003c70
mov rbx, qword [rsp + 0x70]
add rsp, 0x30
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
Function at 0x140003ed0
Capabilities:
Encode data using xor
Encrypt data using aes
Reference aes constants

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov r10, rdx
mov rsi, rdx
sub r10, rcx
mov rbx, rcx
mov r8, rcx
mov r11d, 4
nop dword [rax]
mov r9d, 4
nop word [rax + rax]
movzx eax, byte [r8 + r10 + 0xe0]
xor byte [r8], al
inc r8
sub r9, 1
jne 0x140003f10
sub r11, 1
jne 0x140003f00
mov dil, 0xd
lea rbp, [0x140006bb0]
movzx eax, byte [rbx + 9]
mov r8, rbx
movzx ecx, byte [rbx + 0xd]
mov r9d, 4
mov byte [rbx + 0xd], al
movzx eax, byte [rbx + 5]
mov byte [rbx + 9], al
movzx eax, byte [rbx + 1]
mov byte [rbx + 5], al
movzx eax, byte [rbx + 0xa]
mov byte [rbx + 1], cl
movzx ecx, byte [rbx + 2]
mov byte [rbx + 2], al
movzx eax, byte [rbx + 0xe]
mov byte [rbx + 0xa], cl
movzx ecx, byte [rbx + 6]
mov byte [rbx + 6], al
movzx eax, byte [rbx + 7]
mov byte [rbx + 0xe], cl
movzx ecx, byte [rbx + 3]
mov byte [rbx + 3], al
movzx eax, byte [rbx + 0xb]
mov byte [rbx + 7], al
movzx eax, byte [rbx + 0xf]
mov byte [rbx + 0xb], al
mov byte [rbx + 0xf], cl
nop dword [rax]
nop word [rax + rax]
mov rcx, r8
mov edx, 4
nop dword [rax + rax]
movzx eax, byte [rcx]
lea rcx, [rcx + 4]
movzx eax, byte [rax + rbp]
mov byte [rcx - 4], al
sub rdx, 1
jne 0x140003fb0
inc r8
sub r9, 1
jne 0x140003fa0
movzx r8d, dil
lea r9d, [rdx + 4]
shl r8, 4
mov rax, rbx
sub r8, rbx
add r8, rsi
nop dword [rax]
nop word [rax + rax]
mov edx, 4
nop word [rax + rax]
movzx ecx, byte [rax + r8]
xor byte [rax], cl
inc rax
sub rdx, 1
jne 0x140004000
sub r9, 1
jne 0x140003ff0
test dil, dil
je 0x14000402c
mov rcx, rbx
call fcn.140003c40
add dil, 0xff
jmp 0x140003f35
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret

Function at 0x140004a20
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x140004a6a
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x140004a6a
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x140004a6a
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x140004a6a
cmp dword [rcx + 0x84], 0xe
jbe 0x140004a6a
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x140004a6c
xor al, al
add rsp, 0x28
ret
Function at 0x140001f10
Capabilities:
Write file on windows

Disassembly:
push rbx
push rdi
push r15
sub rsp, 0x20
cmp qword [rcx + 0x68], 0
mov rbx, r8
mov r15, rdx
mov rdi, rcx
je 0x140001f38
add rsp, 0x20
pop r15
pop rdi
pop rbx
jmp qword [sym.imp.MSVCP140.dll_protected_virtual:_long_long___int64____cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::xsputn_char_const____ptr64__long_long___int64_____ptr64]
mov rax, qword [rcx + 0x40]
mov qword [rsp + 0x40], rbp
mov qword [rsp + 0x48], rsi
mov rsi, rbx
mov qword [rsp + 0x58], r14
mov r9, qword [rax]
test r9, r9
je 0x140001f5e
mov rax, qword [rcx + 0x58]
mov ecx, dword [rax]
jmp 0x140001f60
xor ecx, ecx
movsxd rbp, ecx
test rbx, rbx
jle 0x140001fb9
test ecx, ecx
jle 0x140001f99
cmp rbx, rbp
mov rcx, r9
cmovl rbp, rbx
mov r8, rbp
call sub.VCRUNTIME140.dll_memcpy
mov rax, qword [rdi + 0x58]
add r15, rbp
sub rbx, rbp
sub dword [rax], ebp
mov rcx, qword [rdi + 0x40]
movsxd rax, ebp
add qword [rcx], rax
test rbx, rbx
jle 0x140001fb9
mov r9, qword [rdi + 0x80]
test r9, r9
je 0x140001fb9
mov r8, rbx
mov edx, 1
mov rcx, r15
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
sub rbx, rax
mov r14, qword [rsp + 0x58]
sub rsi, rbx
mov rbp, qword [rsp + 0x40]
mov rax, rsi
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop r15
pop rdi
pop rbx
ret

Function at 0x140001fe0
Capabilities:
Read file on windows

Disassembly:
push rbp
push rsi
push r14
sub rsp, 0x30
mov rbp, r8
mov r14, rdx
mov rsi, rcx
test r8, r8
jg 0x140002002
xor eax, eax
add rsp, 0x30
pop r14
pop rsi
pop rbp
ret
cmp qword [rcx + 0x68], 0
je 0x140002018
add rsp, 0x30
pop r14
pop rsi
pop rbp
jmp qword [sym.imp.MSVCP140.dll_protected_virtual:_long_long___int64____cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::xsgetn_char____ptr64__long_long___int64_____ptr64]
mov rax, qword [rcx + 0x38]
mov qword [rsp + 0x28], rbx
mov rbx, rbp
mov rdx, qword [rax]
test rdx, rdx
je 0x140002034
mov rax, qword [rcx + 0x50]
mov ecx, dword [rax]
jmp 0x140002036
xor ecx, ecx
movsxd rax, ecx
test ecx, ecx
je 0x140002072
mov qword [rsp + 0x20], rdi
cmp rax, rbp
mov rdi, rbp
mov rcx, r14
cmovb rdi, rax
mov r8, rdi
call sub.VCRUNTIME140.dll_memcpy
mov rax, qword [rsi + 0x50]
add r14, rdi
sub rbx, rdi
sub dword [rax], edi
mov rcx, qword [rsi + 0x38]
movsxd rax, edi
mov rdi, qword [rsp + 0x20]
add qword [rcx], rax
cmp qword [rsi + 0x80], 0
je 0x14000210e
mov r8, qword [rsi + 0x18]
lea rax, [rsi + 0x70]
cmp qword [r8], rax
jne 0x1400020ad
mov rcx, qword [rsi + 0x88]
mov rdx, qword [rsi + 0x90]
mov qword [r8], rcx
sub edx, ecx
mov rax, qword [rsi + 0x38]
mov qword [rax], rcx
mov rax, qword [rsi + 0x50]
mov dword [rax], edx
cmp rbx, 0xfff
jbe 0x1400020ee
nop word [rax + rax]
mov r9, qword [rsi + 0x80]
mov edx, 1
mov r8d, 0xfff
mov rcx, r14
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
add r14, rax
sub rbx, rax
cmp rax, 0xfff
jne 0x14000210e
cmp rbx, rax
ja 0x1400020c0
test rbx, rbx
je 0x14000210e
mov r9, qword [rsi + 0x80]
mov r8, rbx
mov edx, 1
mov rcx, r14
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
sub rbx, rax
sub rbp, rbx
mov rbx, qword [rsp + 0x28]
mov rax, rbp
add rsp, 0x30
pop r14
pop rsi
pop rbp
ret
Function at 0x140002570
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x20], rbx
push rdi
sub rsp, 0x80
mov rax, qword [0x140008040]
xor rax, rsp
mov qword [rsp + 0x78], rax
mov edi, edx
mov rbx, rcx
cmp edx, 0xffffffff
jne 0x14000259d
xor eax, eax
jmp 0x140002709
mov rax, qword [rcx + 0x40]
mov rdx, qword [rax]
test rdx, rdx
je 0x1400025d7
mov rax, qword [rcx + 0x58]
movsxd r8, dword [rax]
lea rcx, [rdx + r8]
cmp rdx, rcx
jae 0x1400025d7
lea ecx, [r8 - 1]
mov dword [rax], ecx
mov eax, edi
mov rdx, qword [rbx + 0x40]
mov r8, qword [rdx]
lea rcx, [r8 + 1]
mov qword [rdx], rcx
mov byte [r8], dil
jmp 0x140002709
cmp qword [rbx + 0x80], 0
mov qword [rsp + 0xa0], rsi
je 0x1400026fc
mov r8, qword [rbx + 0x18]
lea rax, [rbx + 0x70]
cmp qword [r8], rax
jne 0x14000261a
mov rcx, qword [rbx + 0x88]
mov rdx, qword [rbx + 0x90]
mov qword [r8], rcx
sub edx, ecx
mov rax, qword [rbx + 0x38]
mov qword [rax], rcx
mov rax, qword [rbx + 0x50]
mov dword [rax], edx
mov rcx, qword [rbx + 0x68]
test rcx, rcx
jne 0x140002645
mov rdx, qword [rbx + 0x80]
movsx ecx, dil
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fputc]
mov ecx, 0xffffffff
cmp eax, ecx
cmovne ecx, edi
mov eax, ecx
jmp 0x140002701
lea rax, [rsp + 0x40]
mov byte [rsp + 0x50], dil
mov qword [rsp + 0x38], rax
lea rdx, [rbx + 0x74]
lea rax, [rsp + 0x78]
mov qword [rsp + 0x30], rax
lea r9, [rsp + 0x51]
lea rax, [rsp + 0x58]
mov qword [rsp + 0x28], rax
lea r8, [rsp + 0x50]
lea rax, [rsp + 0x48]
mov qword [rsp + 0x20], rax
call qword [sym.imp.MSVCP140.dll_public:_int___cdecl_std::codecvt_char__char__struct__Mbstatet_::out_struct__Mbstatet____ptr64__char_const____ptr64__char_const____ptr64__char_const____ptr64____ptr64__char____ptr64__char____ptr64__char____ptr64____ptr64_const___ptr64]
test eax, eax
je 0x1400026b4
sub eax, 1
je 0x1400026b4
cmp eax, 2
jne 0x1400026fc
movsx ecx, byte [rsp + 0x50]
mov rdx, qword [rbx + 0x80]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fputc]
mov ecx, 0xffffffff
cmp eax, ecx
cmovne ecx, edi
mov eax, ecx
jmp 0x140002701
mov rsi, qword [rsp + 0x40]
lea rax, [rsp + 0x58]
sub rsi, rax
je 0x1400026e2
mov r9, qword [rbx + 0x80]
lea rcx, [rsp + 0x58]
mov r8, rsi
mov edx, 1
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
cmp rsi, rax
jne 0x1400026fc
lea rax, [rsp + 0x50]
mov byte [rbx + 0x71], 1
cmp qword [rsp + 0x48], rax
mov ecx, 0xffffffff
cmovne ecx, edi
mov eax, ecx
jmp 0x140002701
mov eax, 0xffffffff
mov rsi, qword [rsp + 0xa0]
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.1400038b0
mov rbx, qword [rsp + 0xa8]
add rsp, 0x80
pop rdi
ret
Function at 0x140002950
Capabilities:
Write file on windows

Disassembly:
push rbx
sub rsp, 0x60
mov rax, qword [0x140008040]
xor rax, rsp
mov qword [rsp + 0x58], rax
cmp qword [rcx + 0x68], 0
mov rbx, rcx
je 0x140002a23
cmp byte [rcx + 0x71], 0
je 0x140002a23
mov rax, qword [rcx]
mov edx, 0xffffffff
mov qword [rsp + 0x78], rdi
call qword [rax + 0x18]
cmp eax, 0xffffffff
je 0x140002a1f
mov rcx, qword [rbx + 0x68]
lea rax, [rsp + 0x30]
lea rdx, [rbx + 0x74]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x58]
lea r8, [rsp + 0x38]
call qword [sym.imp.MSVCP140.dll_public:_int___cdecl_std::codecvt_char__char__struct__Mbstatet_::unshift_struct__Mbstatet____ptr64__char____ptr64__char____ptr64__char____ptr64____ptr64_const___ptr64]
test eax, eax
je 0x1400029e4
sub eax, 1
je 0x1400029e8
cmp eax, 2
jne 0x140002a1f
mov byte [rbx + 0x71], 0
mov al, 1
mov rdi, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.1400038b0
add rsp, 0x60
pop rbx
ret
mov byte [rbx + 0x71], 0
mov rdi, qword [rsp + 0x30]
lea rax, [rsp + 0x38]
sub rdi, rax
je 0x140002a16
mov r9, qword [rbx + 0x80]
lea rcx, [rsp + 0x38]
mov r8, rdi
mov edx, 1
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
cmp rdi, rax
jne 0x140002a1f
cmp byte [rbx + 0x71], 0
sete al
jmp 0x1400029cc
xor al, al
jmp 0x1400029cc
mov al, 1
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.1400038b0
add rsp, 0x60
pop rbx
ret

Function at 0x1400043f0
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x14000443a
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x14000443a
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x14000443a
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x14000443a
cmp dword [rcx + 0x84], 0xe
jbe 0x14000443a
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x14000443c
xor al, al
add rsp, 0x28
ret
Function at 0x140002eb8
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov edi, r8d
mov rsi, rdx
mov rbp, rcx
call qword [sym.imp.KERNEL32.dll_LoadResource]
test rax, rax
je 0x140002f2f
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
mov rbx, rax
test rax, rax
je 0x140002f2f
mov rdx, rsi
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, eax
add rcx, rbx
and edi, 0xf
jbe 0x140002f1c
cmp rbx, rcx
jae 0x140002f2f
movzx eax, word [rbx]
lea rbx, [rbx + rax*2]
add rbx, 2
add edi, 0xffffffff
jne 0x140002f07
cmp rbx, rcx
jae 0x140002f2f
movzx eax, word [rbx]
neg ax
sbb rax, rax
and rax, rbx
jmp 0x140002f31
xor eax, eax
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x140005c40
Capabilities:
Query or enumerate registry value

Disassembly:
push rbp
push rbx
push rsi
push rdi
lea rbp, [rsp - 0x1c8]
sub rsp, 0x2c8
mov rax, qword [0x140090008]
xor rax, rsp
mov qword [rbp + 0x1b0], rax
mov rcx, qword [rcx]
xor esi, esi
mov rbx, r9
mov rdi, r8
test rcx, rcx
jne 0x140005c93
lea eax, [rsi + 0x57]
mov rcx, qword [rbp + 0x1b0]
xor rcx, rsp
call fcn.140052570
add rsp, 0x2c8
pop rdi
pop rsi
pop rbx
pop rbp
ret
lea rax, [rsp + 0x40]
mov dword [rsp + 0x44], 0x104
mov qword [rsp + 0x38], rax
lea r9, [rsp + 0x44]
lea rax, [rsp + 0x50]
mov dword [rsp + 0x40], 0x4e
mov qword [rsp + 0x30], rax
lea r8, [rbp - 0x60]
lea rax, [rsp + 0x48]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rsi
call qword [sym.imp.ADVAPI32.dll_RegEnumValueW]
cmp eax, 0xea
jne 0x140005ce7
mov word [rsp + 0x50], si
mov dword [rsp + 0x40], esi
jmp 0x140005ceb
test eax, eax
jne 0x140005c78
lea rcx, [rbp - 0x60]
or rax, 0xffffffffffffffff
inc rax
cmp word [rcx + rax*2], si
jne 0x140005cf3
mov r8d, eax
lea rdx, [rbp - 0x60]
mov rcx, rdi
call fcn.14000a350
cmp dword [rsp + 0x48], 1
je 0x140005d19
xor eax, eax
jmp 0x140005c78
mov ecx, dword [rsp + 0x40]
mov eax, SafeArrayAllocDescriptorEx
shr ecx, 1
cmp ecx, eax
cmovb eax, ecx
add rax, rax
cmp rax, 0x4e
jae 0x140005d55
mov rdx, rbx
mov word [rsp + rax + 0x50], si
lea rcx, [rsp + 0x50]
call fcn.14000719c
test eax, eax
je 0x140005d12
movups xmm0, xmmword [0x14006aa50]
movdqu xmmword [rbx], xmm0
jmp 0x140005d12
call fcn.14005291c
int3
Function at 0x140006520
Capabilities:
Set registry value

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
mov rbp, rsp
sub rsp, 0x60
mov rdx, qword [0x140091848]
mov rdi, rcx
lea rcx, [rbp + 0x38]
call fcn.140009580
or rax, 0xffffffffffffffff
lea rdx, str._ConfigInitialization
xor esi, esi
inc rax
cmp word [rdx + rax*2], si
jne 0x14000654f
mov r8d, eax
lea rcx, [rbp + 0x38]
call fcn.1400097e8
mov rax, qword [0x140091e70]
mov rcx, qword [0x140092568]
mov qword [rbp - 0x10], rsi
mov rdx, qword [rax + 0xe8]
lea rax, [rbp + 0x30]
mov qword [rsp + 0x40], rax
test rdx, rdx
lea rax, [rbp - 0x10]
mov qword [rsp + 0x38], rax
cmovne rcx, rdx
mov rdx, qword [rbp + 0x38]
xor r9d, r9d
mov qword [rsp + 0x30], rsi
xor r8d, r8d
mov dword [rsp + 0x28], 0x2001f
mov dword [rsp + 0x20], esi
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x1400065ff
mov eax, dword [rdi + 0x6b0]
lea rdx, str.ConfigPkgDefCacheBlend
mov rbx, qword [rbp - 0x10]
mov r9d, 4
mov dword [rbp + 0x28], eax
xor r8d, r8d
lea rax, [rbp + 0x28]
mov dword [rsp + 0x28], r9d
mov rcx, rbx
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test rbx, rbx
je 0x14000664f
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x14000664f
call fcn.140002dfc
mov rcx, rax
test rax, rax
je 0x14000667d
mov rax, qword [rax]
call qword [rax + 0x18]
mov r8d, dword [rdi + 0x6b0]
lea rdx, str.Cannot_find_a_place_to_write_out_the__s_value_
add rax, 0x18
lea rcx, [rbp - 8]
mov qword [rbp - 8], rax
call fcn.14000a5cc
mov rdx, qword [rbp - 8]
add rdx, 0xffffffffffffffe8
or eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x14000664f
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov rdx, qword [rbp + 0x38]
add rdx, 0xffffffffffffffe8
or eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x14000666d
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov rbx, qword [rsp + 0x80]
add rsp, 0x60
pop rdi
pop rsi
pop rbp
ret
mov ecx, 0x80004005
call fcn.140002fa4
int3
Function at 0x1400089e4
Capabilities:
Encode data using xor
Hash data using fnv

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 r14
sub rsp, 0x30
mov r9, qword [r8]
mov rdi, rcx
or rcx, 0xffffffffffffffff
mov r14, r8
xor ebx, ebx
mov rsi, rdx
movabs rbp, 0xcbf29ce484222325
inc rcx
cmp word [r9 + rcx*2], bx
jne 0x140008a19
mov rdx, rbx
add rcx, rcx
je 0x140008a49
movzx eax, byte [rdx + r9]
movabs r8, 0x100000001b3
xor rbp, rax
inc rdx
imul rbp, r8
cmp rdx, rcx
jb 0x140008a2b
mov r9, rbp
lea rdx, [rsp + 0x20]
mov r8, r14
mov rcx, rdi
call fcn.14000c0b8
mov rax, qword [rsp + 0x28]
test rax, rax
je 0x140008a6e
mov qword [rsi], rax
jmp 0x140008b81
movabs rax, 0xaaaaaaaaaaaaaaa
cmp qword [rdi + 0x10], rax
jne 0x140008a8c
lea rcx, str.unordered_map_set_too_long
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Xlength_error_char_const____ptr64_]
int3
mov ecx, DispGetParam
call fcn.1400520fc
mov rcx, qword [r14]
mov rbx, rax
sub rcx, 0x18
call fcn.14000a2b4
add rax, 0x18
xorps xmm0, xmm0
mov qword [rbx + 0x10], rax
mov rcx, qword [rdi + 0x10]
add rcx, 1
js 0x140008ac1
cvtsi2ss xmm0, rcx
jmp 0x140008ad6
mov rax, rcx
and ecx, 1
shr rax, 1
or rax, rcx
cvtsi2ss xmm0, rax
addss xmm0, xmm0
mov rcx, qword [rdi + 0x38]
xorps xmm1, xmm1
test rcx, rcx
js 0x140008ae9
cvtsi2ss xmm1, rcx
jmp 0x140008afe
mov rax, rcx
and ecx, 1
shr rax, 1
or rax, rcx
cvtsi2ss xmm1, rax
addss xmm1, xmm1
divss xmm0, xmm1
comiss xmm0, dword [rdi]
jbe 0x140008b2c
mov rcx, rdi
call fcn.14000b56c
mov r9, rbp
lea r8, [rbx + 0x10]
lea rdx, [rsp + 0x20]
mov rcx, rdi
call fcn.14000c0b8
movups xmm0, xmmword [rax]
movdqu xmmword [rsp + 0x20], xmm0
mov rdx, qword [rsp + 0x20]
mov r8, qword [rdx + 8]
inc qword [rdi + 0x10]
mov qword [rbx], rdx
mov qword [rbx + 8], r8
mov qword [r8], rbx
mov qword [rdx + 8], rbx
mov rax, qword [rdi + 0x30]
mov rcx, qword [rdi + 0x18]
and rax, rbp
add rax, rax
mov r9, qword [rcx + rax*8]
cmp r9, qword [rdi + 8]
jne 0x140008b65
mov qword [rcx + rax*8], rbx
jmp 0x140008b77
cmp r9, rdx
jne 0x140008b70
mov qword [rcx + rax*8], rbx
jmp 0x140008b7c
cmp qword [rcx + rax*8 + 8], r8
jne 0x140008b7c
mov qword [rcx + rax*8 + 8], rbx
mov qword [rsi], rbx
mov bl, 1
mov eax, 8
mov rcx, rsi
mov byte [rcx + rax], bl
mov rax, rsi
mov rsi, qword [rsp + 0x50]
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rdi, qword [rsp + 0x58]
add rsp, 0x30
pop r14
ret
Function at 0x140009a98
Capabilities:
Encode data using xor
Encrypt data using rc4 prga
Hash data using fnv

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 r14
sub rsp, 0x20
movabs rax, 0xfffffffffffffff
bsr rcx, rax
mov eax, 1
shl rax, cl
cmp rdx, rax
jbe 0x140009ada
lea rcx, str.invalid_hash_bucket_count
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Xlength_error_char_const____ptr64_]
int3
mov rbx, qword [0x140092488]
lea rax, [rdx - 1]
or rax, 1
mov edi, 1
bsr rcx, rax
mov r8, rbx
inc ecx
shl rdi, cl
lea rcx, [0x140092498]
lea rdx, [rdi + rdi]
call fcn.140009980
mov rax, qword [0x140092488]
lea r10, [rdi - 1]
mov qword [0x1400924b0], r10
mov qword [0x1400924b8], rdi
mov rax, qword [rax]
mov rdx, rax
cmp rax, rbx
je 0x140009c91
xor r14d, r14d
mov rdx, qword [rdx]
movabs r11, 0xcbf29ce484222325
mov rbp, qword [rax + 0x10]
or r8, 0xffffffffffffffff
inc r8
cmp word [rbp + r8*2], r14w
jne 0x140009b4a
mov r9, r14
add r8, r8
je 0x140009b7b
movzx ecx, byte [r9 + rbp]
movabs rdi, 0x100000001b3
xor r11, rcx
inc r9
imul r11, rdi
cmp r9, r8
jb 0x140009b5d
mov rdi, qword [0x140092498]
and r11, r10
add r11, r11
cmp qword [rdi + r11*8], rbx
jne 0x140009b9c
mov qword [rdi + r11*8], rax
mov qword [rdi + r11*8 + 8], rax
jmp 0x140009c57
mov rcx, qword [rdi + r11*8 + 8]
mov r9, qword [rcx + 0x10]
test r9, r9
je 0x140009cac
mov r8, rbp
sub r9, rbp
movzx r10d, word [r8]
movzx esi, word [r8 + r9]
sub r10d, esi
jne 0x140009bca
add r8, 2
test esi, esi
jne 0x140009bb4
test r10d, r10d
jne 0x140009c2c
mov r8, qword [rcx]
cmp r8, rax
je 0x140009b92
mov r10, qword [rax + 8]
mov qword [r10], rdx
mov r9, qword [rdx + 8]
mov qword [r9], r8
mov rcx, qword [r8 + 8]
mov qword [rcx], rax
mov qword [r8 + 8], r9
mov qword [rdx + 8], r10
mov qword [rax + 8], rcx
jmp 0x140009b92
mov rcx, qword [rcx + 8]
mov r9, qword [rcx + 0x10]
test r9, r9
je 0x140009cac
mov r8, rbp
sub r9, rbp
movzx r10d, word [r8]
movzx esi, word [r8 + r9]
sub r10d, esi
jne 0x140009c27
add r8, 2
test esi, esi
jne 0x140009c11
test r10d, r10d
je 0x140009c6b
cmp qword [rdi + r11*8], rcx
jne 0x140009bfa
mov r10, qword [rax + 8]
mov qword [r10], rdx
mov r9, qword [rdx + 8]
mov qword [r9], rcx
mov r8, qword [rcx + 8]
mov qword [r8], rax
mov qword [rcx + 8], r9
mov qword [rdx + 8], r10
mov qword [rax + 8], r8
mov qword [rdi + r11*8], rax
mov rax, rdx
cmp rdx, rbx
je 0x140009c91
mov r10, qword [0x1400924b0]
jmp 0x140009b35
mov r10, qword [rcx]
mov r9, qword [rax + 8]
mov qword [r9], rdx
mov r8, qword [rdx + 8]
mov qword [r8], r10
mov rcx, qword [r10 + 8]
mov qword [rcx], rax
mov qword [r10 + 8], r8
mov qword [rdx + 8], r9
mov qword [rax + 8], rcx
jmp 0x140009c57
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret
mov ecx, 0x80004005
call fcn.140002fa4
int3
Function at 0x14000a614
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x30
or r10, 0xffffffffffffffff
mov rbx, rdx
mov rdx, qword [r8]
xor esi, esi
mov rdi, rcx
movabs r9, 0xcbf29ce484222325
inc r10
cmp word [rdx + r10*2], si
jne 0x14000a63c
mov rcx, rsi
add r10, r10
je 0x14000a66b
movzx eax, byte [rcx + rdx]
movabs r11, 0x100000001b3
xor r9, rax
inc rcx
imul r9, r11
cmp rcx, r10
jb 0x14000a64e
lea rdx, [rsp + 0x20]
mov rcx, rdi
call fcn.14000c0b8
mov rcx, qword [rax + 8]
test rcx, rcx
jne 0x14000a685
mov rcx, qword [rdi + 8]
mov rsi, qword [rsp + 0x48]
mov rax, rbx
mov qword [rbx], rcx
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rdi
ret