joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400171c8
Capabilities:
Read file on windows

Disassembly:
sub rsp, 0x28
mov rdx, rcx
test rcx, rcx
jne 0x1400171a5
call fcn.1400159b4
mov dword [rax], 0x16
call fcn.1400166c8
or eax, 0xffffffff
jmp 0x1400171c2
sub dword [rcx + 0x10], 1
jns 0x1400171b4
add rsp, 0x28
jmp 0x14001bdc0
mov rax, qword [rcx]
movzx ecx, byte [rax]
inc rax
mov qword [rdx], rax
mov eax, ecx
add rsp, 0x28
ret
jmp 0x140017184
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov qword [rax + 8], rcx
push rbp
mov rbp, rsp
sub rsp, 0x20
test rcx, rcx
jne 0x14001bc60
call fcn.1400159b4
mov dword [rax], 0x16
call fcn.1400166c8
or eax, 0xffffffff
mov rbx, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop rbp
ret
mov eax, dword [rcx + 0x14]
shr eax, 0xd
test al, 1
je 0x14001bc48
mov rax, qword [rbp + 0x10]
mov ecx, dword [rax + 0x14]
shr ecx, 0xc
test cl, 1
jne 0x14001bc48
mov rax, qword [rbp + 0x10]
mov ecx, dword [rax + 0x14]
mov rax, qword [rbp + 0x10]
shr ecx, 1
test cl, 1
je 0x14001bc92
lock or dword [rax + 0x14], 0x10
jmp 0x14001bc48
lock or dword [rax + 0x14], 1
mov rax, qword [rbp + 0x10]
mov ecx, dword [rax + 0x14]
test ecx, 0x4c0
jne 0x14001bcaf
mov rcx, qword [rbp + 0x10]
call fcn.14001e5c0
mov rax, qword [rbp + 0x10]
mov rcx, qword [rax + 8]
mov qword [rax], rcx
mov rbx, qword [rbp + 0x10]
mov rcx, rbx
call fcn.14001715c
mov rdx, qword [rbp + 0x10]
mov ecx, eax
mov r8d, dword [rdx + 0x20]
mov rdx, qword [rdx + 8]
call fcn.14001eb54
mov dword [rbx + 0x10], eax
mov rax, qword [rbp + 0x10]
mov edx, dword [rax + 0x10]
lea ecx, [rdx + 1]
cmp ecx, 1
ja 0x14001bd06
neg edx
sbb ecx, ecx
and ecx, 8
add ecx, 8
lock or dword [rax + 0x14], ecx
mov rax, qword [rbp + 0x10]
and dword [rax + 0x10], 0
jmp 0x14001bc48
mov ecx, dword [rax + 0x14]
test cl, 6
jne 0x14001bd72
mov rcx, qword [rbp + 0x10]
call fcn.14001715c
cmp eax, 0xffffffff
je 0x14001bd59
mov rcx, qword [rbp + 0x10]
call fcn.14001715c
cmp eax, 0xfffffffe
je 0x14001bd59
mov rbx, qword [rbp + 0x10]
mov rcx, rbx
call fcn.14001715c
movsxd rdi, eax
lea rsi, [0x14002d8b0]
mov rcx, rbx
sar rdi, 6
call fcn.14001715c
and eax, 0x3f
shl rax, 6
add rax, qword [rsi + rdi*8]
jmp 0x14001bd60
lea rax, [0x14002c2d0]
mov al, byte [rax + 0x38]
and al, 0x82
cmp al, 0x82
jne 0x14001bd72
mov rax, qword [rbp + 0x10]
lock or dword [rax + 0x14], 0x20
mov rax, qword [rbp + 0x10]
cmp dword [rax + 0x20], 0x200
jne 0x14001bda8
mov ecx, dword [rax + 0x14]
shr ecx, 6
test cl, 1
je 0x14001bda4
mov rax, qword [rbp + 0x10]
mov ecx, dword [rax + 0x14]
shr ecx, 8
test cl, 1
jne 0x14001bda4
mov rax, qword [rbp + 0x10]
mov dword [rax + 0x20], 0x1000
mov rax, qword [rbp + 0x10]
dec dword [rax + 0x10]
mov rcx, qword [rax]
movzx edx, byte [rcx]
inc rcx
mov qword [rax], rcx
mov eax, edx
jmp 0x14001bc4b
jmp 0x14001bc18
Function at 0x140dba058
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.140dba1df
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 0x140dba089
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x140dba06f
add dl, dl
jne 0x140dba096
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x140dba0f6
xor eax, eax
add dl, dl
jne 0x140dba0a5
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x140dba1ad
add dl, dl
jne 0x140dba0b6
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x140dba0c3
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x140dba0d0
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x140dba0dd
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
je 0x140dba0ea
push rdi
mov eax, eax
sub rdi, rax
mov al, byte [rdi]
pop rdi
mov byte [rdi], al
inc rdi
mov ebx, 2
jmp 0x140dba07e
mov eax, 1
add dl, dl
jne 0x140dba106
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x140dba113
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x140dba0fb
sub eax, ebx
mov ebx, 1
jne 0x140dba14c
mov ecx, 1
add dl, dl
jne 0x140dba12e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x140dba13b
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x140dba123
push rsi
mov rsi, rdi
sub rsi, rbp
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x140dba07e
dec eax
shl eax, 8
mov al, byte [rsi]
inc rsi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x140dba168
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x140dba175
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x140dba15d
cmp eax, 0x7d00
jae 0x140dba19b
cmp eax, 0x500
jb 0x140dba196
inc ecx
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x140dba07e
cmp eax, 0x7f
ja 0x140dba19e
add ecx, 2
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x140dba07e
mov al, byte [rsi]
inc rsi
xor ecx, ecx
shr al, 1
je 0x140dba1d2
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 0x140dba07e
pop r10
sub rdi, qword [r10 + 0x20]
mov eax, edi
pop r10
ret 0x20
Function at 0x14002ac40
Capabilities:
Delete file

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rdi
push r14
sub rsp, 0x30
mov rbx, rcx
mov rcx, qword [str.___t_]
lea r14, str.___t_
cmp rcx, r14
je 0x14002ac87
test byte [rcx + 0x1c], 4
je 0x14002ac87
cmp byte [rcx + 0x19], 5
jb 0x14002ac87
mov rcx, qword [rcx + 0x10]
lea r8, [0x140081b70]
mov edx, 0x14
call fcn.140001010
lea rcx, [0x140098110]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rax, qword [rbx + 8]
mov rcx, qword [rbx]
mov qword [rax], rcx
mov qword [rcx + 8], rax
and qword [rbx], 0
and qword [rbx + 8], 0
mov eax, dword [rbx + 0x18]
test eax, eax
jne 0x14002acc8
cmp dword [rbx + 0x2c], eax
jne 0x14002acc8
lea rcx, [0x140098028]
call fcn.14003363c
jmp case.default.0x14002ae49
cmp eax, 2
jne 0x14002ad37
mov rcx, qword [rbx + 0x38]
cmp rcx, 0xffffffffffffffff
je case.default.0x14002ae49
call qword [sym.imp.KERNEL32.dll_FindClose]
test eax, eax
jne case.default.0x14002ae49
mov rax, qword [str.___t_]
cmp rax, r14
je case.default.0x14002ae49
test byte [rax + 0x1c], 4
je case.default.0x14002ae49
cmp byte [rax + 0x19], 2
jb case.default.0x14002ae49
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rcx, qword [str.___t_]
lea r8, [0x140081b70]
mov r9d, eax
mov edx, 0x15
mov rcx, qword [rcx + 0x10]
call fcn.140001030
jmp case.default.0x14002ae49
cmp eax, 3
jne case.default.0x14002ae49
mov rcx, qword [rbx + 0x38]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
jne 0x14002ad8b
mov rax, qword [str.___t_]
cmp rax, r14
je 0x14002ad8b
test byte [rax + 0x1c], 4
je 0x14002ad8b
cmp byte [rax + 0x19], 2
jb 0x14002ad8b
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rcx, qword [str.___t_]
lea r8, [0x140081b70]
mov r9d, eax
mov edx, 0x16
mov rcx, qword [rcx + 0x10]
call fcn.140001030
cmp dword [rbx + 0x660], 0
je 0x14002ade6
cmp dword [rbx + 0x65c], 0
je 0x14002adef
lea rcx, [rbx + 0x40]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x14002ade6
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rcx, qword [str.___t_]
cmp rcx, r14
je 0x14002ade6
test byte [rcx + 0x1c], 4
je 0x14002ade6
cmp byte [rcx + 0x19], 2
jb 0x14002ade6
mov rcx, qword [rcx + 0x10]
lea r9, [rbx + 0x40]
mov edx, 0x17
mov dword [rsp + 0x20], eax
lea r8, [0x140081b70]
call fcn.140001250
cmp dword [rbx + 0x65c], 0
jne case.default.0x14002ae49
cmp qword [rbx + 0x668], 0
je case.default.0x14002ae49
lea rcx, [0x1400981a0]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rcx, qword [rbx + 0x668]
mov edx, 1
mov r9d, edx
mov r8d, edx
call fcn.14003b3ec
lea rcx, [0x1400981a0]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov rcx, rbx
call fcn.140062654
lea rcx, [0x140098110]
mov rbx, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
add rsp, 0x30
pop r14
jmp qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
in al, 0x2b
mov ebx, ebx
xlatb
mov bh, 0xf0
enter 0xffffffffffffa06d, 0x3c
xor esi, dword [rbx]
ret
invalid
add eax, 0xe9269d85
invalid
mov dh, 0x74
cmpsb byte [rsi], byte [rdi]
invalid
Function at 0x1400042a4
Capabilities:
Get geographical location

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
mov rbx, rdx
lea r8, [rsp + 0x60]
mov edi, ecx
mov edx, 0x20000001
lea rcx, str._x_sys_default_locale
mov r9d, 2
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoEx]
test eax, eax
jne 0x1400042de
xor r9d, r9d
mov dword [rsp + 0x60], r9d
jmp 0x1400042e3
mov r9d, dword [rsp + 0x60]
and qword [rsp + 0x30], 0
mov r8d, edi
and dword [rsp + 0x28], 0
xor edx, edx
mov ecx, 0x1300
mov qword [rsp + 0x20], rbx
call qword [sym.imp.KERNEL32.dll_FormatMessageA]
mov edx, eax
test eax, eax
je 0x14000432c
mov r8, qword [rbx]
dec r8
add r8, rdx
movzx ecx, byte [r8]
lea rax, [0x140006360]
cmp byte [rcx + rax], 0
je 0x14000432c
dec r8
sub rdx, 1
jne 0x140004312
mov rbx, qword [rsp + 0x50]
mov rax, rdx
add rsp, 0x40
pop rdi
ret

