joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14001b380
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
mov rax, qword [0x140156dc8]
xor rax, rsp
mov qword [rsp + 0x30], rax
mov rbx, qword [0x1401b3978]
mov edi, ecx
cmp byte [rbx + 0x424d], 0
jne 0x14001b3e1
cmp byte [rbx + 0x424e], 0
jne 0x14001b3e1
movsx r9d, word [rbx + 0x532e]
lea r8, [0x140139ca0]
mov edx, 0x10
lea rcx, [rsp + 0x20]
call fcn.14000c080
test dil, 1
je 0x14001b508
jmp 0x14001b46a
movss xmm1, dword [rbx + 0x38b0]
lea r8, [0x140139ca0]
movsx r9d, word [rbx + 0x532e]
lea rcx, [rsp + 0x20]
movaps xmm0, xmm1
xor eax, eax
mulss xmm0, dword [0x14013c3f4]
mulss xmm1, dword [0x14013c3d8]
lea edx, [rax + 0x10]
addss xmm0, dword [rbx + 0xd94]
addss xmm1, dword [rbx + 0xd98]
mov qword [rbx + 0x3fc8], rax
mov dword [rbx + 0x3fb4], 1
movss dword [rbx + 0x3fc0], xmm0
movss dword [rbx + 0x3fc4], xmm1
movss xmm0, dword [rbx + 0x390c]
mulss xmm0, dword [0x14013c348]
or dword [rbx + 0x3fb0], 0x41
movss dword [rbx + 0x4010], xmm0
call fcn.14000c080
movzx r9d, byte [rsp + 0x20]
lea r8, [rsp + 0x21]
mov r10d, 0xffffffff
mov ecx, r10d
test r9b, r9b
je 0x14001b4c0
lea r11, [0x140135030]
nop word [rax + rax]
cmp r9b, 0x23
jne 0x14001b4a3
cmp byte [r8], r9b
jne 0x14001b4a3
cmp byte [r8 + 1], r9b
cmove ecx, r10d
movzx edx, cl
movzx eax, r9b
movzx r9d, byte [r8]
xor rdx, rax
shr ecx, 8
inc r8
xor ecx, dword [r11 + rdx*4]
test r9b, r9b
jne 0x14001b490
not ecx
call fcn.1400141b0
test rax, rax
je 0x14001b508
cmp byte [rax + 0x96], 0
je 0x14001b508
mov byte [rax + 0x9d], 1
lea r8, [0x140139ca0]
mov byte [rax + 0xb8], 1
lea rcx, [rsp + 0x20]
inc word [rbx + 0x532e]
mov edx, 0x10
movsx r9d, word [rbx + 0x532e]
call fcn.14000c080
xor edx, edx
lea rcx, [rsp + 0x20]
mov r8d, 0x20c0347
call fcn.140016950
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.1400ece80
mov rbx, qword [rsp + 0x50]
add rsp, 0x40
pop rdi
ret

Function at 0x140020680
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x20
cmp qword [rcx + 0x53e0], 0
lea rbx, [rcx + 0x53e8]
mov rsi, r8
mov rbp, rdx
mov rdi, rcx
je 0x140020727
mov r9d, dword [rbx + 4]
mov qword [rsp + 0x30], r14
xor r14d, r14d
test r9d, r9d
jns 0x1400206da
mov eax, r9d
mov rcx, rbx
cdq
sub eax, edx
mov edx, r14d
sar eax, 1
add eax, r9d
test eax, eax
cmovg edx, eax
call fcn.140022690
mov r8, rsi
mov dword [rbx], r14d
mov rdx, rbp
mov rcx, rbx
call fcn.14000ca50
mov eax, dword [rbx]
mov edx, 1
mov r9, qword [rdi + 0x53e0]
test eax, eax
lea ecx, [rax - 1]
mov rax, qword [rdi + 0x53f0]
cmove ecx, r14d
test rax, rax
movsxd r8, ecx
lea rcx, [0x1401b3970]
cmovne rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov r14, qword [rsp + 0x30]
jmp 0x14002072f
mov rcx, rbx
call fcn.14000ca50
mov rbx, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
ret
Function at 0x140020cc0
Capabilities:
Hash data with crc32

