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

Disassembly:
mov qword [rsp + 0x18], rbx
push rdi
sub rsp, 0x240
mov rax, qword [0x1401f7030]
xor rax, rsp
mov qword [rsp + 0x230], rax
mov rdi, rdx
mov rbx, rcx
lea rdx, [rsp + 0x20]
mov ecx, 0x104
call qword [sym.imp.KERNEL32.dll_GetTempPathW]
test eax, eax
je 0x140077cd8
lea r8, [rsp + 0x20]
mov rdx, rdi
mov rcx, rbx
call fcn.140004fe4
mov rcx, qword [rsp + 0x230]
xor rcx, rsp
call fcn.14005a600
mov rbx, qword [rsp + 0x260]
add rsp, 0x240
pop rdi
ret
lea r8, str.GUID_TEMPFILE
mov edx, 0x450
xor ecx, ecx
call fcn.14005e3e8
int3
Function at 0x1400052dc
Capabilities:
Create process on windows

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
push rbp
lea rbp, [rax - 0x5f]
sub rsp, 0xe0
mov rdi, rdx
mov rbx, r8
xor edx, edx
mov rsi, rcx
lea rcx, [rbp - 0x15]
lea r8d, [rdx + 0x64]
call sub.VCRUNTIME140.dll_memset
mov rdx, rbx
mov dword [rbp - 0x19], 0x68
lea rcx, [rbp + 0x7f]
call fcn.1400053e0
mov rbx, qword [rbp + 0x7f]
lea rax, [rbp - 0x31]
mov qword [rsp + 0x48], rax
xor r9d, r9d
lea rax, [rbp - 0x19]
xor r8d, r8d
mov qword [rsp + 0x40], rax
mov rdx, rbx
and qword [rsp + 0x38], 0
mov rcx, rdi
and qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0x400
mov dword [rsp + 0x20], 1
call qword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x140077dfc
mov rcx, qword [rbp - 0x31]
or edx, 0xffffffff
or dword [rbp - 0x35], 0xffffffff
mov byte [rbp - 0x39], 1
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0x14000539b
mov rcx, qword [rbp - 0x31]
lea rdx, [rbp + 0x7f]
call qword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
mov eax, dword [rbp + 0x7f]
mov dword [rbp - 0x35], eax
mov rcx, qword [rbp - 0x31]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rbp - 0x29]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rax, qword [rbp - 0x39]
mov qword [rsi], rax
test rbx, rbx
je 0x1400053c4
mov rcx, rbx
call qword [sym.imp.tbbmalloc.dll_scalable_free]
lea r11, [rsp + 0xe0]
mov rax, rsi
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov rsp, r11
pop rbp
ret
or dword [rsi + 4], 0xffffffff
mov byte [rsi], 0
jmp 0x1400053b6
Function at 0x14000592c
Capabilities:
Parse pe header

