joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140017c90
Capabilities:
Hash data with md5

Disassembly:
push rdi
sub rsp, 0x90
mov qword [rsp + 0x48], 0xfffffffffffffffe
mov qword [rsp + 0xa8], rbx
mov rax, qword [0x140075088]
xor rax, rsp
mov qword [rsp + 0x88], rax
mov rdi, rcx
mov qword [rsp + 0x50], rcx
xor edx, edx
lea r8d, [rdx + 0x5c]
add rcx, 4
call fcn.140030550
mov dword [rdi + 4], 0x67452301
mov dword [rdi + 8], 0xefcdab89
mov dword [rdi + 0xc], 0x98badcfe
mov dword [rdi + 0x10], 0x10325476
lea rax, [rdi + 0xa0]
mov qword [rax + 0x18], 0xf
xor ebx, ebx
mov qword [rax + 0x10], rbx
cmp qword [rax + 0x18], 0x10
jb 0x140017d0e
mov rax, qword [rax]
mov byte [rax], bl
lea rax, [rdi + 0xc0]
mov qword [rax + 0x18], 0xf
mov qword [rax + 0x10], rbx
cmp qword [rax + 0x18], 0x10
jb 0x140017d2d
mov rax, qword [rax]
mov byte [rax], 0
mov word [rdi], 0x101
mov word [rsp + 0x20], 0x33
mov qword [rsp + 0x80], 0xf
mov qword [rsp + 0x78], rbx
mov byte [rsp + 0x68], 0
lea rax, [rsp + 0x20]
or r8, 0xffffffffffffffff
nop dword [rax + rax]
inc r8
cmp byte [rax + r8], 0
jne 0x140017d60
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x68]
call fcn.1400273b0
nop
mov qword [rsp + 0x40], 0xf
mov qword [rsp + 0x38], rbx
mov byte [rsp + 0x28], 0
xor r8d, r8d
lea rdx, [0x140066e40]
lea rcx, [rsp + 0x28]
call fcn.1400273b0
lea r8, [rsp + 0x28]
lea rdx, [rsp + 0x68]
mov rcx, rdi
call fcn.1400213a0
nop
mov rax, qword [rsp + 0x80]
cmp rax, 0x10
jb 0x140017e10
inc rax
mov rcx, qword [rsp + 0x68]
cmp rax, 0x1000
jb 0x140017e0a
test cl, 0x1f
je 0x140017ddd
call fcn.14003147c
int3
mov rax, qword [rcx - 8]
cmp rax, rcx
jb 0x140017dec
call fcn.14003147c
int3
sub rcx, rax
cmp rcx, 8
jae 0x140017dfb
call fcn.14003147c
int3
cmp rcx, 0x27
jbe 0x140017e07
call fcn.14003147c
int3
mov rcx, rax
call fcn.14002d0c4
nop
mov rax, rdi
mov rcx, qword [rsp + 0x88]
xor rcx, rsp
call fcn.14002d0a0
mov rbx, qword [rsp + 0xa8]
add rsp, 0x90
pop rdi
ret
Function at 0x14001e220
Capabilities:
Hash data using sha256

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x30
mov rbx, rcx
mov rax, r8
xor ecx, ecx
mov rdi, rdx
mov dword [rsp + 0x20], ecx
mov r8, r9
mov rdx, rax
mov qword [rbx], rcx
mov qword [rbx + 8], rcx
mov rcx, rbx
mov dword [rbx + 0x50], 0x6a09e667
mov dword [rbx + 0x54], 0xbb67ae85
mov dword [rbx + 0x58], 0x3c6ef372
mov dword [rbx + 0x5c], 0xa54ff53a
mov dword [rbx + 0x60], 0x510e527f
mov dword [rbx + 0x64], 0x9b05688c
mov dword [rbx + 0x68], 0x1f83d9ab
mov dword [rbx + 0x6c], 0x5be0cd19
call fcn.1400241e0
mov rdx, rdi
mov rcx, rbx
call fcn.14001e2b0
mov rbx, qword [rsp + 0x40]
mov rax, rdi
add rsp, 0x30
pop rdi
ret
Function at 0x140026180
Capabilities:
Hash data with md5

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r14
sub rsp, 0x80
mov qword [rsp + 0x28], 0xfffffffffffffffe
mov rax, qword [0x140075088]
xor rax, rsp
mov qword [rsp + 0x78], rax
mov r14, r9
mov rbp, r8
mov rsi, rdx
mov rdi, rcx
mov rbx, qword [rsp + 0xd0]
mov qword [rsp + 0x30], rbx
mov dword [rsp + 0x20], 0
xor edx, edx
lea r8d, [rdx + 0x5c]
call fcn.140030550
mov dword [rdi], 0x67452301
mov dword [rdi + 4], 0xefcdab89
mov dword [rdi + 8], 0x98badcfe
mov dword [rdi + 0xc], 0x10325476
mov r8, r14
mov rdx, rbp
mov rcx, rdi
call fcn.14004b130
cmp qword [rbx + 0x10], 0
je 0x14002621d
cmp qword [rbx + 0x18], 0x10
jb 0x14002620e
mov rdx, qword [rbx]
jmp 0x140026211
mov rdx, rbx
mov r8, qword [rbx + 0x10]
mov rcx, rdi
call fcn.14004b130
lea rdx, [rsp + 0x38]
mov rcx, rdi
call fcn.140026050
nop
xor edx, edx
lea r8d, [rdx + 0x5c]
mov rcx, rdi
call fcn.140030550
mov dword [rdi], 0x67452301
mov dword [rdi + 4], 0xefcdab89
mov dword [rdi + 8], 0x98badcfe
mov dword [rdi + 0xc], 0x10325476
lea rdx, [rsp + 0x38]
cmp qword [rsp + 0x50], 0x10
cmovae rdx, qword [rsp + 0x38]
mov r8d, 0x10
mov rcx, rdi
call fcn.14004b130
mov r8, r14
mov rdx, rbp
mov rcx, rdi
call fcn.14004b130
cmp qword [rbx + 0x10], 0
je 0x1400262a3
cmp qword [rbx + 0x18], 0x10
jb 0x140026294
mov rdx, qword [rbx]
jmp 0x140026297
mov rdx, rbx
mov r8, qword [rbx + 0x10]
mov rcx, rdi
call fcn.14004b130
lea rdx, [rsp + 0x58]
mov rcx, rdi
call fcn.140026050
nop
mov r8, rax
lea rdx, [rsp + 0x38]
mov rcx, rsi
call fcn.1400263d0
nop
mov rax, qword [rsp + 0x70]
cmp rax, 0x10
jb 0x14002631a
inc rax
mov rcx, qword [rsp + 0x58]
cmp rax, 0x1000
jb 0x140026315
test cl, 0x1f
je 0x1400262e8
call fcn.14003147c
int3
mov rax, qword [rcx - 8]
cmp rax, rcx
jb 0x1400262f7
call fcn.14003147c
int3
sub rcx, rax
cmp rcx, 8
jae 0x140026306
call fcn.14003147c
int3
cmp rcx, 0x27
jbe 0x140026312
call fcn.14003147c
int3
mov rcx, rax
call fcn.14002d0c4
mov qword [rsp + 0x70], 0xf
mov qword [rsp + 0x68], 0
mov byte [rsp + 0x58], 0
mov rax, qword [rsp + 0x50]
cmp rax, 0x10
jb 0x140026389
inc rax
mov rcx, qword [rsp + 0x38]
cmp rax, 0x1000
jb 0x140026384
test cl, 0x1f
je 0x140026357
call fcn.14003147c
int3
mov rax, qword [rcx - 8]
cmp rax, rcx
jb 0x140026366
call fcn.14003147c
int3
sub rcx, rax
cmp rcx, 8
jae 0x140026375
call fcn.14003147c
int3
cmp rcx, 0x27
jbe 0x140026381
call fcn.14003147c
int3
mov rcx, rax
call fcn.14002d0c4
mov qword [rsp + 0x50], 0xf
mov qword [rsp + 0x48], 0
mov byte [rsp + 0x38], 0
mov rcx, rbx
call fcn.140026d90
mov rax, rsi
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.14002d0a0
add rsp, 0x80
pop r14
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x14002aba0
Capabilities:
Encode data using xor