Disassembly:
sub rsp, 8
movzx r9d, byte [rcx]
lea r8, [rcx + 1]
mov r10, qword [0x1401b3978]
mov r11d, 0xffffffff
mov eax, r11d
test r9b, r9b
je 0x140020d23
mov qword [rsp], rbx
lea rbx, [0x140135030]
nop dword [rax]
cmp r9b, 0x23
jne 0x140020d03
cmp byte [r8], r9b
jne 0x140020d03
cmp byte [r8 + 1], r9b
cmove eax, r11d
movzx edx, al
movzx ecx, r9b
movzx r9d, byte [r8]
xor rdx, rcx
shr eax, 8
inc r8
xor eax, dword [rbx + rdx*4]
test r9b, r9b
jne 0x140020cf0
mov rbx, qword [rsp]
movsxd rcx, dword [r10 + 0x5390]
xor r8d, r8d
not eax
test ecx, ecx
jle 0x140020d57
mov r10, qword [r10 + 0x5398]
mov r9, rcx
mov edx, r8d
lea rcx, [r10 + 8]
cmp dword [rcx], eax
je 0x140020d5e
inc r8d
inc rdx
add rcx, 0x48
cmp rdx, r9
jl 0x140020d44
xor eax, eax
add rsp, 8
ret
movsxd rax, r8d
lea rcx, [rax + rax*8]
lea rax, [r10 + rcx*8]
add rsp, 8
ret
Function at 0x14003a7c0
Capabilities:
Hash data using fnv

Disassembly:
push rsi
push rdi
sub rsp, 0x28
movabs rax, 0xfffffffffffffff
mov rsi, rcx
bsr rcx, rax
mov edi, 1
mov eax, edi
shl rax, cl
cmp rdx, rax
jbe 0x14003a7f5
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 + 0x50], rbx
mov rbx, qword [rsi + 8]
or rax, rdi
bsr rcx, rax
mov r8, rbx
mov qword [rsp + 0x20], r14
inc ecx
shl rdi, cl
lea rcx, [rsi + 0x18]
lea rdx, [rdi + rdi]
call fcn.140007a90
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 0x14003a936
mov qword [rsp + 0x58], rbp
movabs rdi, 0x100000001b3
movabs rbp, 0xcbf29ce484222325
nop dword [rax + rax]
movzx edx, byte [rax + 0x11]
movzx r9d, byte [rax + 0x10]
mov r11, qword [rsi + 0x30]
xor r9, rbp
mov rcx, qword [rcx]
imul r9, rdi
xor r9, rdx
movzx edx, byte [rax + 0x12]
imul r9, rdi
xor r9, rdx
movzx edx, byte [rax + 0x13]
imul r9, rdi
xor r9, rdx
imul r9, rdi
and r11, r9
shl r11, 4
add r11, qword [rsi + 0x18]
mov r9, qword [r11]
cmp r9, rbx
jne 0x14003a8b0
mov qword [r11], rax
mov qword [r11 + 8], rax
jmp 0x14003a925
mov rdx, qword [r11 + 8]
mov r8d, dword [rax + 0x10]
cmp r8d, dword [rdx + 0x10]
jne 0x14003a8ed
mov r10, qword [rdx]
cmp r10, rax
je 0x14003a8e7
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 0x14003a925
cmp r9, rdx
je 0x14003a901
mov rdx, qword [rdx + 8]
cmp r8d, dword [rdx + 0x10]
je 0x14003a947
cmp r9, rdx
jne 0x14003a8f2
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, rbx
jne 0x14003a860
mov rbp, qword [rsp + 0x58]
mov rbx, qword [rsp + 0x50]
mov r14, qword [rsp + 0x20]
add rsp, 0x28
pop rdi
pop rsi
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 0x14003a925
Function at 0x14003a970
Capabilities:
Hash data using fnv