Disassembly:
push rbx
sub rsp, 0x80
mov rax, qword [0x1401f7030]
xor rax, rsp
mov qword [rsp + 0x70], rax
mov rax, qword [0x1401face8]
mov rbx, rcx
cmp byte [rax + 0x242], 0
jne 0x14007897a
cmp byte [rax + 0x243], 0
jne 0x140005973
mov rdx, rcx
lea rcx, str._nDump_of_file__s_n
call fcn.140008818
and dword [0x1401fa980], 0
xor r9d, r9d
and dword [0x1401fa54c], 0
xor r8d, r8d
mov rcx, rbx
lea edx, [r9 + 1]
call fcn.140015df8
mov ecx, eax
mov dword [0x1401face0], eax
mov r9d, eax
call fcn.14002fce4
mov ecx, r9d
mov dword [0x1401fb5a4], eax
call fcn.14000fa00
test al, al
jne 0x14007899d
mov ecx, dword [0x1401face0]
xor r8d, r8d
xor edx, edx
call fcn.14001604c
mov ecx, dword [0x1401face0]
lea rdx, [rsp + 0x20]
mov r8d, 2
call fcn.14002fff0
mov ecx, dword [0x1401face0]
xor r8d, r8d
xor edx, edx
call fcn.14001604c
mov eax, 0x4944
cmp word [rsp + 0x20], ax
je 0x1400789ab
mov eax, 0x5a4d
cmp word [rsp + 0x20], ax
jne 0x1400789d5
mov r8d, 0x40
cmp dword [0x1401fb5a4], r8d
jb 0x1400789d5
mov ecx, dword [0x1401face0]
lea rdx, [rsp + 0x30]
call fcn.14002fff0
movsxd rdx, dword [rsp + 0x6c]
test edx, edx
je 0x1400789b9
mov eax, dword [0x1401fb5a4]
lea rcx, [rdx + 4]
cmp rcx, rax
ja 0x1400789b9
mov rax, qword [0x1401face8]
xor r8d, r8d
mov ecx, dword [0x1401face0]
mov dword [rax + 0xf4c], edx
call fcn.14001604c
mov ecx, dword [0x1401face0]
lea rdx, [rsp + 0x20]
mov r8d, 4
call fcn.14002fff0
cmp dword [rsp + 0x20], 0x4550
jne 0x1400789b9
mov rcx, rbx
mov dword [0x1401facf0], 4
call fcn.140009848
mov ecx, dword [0x1401face0]
mov dl, 1
call fcn.140033a30
mov rcx, qword [0x1401face8]
add rcx, 0xf00
call fcn.14002b124
mov rcx, qword [rsp + 0x70]
xor rcx, rsp
call fcn.14005a600
add rsp, 0x80
pop rbx
ret
mov ecx, 2
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov r8, rbx
lea rdx, str._nDump_of_file__s_n
mov rcx, rax
call fcn.1400ebc1c
nop
jmp 0x140005973
mov rcx, rbx
call fcn.1400dc2dc
nop
jmp 0x140005aa3
mov rcx, rbx
call fcn.1400ddec4
nop
jmp 0x140005aa3
and dword [0x1401facf0], 0
mov r8, rbx
mov edx, 0xffe
xor ecx, ecx
call fcn.1400ebbc8
nop
jmp 0x140005aa3
mov rdx, rbx
xor ecx, ecx
call fcn.1400e2568
nop
jmp 0x140005aa3
Function at 0x140005ce0
Capabilities:
Clear file content

Disassembly:
push rbx
sub rsp, 0x20
cmp qword [0x1401f7130], 0xffffffffffffffff
jne 0x140005cf6
add rsp, 0x20
pop rbx
ret
mov rcx, qword [0x1401fb6b0]
call qword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
test eax, eax
je 0x140078b2c
mov rbx, qword [0x1401fb6b8]
lea r8, [rsp + 0x30]
sub rbx, qword [0x1401fb6b0]
xor r9d, r9d
mov rcx, qword [0x1401f7130]
mov rdx, rbx
call qword [sym.imp.KERNEL32.dll_SetFilePointerEx]
test eax, eax
je 0x140078b54
cmp rbx, qword [rsp + 0x30]
jne 0x140078b54
mov rcx, qword [0x1401f7130]
call qword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
je 0x140078b54
mov rcx, qword [0x1401f7130]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
je 0x140078b40
or qword [0x1401f7130], 0xffffffffffffffff
jmp 0x140005cf0
mov r8, qword [0x1401fa4f0]
mov edx, 0x451
xor ecx, ecx
call fcn.14005e3e8
int3
mov r8, qword [0x1401fa4f0]
mov edx, 0x451
xor ecx, ecx
call fcn.14005e3e8
int3
mov r8, qword [0x1401fa4f0]
mov edx, 0x451
xor ecx, ecx
call fcn.14005e3e8
int3

Function at 0x140005e6c
Capabilities:
Clear file content

