joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400032e8
Capabilities:
Create directory
Get common file path

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x450
mov rax, qword [0x14002f010]
xor rax, rsp
mov qword [rsp + 0x440], rax
mov edi, 0x400
lea rcx, [rsp + 0x40]
mov r8d, edi
xor edx, edx
call sub.VCRUNTIME140.dll_memset
xor ebx, ebx
cmp dword [0x1400349f0], ebx
je 0x140003330
mov eax, dword [0x140033388]
jmp 0x1400033ee
xor r9d, r9d
lea rdx, [rsp + 0x40]
xor ecx, ecx
lea r8d, [r9 + 0x1a]
call qword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathA]
test eax, eax
je 0x1400033c7
lea r8, [0x14001e5a4]
mov rdx, rdi
lea rcx, [rsp + 0x40]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strcat_s]
lea r8, [0x14001e5a8]
mov rdx, rdi
lea rcx, [rsp + 0x40]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strcat_s]
xor edx, edx
lea rcx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_CreateDirectoryA]
lea r8, str._appsafecheck.txt
mov rdx, rdi
lea rcx, [rsp + 0x40]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strcat_s]
xor r9d, r9d
mov qword [rsp + 0x30], rbx
mov dword [rsp + 0x28], 0x80
lea rcx, [rsp + 0x40]
mov edx, 0xc0000000
mov dword [rsp + 0x20], 4
lea r8d, [r9 + 3]
call qword [sym.imp.KERNEL32.dll_CreateFileA]
mov qword [0x14002f078], rax
call fcn.140003278
mov edi, 1
test eax, eax
je 0x1400033e0
call fcn.1400030f4
test eax, eax
je 0x1400033e0
mov ebx, edi
mov dword [0x140033388], ebx
mov eax, ebx
mov dword [0x1400349f0], edi
mov rcx, qword [rsp + 0x440]
xor rcx, rsp
call fcn.140019ab0
mov rbx, qword [rsp + 0x460]
add rsp, 0x450
pop rdi
ret

Function at 0x140003410
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x30
xor esi, esi
mov rdi, rcx
test rcx, rcx
je 0x140003475
mov rcx, qword [0x14002f078]
or rbx, 0xffffffffffffffff
cmp rcx, rbx
je 0x140003475
lea r9d, [rsi + 2]
mov dword [rsp + 0x40], esi
xor r8d, r8d
xor edx, edx
call qword [sym.imp.KERNEL32.dll_SetFilePointer]
inc rbx
cmp word [rdi + rbx*2], si
jne 0x14000344c
mov rcx, qword [0x14002f078]
lea r8d, [rbx + rbx]
lea r9, [rsp + 0x40]
mov qword [rsp + 0x20], rsi
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_WriteFile]
jmp 0x140003477
xor eax, eax
mov rbx, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret
Function at 0x140003488
Capabilities:
Check if file exists
Enumerate files on windows
Enumerate files recursively
Get file attributes

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x290
mov rax, qword [0x14002f010]
xor rax, rsp
mov qword [rsp + 0x280], rax
mov rbx, rdx
mov rsi, rcx
or r13, 0xffffffffffffffff
lea rcx, [rsp + 0x30]
xor edx, edx
mov r8d, 0x250
mov r15, r13
call sub.VCRUNTIME140.dll_memset
xor r12d, r12d
mov dword [rsp + 0x20], r12d
mov ebp, r12d
test rsi, rsi
je 0x140003662
mov rax, r13
inc rax
cmp word [rsi + rax*2], r12w
jne 0x1400034e7
test rax, rax
je 0x140003662
test rbx, rbx
je 0x140003662
mov dword [rbx], r12d
call fcn.1400031b4
test eax, eax
jne 0x140003655
call fcn.1400032e8
test eax, eax
je 0x140003655
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x140003555
mov ecx, 0x410
and eax, ecx
cmp eax, ecx
jne 0x140003555
lea rdx, [rsp + 0x20]
mov rcx, rsi
call fcn.1400039b0
test eax, eax
jne 0x140003555
mov dword [rbx], 1
jmp 0x140003655
mov r9, r13
lea r8, [0x14001e318]
mov rdx, r13
mov rcx, rsi
call fcn.140002928
mov r14, rax
test rax, rax
jne 0x14000357b
lea eax, [r14 + 0xe]
jmp 0x140003667
lea rdx, [rsp + 0x30]
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov r15, rax
cmp rax, r13
jne 0x14000359e
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebp, eax
jmp 0x140003641
test byte [rsp + 0x30], 0x10
je 0x140003616
lea rdx, [0x14001e598]
lea rcx, [rsp + 0x5c]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsicmp]
test eax, eax
je 0x140003616
lea rdx, [0x14001e59c]
lea rcx, [rsp + 0x5c]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsicmp]
test eax, eax
je 0x140003616
mov r9, r13
lea r8, [rsp + 0x5c]
mov rdx, r13
mov rcx, rsi
call fcn.140002928
mov rdi, rax
test rax, rax
je 0x140003616
mov rdx, rbx
mov rcx, rax
call fcn.140003488
mov ebp, eax
test eax, eax
jne 0x140003602
cmp dword [rbx], r12d
jne 0x14000362d
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov r8, rdi
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapFree]
lea rdx, [rsp + 0x30]
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
je 0x140003641
jmp 0x14000359e
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov r8, rdi
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapFree]
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov r8, r14
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_FindClose]
mov eax, ebp
jmp 0x140003667
mov eax, 0x57
mov rcx, qword [rsp + 0x280]
xor rcx, rsp
call fcn.140019ab0
mov rbx, qword [rsp + 0x2e0]
add rsp, 0x290
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
Function at 0x140006b50
Capabilities:
Enumerate process modules