Disassembly:
push rdi
sub rsp, 0x20
movabs rax, 0xfffffffffffffff
mov edi, 1
bsr rcx, rax
mov eax, edi
shl rax, cl
cmp rdx, rax
jbe 0x14003a9a1
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 + 0x30], rbx
mov rbx, qword [0x1401b3a08]
or rax, rdi
bsr rcx, rax
mov r8, rbx
inc ecx
shl rdi, cl
lea rcx, [0x1401b3a18]
lea rdx, [rdi + rdi]
call fcn.140007a90
mov rax, qword [0x1401b3a08]
lea r9, [rdi - 1]
mov qword [0x1401b3a30], r9
mov qword [0x1401b3a38], rdi
mov rax, qword [rax]
mov rcx, rax
cmp rax, rbx
je 0x14003ab14
mov qword [rsp + 0x40], rsi
movabs rdi, 0x100000001b3
movabs rsi, 0xcbf29ce484222325
movzx edx, byte [rax + 0x11]
movzx r11d, byte [rax + 0x10]
mov rcx, qword [rcx]
xor r11, rsi
imul r11, rdi
xor r11, rdx
movzx edx, byte [rax + 0x12]
imul r11, rdi
xor r11, rdx
movzx edx, byte [rax + 0x13]
imul r11, rdi
xor r11, rdx
imul r11, rdi
and r11, r9
shl r11, 4
add r11, qword [0x1401b3a18]
mov r9, qword [r11]
cmp r9, rbx
jne 0x14003aa60
mov qword [r11], rax
mov qword [r11 + 8], rax
jmp 0x14003aad5
mov rdx, qword [r11 + 8]
mov r8d, dword [rax + 0x10]
cmp r8d, dword [rdx + 0x10]
jne 0x14003aa9d
mov r10, qword [rdx]
cmp r10, rax
je 0x14003aa97
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 0x14003aad5
cmp r9, rdx
je 0x14003aab1
mov rdx, qword [rdx + 8]
cmp r8d, dword [rdx + 0x10]
je 0x14003aae9
cmp r9, rdx
jne 0x14003aaa2
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, rbx
je 0x14003ab0f
mov r9, qword [0x1401b3a30]
jmp 0x14003aa11
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 0x14003aad5
mov rsi, qword [rsp + 0x40]
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
Function at 0x14003df40
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push rbp
lea rbp, [rsp - 0x57]
sub rsp, 0xc0
mov rax, qword [0x140156dc8]
xor rax, rsp
mov qword [rbp + 0x4f], rax
xor edx, edx
mov dword [rbp - 0x69], 0x10001
mov dword [rbp - 0x65], 0x20001
mov rax, rcx
or rax, 1
mov dword [rbp - 0x61], 0x20002
bsr rax, rax
mov dword [rbp - 0x5d], 0x30003
mov r8, rcx
cdqe
mov r9d, 0xa
mov dword [rbp - 0x59], 0x40003
mov dword [rbp - 0x55], 0x40004
mov dword [rbp - 0x51], 0x50004
mov dword [rbp - 0x4d], 0x50005
mov dword [rbp - 0x49], 0x60006
mov dword [rbp - 0x45], 0x70006
mov dword [rbp - 0x41], 0x70007
mov dword [rbp - 0x3d], 0x80007
mov dword [rbp - 0x39], 0x80008
mov dword [rbp - 0x35], 0x90009
mov dword [rbp - 0x31], 0xa0009
mov dword [rbp - 0x2d], 0xa000a
mov dword [rbp - 0x29], 0xb000a
mov dword [rbp - 0x25], 0xb000b
mov dword [rbp - 0x21], 0xc000c
mov dword [rbp - 0x1d], 0xd000c
mov dword [rbp - 0x19], 0xd000d
mov dword [rbp - 0x15], 0xe000d
mov dword [rbp - 0x11], 0xe000e
mov dword [rbp - 0xd], 0xf000f
mov dword [rbp - 9], 0x10000f
mov dword [rbp - 5], 0x100010
mov dword [rbp - 1], 0x110010
mov dword [rbp + 3], 0x110011
mov dword [rbp + 7], 0x120012
mov dword [rbp + 0xb], 0x130012
mov dword [rbp + 0xf], 0x130013
mov dword [rbp + 0x13], 0x140013
movzx ecx, word [rbp + rax*2 - 0x69]
movabs rax, 0x2540be400
mov qword [rbp - 0x11], rax
movabs rax, 0x174876e800
mov qword [rbp - 9], rax
movabs rax, 0xe8d4a51000
mov qword [rbp - 1], rax
movabs rax, 0x9184e72a000
mov qword [rbp + 7], rax
movabs rax, 0x5af3107a4000
mov qword [rbp + 0xf], rax
movabs rax, 0x38d7ea4c68000
mov qword [rbp + 0x17], rax
movabs rax, 0x2386f26fc10000
mov qword [rbp + 0x1f], rax
movabs rax, 0x16345785d8a0000
mov qword [rbp + 0x27], rax
movabs rax, 0xde0b6b3a7640000
mov qword [rbp + 0x2f], rax
movabs rax, 0x8ac7230489e80000
mov qword [rbp + 0x37], rax
mov eax, ecx
mov qword [rbp - 0x69], rdx
mov qword [rbp - 0x61], rdx
mov qword [rbp - 0x59], r9
mov qword [rbp - 0x51], 0x64
mov qword [rbp - 0x49], 0x3e8
mov qword [rbp - 0x41], 0x2710
mov qword [rbp - 0x39], 0x186a0
mov qword [rbp - 0x31], 0xf4240
mov qword [rbp - 0x29], 0x989680
mov qword [rbp - 0x21], 0x5f5e100
mov qword [rbp - 0x19], 0x3b9aca00
cmp r8, qword [rbp + rcx*8 - 0x69]
setb dl
sub eax, edx
mov rcx, qword [rbp + 0x4f]
xor rcx, rsp
call fcn.1400ece80
add rsp, 0xc0
pop rbp
ret
Function at 0x140048ec0
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rbp
push rdi
push r14
mov rbp, rsp
sub rsp, 0x70
mov rax, qword [0x140156dc8]
xor rax, rsp
mov qword [rbp - 8], rax
mov rdi, rcx
mov qword [rbp - 0x50], rcx
xor ebx, ebx
mov byte [rbp - 0x50], 0xce
mov byte [rbp - 0x4f], 0xeb
mov byte [rbp - 0x4e], 0xfd
mov byte [rbp - 0x4d], 0xbe
mov byte [rbp - 0x4c], 0xb4
mov byte [rbp - 0x4b], 0xcb
mov byte [rbp - 0x4a], 0xab
mov byte [rbp - 0x49], 0xa2
mov byte [rbp - 0x48], 0x98
movzx eax, byte [rbp - 0x50]
mov r10d, ebx
movabs r14, 0x1c77855a3ac9738a
mov r11, r14
lea rax, [rbp - 0x50]
sub r11, rax
lea esi, [rbx + 0xf]
nop
lea r8, [rbp - 0x50]
add r8, r10
movsx r9, byte [r8]
mov rax, r10
and eax, esi
cmp rax, rsi
cmovae rax, rsi
shl al, 2
mov rdx, r14
movzx ecx, al
shr rdx, cl
and dl, sil
add r8b, r11b
xor dl, r8b
xor dl, r9b
mov byte [rbp + r10 - 0x50], dl
inc r10
cmp r10, 9
jb 0x140048f30
mov qword [rbp - 0x28], rbx
mov qword [rbp - 0x18], rbx
mov qword [rbp - 0x10], rsi
mov byte [rbp - 0x28], 0
lea rax, [rbp - 0x50]
mov r8, 0xffffffffffffffff
nop dword [rax + rax]
inc r8
cmp byte [rax + r8], 0
jne 0x140048f90
lea rdx, [rbp - 0x50]
lea rcx, [rbp - 0x28]
call fcn.1400072b0
nop
xorps xmm0, xmm0
movups xmmword [rdi], xmm0
mov qword [rdi], rbx
mov qword [rdi + 8], rbx
mov qword [rdi + 0x10], rbx
lea rax, [0x140156fc0]
mov qword [rbp - 0x30], rax
lea rax, vtable.type_info.0
mov qword [rbp - 0x38], rax
lea r9, [rbp - 0x38]
lea r8, [rbp - 0x30]
mov edx, 0x59600
mov rcx, rdi
call fcn.1400518b0
mov r11, qword [rbp - 0x10]
cmp r11, 0x10
setae r9b
mov r10, qword [rbp - 0x18]
mov r8, qword [rbp - 0x28]
nop dword [rax + rax]
lea rcx, [rbp - 0x28]
test r9b, r9b
cmovne rcx, r8
xor edx, edx
mov rax, rbx
div r10
add rdx, rcx
mov rcx, qword [rdi]
movzx eax, byte [rcx + rbx]
xor al, byte [rdx]
mov byte [rcx + rbx], al
inc rbx
cmp rbx, 0x59600
jne 0x140049000
test r9b, r9b
je 0x140049067
lea rdx, [r11 + 1]
mov rax, r8
cmp rdx, 0x1000
jb 0x14004905f
add rdx, 0x27
mov r8, qword [r8 - 8]
sub rax, r8
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14004905f
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, r8
call fcn.1400ed134
mov rax, rdi
mov rcx, qword [rbp - 8]
xor rcx, rsp
call fcn.1400ece80
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret
Function at 0x14004a460
Capabilities:
Write file on windows