Function at 0x140005524
Capabilities:
Parse pe header

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

Disassembly:
mov qword [rsp + 0x20], rbx
push rdi
sub rsp, 0x80
mov rax, qword [0x1800a8040]
xor rax, rsp
mov qword [rsp + 0x78], rax
mov edi, edx
mov rbx, rcx
cmp edx, 0xffffffff
jne 0x18000422d
xor eax, eax
jmp 0x180004399
mov rax, qword [rcx + 0x40]
mov rdx, qword [rax]
test rdx, rdx
je 0x180004267
mov rax, qword [rcx + 0x58]
movsxd r8, dword [rax]
lea rcx, [rdx + r8]
cmp rdx, rcx
jae 0x180004267
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 0x180004399
cmp qword [rbx + 0x80], 0
mov qword [rsp + 0xa0], rsi
je 0x18000438c
mov r8, qword [rbx + 0x18]
lea rax, [rbx + 0x70]
cmp qword [r8], rax
jne 0x1800042aa
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 0x1800042d5
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 0x180004391
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 0x180004344
sub eax, 1
je 0x180004344
cmp eax, 2
jne 0x18000438c
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 0x180004391
mov rsi, qword [rsp + 0x40]
lea rax, [rsp + 0x58]
sub rsi, rax
je 0x180004372
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 0x18000438c
lea rax, [rsp + 0x50]
mov byte [rbx + 0x71], 1
cmp qword [rsp + 0x48], rax
mov ecx, 0xffffffff
cmovne ecx, edi
mov eax, ecx
jmp 0x180004391
mov eax, 0xffffffff
mov rsi, qword [rsp + 0xa0]
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.180069e70
mov rbx, qword [rsp + 0xa8]
add rsp, 0x80
pop rdi
ret
Function at 0x180007500
Capabilities:
Write file on windows