Disassembly:
push rbx
sub rsp, 0x20
cmp qword [rcx + 0x18], 0
mov rbx, rcx
je 0x140005e9e
test byte [rcx + 0x28], 0x20
jne 0x140078b7e
mov rcx, qword [rbx + 0x30]
call qword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
test eax, eax
je 0x140078ba2
test byte [rbx + 0x28], 2
jne 0x140005ea4
add rsp, 0x20
pop rbx
ret
mov rcx, qword [rbx + 0x18]
lea r8, [rsp + 0x38]
xor eax, eax
xor r9d, r9d
mov dword [rsp + 0x34], eax
mov eax, dword [rbx + 0x2c]
mov dword [rsp + 0x30], eax
mov rdx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_SetFilePointerEx]
test eax, eax
je 0x140005eea
cmp dword [rsp + 0x3c], 0
jne 0x140005eea
mov eax, dword [rsp + 0x38]
cmp dword [rbx + 0x2c], eax
jne 0x140005eea
mov rcx, qword [rbx + 0x18]
call qword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x140005e9e
mov r8, qword [rbx]
mov edx, 0x451
xor ecx, ecx
call fcn.14005e3e8
int3
mov rcx, qword [rcx + 0x30]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_FlushViewOfFile]
test eax, eax
jne 0x140005e86
mov r8, qword [rbx]
mov edx, 0x451
xor ecx, ecx
call fcn.14005e3e8
int3
mov r8, qword [rbx]
mov edx, 0x451
xor ecx, ecx
call fcn.14005e3e8
int3
Function at 0x140006820
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
lea rbp, [rsp - 0x47]
sub rsp, 0x90
mov rax, qword [0x1401f7030]
xor rax, rsp
mov qword [rbp + 0x37], rax
mov rdi, rdx
mov rbx, rcx
mov dword [rbp - 0x15], 1
mov r8d, 4
lea rdx, [rbp - 0x11]
lea rcx, [rbp - 0x15]
call fcn.1400068b0
mov esi, dword [rax]
and qword [rsp + 0x20], 0
lea r9, [rbp - 0x19]
mov r8d, esi
mov rdx, rdi
mov rcx, qword [rbx]
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x140078f54
cmp dword [rbp - 0x19], esi
jne 0x140078f7e
mov rcx, qword [rbp + 0x37]
xor rcx, rsp
call fcn.14005a600
mov rbx, qword [rsp + 0xc0]
add rsp, 0x90
pop rdi
pop rsi
pop rbp
ret
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r8d, eax
lea rdx, [0x1401d1480]
lea rcx, [rbp - 9]
call fcn.14014a7e8
lea rdx, [0x1401f2a40]
lea rcx, [rbp - 9]
call sub.VCRUNTIME140.dll__CxxThrowException
int3
lea rdx, str.WriteFile_returned_incorrect_message_length:
lea rcx, [rbp + 0x17]
call fcn.1400b22a4
nop
mov edx, dword [rbp - 0x19]
lea rcx, [rbp - 9]
call fcn.1401493f4
nop
lea rdx, [rbp - 9]
cmp qword [rbp + 0xf], 0x10
cmovae rdx, qword [rbp - 9]
mov r8, qword [rbp + 7]
lea rcx, [rbp + 0x17]
call fcn.1400c0bdc
nop
lea rcx, [rbp - 9]
call fcn.1400b8ed0
lea rdx, [rbp + 0x17]
cmp qword [rbp + 0x2f], 0x10
cmovae rdx, qword [rbp + 0x17]
lea rcx, [rbp - 9]
call fcn.1400d5934
lea rdx, [0x1401f2a40]
lea rcx, [rbp - 9]
call sub.VCRUNTIME140.dll__CxxThrowException
int3

Function at 0x140007598
Capabilities:
Query environment variable

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x18], rbp
mov qword [rax + 0x20], rsi
mov qword [rax + 0x10], rdx
push rdi
sub rsp, 0x30
mov rsi, r8
mov rbx, rdx
xor ebp, ebp
mov dword [rax - 0x18], ebp
mov qword [rdx], rbp
mov qword [rdx + 0x10], rbp
mov qword [rdx + 0x18], 7
mov word [rdx], bp
mov dword [rax - 0x18], 1
xor r8d, r8d
xor edx, edx
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
mov edi, eax
test eax, eax
jne 0x140079252
mov rax, rbx
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x58]
add rsp, 0x30
pop rdi
ret
lea edx, [rax - 1]
mov rcx, rbx
cmp rdx, qword [rbx + 0x10]
ja 0x140079272
cmp qword [rbx + 0x18], 8
jb 0x140079268
mov rcx, qword [rbx]
mov qword [rbx + 0x10], rdx
mov word [rcx + rdx*2], bp
jmp 0x14007927b
sub rdx, qword [rbx + 0x10]
call fcn.14014aee4
mov rdx, rbx
cmp qword [rbx + 0x18], 8
jb 0x140079288
mov rdx, qword [rbx]
mov r8d, edi
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
nop
jmp 0x1400075ec
Function at 0x140008b0c
Capabilities:
Resolve path using msvcrt

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x680
mov rax, qword [0x1401f7030]
xor rax, rsp
mov qword [rsp + 0x670], rax
cmp byte [0x1401fbee8], 0
mov ebx, ecx
jne 0x140008be4
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll___p__wpgmptr]
and qword [rsp + 0x40], 0
lea rcx, [rsp + 0x60]
and qword [rsp + 0x38], 0
lea r9, [rsp + 0x260]
mov edi, pe_nt_image_headers64
lea rdx, [rsp + 0x50]
mov qword [rsp + 0x30], rdi
mov r8d, 3
mov qword [rsp + 0x28], rcx
mov rcx, qword [rax]
mov qword [rsp + 0x20], rdi
call qword [sym.imp.api_ms_win_crt_filesystem_l1_1_0.dll__wsplitpath_s]
and qword [rsp + 0x28], 0
lea r9, [rsp + 0x260]
and qword [rsp + 0x20], 0
lea r8, [rsp + 0x50]
lea edx, [rdi + 4]
lea rcx, [rsp + 0x460]
call qword [sym.imp.api_ms_win_crt_filesystem_l1_1_0.dll__wmakepath_s]
or r9, 0xffffffffffffffff
lea r8, str.UI.DLL
mov edx, edi
lea rcx, [rsp + 0x60]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcsncat_s]
test eax, eax
jne 0x140008c0c
lea rdx, [rsp + 0x60]
lea rcx, [rsp + 0x460]
call fcn.140008c9c
test eax, eax
js 0x140008c0c
mov byte [0x1401fbee8], 1
mov edx, ebx
call fcn.140008c18
mov rcx, qword [rsp + 0x670]
xor rcx, rsp
call fcn.14005a600
mov rbx, qword [rsp + 0x698]
add rsp, 0x680
pop rdi
ret
and qword [0x1401fbef0], 0
jmp 0x140008bdd

