joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14009def0
Capabilities:
Map section object

Disassembly:
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0xf0
mov rax, qword [0x140110040]
xor rax, rsp
mov qword [rsp + 0xe8], rax
lea rax, [rsp + 0xe0]
mov rdi, rax
xor eax, eax
mov ecx, 8
rep stosb byte [rdi], al
mov qword [rsp + 0xd0], 0
mov qword [rsp + 0xd8], 0
mov dword [rsp + 0x50], 0
mov dword [rsp + 0x54], 1
mov rax, qword [rsp + 0x108]
mov qword [rsp + 0xd0], rax
mov rax, qword [rsp + 0x110]
mov qword [rsp + 0xd8], rax
mov rax, qword [rsp + 0x118]
mov qword [rsp + 0xe0], rax
mov eax, dword [rsp + 0x120]
mov dword [rsp + 0x48], eax
mov dword [rsp + 0x40], 0x400000
mov dword [rsp + 0x38], 2
lea rax, [rsp + 0xd8]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0xe0]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], 0
xor r9d, r9d
lea r8, [rsp + 0xd0]
mov rdx, 0xffffffffffffffff
mov rcx, qword [rsp + 0x100]
call qword [sym.imp.ntdll.dll_NtMapViewOfSection]
mov dword [rsp + 0x50], eax
cmp dword [rsp + 0x50], 0
jge 0x14009e065
mov rax, qword [rsp + 0xd8]
mov qword [rsp + 0x58], rax
mov rax, qword [rsp + 0xe0]
mov qword [rsp + 0x60], rax
mov rax, qword [rsp + 0xd0]
mov qword [rsp + 0x68], rax
lea rdx, str.NtMapViewOfSection_failed:_0x_X__Base__0x_IX__Offset__0x_IX__Size__0x_IX__n
lea rcx, [rsp + 0x80]
call fcn.14009e090
mov rcx, rax
call fcn.14009f8f0
mov qword [rsp + 0x70], rax
mov rax, qword [rsp + 0x58]
mov qword [rsp + 0x20], rax
mov r9, qword [rsp + 0x60]
mov r8, qword [rsp + 0x68]
mov edx, dword [rsp + 0x50]
mov rcx, qword [rsp + 0x70]
call fcn.140099660
mov dword [rsp + 0x54], 0
mov eax, dword [rsp + 0x54]
mov rcx, qword [rsp + 0xe8]
xor rcx, rsp
call fcn.1400a3dc0
add rsp, 0xf0
pop rdi
ret
Function at 0x14009ed60
Capabilities:
Access pe header
Enumerate pe sections

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x108
mov qword [rsp + 0x28], 0
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x24], 1
lea rdx, str.Validating_remapped_image_protection._n
lea rcx, [rsp + 0x38]
call fcn.140081860
mov rcx, rax
call fcn.1400821d0
mov rcx, rax
call fcn.140099660
mov rcx, qword [rsp + 0x110]
call qword [sym.imp.ntdll.dll_RtlImageNtHeader]
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0
jne 0x14009edfd
lea rdx, str.RtlImageNtHeader_failed.__BaseAddress__0x_IX__n
lea rcx, [rsp + 0x60]
call fcn.1400999c0
mov rcx, rax
call fcn.14009fd50
mov rdx, qword [rsp + 0x110]
mov rcx, rax
call fcn.140099660
mov dword [rsp + 0x24], 0
jmp 0x14009eed6
mov rax, qword [rsp + 0x28]
movzx eax, word [rax + 0x14]
mov rcx, qword [rsp + 0x28]
lea rax, [rcx + rax + 0x18]
mov qword [rsp + 0x30], rax
xor eax, eax
mov word [rsp + 0x20], ax
jmp 0x14009ee2b
movzx eax, word [rsp + 0x20]
inc ax
mov word [rsp + 0x20], ax
movzx eax, word [rsp + 0x20]
mov rcx, qword [rsp + 0x28]
movzx ecx, word [rcx + 6]
cmp eax, ecx
jge 0x14009ee9a
movzx eax, word [rsp + 0x20]
imul rax, rax, 0x28
mov rcx, qword [rsp + 0x30]
mov eax, dword [rcx + rax + 0xc]
mov rcx, qword [rsp + 0x110]
add rcx, rax
mov rax, rcx
mov rcx, rax
call fcn.14009f700
mov dword [rsp + 0x24], eax
cmp dword [rsp + 0x24], 0
jne 0x14009ee98
lea rdx, [0x1400fad40]
lea rcx, [rsp + 0x90]
call fcn.14009eef0
mov rcx, rax
call fcn.14009f880
mov rcx, rax
call fcn.140099660
jmp 0x14009eed6
jmp 0x14009ee1e
mov rcx, qword [rsp + 0x110]
call fcn.14009f700
mov dword [rsp + 0x24], eax
cmp dword [rsp + 0x24], 0
jne 0x14009eed6
lea rdx, str.RmppValidateRemappedPeSectionProtection_failed._n
lea rcx, [rsp + 0xc8]
call fcn.14009eef0
mov rcx, rax
call fcn.14009f880
mov rcx, rax
call fcn.140099660
mov eax, dword [rsp + 0x24]
add rsp, 0x108
ret