Disassembly:
sub rsp, 0x58
cmp byte [rcx + 8], 0
mov r9, rcx
je 0x14002abdb
xor ecx, ecx
cmp dword [r9 + 0x3d0], ecx
jle 0x14002abd6
sub r8, rdx
nop dword [rax + rax]
movzx eax, byte [r8 + rdx]
inc ecx
xor byte [rdx], al
lea rdx, [rdx + 1]
cmp ecx, dword [r9 + 0x3d0]
jl 0x14002abc0
add rsp, 0x58
ret
lea rax, vtable.std::exception.0
mov byte [rsp + 0x28], 1
mov qword [rsp + 0x30], rax
lea rdx, [rsp + 0x38]
xor eax, eax
lea rcx, [rsp + 0x20]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x40], rax
mov rax, qword [0x1400778b0]
mov qword [rsp + 0x20], rax
call fcn.14002fce4
lea rdx, [0x140073988]
lea rcx, [rsp + 0x30]
call fcn.14002fdb8
int3

Function at 0x140039cd4
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 0x140039b67
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x140039b67
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x140039b67
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x140039b67
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x140039b67
cmp dword [rcx + 0x84], 0xe
jbe 0x140039b67
cmp dword [rcx + 0xf8], 0
je 0x140039b67
mov ecx, ebx
call fcn.140039c08
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.1400399f8
cmp dword [rbp + 0x20], 0
je 0x140039bb4
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rbp
ret
mov ecx, ebx
call fcn.140039bbc
int3
xor r8d, r8d
xor edx, edx
jmp 0x140039b00
Function at 0x14004c780
Capabilities:
Check http status code

