joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14001d050
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 0x14001d072
xor eax, eax
add rsp, 0x30
pop r14
pop rsi
pop rbp
ret
cmp qword [rcx + 0x68], 0
je case.default.0x14001d081
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 0x14001d0a4
mov rax, qword [rcx + 0x50]
mov ecx, dword [rax]
jmp 0x14001d0a6
xor ecx, ecx
mov qword [rsp + 0x20], rdi
movsxd rax, ecx
test ecx, ecx
je 0x14001d0e0
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]
sub rbx, rdi
add r14, rdi
mov r8, rbx
sub dword [rax], edi
mov rcx, qword [rsi + 0x38]
movsxd rax, edi
add qword [rcx], rax
cmp qword [rsi + 0x80], 0
je 0x14001d187
mov r9, qword [rsi + 0x18]
lea rax, [rsi + 0x70]
cmp qword [r9], rax
jne 0x14001d11b
mov rcx, qword [rsi + 0x88]
mov rdx, qword [rsi + 0x90]
mov qword [r9], rcx
sub edx, ecx
mov rax, qword [rsi + 0x38]
mov qword [rax], rcx
mov rax, qword [rsi + 0x50]
mov dword [rax], edx
mov rdi, r8
cmp r8, 0xfff
jbe 0x14001d161
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]
sub rbx, rax
add r14, rax
mov rdi, rbx
cmp rax, 0xfff
jne 0x14001d1a0
cmp rbx, rax
ja 0x14001d130
mov r8, rdi
test rdi, rdi
je 0x14001d187
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]
mov r8, rdi
sub r8, rax
sub rbp, r8
mov rdi, qword [rsp + 0x20]
mov rax, rbp
mov rbx, qword [rsp + 0x28]
add rsp, 0x30
pop r14
pop rsi
pop rbp
ret
sub rbp, rbx
jmp 0x14001d18a
Function at 0x14001d5b0
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x20], rbx
push rdi
sub rsp, 0x80
mov rax, qword [0x140098010]
xor rax, rsp
mov qword [rsp + 0x78], rax
mov edi, edx
mov rbx, rcx
cmp edx, 0xffffffff
jne 0x14001d5dd
xor eax, eax
jmp 0x14001d732
mov rdx, qword [rcx + 0x40]
mov rax, qword [rdx]
test rax, rax
je 0x14001d608
mov rdx, qword [rcx + 0x58]
movsxd r8, dword [rdx]
add r8, rax
cmp rax, r8
jae 0x14001d608
call qword [sym.imp.MSVCP140.dll_protected:_char____ptr64___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::_Pninc_void____ptr64]
mov byte [rax], dil
mov eax, edi
jmp 0x14001d732
cmp qword [rcx + 0x80], 0
mov qword [rsp + 0xa0], rsi
je 0x14001d725
mov r8, qword [rcx + 0x18]
lea rax, [rcx + 0x70]
cmp qword [r8], rax
jne 0x14001d64b
mov rdx, qword [rcx + 0x90]
mov rcx, qword [rcx + 0x88]
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 0x14001d676
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 0x14001d72a
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 0x14001d6e5
sub eax, 1
je 0x14001d6e5
cmp eax, 2
jne 0x14001d725
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 0x14001d72a
mov rsi, qword [rsp + 0x40]
lea rax, [rsp + 0x58]
sub rsi, rax
je 0x14001d713
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 0x14001d725
lea rax, [rsp + 0x50]
mov byte [rbx + 0x71], 1
cmp qword [rsp + 0x48], rax
mov eax, edi
jne 0x14001d72a
mov eax, 0xffffffff
mov rsi, qword [rsp + 0xa0]
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.14003edb0
mov rbx, qword [rsp + 0xa8]
add rsp, 0x80
pop rdi
ret
Function at 0x14001fb30
Capabilities:
Write file on windows