Function at 0x140008c18
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rdi, qword [0x1401fbef0]
mov eax, edx
movzx r9d, word [0x1401fbef8]
mov ebx, edx
shr eax, 4
mov edx, 6
inc ax
mov rcx, rdi
movzx r8d, ax
call qword [sym.imp.KERNEL32.dll_FindResourceExW]
test rax, rax
je 0x140008c96
mov rdx, rax
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov rdx, rax
test rax, rax
je 0x140008c96
and ebx, 0xf
je 0x140008c7b
movzx ecx, word [rdx]
lea rdx, [rdx + rcx*2]
add rdx, 2
add ebx, 0xffffffff
jne 0x140008c6b
movzx eax, word [rdx]
lea rcx, [rdx + 2]
neg ax
sbb rax, rax
and rax, rcx
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
xor eax, eax
jmp 0x140008c8b
Function at 0x1400090fc
Capabilities:
Get file size

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x20
test byte [rcx + 0x28], 8
mov edi, edx
mov rbx, rcx
jne 0x140009161
mov rcx, qword [rcx + 0x18]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_GetFileSize]
cmp eax, 0xffffffff
je 0x14007aa92
test byte [rbx + 0x28], 2
mov dword [rbx + 0x2c], eax
jne 0x140009165
mov dword [rbx + 0x38], eax
and dword [rsp + 0x30], 0
lea r8, [rsp + 0x30]
xor edx, edx
mov rcx, rbx
call fcn.140009194
test al, al
je 0x14000918e
or byte [rbx + 0x28], 4
test byte [rbx + 0x28], 2
jne 0x14000917c
mov al, 1
mov rbx, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
xor eax, eax
jmp 0x140009126
test edi, edi
mov ecx, 0x100000
cmovne ecx, edi
cmp dword [rbx + 0x38], 0
jne 0x140009132
cmp ecx, eax
cmova eax, ecx
jmp 0x14000912f
mov rcx, rbx
call fcn.1400092d4
test al, al
je 0x140009154
or byte [rbx + 0x28], 0x20
jmp 0x140009154
xor al, al
jmp 0x140009156
mov r8, qword [rbx]
mov edx, 0x450
xor ecx, ecx
call fcn.14005e3e8
int3
Function at 0x1400092d4
Capabilities:
Get disk information