Function at 0x14009fdc0
Capabilities:
Hash data with crc32

Disassembly:
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
sub rsp, 0x18
mov dword [rsp + 4], 0xffffffff
mov dword [rsp], 0
jmp 0x14009fde6
mov eax, dword [rsp]
inc eax
mov dword [rsp], eax
mov eax, dword [rsp + 0x28]
cmp dword [rsp], eax
jae 0x14009fe22
mov eax, dword [rsp + 4]
shr eax, 8
mov ecx, dword [rsp]
mov rdx, qword [rsp + 0x20]
movzx ecx, byte [rdx + rcx]
mov edx, dword [rsp + 4]
xor edx, ecx
mov ecx, edx
and ecx, 0xff
mov ecx, ecx
lea rdx, [0x1400fae30]
xor eax, dword [rdx + rcx*4]
mov dword [rsp + 4], eax
jmp 0x14009fdde
mov eax, dword [rsp + 4]
not eax
add rsp, 0x18
ret
Function at 0x14009fee0
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x68
mov rax, qword [0x140110040]
xor rax, rsp
mov qword [rsp + 0x58], rax
mov rax, qword [rsp + 0x70]
cmp dword [rax + 0xc], 0
je 0x14009ff0a
xor eax, eax
jmp 0x1400a0071
mov rax, qword [rsp + 0x70]
mov eax, dword [rax + 8]
and eax, 2
test eax, eax
je 0x1400a006f
mov edx, 8
mov rax, qword [rsp + 0x70]
mov rcx, qword [rax]
call qword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x1400a006f
mov rax, qword [rsp + 0x70]
mov rax, qword [rax]
mov qword [rsp + 0x30], rax
cmp qword [rsp + 0x30], 0
je 0x14009ff5c
mov rax, qword [rsp + 0x30]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x14009ff66
mov eax, 2
jmp 0x1400a0071
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.imagehlp.dll_ImageNtHeader]
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0
je 0x14009ff8b
mov rax, qword [rsp + 0x28]
cmp dword [rax], 0x4550
je 0x14009ff95
mov eax, 2
jmp 0x1400a0071
mov rax, qword [rsp + 0x28]
movzx eax, word [rax + 0x14]
mov rcx, qword [rsp + 0x28]
lea rax, [rcx + rax + 0x18]
mov qword [rsp + 0x20], rax
mov rax, qword [rsp + 0x70]
add rax, 0x18
mov rcx, rax
call fcn.1400a01e0
mov qword [rsp + 0x38], 0
jmp 0x14009ffd6
mov rax, qword [rsp + 0x38]
inc rax
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x28]
movzx eax, word [rax + 6]
cmp qword [rsp + 0x38], rax
jae 0x1400a006f
mov rax, qword [rsp + 0x20]
mov eax, dword [rax + 0x24]
and eax, 0x40000000
test eax, eax
je 0x1400a005c
mov rax, qword [rsp + 0x20]
mov eax, dword [rax + 0x24]
and eax, 0x80000000
test eax, eax
jne 0x1400a005c
mov rax, qword [rsp + 0x20]
mov eax, dword [rax + 0xc]
mov rcx, qword [rsp + 0x70]
add rax, qword [rcx]
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x20]
mov eax, dword [rax + 8]
mov dword [rsp + 0x50], eax
mov edx, dword [rsp + 0x50]
mov rcx, qword [rsp + 0x48]
call fcn.14009fdc0
mov dword [rsp + 0x54], eax
mov rax, qword [rsp + 0x70]
add rax, 0x18
mov qword [rsp + 0x40], rax
lea rdx, [rsp + 0x48]
mov rcx, qword [rsp + 0x40]
call fcn.1400a0250
mov rax, qword [rsp + 0x20]
add rax, 0x28
mov qword [rsp + 0x20], rax
jmp 0x14009ffc9
xor eax, eax
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.1400a3dc0
add rsp, 0x68
ret
Function at 0x1400b4cd4
Capabilities:
Parse pe header