Disassembly:
mov r11, rsp
push rsi
push rdi
push r14
sub rsp, 0xa0
mov qword [r11 - 0x68], 0xfffffffffffffffe
mov qword [r11 + 0x10], rbx
mov qword [r11 + 0x18], rbp
mov rax, qword [0x140075088]
xor rax, rsp
mov qword [rsp + 0x98], rax
mov rbx, rcx
xor sil, sil
lea rcx, [r11 - 0x40]
call fcn.1400297b0
nop
mov qword [rsp + 0x70], 0xf
xor ebp, ebp
mov qword [rsp + 0x68], rbp
mov byte [rsp + 0x58], bpl
mov rdx, rax
lea rcx, [rsp + 0x58]
call fcn.140026c50
mov r14d, 1
mov r9d, r14d
lea r8d, [rbp + 0x50]
lea rdx, [rsp + 0x58]
mov rcx, rbx
call fcn.14004d750
nop
mov rax, qword [rsp + 0x90]
cmp rax, 0x10
jb 0x14004c858
inc rax
mov rcx, qword [rsp + 0x78]
cmp rax, 0x1000
jb 0x14004c853
test cl, 0x1f
je 0x14004c826
call fcn.14003147c
int3
mov rax, qword [rcx - 8]
cmp rax, rcx
jb 0x14004c835
call fcn.14003147c
int3
sub rcx, rax
cmp rcx, 8
jae 0x14004c844
call fcn.14003147c
int3
cmp rcx, 0x27
jbe 0x14004c850
call fcn.14003147c
int3
mov rcx, rax
call fcn.14002d0c4
cmp byte [rbx + 0x20], 0
je 0x14004c974
lea rcx, [rsp + 0x58]
call fcn.14004d4f0
nop
cmp qword [rax + 0x18], 0x10
jb 0x14004c877
mov rax, qword [rax]
mov dword [rsp + 0x30], 0x4080000
lea r8, [0x1400684d0]
mov rdx, rax
mov rcx, qword [rbx + 0x30]
call fcn.140014920
mov rdi, rax
mov rcx, qword [rsp + 0x70]
cmp rcx, 0x10
jb 0x14004c8f1
inc rcx
mov rdx, qword [rsp + 0x58]
cmp rcx, 0x1000
jb 0x14004c8e9
test dl, 0x1f
je 0x14004c8bc
call fcn.14003147c
int3
mov rax, qword [rdx - 8]
cmp rax, rdx
jb 0x14004c8cb
call fcn.14003147c
int3
sub rdx, rax
cmp rdx, 8
jae 0x14004c8da
call fcn.14003147c
int3
cmp rdx, 0x27
jbe 0x14004c8e6
call fcn.14003147c
int3
mov rdx, rax
mov rcx, rdx
call fcn.14002d0c4
mov qword [rsp + 0x70], 0xf
mov qword [rsp + 0x68], rbp
mov byte [rsp + 0x58], 0
test rdi, rdi
je 0x14004c950
mov dword [rsp + 0x20], ebp
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, rdi
call fcn.140008240
mov dword [rsp + 0x40], ebp
mov dword [rsp + 0x48], 4
lea r9, [rsp + 0x48]
lea r8, [rsp + 0x40]
mov edx, 0x20000013
mov rcx, rdi
call fcn.1400080d0
movzx esi, sil
cmp dword [rsp + 0x40], 0xc8
cmove esi, r14d
mov rcx, rdi
call fcn.140007e10
cmp byte [rbx + 0x20], 0
je 0x14004c974
mov rcx, qword [rbx + 0x30]
call fcn.140007e10
mov rcx, qword [rbx + 0x28]
call fcn.140007e10
mov byte [rbx + 0x20], 0
movzx eax, sil
mov rcx, qword [rsp + 0x98]
xor rcx, rsp
call fcn.14002d0a0
lea r11, [rsp + 0xa0]
mov rbx, qword [r11 + 0x28]
mov rbp, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop rdi
pop rsi
ret
Function at 0x140005fb0
Capabilities:
Read .ini file