Disassembly:
mov qword [rsp + 8], rbx
push rdi
mov eax, 0x4e70
call fcn.14001ae40
sub rsp, rax
mov rax, qword [0x14002f010]
xor rax, rsp
mov qword [rsp + 0x4e60], rax
xor edx, edx
lea rcx, [rsp + 0x40]
mov r8d, 0x3e80
call sub.VCRUNTIME140.dll_memset
xor ebx, ebx
mov dword [rsp + 0x20], ebx
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
lea r9, [rsp + 0x20]
mov r8d, 0x3e80
mov rcx, rax
lea rdx, [rsp + 0x40]
call qword [sym.imp.PSAPI.DLL_EnumProcessModules]
test eax, eax
je 0x140006c66
lea rax, [rsp + 0x3ec0]
mov dword [rsp + 0x2c], ebx
mov qword [rsp + 0x30], rax
mov edi, 0xfa0
mov eax, dword [rsp + 0x20]
mov word [rsp + 0x2a], di
test rax, 0xfffffffffffffff8
jbe 0x140006c5f
nop
mov r8, rdi
lea rcx, [rsp + 0x3ec0]
xor edx, edx
call sub.VCRUNTIME140.dll_memset
mov rcx, qword [rsp + rbx*8 + 0x40]
lea rdx, [rsp + 0x3ec0]
mov r8d, 0x7cf
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea rcx, [rsp + 0x3ec0]
mov rax, 0xffffffffffffffff
nop word [rax + rax]
inc rax
cmp word [rcx + rax*2], 0
jne 0x140006c20
mov r8, qword [rsp + rbx*8 + 0x40]
lea rdx, [rsp + 0x28]
add ax, ax
lea rcx, [0x14002f080]
xor r9d, r9d
mov word [rsp + 0x28], ax
call fcn.140006c90
test eax, eax
je 0x140006c66
mov eax, dword [rsp + 0x20]
inc rbx
shr rax, 3
cmp rbx, rax
jb 0x140006be0
mov eax, 1
jmp 0x140006c68
xor eax, eax
mov rcx, qword [rsp + 0x4e60]
xor rcx, rsp
call fcn.140019ab0
mov rbx, qword [rsp + 0x4e80]
add rsp, 0x4e70
pop rdi
ret
Function at 0x140007800
Capabilities:
Parse pe header