Disassembly:
push rbx
sub rsp, 0x60
mov rax, qword [0x140098010]
xor rax, rsp
mov qword [rsp + 0x58], rax
cmp qword [rcx + 0x68], 0
mov rbx, rcx
je 0x14001fc03
cmp byte [rcx + 0x71], 0
je 0x14001fc03
mov rax, qword [rcx]
mov edx, 0xffffffff
mov qword [rsp + 0x78], rdi
call qword [rax + 0x18]
cmp eax, 0xffffffff
je 0x14001fbff
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 0x14001fbc4
sub eax, 1
je 0x14001fbc8
cmp eax, 2
jne 0x14001fbff
mov byte [rbx + 0x71], 0
mov al, 1
mov rdi, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.14003edb0
add rsp, 0x60
pop rbx
ret
mov byte [rbx + 0x71], 0
mov rdi, qword [rsp + 0x30]
lea rax, [rsp + 0x38]
sub rdi, rax
je 0x14001fbf6
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 0x14001fbff
cmp byte [rbx + 0x71], 0
sete al
jmp 0x14001fbac
xor al, al
jmp 0x14001fbac
mov al, 1
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.14003edb0
add rsp, 0x60
pop rbx
ret
Function at 0x140022c70
Capabilities:
Hash data using djb2

Disassembly:
push rdi
push r15
sub rsp, 0x48
movabs rax, 0xfffffffffffffff
mov r15, rcx
bsr rcx, rax
mov edi, 1
mov eax, edi
shl rax, cl
cmp rdx, rax
jbe 0x140022ca6
lea rcx, str.invalid_hash_bucket_count
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Xlength_error_char_const____ptr64_]
int3
lea rax, [rdx - 1]
mov qword [rsp + 0x70], rbx
mov rbx, qword [r15 + 8]
or rax, rdi
bsr rcx, rax
mov r8, rbx
mov qword [rsp + 0x30], r12
inc ecx
shl rdi, cl
lea rcx, [r15 + 0x18]
lea rdx, [rdi + rdi]
call fcn.140021580
lea rax, [rdi - 1]
mov qword [r15 + 0x38], rdi
mov qword [r15 + 0x30], rax
mov rax, qword [r15 + 8]
mov rax, qword [rax]
mov rdx, rax
cmp rax, rbx
je 0x140022e67
mov qword [rsp + 0x40], rbp
mov qword [rsp + 0x38], rsi
mov qword [rsp + 0x28], r13
lea r13, [0x140080468]
mov qword [rsp + 0x20], r14
nop
mov rbp, qword [rax + 0x10]
mov r9d, 0x1505
mov rdx, qword [rdx]
mov r8, rbp
movzx ecx, word [rbp]
test cx, cx
je 0x140022d47
nop dword [rax]
imul r9, r9, 0x21
movzx ecx, cx
lea r8, [r8 + 2]
add r9, rcx
movzx ecx, word [r8]
test cx, cx
jne 0x140022d30
mov r14, qword [r15 + 0x30]
and r14, r9
shl r14, 4
add r14, qword [r15 + 0x18]
mov rsi, qword [r14]
cmp rsi, rbx
jne 0x140022d6a
mov qword [r14], rax
mov qword [r14 + 8], rax
jmp 0x140022e47
mov rcx, qword [r14 + 8]
mov r11, r13
mov r8, qword [rcx + 0x10]
test r8, r8
cmovne r11, r8
mov r8, rbp
sub r11, rbp
movzx r10d, word [r8]
movzx r9d, word [r8 + r11]
sub r10d, r9d
jne 0x140022d99
add r8, 2
test r9d, r9d
jne 0x140022d82
test r10d, r10d
jne 0x140022dcd
mov r10, qword [rcx]
cmp r10, rax
je 0x140022dc7
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
mov qword [r14 + 8], rax
jmp 0x140022e47
mov rdi, rcx
cmp rsi, rcx
je 0x140022e23
nop word [rax + rax]
mov rcx, qword [rcx + 8]
mov r11, r13
mov rdi, rcx
mov r8, qword [rcx + 0x10]
test r8, r8
cmovne r11, r8
test rbp, rbp
mov r8, r13
cmovne r8, rbp
sub r11, r8
movzx r10d, word [r8]
movzx r9d, word [r8 + r11]
sub r10d, r9d
jne 0x140022e19
add r8, 2
test r9d, r9d
jne 0x140022e02
test r10d, r10d
je 0x140022e79
cmp rsi, rcx
jne 0x140022de0
mov r9, qword [rax + 8]
mov qword [r9], rdx
mov r8, qword [rdx + 8]
mov qword [r8], rdi
mov rcx, qword [rdi + 8]
mov qword [rcx], rax
mov qword [rdi + 8], r8
mov qword [rdx + 8], r9
mov qword [rax + 8], rcx
mov qword [r14], rax
mov rax, rdx
cmp rdx, rbx
jne 0x140022d10
mov r14, qword [rsp + 0x20]
mov r13, qword [rsp + 0x28]
mov rsi, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x40]
mov rbx, qword [rsp + 0x70]
mov r12, qword [rsp + 0x30]
add rsp, 0x48
pop r15
pop rdi
ret
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 0x140022e47
Function at 0x14002d960
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r14
mov rbx, rdx
mov rdx, qword [rdx + 0x10]
mov r11, rbx
cmp qword [rbx + 0x18], 0x10
jb 0x14002d98a
mov r11, qword [rbx]
xor r9d, r9d
movabs rax, 0xcbf29ce484222325
mov r8, rax
mov r10d, r9d
movabs rsi, 0x100000001b3
test rdx, rdx
je 0x14002d9c4
nop dword [rax]
movzx ecx, byte [r10 + r11]
inc r10
xor r8, rcx
imul r8, rsi
cmp r10, rdx
jb 0x14002d9b0
mov r11, qword [rbx + 0x30]
lea r10, [rbx + 0x20]
movabs rbp, 0xc6a4a7935bd1e995
movabs rcx, 0x35a98f4d286a90b9
imul r8, rbp
mov r14d, 0xe6546b64
mov rdi, r8
shr rdi, 0x2f
xor rdi, r8
imul rdi, rcx
add rdi, r14
cmp qword [r10 + 0x18], 0x10
jb 0x14002da05
mov r10, qword [r10]
mov rdx, rax
mov r8, r9
test r11, r11
je 0x14002da24
movzx ecx, byte [r8 + r10]
inc r8
xor rdx, rcx
imul rdx, rsi
cmp r8, r11
jb 0x14002da10
mov r8, qword [rbx + 0x50]
imul rdx, rbp
mov r10, rdx
shr r10, 0x2f
xor r10, rdx
lea rdx, [rbx + 0x40]
imul r10, rbp
xor r10, rdi
imul r10, rbp
add r10, r14
cmp qword [rdx + 0x18], 0x10
jb 0x14002da52
mov rdx, qword [rdx]
test r8, r8
je 0x14002da74
nop word [rax + rax]
movzx ecx, byte [r9 + rdx]
inc r9
xor rax, rcx
imul rax, rsi
cmp r9, r8
jb 0x14002da60
mov rbx, qword [rsp + 0x10]
mov rsi, qword [rsp + 0x20]
mov rdi, qword [rsp + 0x28]
imul rax, rbp
mov rcx, rax
shr rcx, 0x2f
xor rax, rcx
imul rax, rbp
xor rax, r10
imul rax, rbp
mov rbp, qword [rsp + 0x18]
add rax, r14
pop r14
ret
Function at 0x1400360a0
Capabilities:
Set registry value