Disassembly:
mov qword [rsp + 8], rbx
mov dword [rsp + 0x18], r8d
mov dword [rsp + 0x10], edx
push rbp
mov rbp, rsp
sub rsp, 0x50
mov ebx, ecx
test r8d, r8d
jne 0x1400b4b67
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x1400b4b67
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x1400b4b67
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x1400b4b67
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x1400b4b67
cmp dword [rcx + 0x84], 0xe
jbe 0x1400b4b67
cmp dword [rcx + 0xf8], 0
je 0x1400b4b67
mov ecx, ebx
call fcn.1400b4c08
lea rax, [rbp + 0x18]
mov byte [rbp + 0x28], 0
mov qword [rbp - 0x20], rax
lea r9, [rbp - 0x2c]
lea rax, [rbp + 0x20]
mov qword [rbp - 0x18], rax
lea r8, [rbp - 0x20]
lea rax, [rbp + 0x28]
mov qword [rbp - 0x10], rax
lea rdx, [rbp - 0x28]
mov eax, 2
lea rcx, [rbp - 0x30]
mov dword [rbp - 0x2c], eax
mov dword [rbp - 0x28], eax
call fcn.1400b49f8
cmp dword [rbp + 0x20], 0
je 0x1400b4bb4
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rbp
ret
mov ecx, ebx
call fcn.1400b4bbc
int3
xor r8d, r8d
xor edx, edx
jmp 0x1400b4b00

Function at 0x1400c2eb8
Capabilities:
Delete file

Disassembly:
sub rsp, 0x28
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x1400c2ed8
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call fcn.1400b7574
or eax, 0xffffffff
jmp 0x1400c2eda
xor eax, eax
add rsp, 0x28
ret
Function at 0x18000381c
Capabilities:
Allocate or change rwx memory

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
sub rsp, 0xd0
mov rax, qword [0x1801b9d00]
xor rax, rsp
mov qword [rsp + 0xc0], rax
mov rdi, rdx
mov rbp, rcx
mov rcx, r8
mov rax, 0xfffffffffffff000
and rcx, rax
mov rsi, r8
mov qword [rdx], rcx
mov rdx, r8
sub rdx, rcx
lea r9, [rdi + 0x10]
add rdx, 0x1004
mov r8d, 0x40
and rdx, rax
mov qword [rdi + 8], rdx
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
je 0x1800038a6
mov r9, qword [rdi + 8]
lea rdx, str.__unprotect_memory__p__size_llu______p__size_llu__n
mov r8, qword [rdi]
mov rcx, rbp
mov qword [rsp + 0x28], 5
mov qword [rsp + 0x20], rsi
call fcn.180002e78
xor eax, eax
jmp 0x1800038f3
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
lea rdx, [rsp + 0x40]
call fcn.180003528
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r9, qword [rdi + 8]
lea rdx, str.Failed_to_unprotect_memory__p__size_llu______p__size_llu__error_lu__s__
mov r8, qword [rdi]
mov rcx, rbp
mov qword [rsp + 0x38], rbx
mov dword [rsp + 0x30], eax
mov qword [rsp + 0x28], 5
mov qword [rsp + 0x20], rsi
call fcn.180002ea0
mov eax, 9
mov rcx, qword [rsp + 0xc0]
xor rcx, rsp
call fcn.180137ad0
mov rbx, qword [rsp + 0x108]
add rsp, 0xd0
pop rdi
pop rsi
pop rbp
ret