Disassembly:
test rcx, rcx
je 0x140007a5c
push rdi
sub rsp, 0x90
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rsp + 0x30], xmm0
mov qword [rsp + 0x40], rax
mov rdi, rcx
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov r9d, 0x18
lea r8, [rsp + 0x30]
mov rcx, rax
mov rdx, rdi
call qword [sym.imp.PSAPI.DLL_GetModuleInformation]
test eax, eax
je 0x140007a54
mov eax, 0x5a4d
mov qword [rsp + 0x80], r15
mov r15d, dword [rsp + 0x38]
cmp word [rdi], ax
jne 0x140007a4c
movsxd rcx, dword [rdi + 0x3c]
lea rax, [rcx + 0x108]
cmp rax, r15
jae 0x140007a4c
cmp dword [rcx + rdi], 0x4550
mov qword [rsp + 0xb0], rbp
lea rbp, [rcx + rdi]
jne 0x140007a44
movzx eax, word [rbp + 4]
mov ecx, 0x14c
mov qword [rsp + 0xb8], rsi
xor esi, esi
mov qword [rsp + 0x88], r14
cmp cx, ax
jne 0x1400078b5
xor r14d, r14d
jmp 0x1400078e7
mov ecx, 0x200
mov r8d, 0xaa64
cmp cx, ax
je 0x1400078d9
mov ecx, 0x8664
cmp cx, ax
je 0x1400078d9
cmp r8w, ax
jne 0x140007a34
cmp r8w, ax
mov r14d, 1
sete sil
mov qword [rsp + 0xa8], rbx
mov ebx, dword [rbp + 0x28]
add rbx, rdi
je 0x140007a2c
cmp rbx, rdi
jbe 0x140007a2c
lea rax, [r15 + rdi]
cmp rbx, rax
jae 0x140007a2c
xorps xmm0, xmm0
lea rdx, [rsp + 0x48]
mov r8d, 0x30
mov rcx, rbx
movups xmmword [rsp + 0x48], xmm0
movups xmmword [rsp + 0x58], xmm0
movups xmmword [rsp + 0x68], xmm0
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x140007a2c
test dword [rsp + 0x68], 0x1000
je 0x140007a2c
test dword [rsp + 0x70], 0x1000000
je 0x140007a2c
mov eax, dword [rsp + 0x6c]
xor ecx, ecx
test al, 0x10
jne 0x140007972
test al, 0x20
jne 0x140007972
test al, 0x40
jne 0x140007972
test al, al
jns 0x140007977
mov ecx, 1
test ecx, ecx
je 0x140007a2c
mov r9d, r14d
mov dword [rsp + 0x20], esi
mov r8d, r15d
mov rdx, rdi
mov rcx, rbp
call fcn.140007f90
mov edx, 0x14
mov dword [rsp + 0xa0], 0
lea r9, [rsp + 0xa0]
mov rcx, rbx
lea r8d, [rdx + 0x2c]
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
je 0x140007a2c
test r14d, r14d
jne 0x1400079d6
mov eax, dword [0x14002f060]
mov dword [rbx], eax
movzx eax, byte [0x14002f064]
mov byte [rbx + 4], al
jmp 0x1400079fa
test esi, esi
je 0x1400079e6
mov rax, qword [0x14002f058]
mov qword [rbx], rax
jmp 0x1400079fa
movzx eax, word [0x14002f068]
mov word [rbx], ax
movzx eax, byte [0x14002f06a]
mov byte [rbx + 2], al
mov r8d, dword [rsp + 0xa0]
lea r9, [rsp + 0xa0]
mov edx, 0x14
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
xor r8d, r8d
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_FlushInstructionCache]
mov rbx, qword [rsp + 0xa8]
mov rsi, qword [rsp + 0xb8]
mov r14, qword [rsp + 0x88]
mov rbp, qword [rsp + 0xb0]
mov r15, qword [rsp + 0x80]
add rsp, 0x90
pop rdi
ret
Function at 0x14000c1ec
Capabilities:
Create directory

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x80
mov rax, qword [0x14002f010]
xor rax, rsp
mov qword [rsp + 0x70], rax
mov bl, dl
mov rdi, rcx
lea rcx, [rsp + 0x48]
call qword [sym.imp.Cmmlib.dll_public:_void___cdecl_Cmm::CFileName::constructor_void____ptr64]
nop
mov edx, 6
lea r8d, [rdx - 5]
lea rcx, [rsp + 0x48]
call qword [sym.imp.Cmmlib.dll_public:_void___cdecl_Cmm::CFileName::GetSpecialDirectory_enum_Cmm::CFileName::SpecialFolder__int____ptr64]
lea rcx, [rsp + 0x48]
call qword [sym.imp.Cmmlib.dll_public:_wchar_t_const____ptr64___cdecl_Cmm::CStringT_wchar_t_::c_str_void_const___ptr64]
mov rdx, rax
mov rcx, rdi
call qword [reloc.Cmmlib.dll___4__CStringT__W_Cmm__QEAAAEAV01_PEB_W_Z]
lea rdx, [0x140022b78]
mov rcx, rdi
call qword [sym.imp.Cmmlib.dll_public:_class_Cmm::CStringT_wchar_t_____ptr64___cdecl_Cmm::CStringT_wchar_t_::operator_wchar_t_const____ptr64____ptr64]
lea rdx, str.logs
mov rcx, rdi
call qword [sym.imp.Cmmlib.dll_public:_class_Cmm::CStringT_wchar_t_____ptr64___cdecl_Cmm::CStringT_wchar_t_::operator_wchar_t_const____ptr64____ptr64]
lea rdx, [0x140022b78]
mov rcx, rdi
call qword [sym.imp.Cmmlib.dll_public:_class_Cmm::CStringT_wchar_t_____ptr64___cdecl_Cmm::CStringT_wchar_t_::operator_wchar_t_const____ptr64____ptr64]
mov rcx, rdi
call qword [sym.imp.Cmmlib.dll_public:_wchar_t_const____ptr64___cdecl_Cmm::CStringT_wchar_t_::c_str_void_const___ptr64]
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test bl, bl
je 0x14000c2bf
lea rcx, [rsp + 0x20]
call qword [sym.imp.Cmmlib.dll_public:_void___cdecl_Cmm::CStringT_wchar_t_::constructor_void____ptr64]
nop
mov dl, 1
lea rcx, [rsp + 0x20]
call fcn.14000c2e8
lea rdx, [rsp + 0x20]
mov rcx, rdi
call qword [sym.imp.Cmmlib.dll_public:_class_Cmm::CStringT_wchar_t_____ptr64___cdecl_Cmm::CStringT_wchar_t_::operator_class_Cmm::CStringT_wchar_t__const____ptr64____ptr64]
nop
lea rcx, [rsp + 0x20]
call qword [sym.imp.Cmmlib.dll_public_virtual:_void___cdecl_Cmm::CStringT_wchar_t_::destructor_void____ptr64]
nop
lea rcx, [rsp + 0x48]
call qword [sym.imp.Cmmlib.dll_public_virtual:_void___cdecl_Cmm::CFileName::destructor_void____ptr64]
mov rcx, qword [rsp + 0x70]
xor rcx, rsp
call fcn.140019ab0
mov rbx, qword [rsp + 0x98]
add rsp, 0x80
pop rdi
ret
Function at 0x14000eff4
Capabilities:
Delete file
Get common file path
Move file

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x440
mov rax, qword [0x14002f010]
xor rax, rsp
mov qword [rsp + 0x430], rax
xor edi, edi
mov rbx, rdx
test rdx, rdx
je 0x14000f0c2
or rax, 0xffffffffffffffff
inc rax
cmp word [rdx + rax*2], di
jne 0x14000f025
test rax, rax
je 0x14000f0c2
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x14000f0c2
xor edx, edx
lea rcx, [rsp + 0x20]
mov r8d, 0x410
call sub.VCRUNTIME140.dll_memset
lea rdx, [rsp + 0x20]
mov ecx, 0x207
call qword [sym.imp.KERNEL32.dll_GetTempPathW]
lea r9, [rsp + 0x20]
xor r8d, r8d
lea rdx, [0x14001e544]
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_GetTempFileNameW]
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
lea rdx, [rsp + 0x20]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_MoveFileW]
test eax, eax
je 0x14000f0b1
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x14000f0c2
lea rbx, [rsp + 0x20]
xor edx, edx
mov rcx, rbx
lea r8d, [rdx + 4]
call qword [sym.imp.KERNEL32.dll_MoveFileExW]
jmp 0x14000f0c7
mov eax, 1
mov rcx, qword [rsp + 0x430]
xor rcx, rsp
call fcn.140019ab0
mov rbx, qword [rsp + 0x450]
add rsp, 0x440
pop rdi
ret
Function at 0x1400102cc
Capabilities:
Get token membership