Disassembly:
push rbx
push rsi
push rdi
sub rsp, 0x90
movaps xmmword [rsp + 0x80], xmm6
mov rax, qword [0x1400fc040]
xor rax, rsp
mov qword [rsp + 0x78], rax
xorps xmm6, xmm6
mov rsi, rdx
cvtss2sd xmm6, xmm2
mov rdi, rcx
lea rcx, [0x1400e3bfc]
movaps xmm1, xmm6
movq rdx, xmm6
call fcn.140002db0
movsxd rbx, eax
lea rcx, [rsp + 0x30]
mov rdx, rbx
xor r8d, r8d
call fcn.140016fc0
cmp qword [rsp + 0x48], 0xf
lea rcx, [rsp + 0x30]
lea rdx, [rbx + 1]
movaps xmm3, xmm6
cmova rcx, qword [rsp + 0x30]
lea r8, [0x1400e3bfc]
movq r9, xmm6
call fcn.140002d50
cmp qword [rsp + 0x48], 0xf
lea rax, str.C:VALCFG
mov qword [rsp + 0x28], rax
lea r8, [rsp + 0x30]
cmova r8, qword [rsp + 0x30]
lea r9, [rsp + 0x58]
mov rdx, rsi
mov dword [rsp + 0x20], 0x20
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov rdx, qword [rsp + 0x48]
cmp rdx, 0xf
jbe 0x1400060a5
mov rcx, qword [rsp + 0x30]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400060a0
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400060a0
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400c41d0
lea rcx, [rsp + 0x58]
call qword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_atof]
cvtsd2ss xmm0, xmm0
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.1400c41b0
movaps xmm6, xmmword [rsp + 0x80]
add rsp, 0x90
pop rdi
pop rsi
pop rbx
ret
Function at 0x140015fd0
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 case.default.0x140015ff1
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 0x14001601e
mov rax, qword [rcx + 0x58]
mov ecx, dword [rax]
jmp 0x140016020
xor ecx, ecx
movsxd rbp, ecx
test rbx, rbx
jle 0x140016079
test ecx, ecx
jle 0x140016059
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 0x140016079
mov r9, qword [rdi + 0x80]
test r9, r9
je 0x140016079
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
invalid
Function at 0x1400160a0
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 0x1400160c2
xor eax, eax
add rsp, 0x30
pop r14
pop rsi
pop rbp
ret
cmp qword [rcx + 0x68], 0
je case.default.0x1400160d1
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 0x1400160f4
mov rax, qword [rcx + 0x50]
mov ecx, dword [rax]
jmp 0x1400160f6
xor ecx, ecx
movsxd rax, ecx
test ecx, ecx
je 0x140016132
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 0x1400161ce
mov r8, qword [rsi + 0x18]
lea rax, [rsi + 0x70]
cmp qword [r8], rax
jne 0x14001616d
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 0x1400161ae
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 0x1400161ce
cmp rbx, rax
ja 0x140016180
test rbx, rbx
je 0x1400161ce
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
sbb al, 0xf2
enter 0x29a3, 0x5d
mov eax, 0xd3338030
sbb ebp, edi
invalid
Function at 0x140016630
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x20], rbx
push rdi
sub rsp, 0x80
mov rax, qword [0x1400fc040]
xor rax, rsp
mov qword [rsp + 0x78], rax
mov edi, edx
mov rbx, rcx
cmp edx, 0xffffffff
jne 0x14001665d
xor eax, eax
jmp 0x1400167c9
mov rax, qword [rcx + 0x40]
mov rdx, qword [rax]
test rdx, rdx
je 0x140016697
mov rax, qword [rcx + 0x58]
movsxd r8, dword [rax]
lea rcx, [rdx + r8]
cmp rdx, rcx
jae 0x140016697
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 0x1400167c9
cmp qword [rbx + 0x80], 0
mov qword [rsp + 0xa0], rsi
je 0x1400167bc
mov r8, qword [rbx + 0x18]
lea rax, [rbx + 0x70]
cmp qword [r8], rax
jne 0x1400166da
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 0x140016705
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 0x1400167c1
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 0x140016774
sub eax, 1
je 0x140016774
cmp eax, 2
jne 0x1400167bc
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 0x1400167c1
mov rsi, qword [rsp + 0x40]
lea rax, [rsp + 0x58]
sub rsi, rax
je 0x1400167a2
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 0x1400167bc
lea rax, [rsp + 0x50]
mov byte [rbx + 0x71], 1
cmp qword [rsp + 0x48], rax
mov ecx, 0xffffffff
cmovne ecx, edi
mov eax, ecx
jmp 0x1400167c1
mov eax, 0xffffffff
mov rsi, qword [rsp + 0xa0]
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.1400c41b0
mov rbx, qword [rsp + 0xa8]
add rsp, 0x80
pop rdi
ret
Function at 0x140017330
Capabilities:
Write file on windows