Disassembly:
push rbx
sub rsp, 0x60
mov rax, qword [0x1800a8040]
xor rax, rsp
mov qword [rsp + 0x58], rax
cmp qword [rcx + 0x68], 0
mov rbx, rcx
je 0x1800075d3
cmp byte [rcx + 0x71], 0
je 0x1800075d3
mov rax, qword [rcx]
mov edx, 0xffffffff
mov qword [rsp + 0x78], rdi
call qword [rax + 0x18]
cmp eax, 0xffffffff
je 0x1800075cf
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 0x180007594
sub eax, 1
je 0x180007598
cmp eax, 2
jne 0x1800075cf
mov byte [rbx + 0x71], 0
mov al, 1
mov rdi, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.180069e70
add rsp, 0x60
pop rbx
ret
mov byte [rbx + 0x71], 0
mov rdi, qword [rsp + 0x30]
lea rax, [rsp + 0x38]
sub rdi, rax
je 0x1800075c6
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 0x1800075cf
cmp byte [rbx + 0x71], 0
sete al
jmp 0x18000757c
xor al, al
jmp 0x18000757c
mov al, 1
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.180069e70
add rsp, 0x60
pop rbx
ret
Function at 0x180018780
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 8], rcx
push rsi
push rdi
push r14
sub rsp, 0x40
mov r14, rdx
mov rdi, rcx
lea rsi, [0x1800a80a0]
mov qword [rsp + 0x70], rsi
mov rcx, rsi
call qword [sym.imp.MSVCP140.dll__Mtx_lock]
test eax, eax
je 0x1800187bd
mov ecx, 5
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3
cmp dword [0x1800a80ec], 0x7fffffff
jne 0x1800187df
mov dword [0x1800a80ec], 0x7ffffffe
mov ecx, 6
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
nop
mov r8, qword [rdi + 0x10]
mov rdx, rdi
cmp qword [rdi + 0x18], 0xf
jbe 0x1800187f0
mov rdx, qword [rdi]
xor ecx, ecx
movabs r9, 0xcbf29ce484222325
test r8, r8
je 0x180018823
movabs r10, 0x100000001b3
nop dword [rax + rax]
movzx eax, byte [rdx + rcx]
xor r9, rax
imul r9, r10
inc rcx
cmp rcx, r8
jb 0x180018810
mov r8, rdi
lea rdx, [rsp + 0x20]
call fcn.180019420
cmp qword [rax + 8], 0
je 0x18001884e
mov r8, rdi
lea rdx, [rsp + 0x30]
call fcn.180018e00
mov rcx, qword [rax]
cmp qword [rcx + 0x30], 0
jne 0x18001887f
mov rdx, rdi
cmp qword [rdi + 0x18], 0xf
jbe 0x18001885b
mov rdx, qword [rdi]
mov rcx, qword [0x180123ce8]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rbx, rax
mov r8, rdi
lea rdx, [rsp + 0x30]
call fcn.180018e00
mov rcx, qword [rax]
mov qword [rcx + 0x30], rbx
mov r8, rdi
lea rdx, [rsp + 0x30]
call fcn.180018e00
mov rcx, qword [rax]
cmp qword [rcx + 0x30], 0
je 0x1800188c7
mov r8, rdi
lea rdx, [rsp + 0x30]
call fcn.180018e00
mov rax, qword [rax]
mov rdx, qword [rax + 0x30]
mov rcx, r14
call rdx
mov rbx, rax
mov rcx, rsi
call qword [sym.imp.MSVCP140.dll__Mtx_unlock]
mov rax, rbx
jmp 0x1800188d0
mov rcx, rsi
call qword [sym.imp.MSVCP140.dll__Mtx_unlock]
mov rbx, qword [rsp + 0x68]
add rsp, 0x40
pop r14
pop rdi
pop rsi
ret
Function at 0x180019930
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x30
mov ebx, edx
mov rdi, rcx
call qword [sym.imp.KERNEL32.dll_DisableThreadLibraryCalls]
cmp ebx, 1
jne 0x180019969
xor eax, eax
lea r8, [0x180020f20]
mov qword [rsp + 0x28], rax
mov r9, rdi
xor edx, edx
mov dword [rsp + 0x20], eax
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov rbx, qword [rsp + 0x40]
mov eax, 1
add rsp, 0x30
pop rdi
ret