Disassembly:
mov qword [rsp + 0x10], rbx
push rbp
mov rbp, rsp
sub rsp, 0x80
mov rax, qword [0x14002f010]
xor rax, rsp
mov qword [rbp - 8], rax
and dword [rbp - 0x10], 0
lea rax, [rbp - 0x18]
mov qword [rsp + 0x50], rax
mov rbx, rcx
and dword [rsp + 0x48], 0
lea rcx, [rbp - 0x10]
and dword [rsp + 0x40], 0
mov r9d, 0x220
and dword [rsp + 0x38], 0
mov r8d, 0x20
and dword [rsp + 0x30], 0
mov dl, 2
and dword [rsp + 0x28], 0
and dword [rsp + 0x20], 0
mov word [rbp - 0xc], 0x500
call qword [sym.imp.ADVAPI32.dll_AllocateAndInitializeSid]
mov dword [rbp - 0x20], eax
test eax, eax
je 0x140010364
mov rdx, qword [rbp - 0x18]
lea r8, [rbp - 0x20]
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_CheckTokenMembership]
neg eax
sbb ecx, ecx
and dword [rbp - 0x20], ecx
mov rcx, qword [rbp - 0x18]
call qword [sym.imp.ADVAPI32.dll_FreeSid]
mov eax, dword [rbp - 0x20]
test eax, eax
setne al
mov rcx, qword [rbp - 8]
xor rcx, rsp
call fcn.140019ab0
mov rbx, qword [rsp + 0x98]
add rsp, 0x80
pop rbp
ret