Disassembly:
push rbx
sub rsp, 0x60
mov rax, qword [0x1400fc040]
xor rax, rsp
mov qword [rsp + 0x58], rax
cmp qword [rcx + 0x68], 0
mov rbx, rcx
je 0x140017403
cmp byte [rcx + 0x71], 0
je 0x140017403
mov rax, qword [rcx]
mov edx, 0xffffffff
mov qword [rsp + 0x78], rdi
call qword [rax + 0x18]
cmp eax, 0xffffffff
je 0x1400173ff
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 0x1400173c4
sub eax, 1
je 0x1400173c8
cmp eax, 2
jne 0x1400173ff
mov byte [rbx + 0x71], 0
mov al, 1
mov rdi, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.1400c41b0
add rsp, 0x60
pop rbx
ret
mov byte [rbx + 0x71], 0
mov rdi, qword [rsp + 0x30]
lea rax, [rsp + 0x38]
sub rdi, rax
je 0x1400173f6
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 0x1400173ff
cmp byte [rbx + 0x71], 0
sete al
jmp 0x1400173ac
xor al, al
jmp 0x1400173ac
mov al, 1
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.1400c41b0
add rsp, 0x60
pop rbx
ret
Function at 0x140017c10
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 0x140017c45
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.1400179e0
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 0x140017db4
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 0x140017d2c
mov qword [r11], rax
mov qword [r11 + 8], rax
jmp 0x140017da3
mov rdx, qword [r11 + 8]
mov r8, qword [rax + 0x10]
cmp r8, qword [rdx + 0x10]
jne 0x140017d69
mov r10, qword [rdx]
cmp r10, rax
je 0x140017d63
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 0x140017da3
cmp r9, rdx
je 0x140017d7f
nop
mov rdx, qword [rdx + 8]
cmp r8, qword [rdx + 0x10]
je 0x140017dc5
cmp r9, rdx
jne 0x140017d70
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 0x140017cb0
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 0x140017da3
Function at 0x14001f090
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
mov r11d, r8d
mov r10, rdx
not r11d
mov r9, rcx
mov eax, r11d
test rdx, rdx
je 0x14001f0ed
lea rbx, [0x1400e4e30]
movzx r8d, byte [r9]
lea r9, [r9 + 1]
dec r10
cmp r8b, 0x23
jne 0x14001f0d4
cmp r10, 2
jb 0x14001f0d4
cmp byte [r9], r8b
jne 0x14001f0d4
cmp byte [r9 + 1], r8b
cmove eax, r11d
movzx edx, al
xor rdx, r8
shr eax, 8
xor eax, dword [rbx + rdx*4]
test r10, r10
jne 0x14001f0b0
not eax
mov rbx, qword [rsp + 8]
ret
movzx r8d, byte [rcx]
inc r9
test r8b, r8b
je 0x14001f12f
lea rbx, [0x1400e4e30]
cmp r8b, 0x23
jne 0x14001f113
cmp byte [r9], r8b
jne 0x14001f113
cmp byte [r9 + 1], r8b
cmove eax, r11d
movzx edx, al
movzx ecx, r8b
movzx r8d, byte [r9]
xor rdx, rcx
shr eax, 8
inc r9
xor eax, dword [rbx + rdx*4]
test r8b, r8b
jne 0x14001f100
mov rbx, qword [rsp + 8]
not eax
ret