Function at 0x18001a960
Capabilities:
Parse pe header

Disassembly:
cmp ecx, 0x200
jg 0x18001a994
je 0x18001a98e
test ecx, ecx
je 0x18001a988
sub ecx, 1
je 0x18001a982
cmp ecx, 1
jne case.default.0x18001a9b7
mov eax, 4
ret
mov eax, 2
ret
mov eax, 1
ret
mov eax, 9
ret
add ecx, 0xfffffdff
cmp ecx, 0x66
ja case.default.0x18001a9b7
movsxd rax, ecx
lea rdx, [0x180000000]
mov ecx, dword [rdx + rax*4 + 0x1ac28]
add rcx, rdx
jmp rcx
mov eax, 0x25
ret
mov eax, 0x27
ret
mov eax, 0x26
ret
mov eax, 0x28
ret
mov eax, 0x21
ret
mov eax, 0x22
ret
mov eax, 0x24
ret
mov eax, 0x23
ret
mov eax, 0x2d
ret
mov eax, 0x2e
ret
mov eax, 8
ret
mov eax, 0x20
ret
mov eax, 0xd
ret
mov eax, 0x1b
ret
mov eax, 0xde
ret
mov eax, 0xbc
ret
mov eax, 0xbd
ret
mov eax, 0xbe
ret
mov eax, 0xbf
ret
mov eax, 0xba
ret
mov eax, 0xbb
ret
mov eax, 0xdb
ret
mov eax, 0xdc
ret
mov eax, 0xdd
ret
mov eax, 0xc0
ret
mov eax, 0x14
ret
mov eax, 0x91
ret
mov eax, 0x90
ret
mov eax, 0x2c
ret
mov eax, 0x13
ret
mov eax, 0x60
ret
mov eax, 0x61
ret
mov eax, 0x62
ret
mov eax, 0x63
ret
mov eax, 0x64
ret
mov eax, 0x65
ret
mov eax, 0x66
ret
mov eax, 0x67
ret
mov eax, 0x68
ret
mov eax, 0x69
ret
mov eax, 0x6e
ret
mov eax, 0x6f
ret
mov eax, 0x6a
ret
mov eax, 0x6d
ret
mov eax, 0x6b
ret
mov eax, 0x10d
ret
mov eax, 0xa0
ret
mov eax, 0xa2
ret
mov eax, 0xa4
ret
mov eax, 0x5b
ret
mov eax, 0xa1
ret
mov eax, 0xa3
ret
mov eax, 0xa5
ret
mov eax, 0x5c
ret
mov eax, 0x5d
ret
mov eax, 0x30
ret
mov eax, 0x31
ret
mov eax, 0x32
ret
mov eax, 0x33
ret
mov eax, 0x34
ret
mov eax, 0x35
ret
mov eax, 0x36
ret
mov eax, 0x37
ret
mov eax, 0x38
ret
mov eax, 0x39
ret
mov eax, 0x41
ret
mov eax, 0x42
ret
mov eax, 0x43
ret
mov eax, 0x44
ret
mov eax, 0x45
ret
mov eax, 0x46
ret
mov eax, 0x47
ret
mov eax, 0x48
ret
mov eax, 0x49
ret
mov eax, 0x4a
ret
mov eax, 0x4b
ret
mov eax, 0x4c
ret
mov eax, 0x4d
ret
mov eax, 0x4e
ret
mov eax, 0x4f
ret
mov eax, 0x50
ret
mov eax, 0x51
ret
mov eax, 0x52
ret
mov eax, 0x53
ret
mov eax, 0x54
ret
mov eax, 0x55
ret
mov eax, 0x56
ret
mov eax, 0x57
ret
mov eax, 0x58
ret
mov eax, 0x59
ret
mov eax, 0x5a
ret
mov eax, 0x70
ret
mov eax, 0x71
ret
mov eax, 0x72
ret
mov eax, 0x73
ret
mov eax, 0x74
ret
mov eax, 0x75
ret
mov eax, 0x76
ret
mov eax, 0x77
ret
mov eax, 0x78
ret
mov eax, 0x79
ret
mov eax, 0x7a
ret
mov eax, 0x7b
ret
xor eax, eax
ret
Function at 0x18001bb00
Capabilities:
Hash data using fnv