Function at 0x18000815c
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rdi
not r8d
mov r10, rcx
mov r9d, r8d
test rdx, rdx
je 0x1800081b6
mov r11b, 0x23
lea rbx, [0x180171810]
movzx edi, byte [r10]
dec rdx
inc r10
cmp dil, r11b
jne 0x1800081a0
cmp rdx, 2
jb 0x1800081a0
cmp byte [r10], r11b
jne 0x1800081a0
cmp byte [r10 + 1], r11b
cmove r9d, r8d
movzx ecx, r9b
xor rcx, rdi
shr r9d, 8
xor r9d, dword [rbx + rcx*4]
test rdx, rdx
jne 0x18000817e
jmp 0x1800081f7
mov dl, byte [rcx]
inc r10
test dl, dl
je 0x1800081f7
mov r11b, 0x23
lea rbx, [0x180171810]
cmp dl, r11b
jne 0x1800081db
cmp byte [r10], r11b
jne 0x1800081db
cmp byte [r10 + 1], r11b
cmove r9d, r8d
movzx ecx, r9b
movzx eax, dl
mov dl, byte [r10]
xor rcx, rax
shr r9d, 8
inc r10
xor r9d, dword [rbx + rcx*4]
test dl, dl
jne 0x1800081c9
mov rbx, qword [rsp + 8]
not r9d
mov rdi, qword [rsp + 0x10]
mov eax, r9d
ret
Function at 0x18000832c
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov rsi, r8
test r8, r8
je 0x18000834c
and qword [r8], 0
lea rdx, [0x180177758]
call fcn.180008208
mov rbx, rax
test rax, rax
je 0x18000843d
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
mov ebp, eax
cmp eax, 0xffffffff
je 0x180008434
xor edx, edx
mov rcx, rbx
lea r8d, [rdx + 2]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
test eax, eax
jne 0x180008434
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
movsxd rdi, eax
cmp edi, 0xffffffff
je 0x180008434
xor r8d, r8d
mov edx, ebp
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
test eax, eax
jne 0x180008434
mov rbp, rdi
cmp rdi, 0xffffffffffffffff
je 0x180008434
mov rax, qword [0x18023c0d0]
test rax, rax
je 0x1800083d1
inc dword [rax + 0xfc]
mov rcx, rbp
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rdi, rax
test rax, rax
je 0x180008434
mov r9, rbx
mov r8, rbp
mov edx, 1
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
mov rcx, rbx
cmp rax, rbp
je 0x180008421
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov rax, qword [0x18023c0d0]
test rax, rax
je 0x180008416
dec dword [rax + 0xfc]
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
jmp 0x18000843d
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
test rsi, rsi
je 0x18000842f
mov qword [rsi], rbp
mov rax, rdi
jmp 0x18000843f
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
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 0x18000acfc
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push rbx
sub rsp, 0x30
mov rax, qword [0x1801b9d00]
xor rax, rsp
mov qword [rsp + 0x28], rax
mov rax, qword [rcx + 0xf8]
mov r8, rdx
mov qword [rsp + 0x20], rdx
mov r9, rcx
movsxd rdx, dword [rcx + 0xf0]
mov r10d, 8
mov ebx, dword [rax + rdx*4 - 4]
lea rdx, [rsp + 0x20]
not ebx
movzx eax, byte [rdx]
inc rdx
movzx ecx, bl
xor rcx, rax
shr ebx, 8
lea rax, [0x180171810]
xor ebx, dword [rax + rcx*4]
sub r10, 1
jne 0x18000ad3b
mov rcx, qword [r9]
not ebx
cmp dword [rcx + 0x1218], ebx
jne 0x18000ad72
lea edx, [r10 + 0xc]
mov ecx, ebx
call fcn.18001af98
mov eax, ebx
mov rcx, qword [rsp + 0x28]
xor rcx, rsp
call fcn.180137ad0
add rsp, 0x30
pop rbx
ret
Function at 0x18000ad88
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push rbx
sub rsp, 0x30
mov rax, qword [0x1801b9d00]
xor rax, rsp
mov qword [rsp + 0x28], rax
movsxd r8, dword [rcx + 0xf0]
mov r11d, 4
mov rax, qword [rcx + 0xf8]
mov r9, rcx
mov dword [rsp + 0x20], edx
mov r10d, r11d
mov ebx, dword [rax + r8*4 - 4]
lea r8, [rsp + 0x20]
not ebx
movzx eax, byte [r8]
inc r8
movzx ecx, bl
xor rcx, rax
shr ebx, 8
lea rax, [0x180171810]
xor ebx, dword [rax + rcx*4]
sub r10, 1
jne 0x18000adc7
mov rcx, qword [r9]
not ebx
cmp dword [rcx + 0x1218], ebx
jne 0x18000ae01
movsxd r8, edx
mov ecx, ebx
mov edx, r11d
call fcn.18001af98
mov eax, ebx
mov rcx, qword [rsp + 0x28]
xor rcx, rsp
call fcn.180137ad0
add rsp, 0x30
pop rbx
ret
Function at 0x180019c98
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
cmp qword [rcx + 0x2f50], 0
lea rbx, [rcx + 0x2f58]
mov rsi, r8
mov rbp, rdx
mov rdi, rcx
je 0x180019d31
mov r9d, dword [rbx + 4]
test r9d, r9d
jns 0x180019ce9
mov eax, r9d
mov rcx, rbx
cdq
sub eax, edx
xor edx, edx
sar eax, 1
add eax, r9d
test eax, eax
cmovg edx, eax
call fcn.18001bed0
and dword [rbx], 0
mov r8, rsi
mov rdx, rbp
mov rcx, rbx
call fcn.180008cc0
mov eax, dword [rbx]
mov edx, 1
mov r9, qword [rdi + 0x2f50]
lea ecx, [rax - 1]
neg eax
sbb eax, eax
and eax, ecx
lea rcx, [0x18023c0c8]
movsxd r8, eax
mov rax, qword [rdi + 0x2f60]
test rax, rax
cmovne rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
jmp 0x180019d39
mov rcx, rbx
call fcn.180008cc0
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret

Function at 0x18001a3ec
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x20
mov rax, qword [0x18023c0d0]
mov rbx, rcx
and dword [rax + 0x2eb4], 0
test rcx, rcx
je 0x18001a455
and qword [rsp + 0x30], 0
lea rcx, [rsp + 0x30]
call fcn.18001a460
lea rdx, [0x18017775c]
mov rcx, rbx
mov rdi, rax
call fcn.180008208
mov rbx, rax
test rax, rax
je 0x18001a455
mov r8, qword [rsp + 0x30]
mov r9, rax
mov edx, 1
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov rbx, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
Function at 0x18002eecc
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x20], rbp
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0x30
mov r12, r8
mov r14, rdx
xor ecx, ecx
movabs r15, 0xcbf29ce484222325
movzx eax, byte [r8 + rcx]
xor r15, rax
movabs rdx, 0x100000001b3
imul r15, rdx
inc rcx
cmp rcx, 4
jb 0x18002eef4
mov rax, qword [0x18023c420]
and rax, r15
add rax, rax
mov rcx, qword [0x18023c408]
mov rbx, qword [rcx + rax*8 + 8]
mov rbp, qword [0x18023c3f8]
cmp rbx, rbp
jne 0x18002ef5f
mov rbx, rbp
mov rsi, rbp
movabs rax, 0xaaaaaaaaaaaaaaa
cmp qword [0x18023c400], rax
jne 0x18002ef9e
lea rcx, str.unordered_map_set_too_long
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Xlength_error_char_const____ptr64_]
int3
mov rdx, qword [rcx + rax*8]
mov eax, dword [r8]
jmp 0x18002ef71
cmp rbx, rdx
je 0x18002ef94
mov rbx, qword [rbx + 8]
cmp eax, dword [rbx + 0x10]
jne 0x18002ef68
mov rbp, qword [rbx]
mov rsi, rbp
mov rax, rbx
mov rbx, rbp
test rax, rax
je 0x18002ef3e
mov qword [r14], rax
mov byte [r14 + 8], 0
jmp 0x18002f0fa
mov rbp, rbx
xor eax, eax
mov rsi, rbx
jmp 0x18002ef82
lea rax, [0x18023c3f8]
mov qword [rsp + 0x20], rax
and qword [rsp + 0x28], 0
mov ecx, 0x18
call fcn.180138244
mov rdi, rax
mov qword [rsp + 0x28], rax
mov rcx, qword [r12]
mov qword [rax + 0x10], rcx
mov r8, qword [0x18023c400]
lea rcx, [r8 + 1]
xorps xmm0, xmm0
test rcx, rcx
js 0x18002efe4
cvtsi2ss xmm0, rcx
jmp 0x18002eff9
mov rax, rcx
shr rax, 1
and ecx, 1
or rax, rcx
cvtsi2ss xmm0, rax
addss xmm0, xmm0
mov rcx, qword [0x18023c428]
xorps xmm1, xmm1
test rcx, rcx
js 0x18002f00f
cvtsi2ss xmm1, rcx
jmp 0x18002f024
mov rax, rcx
shr rax, 1
and ecx, 1
or rax, rcx
cvtsi2ss xmm1, rax
addss xmm1, xmm1
divss xmm0, xmm1
comiss xmm0, dword [0x18023c3f0]
seta al
test al, al
je 0x18002f091
call fcn.18002f130
mov rcx, qword [0x18023c420]
and rcx, r15
add rcx, rcx
mov rdx, qword [0x18023c408]
mov rax, qword [rdx + rcx*8 + 8]
mov rbx, qword [0x18023c3f8]
cmp rax, rbx
je 0x18002f07d
mov r8, qword [rdx + rcx*8]
mov ecx, dword [rdi + 0x10]
jmp 0x18002f075
mov rbx, rax
cmp rax, r8
je 0x18002f0d4
mov rax, qword [rax + 8]
cmp ecx, dword [rax + 0x10]
jne 0x18002f069
mov rbx, qword [rax]
mov qword [rsp + 0x20], rbx
mov rsi, rbx
mov rbp, qword [rsp + 0x20]
mov r8, qword [0x18023c400]
mov rdx, qword [rbx + 8]
inc r8
mov qword [0x18023c400], r8
mov qword [rdi], rbp
mov qword [rdi + 8], rdx
mov qword [rdx], rdi
mov qword [rbx + 8], rdi
mov rax, qword [0x18023c420]
and rax, r15
add rax, rax
mov rcx, qword [0x18023c408]
mov r8, qword [rcx + rax*8]
cmp r8, qword [0x18023c3f8]
jne 0x18002f0db
mov qword [rcx + rax*8], rdi
jmp 0x18002f0ed
mov qword [rsp + 0x20], rax
jmp 0x18002f082
cmp r8, rsi
jne 0x18002f0e6
mov qword [rcx + rax*8], rdi
jmp 0x18002f0f2
cmp qword [rcx + rax*8 + 8], rdx
jne 0x18002f0f2
mov qword [rcx + rax*8 + 8], rdi
mov qword [r14], rdi
mov byte [r14 + 8], 1
mov rax, r14
mov rbx, qword [rsp + 0x60]
mov rbp, qword [rsp + 0x78]
add rsp, 0x30
pop r15
pop r14
pop r12
pop rdi
pop rsi
ret
Function at 0x18002f130
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x30
mov rcx, qword [0x18023c400]
xorps xmm0, xmm0
add rcx, 1
js 0x18002f151
cvtsi2ss xmm0, rcx
jmp 0x18002f166
mov rax, rcx
and ecx, 1
shr rax, 1
or rax, rcx
cvtsi2ss xmm0, rax
addss xmm0, xmm0
divss xmm0, dword [0x18023c3f0]
call sub.api_ms_win_crt_math_l1_1_0.dll_ceilf
movss xmm1, dword [0x18017b110]
xor ecx, ecx
comiss xmm0, xmm1
jb 0x18002f198
subss xmm0, xmm1
comiss xmm0, xmm1
jae 0x18002f198
movabs rax, 0x8000000000000000
mov rcx, rax
mov rdx, qword [0x18023c428]
cvttss2si rax, xmm0
add rax, rcx
mov ecx, 8
cmp rax, rcx
cmova rcx, rax
cmp rdx, rcx
jae 0x18002f1cd
cmp rdx, 0x200
jae 0x18002f1ca
shl rdx, 3
cmp rdx, rcx
jae 0x18002f1cd
mov rdx, rcx
movabs rax, 0xfffffffffffffff
bsr rcx, rax
mov eax, 1
shl rax, cl
cmp rdx, rax
jbe 0x18002f1f6
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 [0x18023c3f8]
lea rax, [rdx - 1]
or rax, 1
mov edi, 1
bsr rcx, rax
mov r8, rbx
inc ecx
shl rdi, cl
lea rcx, [0x18023c408]
lea rdx, [rdi + rdi]
call fcn.18002ea9c
mov rax, qword [0x18023c3f8]
lea r9, [rdi - 1]
mov qword [0x18023c420], r9
mov qword [0x18023c428], rdi
mov rax, qword [rax]
mov rcx, rax
cmp rax, rbx
je 0x18002f344
mov rcx, qword [rcx]
movabs r11, 0xcbf29ce484222325
xor r8d, r8d
movzx edx, byte [rax + r8 + 0x10]
movabs r10, 0x100000001b3
xor r11, rdx
inc r8
imul r11, r10
cmp r8, 4
jb 0x18002f25e
mov rdi, qword [0x18023c408]
and r11, r9
add r11, r11
cmp qword [rdi + r11*8], rbx
jne 0x18002f29c
mov qword [rdi + r11*8], rax
mov qword [rdi + r11*8 + 8], rax
jmp 0x18002f30a
mov r10, qword [rdi + r11*8 + 8]
mov edx, dword [rax + 0x10]
cmp edx, dword [r10 + 0x10]
jne 0x18002f2df
mov r10, qword [r10]
cmp r10, rax
je 0x18002f295
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 0x18002f295
mov r10, qword [r10 + 8]
cmp edx, dword [r10 + 0x10]
je 0x18002f31e
cmp qword [rdi + r11*8], r10
jne 0x18002f2d5
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 [rdi + r11*8], rax
mov rax, rcx
cmp rcx, rbx
je 0x18002f344
mov r9, qword [0x18023c420]
jmp 0x18002f24e
mov r10, qword [r10]
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 0x18002f30a
and qword [rsp + 0x20], 0
lea rcx, [rsp + 0x20]
call fcn.18002f360
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rdi
ret
Function at 0x18002f41c
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x40
mov rsi, r8
mov r13, rdx
mov r12, rcx
cmp rdx, r8
je 0x18002f4dd
mov rax, qword [rcx + 8]
mov rdi, rdx
mov rbp, qword [rcx + 0x18]
movabs r14, 0xcbf29ce484222325
mov r15, qword [rdx + 8]
xor ecx, ecx
mov qword [rsp + 0x20], rax
movabs rdx, 0x100000001b3
movzx eax, byte [rcx + r13 + 0x10]
inc rcx
xor r14, rax
imul r14, rdx
cmp rcx, 4
jb 0x18002f474
and r14, qword [r12 + 0x30]
add r14, r14
mov rax, qword [rbp + r14*8]
mov qword [rsp + 0x30], rax
mov rax, qword [rbp + r14*8 + 8]
mov qword [rsp + 0x28], rax
mov rcx, rdi
mov rbx, rdi
mov rdi, qword [rdi]
mov edx, 0x18
call fcn.180137e5c
dec qword [r12 + 0x10]
cmp rbx, qword [rsp + 0x28]
je 0x18002f4fe
cmp rdi, rsi
jne 0x18002f4a6
cmp qword [rsp + 0x30], r13
jne 0x18002f4d6
mov qword [rbp + r14*8], rdi
mov qword [r15], rdi
mov qword [rdi + 8], r15
lea r11, [rsp + 0x40]
mov rax, rsi
mov rbx, qword [r11 + 0x38]
mov rbp, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
cmp qword [rsp + 0x30], r13
jne 0x18002f514
mov r13, qword [rsp + 0x20]
mov qword [rbp + r14*8], r13
mov rax, r13
jmp 0x18002f517
mov rax, r15
mov qword [rbp + r14*8 + 8], rax
jmp 0x18002f593
xor ecx, ecx
movabs r14, 0xcbf29ce484222325
movabs r13, 0x100000001b3
movzx eax, byte [rdi + rcx + 0x10]
inc rcx
xor r14, rax
imul r14, r13
cmp rcx, 4
jb 0x18002f534
and r14, qword [r12 + 0x30]
mov r13, qword [rsp + 0x20]
add r14, r14
mov rax, qword [rbp + r14*8 + 8]
mov qword [rsp + 0x28], rax
mov rcx, rdi
mov rbx, rdi
mov rdi, qword [rdi]
mov edx, 0x18
call fcn.180137e5c
dec qword [r12 + 0x10]
cmp rbx, qword [rsp + 0x28]
je 0x18002f589
cmp rdi, rsi
jne 0x18002f560
jmp 0x18002f4d1
mov qword [rbp + r14*8], r13
mov qword [rbp + r14*8 + 8], r13
cmp rdi, rsi
jne 0x18002f51e
jmp 0x18002f4d6