Disassembly:
push rbx
push rdi
push r15
sub rsp, 0x20
cmp qword [rcx + 0x68], 0
mov rbx, r8
mov r15, rdx
mov rdi, rcx
je 0x14004a488
add rsp, 0x20
pop r15
pop rdi
pop rbx
jmp qword [sym.imp.MSVCP140.dll_protected_virtual:_long_long___int64____cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::xsputn_char_const____ptr64__long_long___int64_____ptr64]
mov rax, qword [rcx + 0x40]
mov qword [rsp + 0x40], rbp
mov qword [rsp + 0x48], rsi
mov rsi, rbx
mov qword [rsp + 0x58], r14
mov r9, qword [rax]
test r9, r9
je 0x14004a4ae
mov rax, qword [rcx + 0x58]
mov ecx, dword [rax]
jmp 0x14004a4b0
xor ecx, ecx
movsxd rbp, ecx
test rbx, rbx
jle 0x14004a509
test ecx, ecx
jle 0x14004a4e9
cmp rbx, rbp
mov rcx, r9
cmovl rbp, rbx
mov r8, rbp
call sub.VCRUNTIME140.dll_memcpy
mov rax, qword [rdi + 0x58]
add r15, rbp
sub rbx, rbp
sub dword [rax], ebp
mov rcx, qword [rdi + 0x40]
movsxd rax, ebp
add qword [rcx], rax
test rbx, rbx
jle 0x14004a509
mov r9, qword [rdi + 0x80]
test r9, r9
je 0x14004a509
mov r8, rbx
mov edx, 1
mov rcx, r15
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
sub rbx, rax
mov r14, qword [rsp + 0x58]
sub rsi, rbx
mov rbp, qword [rsp + 0x40]
mov rax, rsi
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop r15
pop rdi
pop rbx
ret