Function at 0x140010384
Capabilities:
Get token privileges

Disassembly:
push rbp
push rbx
mov rbp, rsp
sub rsp, 0x48
xor ebx, ebx
mov qword [rbp + 0x30], rbx
mov qword [rbp + 0x28], rbx
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
lea r8, [rbp + 0x30]
mov edx, 0xf01ff
mov rcx, rax
call qword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x14001044d
mov rcx, qword [rbp + 0x30]
lea rax, [rbp + 0x20]
mov r9d, 4
mov dword [rbp + 0x20], ebx
lea r8, [rbp + 0x18]
mov dword [rbp + 0x18], 1
mov qword [rsp + 0x20], rax
lea edx, [r9 + 0xe]
call qword [sym.imp.ADVAPI32.dll_GetTokenInformation]
cmp dword [rbp + 0x18], 3
mov rcx, qword [rbp + 0x30]
jne 0x140010418
mov r9d, 8
lea rax, [rbp + 0x20]
lea r8, [rbp - 0x18]
mov qword [rsp + 0x20], rax
lea edx, [r9 + 0xb]
call qword [sym.imp.ADVAPI32.dll_GetTokenInformation]
test eax, eax
je 0x140010427
mov rcx, qword [rbp - 0x18]
mov qword [rbp + 0x28], rcx
jmp 0x14001042b
lea r8, [rbp + 0x28]
mov edx, 2
call qword [sym.imp.ADVAPI32.dll_DuplicateToken]
mov rcx, qword [rbp + 0x28]
test rcx, rcx
je 0x140010441
call fcn.1400102cc
mov rcx, qword [rbp + 0x28]
mov bl, al
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rbp + 0x30]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, bl
add rsp, 0x48
pop rbx
pop rbp
ret
Function at 0x140010454
Capabilities:
Get common file path