Disassembly:
push rbx
sub rsp, 0x60
mov rax, qword [0x140098010]
xor rax, rsp
mov qword [rsp + 0x50], rax
mov rbx, r8
mov qword [rsp + 0x48], rdx
xor eax, eax
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x38], rax
test r8, r8
jne 0x14003613f
lea rcx, [0x14009c878]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp qword [0x14009c870], rbx
jne 0x1400360e9
call fcn.140039a30
lea rcx, [0x14009c878]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov rcx, qword [0x14009c870]
test rcx, rcx
je 0x140036116
mov rax, qword [rcx]
lea r8, [0x140080d20]
mov edx, 0xc8
call qword [rax + 0x30]
jmp 0x14003611d
lea rax, str._error_interface_not_inited_
lea r8, [rsp + 0x30]
mov rdx, rax
mov rcx, 0xffffffff80000001
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
test eax, eax
jne 0x14003629e
jmp 0x14003623f
call fcn.140003450
mov rcx, rax
test rax, rax
je 0x1400362b1
mov rax, qword [rax]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rsp + 0x40], rax
lea rcx, [0x14009c878]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp qword [0x14009c870], 0
jne 0x14003617b
call fcn.140039a30
lea rcx, [0x14009c878]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov rcx, qword [0x14009c870]
test rcx, rcx
je 0x1400361a8
mov rax, qword [rcx]
lea r8, [0x140080d20]
mov edx, 0xc8
call qword [rax + 0x30]
jmp 0x1400361af
lea rax, str._error_interface_not_inited_
mov r9, rax
mov r8, rbx
lea rdx, str._s_s
lea rcx, [rsp + 0x40]
call fcn.140024f40
lea r8, [rsp + 0x30]
mov rbx, qword [rsp + 0x40]
mov rdx, rbx
mov rcx, 0xffffffff80000003
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
test eax, eax
je 0x140036223
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop
lea rdx, [rbx - 0x18]
mov eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x14003629e
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.14003edb0
add rsp, 0x60
pop rbx
ret
lea rdx, [rbx - 0x18]
mov eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x14003623f
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
lea r8, [rsp + 0x38]
lea rdx, str.Tune_Up
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyW]
mov rcx, qword [rsp + 0x38]
test rcx, rcx
je 0x140036293
mov dword [rsp + 0x28], 8
lea rax, [rsp + 0x48]
mov qword [rsp + 0x20], rax
mov r9d, 0xb
xor r8d, r8d
lea rdx, str.OneClickTask
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.14003edb0
add rsp, 0x60
pop rbx
ret
mov ecx, 0x80004005
call fcn.140004200
int3
Function at 0x1400408a0
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r14
sub rsp, 0x20
mov r9d, dword [0x14009bdb0]
mov rbx, rcx
mov rax, qword gs:[0x58]
xor sil, sil
mov ecx, 0x10
mov r14, rdx
movsxd rbp, r8d
mov rdi, qword [rax + r9*8]
add rdi, rcx
mov eax, dword [rdi]
cmp dword [0x14009c670], eax
jg 0x140040989
mov rcx, qword [rbx + 0x28]
test rcx, rcx
jne 0x140040907
mov rcx, rbx
call fcn.140052570
test al, al
jne 0x1400408e2
jmp 0x14004096e
mov edi, 1
test ebp, ebp
je 0x140040923
mov r9, rcx
mov r8, rbp
mov rcx, r14
mov edx, edi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
jmp 0x140040932
mov r8, r14
lea rdx, [0x14007d554]
call fcn.140062b60
cmp qword [0x14009c668], 0
jl 0x14004094f
cdqe
lock xadd qword [rbx + 0x38], rax
cmp rax, qword [0x14009c668]
setge sil
lock xadd dword [rbx + 0x40], edi
inc edi
cmp edi, 1
jne 0x14004096a
xor ecx, ecx
xchg dword [rbx + 0x40], ecx
mov rcx, qword [rbx + 0x28]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fflush]
movzx eax, sil
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
lea rcx, [0x14009c670]
call fcn.14003f220
cmp dword [0x14009c670], 0xffffffff
jne 0x1400408f0
mov rax, qword [rbx + 0x48]
mov rcx, qword [rax + 0x18]
mov qword [0x14009c668], rcx
lea rcx, [0x14009c670]
call fcn.14003f1c0
jmp 0x1400408f0