Function at 0x14004a530
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 0x14004a552
xor eax, eax
add rsp, 0x30
pop r14
pop rsi
pop rbp
ret
cmp qword [rcx + 0x68], 0
je 0x14004a568
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 0x14004a584
mov rax, qword [rcx + 0x50]
mov ecx, dword [rax]
jmp 0x14004a586
xor ecx, ecx
movsxd rax, ecx
test ecx, ecx
je 0x14004a5c2
mov qword [rsp + 0x20], rdi
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]
add r14, rdi
sub rbx, rdi
sub dword [rax], edi
mov rcx, qword [rsi + 0x38]
movsxd rax, edi
mov rdi, qword [rsp + 0x20]
add qword [rcx], rax
cmp qword [rsi + 0x80], 0
je 0x14004a65e
mov r8, qword [rsi + 0x18]
lea rax, [rsi + 0x70]
cmp qword [r8], rax
jne 0x14004a5fd
mov rcx, qword [rsi + 0x88]
mov rdx, qword [rsi + 0x90]
mov qword [r8], rcx
sub edx, ecx
mov rax, qword [rsi + 0x38]
mov qword [rax], rcx
mov rax, qword [rsi + 0x50]
mov dword [rax], edx
cmp rbx, 0xfff
jbe 0x14004a63e
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]
add r14, rax
sub rbx, rax
cmp rax, 0xfff
jne 0x14004a65e
cmp rbx, rax
ja 0x14004a610
test rbx, rbx
je 0x14004a65e
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]
sub rbx, rax
sub rbp, rbx
mov rbx, qword [rsp + 0x28]
mov rax, rbp
add rsp, 0x30
pop r14
pop rsi
pop rbp
ret
Function at 0x14004aa70
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x20], rbx
push rdi
sub rsp, 0x80
mov rax, qword [0x140156dc8]
xor rax, rsp
mov qword [rsp + 0x78], rax
mov edi, edx
mov rbx, rcx
cmp edx, 0xffffffff
jne 0x14004aa9d
xor eax, eax
jmp 0x14004abfa
mov rdx, qword [rcx + 0x40]
mov rax, qword [rdx]
test rax, rax
je 0x14004aac8
mov rdx, qword [rcx + 0x58]
movsxd r8, dword [rdx]
add r8, rax
cmp rax, r8
jae 0x14004aac8
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 0x14004abfa
cmp qword [rcx + 0x80], 0
mov qword [rsp + 0xa0], rsi
je 0x14004abed
mov r8, qword [rcx + 0x18]
lea rax, [rcx + 0x70]
cmp qword [r8], rax
jne 0x14004ab0b
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 0x14004ab36
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 0x14004abf2
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 0x14004aba5
sub eax, 1
je 0x14004aba5
cmp eax, 2
jne 0x14004abed
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 0x14004abf2
mov rsi, qword [rsp + 0x40]
lea rax, [rsp + 0x58]
sub rsi, rax
je 0x14004abd3
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 0x14004abed
lea rax, [rsp + 0x50]
mov byte [rbx + 0x71], 1
cmp qword [rsp + 0x48], rax
mov ecx, 0xffffffff
cmovne ecx, edi
mov eax, ecx
jmp 0x14004abf2
mov eax, 0xffffffff
mov rsi, qword [rsp + 0xa0]
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.1400ece80
mov rbx, qword [rsp + 0xa8]
add rsp, 0x80
pop rdi
ret
Function at 0x14004bef0
Capabilities:
Write file on windows