Disassembly:
mov r11, rsp
push rsi
sub rsp, 0x50
mov rsi, rcx
mov rcx, qword [rcx + 0x10]
test rcx, rcx
je 0x18001bc06
mov rax, qword [rsi + 0x38]
shr rax, 3
mov qword [r11 + 0x10], rbx
mov qword [r11 + 0x20], rdi
cmp rax, rcx
jbe 0x18001bca7
mov qword [r11 + 0x18], rbp
mov qword [r11 - 0x20], r14
mov r14, qword [rsi + 8]
mov rbp, qword [r14]
cmp rbp, r14
je 0x18001bbf2
movzx ecx, byte [rbp + 0x10]
movabs rax, 0xcbf29ce484222325
mov rdx, qword [rsi + 0x18]
xor rcx, rax
movzx eax, byte [rbp + 0x11]
movabs r8, 0x100000001b3
imul rcx, r8
mov qword [r11 - 0x10], r12
mov rbx, rbp
mov r12, qword [rbp + 8]
xor rcx, rax
imul rcx, r8
mov qword [r11 - 0x18], r13
mov qword [r11 - 0x28], r15
mov r15, qword [rsi + 0x30]
and r15, rcx
mov qword [rsp + 0x20], rdx
shl r15, 4
add r15, rdx
mov rax, qword [r15]
mov r13, qword [r15 + 8]
mov qword [rsp + 0x28], rax
nop dword [rax]
mov rcx, rbx
mov rdi, rbx
mov rbx, qword [rbx]
mov edx, 0x18
call fcn.18006a364
dec qword [rsi + 0x10]
cmp rdi, r13
je 0x18001bc0c
cmp rbx, r14
jne 0x18001bbb0
cmp qword [rsp + 0x28], rbp
jne 0x18001bbdb
mov qword [r15], rbx
mov r13, qword [rsp + 0x40]
mov r15, qword [rsp + 0x30]
mov qword [r12], rbx
mov qword [rbx + 8], r12
mov r12, qword [rsp + 0x48]
mov rbp, qword [rsp + 0x70]
mov r14, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x68]
mov rdi, qword [rsp + 0x78]
add rsp, 0x50
pop rsi
ret
cmp qword [rsp + 0x28], rbp
jne 0x18001bc1b
mov qword [r15], r14
mov rax, r14
jmp 0x18001bc1e
mov rax, r12
mov qword [r15 + 8], rax
cmp rbx, r14
je 0x18001bbdb
mov r13, qword [rsp + 0x20]
nop dword [rax]
movzx r15d, byte [rbx + 0x10]
movabs rax, 0xcbf29ce484222325
xor r15, rax
movabs rdx, 0x100000001b3
movzx eax, byte [rbx + 0x11]
imul r15, rdx
xor r15, rax
imul r15, rdx
and r15, qword [rsi + 0x30]
shl r15, 4
add r15, r13
mov rbp, qword [r15 + 8]
nop word [rax + rax]
mov rcx, rbx
mov rdi, rbx
mov rbx, qword [rbx]
mov edx, 0x18
call fcn.18006a364
dec qword [rsi + 0x10]
cmp rdi, rbp
je 0x18001bc96
cmp rbx, r14
jne 0x18001bc70
jmp 0x18001bbd8
mov qword [r15], r14
mov qword [r15 + 8], r14
cmp rbx, r14
jne 0x18001bc30
jmp 0x18001bbdb
mov rcx, qword [rsi + 8]
xor edi, edi
mov rax, qword [rcx + 8]
mov qword [rax], rdi
mov rcx, qword [rcx]
test rcx, rcx
je 0x18001bcd5
nop dword [rax]
mov rbx, qword [rcx]
mov edx, 0x18
call fcn.18006a364
mov rcx, rbx
test rbx, rbx
jne 0x18001bcc0
mov rax, qword [rsi + 8]
lea r8, [rsp + 0x20]
mov qword [rax], rax
mov rax, qword [rsi + 8]
mov qword [rax + 8], rax
mov qword [rsi + 0x10], rdi
mov rax, qword [rsi + 8]
mov rdx, qword [rsi + 0x20]
mov rcx, qword [rsi + 0x18]
mov qword [rsp + 0x20], rax
call fcn.18001cb10
mov rbx, qword [rsp + 0x68]
mov rdi, qword [rsp + 0x78]
add rsp, 0x50
pop rsi
ret
Function at 0x18001c7d0
Capabilities:
Hash data using fnv