Disassembly:
sub rsp, 0x288
mov rax, qword [0x1401f7030]
xor rax, rsp
mov qword [rsp + 0x270], rax
mov rdx, qword [rcx]
mov r8d, 0x104
lea rcx, [rsp + 0x60]
call qword [sym.imp.api_ms_win_crt_filesystem_l1_1_0.dll__wfullpath]
cmp word [rsp + 0x60], 0x5c
je 0x14007abb4
xor eax, eax
lea rdx, [rsp + 0x50]
mov qword [rsp + 0x40], rax
lea rcx, [rsp + 0x60]
mov qword [rsp + 0x38], rax
xor r9d, r9d
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x28], rax
lea r8d, [rax + 4]
mov qword [rsp + 0x20], rax
call qword [sym.imp.api_ms_win_crt_filesystem_l1_1_0.dll__wsplitpath_s]
lea r8, [0x1401a1908]
mov edx, 4
lea rcx, [rsp + 0x50]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcscat_s]
lea rcx, [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_GetDriveTypeW]
test eax, 0xfffffffb
sete al
mov rcx, qword [rsp + 0x270]
xor rcx, rsp
call fcn.14005a600
add rsp, 0x288
ret
cmp word [rsp + 0x62], 0x5c
jne 0x14000930d
mov al, 1
jmp 0x140009369
Function at 0x14000f79c
Capabilities:
Terminate process

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0x470
mov rax, qword [0x1401f7030]
xor rax, rsp
mov qword [rsp + 0x460], rax
or rax, 0xffffffffffffffff
mov r14, r8
mov r8, qword [rdx + 8]
xor r12d, r12d
mov r15, r9
mov rsi, rdx
mov rdi, rcx
inc rax
cmp word [r8 + rax*2], r12w
jne 0x14000f7d7
cmp rax, 0x208
jae 0x14007ee86
mov edx, 0x209
lea rcx, [0x1401fa560]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcscpy_s]
cmp qword [0x1401fa9c0], r12
mov bpl, r12b
je 0x14007ee93
lea r9, [rsp + 0x30]
mov r8, rdi
mov rdx, r14
mov rcx, rsi
call fcn.14000f934
mov rbx, rax
test bpl, bpl
jne 0x14007eea7
test rax, rax
je 0x14000f8ad
mov bpl, 0x40
test byte [rax + 0x128], bpl
je 0x14000f84f
test dword [rdi + 0x154], 0x200
jne 0x14007eec7
cmp byte [0x1401fa4e1], r12b
jne 0x14007ef47
test byte [rdi + 0x154], bpl
jne 0x14000f8cf
mov rdx, rdi
mov rcx, rbx
call fcn.1400311e0
xor r9d, r9d
mov r8, rbx
xor edx, edx
mov rcx, rdi
call fcn.14001c9b0
cmp byte [0x1401fa4e1], r12b
jne 0x14007ef61
xor edx, edx
mov rcx, rbx
call fcn.140033964
test r15, r15
jne 0x14007ef85
cmp byte [0x1401fcb00], r12b
jne 0x14007ef8d
mov rcx, qword [rsp + 0x460]
xor rcx, rsp
call fcn.14005a600
add rsp, 0x470
pop r15
pop r14
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
mov ecx, dword [rbx + 0x1c]
sub ecx, 1
jne 0x14000f8fd
mov al, byte [rbx + 0x34]
test al, al
jne 0x14007ef53
mov rcx, rdi
test byte [rbx + 0x128], bpl
je 0x14000f913
xor r9d, r9d
mov r8, rbx
xor edx, edx
call fcn.140010688
jmp 0x14000f880
sub ecx, 1
je 0x14000f90c
sub ecx, 1
je 0x14000f8e2
sub ecx, 1
jne 0x14000f92d
mov al, byte [rbx + 0x40]
and al, 1
jmp 0x14000f8da
mov rdx, rbx
call fcn.140010814
mov r8, rbx
xor edx, edx
mov rcx, rdi
call fcn.140032390
jmp 0x14000f880
cmp ecx, 1
je 0x14000f8d7
jmp 0x14000f8e2
mov edx, 0x450
xor ecx, ecx
call fcn.14005e3e8
int3
mov rdx, rsi
mov rcx, rdi
mov bpl, 1
call fcn.14011aed0
nop
jmp 0x14000f80f
test rbx, rbx
jne 0x14000f833
cmp byte [rsp + 0x30], r12b
je 0x14000f8ad
mov qword [0x1401fa9c0], r12
jmp 0x14000f8ad
cmp byte [0x1401fa4b8], r12b
je 0x14007ef24
cmp byte [0x1401fcad3], r12b
jne 0x14007eee2
test byte [rdi + 0x1c4], bpl
je 0x14007ef05
lea rdx, [rsp + 0x40]
mov rcx, rbx
call fcn.14004d738
mov r9, rax
lea r8, [0x1401cba28]
mov edx, 0x17b8
xor ecx, ecx
call fcn.1400eb834
mov cl, 1
call fcn.140005b0c
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call fcn.14000510c
mov ecx, eax
call qword [sym.imp.KERNEL32.dll_ExitProcess]
lea rax, [rsp + 0x30]
mov r9, rdi
mov r8, r14
mov qword [rsp + 0x20], rax
mov rdx, rbx
mov rcx, rsi
call fcn.14011a4f0
mov rbx, rax
jmp 0x14000f84f
and dword [rbx + 0x130], 0xffffffef
jmp 0x14000f85c
mov rcx, rdi
call fcn.1400f633c
nop
jmp 0x14000f8e2
test byte [rsi + 0x30], bpl
jne 0x14007ef73
mov eax, 0x80
or word [rbx + 0x128], ax
cmp dword [0x1401fa440], r12d
jne 0x14000f8ad
jmp 0x14000f88d
mov qword [r15], rbx
jmp 0x14000f8a0
test dword [rbx + 0x130], 0x8001
jne 0x14000f8ad
mov rdx, rsi
mov rcx, rdi
call fcn.1401197e0
nop
jmp 0x14000f8ad
Function at 0x140016be0
Capabilities:
Hash data using fnv

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r14
push r15
sub rsp, 0x30
mov rbp, qword [rcx + 0x18]
lea rdi, [rdx + 0x18]
mov rsi, qword [rcx]
mov rbx, rcx
mov r14, qword [rcx + 8]
and rdi, 0xfffffffffffffff8
mov qword [rcx + 0x18], rdx
xor r15d, r15d
mov rcx, rdx
shl rcx, 4
add rcx, rdi
cmp rcx, 8
jb 0x140081e44
add rcx, 7
call fcn.1400114a4
mov rdx, qword [rbx + 0x18]
lea rcx, [rax + 7]
and rcx, 0xfffffffffffffff8
lea rax, [rcx + rdi]
mov qword [rbx], rcx
lea r8, [rdx + 0x10]
mov qword [rbx + 8], rax
mov edx, 0xffffff80
call sub.VCRUNTIME140.dll_memset
mov rcx, qword [rbx + 0x18]
mov r9, r15
mov rax, qword [rbx]
mov byte [rcx + rax], 0xff
mov rax, qword [rbx + 0x18]
mov rcx, rax
shr rax, 3
sub rcx, qword [rbx + 0x10]
sub rcx, rax
mov qword [rbx + 0x28], rcx
test rbp, rbp
je 0x140016dab
mov qword [rsp + 0x68], r12
lea r10, [r14 + 2]
mov qword [rsp + 0x70], r13
movabs r12, 0x100000001b3
movabs r13, 0xcbf29ce484222325
nop
cmp byte [r9 + rsi], r15b
jl 0x140016d7a
movzx eax, byte [r10 - 1]
mov rdx, r15
movzx ecx, byte [r10 - 2]
mov rdi, qword [rbx]
xor rcx, r13
mov r14, qword [rbx + 0x18]
mov r11, rdi
imul rcx, r12
shr r11, 5
xor rcx, rax
movzx eax, byte [r10]
imul rcx, r12
xor rcx, rax
movzx eax, byte [r10 + 1]
imul rcx, r12
xor rcx, rax
movzx eax, byte [r10 + 2]
imul rcx, r12
xor rcx, rax
movzx eax, byte [r10 + 3]
imul rcx, r12
xor rcx, rax
movzx eax, byte [r10 + 4]
imul rcx, r12
xor rcx, rax
movzx eax, byte [r10 + 5]
imul rcx, r12
xor rcx, rax
imul rcx, r12
xor r11, rcx
shr r11, 7
movdqa xmm1, xmmword [0x1401b0260]
and r11, r14
movdqu xmm0, xmmword [rdi + r11]
pcmpgtb xmm1, xmm0
pmovmskb eax, xmm1
test eax, eax
je 0x140016dbc
bsf edx, eax
and cl, 0x7f
movsxd r8, edx
add r8, r11
and r8, r14
mov byte [rdi + r8], cl
lea rdx, [r8 - 0x10]
mov rax, qword [rbx + 0x18]
and rdx, rax
and eax, 0xf
add rdx, rax
mov rax, qword [rbx]
add r8, r8
mov byte [rdx + rax + 1], cl
mov rax, qword [rbx + 8]
movups xmm0, xmmword [r10 - 2]
movups xmmword [rax + r8*8], xmm0
inc r9
add r10, 0x10
cmp r9, rbp
jne 0x140016ca0
cmp byte [0x1401fa4b8], r15b
mov r13, qword [rsp + 0x70]
mov r12, qword [rsp + 0x68]
jne 0x140016dab
test rsi, rsi
je 0x140016dab
mov rcx, rsi
call qword [sym.imp.tbbmalloc.dll_scalable_free]
mov rbx, qword [rsp + 0x78]
add rsp, 0x30
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
add rdx, 0x10
add r11, rdx
jmp 0x140016d21
mov rcx, r15
jmp 0x140016c36
Function at 0x140022048
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
cmp rdx, r8
je 0x1400221ba
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0x50
mov rbp, r8
mov rbx, rdx
mov rdi, rcx
movabs rsi, 0xcbf29ce484222325
xor ecx, ecx
movzx eax, byte [rcx + rbx]
xor rsi, rax
movabs rdx, 0x100000001b3
imul rsi, rdx
inc rcx
cmp rcx, 4
jb 0x14002207c
mov r9, rsi
mov r8, rbx
lea rdx, [rsp + 0x30]
mov rcx, rdi
call fcn.14002222c
cmp qword [rsp + 0x38], 0
jne 0x140022195
movabs rax, 0x492492492492492
cmp qword [rdi + 0x10], rax
je 0x14008a7d4
lea r12, [rdi + 8]
mov qword [rsp + 0x20], r12
and qword [rsp + 0x28], 0
mov ecx, 0x38
call fcn.140022350
mov r14, rax
mov qword [rsp + 0x28], rax
mov eax, dword [rbx]
mov dword [r14 + 0x10], eax
lea rcx, [r14 + 0x18]
mov qword [rsp + 0x88], rcx
and qword [rcx], 0
and qword [rcx + 0x10], 0
and qword [rcx + 0x18], 0
lea rdx, [rbx + 8]
call fcn.140022278
nop
mov r9, qword [rdi + 0x10]
lea rcx, [r9 + 1]
xorps xmm0, xmm0
test rcx, rcx
js 0x1400221f8
cvtsi2ss xmm0, rcx
mov rcx, qword [rdi + 0x38]
xorps xmm1, xmm1
test rcx, rcx
js 0x140022212
cvtsi2ss xmm1, rcx
divss xmm0, xmm1
comiss xmm0, dword [rdi]
ja 0x1400221ca
and qword [rsp + 0x28], 0
mov rdx, qword [rsp + 0x30]
mov r8, qword [rdx + 8]
lea rax, [r9 + 1]
mov qword [rdi + 0x10], rax
mov qword [r14], rdx
mov qword [r14 + 8], r8
mov qword [r8], r14
mov qword [rdx + 8], r14
mov rcx, qword [rdi + 0x18]
mov rax, qword [rdi + 0x30]
and rax, rsi
add rax, rax
mov r9, qword [rcx + rax*8]
cmp r9, qword [r12]
jne 0x1400221bb
mov qword [rcx + rax*8], r14
mov qword [rcx + rax*8 + 8], r14
add rbx, 0x28
cmp rbx, rbp
jne 0x140022070
lea r11, [rsp + 0x50]
mov rbx, qword [r11 + 0x30]
mov rbp, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rsi
ret
cmp r9, rdx
jne 0x14008a7c4
mov qword [rcx + rax*8], r14
jmp 0x140022195
mov rcx, rdi
call fcn.140029544
mov r9, rsi
lea r8, [r14 + 0x10]
lea rdx, [rsp + 0x40]
mov rcx, rdi
call fcn.14002222c
movups xmm0, xmmword [rax]
movdqu xmmword [rsp + 0x30], xmm0
mov r9, qword [rdi + 0x10]
jmp 0x14002214f
mov rax, rcx
shr rax, 1
and ecx, 1
or rax, rcx
cvtsi2ss xmm0, rax
addss xmm0, xmm0
jmp 0x140022131
mov rax, rcx
shr rax, 1
and ecx, 1
or rax, rcx
cvtsi2ss xmm1, rax
addss xmm1, xmm1
jmp 0x140022146
cmp qword [rcx + rax*8 + 8], r8
jne 0x140022195
jmp 0x140022190
lea rcx, str.unordered_map_set_too_long
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Xlength_error_char_const____ptr64_]
int3