Function at 0x1400409d0
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r14
sub rsp, 0x20
mov r9d, dword [0x14009bdb0]
mov rbx, rcx
mov rax, qword gs:[0x58]
xor sil, sil
mov ecx, 0x10
mov r14, rdx
movsxd rbp, r8d
mov rdi, qword [rax + r9*8]
add rdi, rcx
mov eax, dword [rdi]
cmp dword [0x14009c680], eax
jg 0x140040abc
mov rcx, qword [rbx + 0x28]
test rcx, rcx
jne 0x140040a37
mov rcx, rbx
call fcn.140052570
test al, al
jne 0x140040a12
jmp 0x140040aa1
test ebp, ebp
je 0x140040a51
mov r9, rcx
mov r8, rbp
mov rcx, r14
mov edx, 2
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
jmp 0x140040a60
mov r8, r14
lea rdx, [0x14008123c]
call fcn.140062bb0
cmp qword [0x14009c678], 0
jl 0x140040a7d
cdqe
lock xadd qword [rbx + 0x38], rax
cmp rax, qword [0x14009c678]
setge sil
mov ecx, 1
lock xadd dword [rbx + 0x40], ecx
inc ecx
cmp ecx, 1
jne 0x140040a9d
xor ecx, ecx
xchg dword [rbx + 0x40], ecx
mov rcx, qword [rbx + 0x28]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fflush]
movzx eax, sil
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
lea rcx, [0x14009c680]
call fcn.14003f220
cmp dword [0x14009c680], 0xffffffff
jne 0x140040a20
mov rax, qword [rbx + 0x48]
mov rcx, qword [rax + 0x18]
mov qword [0x14009c678], rcx
lea rcx, [0x14009c680]
call fcn.14003f1c0
jmp 0x140040a20
Function at 0x140043600
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0x40
mov r14, r8
mov rsi, rdx
mov rbp, rcx
mov r8, qword [r8 + 0x10]
mov rdx, r14
cmp qword [r14 + 0x18], 8
jb 0x140043629
mov rdx, qword [r14]
movabs rbx, 0xcbf29ce484222325
xor ecx, ecx
add r8, r8
je 0x140043663
movabs r9, 0x100000001b3
nop dword [rax]
nop dword [rax + rax]
movzx eax, byte [rcx + rdx]
xor rbx, rax
imul rbx, r9
inc rcx
cmp rcx, r8
jb 0x140043650
mov r9, rbx
mov r8, r14
lea rdx, [rsp + 0x20]
mov rcx, rbp
call fcn.140041dc0
mov rax, qword [rsp + 0x28]
test rax, rax
je 0x14004368c
mov qword [rsi], rax
mov byte [rsi + 8], 0
jmp 0x1400437b7
movabs rax, 0x555555555555555
cmp qword [rbp + 0x10], rax
je 0x1400437c9
lea r12, [rbp + 8]
mov qword [rsp + 0x30], r12
mov qword [rsp + 0x38], 0
mov ecx, 0x30
call fcn.14003edd8
mov rdi, rax
mov qword [rsp + 0x38], rax
mov rdx, r14
lea rcx, [rax + 0x10]
call fcn.14001ef30
nop
mov r9, qword [rbp + 0x10]
lea rcx, [r9 + 1]
xorps xmm0, xmm0
test rcx, rcx
js 0x1400436e8
cvtsi2ss xmm0, rcx
jmp 0x1400436fd
mov rax, rcx
shr rax, 1
and ecx, 1
or rax, rcx
cvtsi2ss xmm0, rax
addss xmm0, xmm0
mov rcx, qword [rbp + 0x38]
xorps xmm1, xmm1
test rcx, rcx
js 0x140043710
cvtsi2ss xmm1, rcx
jmp 0x140043725
mov rax, rcx
shr rax, 1
and ecx, 1
or rax, rcx
cvtsi2ss xmm1, rax
addss xmm1, xmm1
divss xmm0, xmm1
comiss xmm0, dword [rbp]
seta al
test al, al
je 0x14004375c
mov rcx, rbp
call fcn.140056de0
mov r9, rbx
lea r8, [rdi + 0x10]
lea rdx, [rsp + 0x30]
mov rcx, rbp
call fcn.140041dc0
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x20], xmm0
mov r9, qword [rbp + 0x10]
mov rdx, qword [rsp + 0x20]
mov r8, qword [rdx + 8]
lea rax, [r9 + 1]
mov qword [rbp + 0x10], rax
mov qword [rdi], rdx
mov qword [rdi + 8], r8
mov qword [r8], rdi
mov qword [rdx + 8], rdi
mov rcx, qword [rbp + 0x18]
mov rax, qword [rbp + 0x30]
and rax, rbx
add rax, rax
mov r9, qword [rcx + rax*8]
cmp r9, qword [r12]
jne 0x140043799
mov qword [rcx + rax*8], rdi
jmp 0x1400437ab
cmp r9, rdx
jne 0x1400437a4
mov qword [rcx + rax*8], rdi
jmp 0x1400437b0
cmp qword [rcx + rax*8 + 8], r8
jne 0x1400437b0
mov qword [rcx + rax*8 + 8], rdi
mov qword [rsi], rdi
mov byte [rsi + 8], 1
mov rax, rsi
add rsp, 0x40
pop r15
pop r14
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
lea rcx, str.unordered_map_set_too_long
call sub.MSVCP140.dll_void___cdecl_std::_Xlength_error_char_const____ptr64_
int3
Function at 0x1400437e0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x40
mov r14, r8
mov rsi, rdx
mov rbp, rcx
mov r8, qword [r8 + 0x10]
mov rdx, r14
cmp qword [r14 + 0x18], 8
jb 0x14004380e
mov rdx, qword [r14]
movabs rbx, 0xcbf29ce484222325
xor r13d, r13d
mov ecx, r13d
add r8, r8
je 0x140043843
movabs r9, 0x100000001b3
nop dword [rax]
movzx eax, byte [rcx + rdx]
xor rbx, rax
imul rbx, r9
inc rcx
cmp rcx, r8
jb 0x140043830
mov r9, rbx
mov r8, r14
lea rdx, [rsp + 0x20]
mov rcx, rbp
call fcn.140041dc0
mov rax, qword [rsp + 0x28]
test rax, rax
je 0x14004386c
mov qword [rsi], rax
mov byte [rsi + 8], r13b
jmp 0x1400439b3
movabs rax, 0x555555555555555
cmp qword [rbp + 0x10], rax
je 0x1400439ce
lea r12, [rbp + 8]
mov qword [rsp + 0x30], r12
mov qword [rsp + 0x38], r13
mov ecx, 0x30
call fcn.14003edd8
mov rdi, rax
mov qword [rsp + 0x38], rax
mov qword [rax + 0x10], r13
mov qword [rax + 0x20], r13
mov qword [rax + 0x28], r13
movups xmm0, xmmword [r14]
movups xmmword [rax + 0x10], xmm0
movups xmm1, xmmword [r14 + 0x10]
movups xmmword [rax + 0x20], xmm1
mov qword [r14 + 0x10], r13
mov qword [r14 + 0x18], 7
mov word [r14], r13w
mov r9, qword [rbp + 0x10]
lea rcx, [r9 + 1]
xorps xmm0, xmm0
test rcx, rcx
js 0x1400438e4
cvtsi2ss xmm0, rcx
jmp 0x1400438f9
mov rax, rcx
shr rax, 1
and ecx, 1
or rax, rcx
cvtsi2ss xmm0, rax
addss xmm0, xmm0
mov rcx, qword [rbp + 0x38]
xorps xmm1, xmm1
test rcx, rcx
js 0x14004390c
cvtsi2ss xmm1, rcx
jmp 0x140043921
mov rax, rcx
shr rax, 1
and ecx, 1
or rax, rcx
cvtsi2ss xmm1, rax
addss xmm1, xmm1
divss xmm0, xmm1
comiss xmm0, dword [rbp]
seta al
test al, al
je 0x140043958
mov rcx, rbp
call fcn.140056de0
mov r9, rbx
lea r8, [rdi + 0x10]
lea rdx, [rsp + 0x30]
mov rcx, rbp
call fcn.140041dc0
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x20], xmm0
mov r9, qword [rbp + 0x10]
mov rdx, qword [rsp + 0x20]
mov r8, qword [rdx + 8]
lea rax, [r9 + 1]
mov qword [rbp + 0x10], rax
mov qword [rdi], rdx
mov qword [rdi + 8], r8
mov qword [r8], rdi
mov qword [rdx + 8], rdi
mov rcx, qword [rbp + 0x18]
mov rax, qword [rbp + 0x30]
and rax, rbx
add rax, rax
mov r9, qword [rcx + rax*8]
cmp r9, qword [r12]
jne 0x140043995
mov qword [rcx + rax*8], rdi
jmp 0x1400439a7
cmp r9, rdx
jne 0x1400439a0
mov qword [rcx + rax*8], rdi
jmp 0x1400439ac
cmp qword [rcx + rax*8 + 8], r8
jne 0x1400439ac
mov qword [rcx + rax*8 + 8], rdi
mov qword [rsi], rdi
mov byte [rsi + 8], 1
mov rax, rsi
mov rbx, qword [rsp + 0x98]
add rsp, 0x40
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
lea rcx, str.unordered_map_set_too_long
call sub.MSVCP140.dll_void___cdecl_std::_Xlength_error_char_const____ptr64_
int3
Function at 0x140048f00
Capabilities:
Encrypt data using blowfish