Function at 0x14001f270
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
push r14
sub rsp, 0x20
mov r14, r8
test r8, r8
je 0x14001f28a
mov qword [r8], 0
lea rdx, [0x1400ea670]
call fcn.14001f140
mov rbx, rax
test rax, rax
jne 0x14001f2aa
mov rbx, qword [rsp + 0x40]
add rsp, 0x20
pop r14
ret
mov qword [rsp + 0x30], rsi
mov rcx, rbx
mov qword [rsp + 0x38], rdi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
mov esi, eax
cmp eax, 0xffffffff
je 0x14001f381
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 0x14001f381
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
movsxd rdi, eax
cmp edi, 0xffffffff
je 0x14001f381
xor r8d, r8d
mov edx, esi
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
test eax, eax
jne 0x14001f381
cmp rdi, 0xffffffffffffffff
je 0x14001f381
mov rax, qword [0x1402f8728]
test rax, rax
je 0x14001f31e
inc dword [rax + 0xf4]
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rsi, rax
test rax, rax
je 0x14001f381
mov r9, rbx
mov r8, rdi
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, rdi
je 0x14001f36e
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov rax, qword [0x1402f8728]
test rax, rax
je 0x14001f363
dec dword [rax + 0xf4]
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
jmp 0x14001f38a
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
test r14, r14
je 0x14001f37c
mov qword [r14], rdi
mov rax, rsi
jmp 0x14001f38c
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
xor eax, eax
mov rsi, qword [rsp + 0x30]
mov rdi, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x40]
add rsp, 0x20
pop r14
ret