Disassembly:
push rbx
sub rsp, 0x460
mov rax, qword [0x14002f010]
xor rax, rsp
mov qword [rsp + 0x450], rax
mov rbx, rcx
mov qword [rsp + 0x28], rcx
and dword [rsp + 0x20], 0
xor edx, edx
mov r8d, 0x412
lea rcx, [rsp + 0x30]
call sub.VCRUNTIME140.dll_memset
mov edx, 0x208
lea rcx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
lea rdx, str.system32msiexec.exe
lea rcx, [rsp + 0x30]
call qword [sym.imp.SHLWAPI.dll_PathAppendW]
lea rdx, [0x140023418]
mov rcx, rbx
call qword [sym.imp.Cmmlib.dll_public:_void___cdecl_Cmm::CStringT_wchar_t_::constructor_wchar_t_const____ptr64____ptr64]
mov dword [rsp + 0x20], 1
lea rdx, [rsp + 0x30]
mov rcx, rbx
call qword [sym.imp.Cmmlib.dll_public:_class_Cmm::CStringT_wchar_t_____ptr64___cdecl_Cmm::CStringT_wchar_t_::operator_wchar_t_const____ptr64____ptr64]
lea rdx, [0x140023418]
mov rcx, rbx
call qword [sym.imp.Cmmlib.dll_public:_class_Cmm::CStringT_wchar_t_____ptr64___cdecl_Cmm::CStringT_wchar_t_::operator_wchar_t_const____ptr64____ptr64]
mov rax, rbx
mov rcx, qword [rsp + 0x450]
xor rcx, rsp
call fcn.140019ab0
add rsp, 0x460
pop rbx
ret
Function at 0x140013c24
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov qword [rsp + 0x10], rbx
push rbp
push rsi
push rdi
push r14
push r15
sub rsp, 0x30
mov r15d, r8d
mov rbx, rdx
mov rsi, rcx
lea rdi, [rcx + 0x38]
mov qword [rsp + 0x78], rdi
mov rcx, rdi
call qword [sym.imp.MSVCP140.dll__Mtx_lock]
test eax, eax
je 0x140013c5c
mov ecx, eax
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_C_error_int_]
nop
lea r14, [rsi + 0x88]
mov rcx, rbx
cmp qword [rbx + 0x18], 0x10
jb 0x140013c70
mov rcx, qword [rbx]
xor edx, edx
movabs r9, 0xcbf29ce484222325
cmp qword [rbx + 0x10], rdx
jbe 0x140013ca0
movzx eax, byte [rdx + rcx]
xor r9, rax
movabs r8, 0x100000001b3
imul r9, r8
inc rdx
cmp rdx, qword [rbx + 0x10]
jb 0x140013c82
mov r8, rbx
lea rdx, [rsp + 0x20]
mov rcx, r14
call fcn.140015f90
mov rbp, qword [rax + 8]
test rbp, rbp
jne 0x140013cbd
mov rbp, qword [r14 + 8]
cmp rbp, qword [rsi + 0x90]
je 0x140013d54
mov rsi, qword [rbp + 0x30]
test rsi, rsi
je 0x140013d43
mov dword [rsp + 0x60], r15d
cmp r15d, 0xffffffff
je 0x140013d14
lea rcx, [rsi + 0x60]
call qword [sym.imp.MSVCP140.dll__Mtx_lock]
test eax, eax
je 0x140013cf5
mov ecx, eax
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_C_error_int_]
int3
lea rcx, [rsi + 0xb0]
lea rdx, [rsp + 0x60]
call fcn.140014360
lea rcx, [rsi + 0x60]
call qword [sym.imp.MSVCP140.dll__Mtx_unlock]
mov rsi, qword [rbp + 0x30]
lea rbx, [rsi + 0x60]
mov rcx, rbx
call qword [sym.imp.MSVCP140.dll__Mtx_lock]
test eax, eax
je 0x140013d2e
mov ecx, eax
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_C_error_int_]
int3
mov rsi, qword [rsi + 0xc0]
mov rcx, rbx
call qword [sym.imp.MSVCP140.dll__Mtx_unlock]
test rsi, rsi
jne 0x140013d54
mov r8, rbp
lea rdx, [rsp + 0x60]
mov rcx, r14
call fcn.140015218
nop
mov rcx, rdi
mov rbx, qword [rsp + 0x68]
add rsp, 0x30
pop r15
pop r14
pop rdi
pop rsi
pop rbp
jmp qword [sym.imp.MSVCP140.dll__Mtx_unlock]
invalid
invalid
adc edi, edi
std
invalid
or edi, edi
cli
pop rbx
or edi, edi
sti
pop rdx
or bh, bh
sti
pop rdx
or bh, bh
cld
pop rbx
or edi, edi
cld
pop rbx
or edi, edi
cld
pop rbx
or edi, edi
cld
pop rbx
or edi, edi
invalid
invalid
in eax, dx
push rbp
or bh, bh
out dx, eax
push rsi
or bh, bh
out dx, eax
push rsi
or bh, bh
invalid
Function at 0x140014360
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov r10, rdx
mov r11, rcx
movabs r8, 0xcbf29ce484222325
xor r9d, r9d
movzx eax, byte [r9 + rdx]
movabs rcx, 0x100000001b3
xor r8, rax
inc r9
imul r8, rcx
cmp r9, 4
jb 0x14001437d
and r8, qword [r11 + 0x30]
mov rdx, qword [r11 + 0x18]
mov rcx, r8
mov rax, qword [r11 + 8]
add rcx, rcx
mov rbx, qword [rdx + rcx*8 + 8]
cmp rbx, rax
je 0x140014457
mov r9d, dword [r10]
jmp 0x1400143cf
cmp rbx, qword [rdx + rcx*8]
je 0x140014457
mov rbx, qword [rbx + 8]
cmp r9d, dword [rbx + 0x10]
jne 0x1400143c1
test rbx, rbx
je 0x140014457
shl r8, 4
add r8, rdx
cmp qword [rdx + rcx*8 + 8], rbx
jne 0x1400143fd
cmp qword [r8], rbx
jne 0x1400143f2
mov qword [r8], rax
jmp 0x1400143f6
mov rax, qword [rbx + 8]
mov qword [rdx + rcx*8 + 8], rax
jmp 0x140014408
cmp qword [r8], rbx
jne 0x140014408
mov rax, qword [rbx]
mov qword [r8], rax
mov rcx, qword [rbx]
lea rdi, [rbx + 0x18]
dec qword [r11 + 0x10]
mov rax, qword [rbx + 8]
mov qword [rax], rcx
mov rax, qword [rbx + 8]
mov qword [rcx + 8], rax
mov rcx, qword [rdi + 0x38]
test rcx, rcx
je 0x140014443
mov r8, qword [rcx]
cmp rcx, rdi
setne dl
mov rax, qword [r8 + 0x20]
call qword [0x14001dec0]
and qword [rdi + 0x38], 0
mov edx, 0x58
mov rcx, rbx
call fcn.140019b0c
mov eax, 1
jmp 0x140014459
xor eax, eax
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
Function at 0x1400145b4
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push r14
sub rsp, 0x20
movabs rax, 0xfffffffffffffff
mov rsi, rcx
bsr rcx, rax
mov eax, 1
shl rax, cl
cmp rdx, rax
jbe 0x1400145f5
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 [rsi + 8]
lea rax, [rdx - 1]
or rax, 1
mov edi, 1
bsr rcx, rax
mov r8, rbx
inc ecx
shl rdi, cl
lea rcx, [rsi + 0x18]
lea rdx, [rdi + rdi]
call fcn.140014464
lea rax, [rdi - 1]
mov qword [rsi + 0x38], rdi
mov qword [rsi + 0x30], rax
mov rax, qword [rsi + 8]
mov rax, qword [rax]
mov rcx, rax
cmp rax, rbx
je 0x140014710
mov rcx, qword [rcx]
movabs r8, 0xcbf29ce484222325
xor r9d, r9d
movzx edx, byte [r9 + rax + 0x10]
movabs r10, 0x100000001b3
xor r8, rdx
inc r9
imul r8, r10
cmp r9, 4
jb 0x14001464e
mov r10, qword [rsi + 0x30]
mov r11, qword [rsi + 0x18]
and r10, r8
add r10, r10
cmp qword [r11 + r10*8], rbx
jne 0x14001468d
mov qword [r11 + r10*8], rax
mov qword [r11 + r10*8 + 8], rax
jmp 0x140014704
mov rdx, qword [r11 + r10*8 + 8]
mov r8d, dword [rax + 0x10]
cmp r8d, dword [rdx + 0x10]
jne 0x1400146c7
mov rdi, qword [rdx]
cmp rdi, rax
je 0x140014686
mov r9, qword [rax + 8]
mov qword [r9], rcx
mov r8, qword [rcx + 8]
mov qword [r8], rdi
mov rdx, qword [rdi + 8]
mov qword [rdx], rax
mov qword [rdi + 8], r8
mov qword [rcx + 8], r9
mov qword [rax + 8], rdx
jmp 0x140014686
mov rdi, rdx
jmp 0x1400146d9
mov rdx, qword [rdx + 8]
mov rdi, rdx
cmp r8d, dword [rdx + 0x10]
je 0x140014726
cmp qword [r11 + r10*8], rdx
jne 0x1400146cc
mov r9, qword [rax + 8]
mov qword [r9], rcx
mov r8, qword [rcx + 8]
mov qword [r8], rdi
mov rdx, qword [rdi + 8]
mov qword [rdx], rax
mov qword [rdi + 8], r8
mov qword [rcx + 8], r9
mov qword [rax + 8], rdx
mov qword [r11 + r10*8], rax
mov rax, rcx
cmp rcx, rbx
jne 0x14001463e
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
mov rdi, qword [rsp + 0x40]
add rsp, 0x20
pop r14
ret
mov r10, qword [rdx]
mov r9, qword [rax + 8]
mov qword [r9], rcx
mov r8, qword [rcx + 8]
mov qword [r8], r10
mov rdx, qword [r10 + 8]
mov qword [rdx], rax
mov qword [r10 + 8], r8
mov qword [rcx + 8], r9
mov qword [rax + 8], rdx
jmp 0x140014704