Disassembly:
mov r11, rsp
push rsi
push rdi
sub rsp, 0x88
mov rax, qword [0x140098010]
xor rax, rsp
mov qword [rsp + 0x60], rax
mov eax, dword [r9]
mov rdi, r8
mov dword [rcx], eax
mov rsi, rcx
mov eax, dword [r9 + 4]
mov dword [rcx + 4], eax
mov eax, dword [r9]
mov dword [rcx + 8], eax
mov eax, dword [r9 + 4]
mov dword [rcx + 0xc], eax
cmp r8, 1
jb 0x1400490c4
mov eax, 0x38
mov qword [r11 - 0x18], rbx
cmp r8, rax
mov qword [r11 - 0x20], rbp
lea rcx, [r11 - 0x70]
mov qword [r11 - 0x28], r14
cmova rdi, rax
mov r8, rdi
call sub.VCRUNTIME140.dll_memcpy
movaps xmm0, xmmword [0x140098050]
lea rbx, [rsi + 0x10]
movups xmmword [rbx], xmm0
lea rbp, [rsi + 0x58]
mov r8d, 0x1000
movaps xmm1, xmmword [0x140098060]
lea rdx, [0x1400980a0]
movups xmmword [rbx + 0x10], xmm1
mov rcx, rbp
movaps xmm0, xmmword [0x140098070]
movups xmmword [rbx + 0x20], xmm0
movaps xmm1, xmmword [0x140098080]
movups xmmword [rbx + 0x30], xmm1
movsd xmm0, qword [0x140098090]
movsd qword [rbx + 0x40], xmm0
call sub.VCRUNTIME140.dll_memcpy
xor r8d, r8d
lea r9, [rsp + 0x28]
mov r14d, 4
lea r11d, [r8 + 0x12]
nop
xor edx, edx
mov r10d, r14d
nop word [rax + rax]
movzx eax, byte [r9]
lea ecx, [r8 + 1]
inc r9
shl edx, 8
or edx, eax
lea rax, [rsp + 0x28]
cmp ecx, edi
cmovne rax, r9
xor r8d, r8d
cmp ecx, edi
mov r9, rax
cmovne r8d, ecx
sub r10d, 1
jne 0x140048fe0
xor dword [rbx], edx
add rbx, r14
sub r11, 1
jne 0x140048fd0
mov qword [rsp + 0x20], r11
xor ebx, ebx
nop
lea rdx, [rsp + 0x20]
mov rcx, rsi
call fcn.14004da30
mov eax, dword [rsp + 0x20]
mov dword [rsi + rbx*4 + 0x10], eax
inc ebx
mov eax, dword [rsp + 0x24]
mov dword [rsi + rbx*4 + 0x10], eax
inc ebx
cmp ebx, 0x12
jb 0x140049020
nop word [rax + rax]
xor edi, edi
mov rbx, rbp
nop word [rax + rax]
lea rdx, [rsp + 0x20]
mov rcx, rsi
call fcn.14004da30
mov eax, dword [rsp + 0x20]
add rdi, 2
mov ecx, dword [rsp + 0x24]
mov dword [rbx], eax
mov dword [rbx + 4], ecx
lea rbx, [rbx + 8]
cmp rdi, 0x100
jl 0x140049060
add rbp, 0x400
sub r14, 1
jne 0x140049050
mov r14, qword [rsp + 0x70]
mov rax, rsi
mov rbp, qword [rsp + 0x78]
mov rbx, qword [rsp + 0x80]
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.14003edb0
add rsp, 0x88
pop rdi
pop rsi
ret
lea rax, str.Incorrect_key_length
lea rdx, [0x1400939e0]
mov qword [rsp + 0x20], rax
lea rcx, [rsp + 0x20]
call sub.VCRUNTIME140.dll__CxxThrowException
int3