Disassembly:
push rbx
push rsi
sub rsp, 0x28
movabs rax, 0xfffffffffffffff
mov rsi, rcx
bsr rcx, rax
mov ebx, 1
mov eax, ebx
shl rax, cl
cmp rdx, rax
jbe 0x18001c805
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 + 0x58], rdi
mov rdi, qword [rsi + 8]
or rax, rbx
bsr rcx, rax
mov r8, rdi
mov qword [rsp + 0x20], r14
inc ecx
shl rbx, cl
lea rcx, [rsi + 0x18]
lea rdx, [rbx + rbx]
call fcn.1800179d0
mov qword [rsi + 0x38], rbx
lea rax, [rbx - 1]
mov qword [rsi + 0x30], rax
mov rcx, qword [rsi + 8]
mov rcx, qword [rcx]
cmp rcx, rdi
je 0x18001c935
mov qword [rsp + 0x50], rbp
mov rax, rcx
movabs rbp, 0xcbf29ce484222325
movabs rbx, 0x100000001b3
nop dword [rax + rax]
movzx r11d, byte [rax + 0x10]
movzx edx, byte [rax + 0x11]
xor r11, rbp
mov rcx, qword [rcx]
imul r11, rbx
xor r11, rdx
imul r11, rbx
and r11, qword [rsi + 0x30]
shl r11, 4
add r11, qword [rsi + 0x18]
mov r8, qword [r11]
cmp r8, rdi
jne 0x18001c8a7
mov qword [r11], rax
mov qword [r11 + 8], rax
jmp 0x18001c924
mov rdx, qword [r11 + 8]
movzx r9d, word [rax + 0x10]
cmp r9w, word [rdx + 0x10]
jne 0x18001c8e6
mov r10, qword [rdx]
cmp r10, rax
je 0x18001c8e0
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
mov qword [r11 + 8], rax
jmp 0x18001c924
cmp r8, rdx
je 0x18001c900
nop dword [rax + rax]
mov rdx, qword [rdx + 8]
cmp r9w, word [rdx + 0x10]
je 0x18001c946
cmp r8, rdx
jne 0x18001c8f0
mov r10, qword [rax + 8]
mov qword [r10], rcx
mov r9, qword [rcx + 8]
mov qword [r9], rdx
mov r8, qword [rdx + 8]
mov qword [r8], rax
mov qword [rdx + 8], r9
mov qword [rcx + 8], r10
mov qword [rax + 8], r8
mov qword [r11], rax
mov rax, rcx
cmp rcx, rdi
jne 0x18001c870
mov rbp, qword [rsp + 0x50]
mov rdi, qword [rsp + 0x58]
mov r14, qword [rsp + 0x20]
add rsp, 0x28
pop rsi
pop rbx
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 0x18001c924