Disassembly:
push rbx
sub rsp, 0x60
mov rax, qword [0x140156dc8]
xor rax, rsp
mov qword [rsp + 0x58], rax
cmp qword [rcx + 0x68], 0
mov rbx, rcx
je 0x14004bfc3
cmp byte [rcx + 0x71], 0
je 0x14004bfc3
mov rax, qword [rcx]
mov edx, 0xffffffff
mov qword [rsp + 0x78], rdi
call qword [rax + 0x18]
cmp eax, 0xffffffff
je 0x14004bfbf
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 0x14004bf84
sub eax, 1
je 0x14004bf88
cmp eax, 2
jne 0x14004bfbf
mov byte [rbx + 0x71], 0
mov al, 1
mov rdi, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.1400ece80
add rsp, 0x60
pop rbx
ret
mov byte [rbx + 0x71], 0
mov rdi, qword [rsp + 0x30]
lea rax, [rsp + 0x38]
sub rdi, rax
je 0x14004bfb6
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 0x14004bfbf
cmp byte [rbx + 0x71], 0
sete al
jmp 0x14004bf6c
xor al, al
jmp 0x14004bf6c
mov al, 1
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.1400ece80
add rsp, 0x60
pop rbx
ret
Function at 0x140057100
Capabilities:
Hash data using fnv

Disassembly:
push rsi
push rdi
sub rsp, 0x28
movabs rax, 0xfffffffffffffff
mov rsi, rcx
bsr rcx, rax
mov edi, 1
mov eax, edi
shl rax, cl
cmp rdx, rax
jbe 0x140057135
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 + 0x50], rbx
mov rbx, qword [rsi + 8]
or rax, rdi
bsr rcx, rax
mov r8, rbx
mov qword [rsp + 0x20], r14
inc ecx
shl rdi, cl
lea rcx, [rsi + 0x18]
lea rdx, [rdi + rdi]
call fcn.140007a90
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 0x1400572a4
mov qword [rsp + 0x58], rbp
movabs rdi, 0x100000001b3
movabs rbp, 0xcbf29ce484222325
nop dword [rax + rax]
movzx edx, byte [rax + 0x11]
movzx r9d, byte [rax + 0x10]
mov r11, qword [rsi + 0x30]
xor r9, rbp
mov rcx, qword [rcx]
imul r9, rdi
xor r9, rdx
movzx edx, byte [rax + 0x12]
imul r9, rdi
xor r9, rdx
movzx edx, byte [rax + 0x13]
imul r9, rdi
xor r9, rdx
movzx edx, byte [rax + 0x14]
imul r9, rdi
xor r9, rdx
movzx edx, byte [rax + 0x15]
imul r9, rdi
xor r9, rdx
movzx edx, byte [rax + 0x16]
imul r9, rdi
xor r9, rdx
movzx edx, byte [rax + 0x17]
imul r9, rdi
xor r9, rdx
imul r9, rdi
and r11, r9
shl r11, 4
add r11, qword [rsi + 0x18]
mov r9, qword [r11]
cmp r9, rbx
jne 0x14005721c
mov qword [r11], rax
mov qword [r11 + 8], rax
jmp 0x140057293
mov rdx, qword [r11 + 8]
mov r8, qword [rax + 0x10]
cmp r8, qword [rdx + 0x10]
jne 0x140057259
mov r10, qword [rdx]
cmp r10, rax
je 0x140057253
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 0x140057293
cmp r9, rdx
je 0x14005726f
nop
mov rdx, qword [rdx + 8]
cmp r8, qword [rdx + 0x10]
je 0x1400572b5
cmp r9, rdx
jne 0x140057260
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, rbx
jne 0x1400571a0
mov rbp, qword [rsp + 0x58]
mov rbx, qword [rsp + 0x50]
mov r14, qword [rsp + 0x20]
add rsp, 0x28
pop rdi
pop rsi
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 0x140057293