joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400176c0
Capabilities:
Encode data using xor

Disassembly:
push rbx
push r15
sub rsp, 0x58
movabs rax, 0xfffffffffffffff
mov qword [rsp + 0x20], rcx
mov r15, rcx
mov ebx, 1
bsr rcx, rax
mov eax, ebx
shl rax, cl
cmp rdx, rax
jbe 0x1400176fb
lea rcx, str.invalid_hash_bucket_count
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Xlength_error_char_const____ptr64_]
int3
mov qword [rsp + 0x80], rbp
lea rax, [rdx - 1]
mov rbp, qword [r15 + 8]
or rax, rbx
bsr rcx, rax
mov qword [rsp + 0x50], rsi
mov r8, rbp
inc ecx
mov qword [rsp + 0x48], rdi
shl rbx, cl
mov qword [rsp + 0x40], r12
lea r12, [r15 + 0x18]
mov rcx, r12
lea rdx, [rbx + rbx]
call fcn.140017200
mov qword [r15 + 0x38], rbx
lea rax, [rbx - 1]
mov qword [r15 + 0x30], rax
mov rdi, qword [r15 + 8]
mov rdi, qword [rdi]
mov rsi, rdi
cmp rdi, rbp
je 0x14001789c
mov qword [rsp + 0x38], r13
mov qword [rsp + 0x30], r14
mov r13, qword [rdi + 0x10]
mov eax, dword [rdi + 0x18]
mov r8, r13
sub eax, dword [rdi + 0x10]
mov r14, qword [rdi + 0x18]
mov rsi, qword [rsi]
cmp r13, r14
je 0x1400177a2
nop dword [rax + rax]
mov edx, eax
mov ecx, eax
shl edx, 6
sar ecx, 2
add edx, ecx
movzx ecx, byte [r8]
add edx, 0x9e3779b9
inc r8
add edx, ecx
xor eax, edx
cmp r8, r14
jne 0x140017780
mov r12, qword [r12]
movsxd rcx, eax
and rcx, qword [r15 + 0x30]
shl rcx, 4
add r12, rcx
mov r15, qword [r12]
cmp r15, rbp
jne 0x1400177cb
mov qword [r12], rdi
mov qword [r12 + 8], rdi
jmp 0x14001787d
mov rbx, qword [r12 + 8]
sub r14, r13
mov rdx, qword [rbx + 0x10]
mov rax, qword [rbx + 0x18]
sub rax, rdx
cmp r14, rax
jne 0x140017822
mov r8, r14
mov rcx, r13
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
jne 0x140017822
mov r8, qword [rbx]
cmp r8, rdi
je 0x14001781b
mov rdx, qword [rdi + 8]
mov qword [rdx], rsi
mov rcx, qword [rsi + 8]
mov qword [rcx], r8
mov rax, qword [r8 + 8]
mov qword [rax], rdi
mov qword [r8 + 8], rcx
mov qword [rsi + 8], rdx
mov qword [rdi + 8], rax
mov qword [r12 + 8], rdi
jmp 0x14001787d
cmp r15, rbx
je 0x140017858
nop word [rax + rax]
mov rbx, qword [rbx + 8]
mov rdx, qword [rbx + 0x10]
mov rax, qword [rbx + 0x18]
sub rax, rdx
cmp r14, rax
jne 0x140017853
mov r8, r14
mov rcx, r13
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
je 0x1400178bb
cmp r15, rbx
jne 0x140017830
mov rdx, qword [rdi + 8]
mov qword [rdx], rsi
mov rcx, qword [rsi + 8]
mov qword [rcx], rbx
mov rax, qword [rbx + 8]
mov qword [rax], rdi
mov qword [rbx + 8], rcx
mov qword [rsi + 8], rdx
mov qword [rdi + 8], rax
mov qword [r12], rdi
mov r15, qword [rsp + 0x20]
mov rdi, rsi
lea r12, [r15 + 0x18]
cmp rsi, rbp
jne 0x140017762
mov r14, qword [rsp + 0x30]
mov r13, qword [rsp + 0x38]
mov rdi, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x80]
mov r12, qword [rsp + 0x40]
add rsp, 0x58
pop r15
pop rbx
ret
mov r8, qword [rbx]
mov rdx, qword [rdi + 8]
mov qword [rdx], rsi
mov rcx, qword [rsi + 8]
mov qword [rcx], r8
mov rax, qword [r8 + 8]
mov qword [rax], rdi
mov qword [r8 + 8], rcx
mov qword [rsi + 8], rdx
mov qword [rdi + 8], rax
jmp 0x14001787d
Function at 0x140018330
Capabilities:
Hash data using fnv

Disassembly:
movzx r8d, byte [rdx]
mov r9, rcx
movabs rcx, 0x100000001b3
movabs rax, 0xcbf29ce484222325
xor r8, rax
mov r10, rdx
movzx eax, byte [rdx + 1]
imul r8, rcx
xor r8, rax
movzx eax, byte [rdx + 2]
imul r8, rcx
xor r8, rax
movzx eax, byte [rdx + 3]
imul r8, rcx
xor r8, rax
movzx eax, byte [rdx + 4]
imul r8, rcx
xor r8, rax
movzx eax, byte [rdx + 5]
imul r8, rcx
xor r8, rax
movzx eax, byte [rdx + 6]
imul r8, rcx
xor r8, rax
movzx eax, byte [rdx + 7]
mov rdx, qword [r9 + 0x30]
imul r8, rcx
xor r8, rax
imul r8, rcx
and rdx, r8
xor r8d, r8d
shl rdx, 4
add rdx, qword [r9 + 0x18]
mov rax, qword [rdx + 8]
cmp rax, qword [r9 + 8]
je 0x1400183ea
mov rcx, qword [r10]
mov rdx, qword [rdx]
cmp rcx, qword [rax + 0x10]
je 0x1400183ed
nop word [rax + rax]
cmp rax, rdx
je 0x1400183ea
mov rax, qword [rax + 8]
cmp rcx, qword [rax + 0x10]
jne 0x1400183d0
test rax, rax
setne r8b
mov rax, r8
ret
mov rax, r8
test rax, rax
setne r8b
mov rax, r8
ret
Function at 0x140018b80
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
push r14
push r15
sub rsp, 0x40
mov r14, r8
mov rsi, rdx
mov r8, qword [r8 + 0x10]
mov rdx, r14
cmp qword [r14 + 0x18], 0x10
jb 0x140018ba7
mov rdx, qword [r14]
movabs rbx, 0xcbf29ce484222325
xor r15d, r15d
mov ecx, r15d
test r8, r8
je 0x140018be3
movabs r9, 0x100000001b3
nop word [rax + rax]
movzx eax, byte [rcx + rdx]
xor rbx, rax
imul rbx, r9
inc rcx
cmp rcx, r8
jb 0x140018bd0
mov r9, rbx
mov r8, r14
lea rdx, [rsp + 0x20]
call fcn.14001b840
mov rax, qword [rsp + 0x28]
test rax, rax
je 0x140018c09
mov qword [rsi], rax
mov byte [rsi + 8], r15b
jmp 0x140018de2
movabs rax, 0x12f684bda12f684
cmp qword [0x14027cde0], rax
jne 0x140018c2a
lea rcx, str.unordered_map_set_too_long
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Xlength_error_char_const____ptr64_]
int3
lea rax, [0x14027cdd8]
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x38], r15
mov ecx, 0xd8
call fcn.1401e8380
mov rdi, rax
mov qword [rsp + 0x38], rax
mov rdx, r14
lea rcx, [rax + 0x10]
call fcn.1400046f0
lea rcx, [rdi + 0x30]
xor edx, edx
mov r8d, 0xa8
call sub.VCRUNTIME140.dll_memset
mov byte [rdi + 0x38], 0
xorps xmm0, xmm0
movups xmmword [rdi + 0x40], xmm0
mov qword [rdi + 0x50], r15
mov qword [rdi + 0x58], 0xf
mov byte [rdi + 0x40], 0
movups xmmword [rdi + 0x60], xmm0
mov qword [rdi + 0x70], r15
mov qword [rdi + 0x78], 0xf
mov byte [rdi + 0x60], 0
movups xmmword [rdi + 0x80], xmm0
mov qword [rdi + 0x90], r15
mov qword [rdi + 0x98], 0xf
mov byte [rdi + 0x80], 0
movups xmmword [rdi + 0xa0], xmm0
mov qword [rdi + 0xb0], r15
mov qword [rdi + 0xb8], 0xf
mov byte [rdi + 0xa0], 0
mov qword [rdi + 0xc0], r15
mov qword [rdi + 0xc8], r15
mov qword [rdi + 0xd0], r15
mov r8, qword [0x14027cde0]
lea rcx, [r8 + 1]
xorps xmm0, xmm0
test rcx, rcx
js 0x140018d08
cvtsi2ss xmm0, rcx
jmp 0x140018d1d
mov rax, rcx
shr rax, 1
and ecx, 1
or rax, rcx
cvtsi2ss xmm0, rax
addss xmm0, xmm0
mov rcx, qword [0x14027ce08]
xorps xmm1, xmm1
test rcx, rcx
js 0x140018d33
cvtsi2ss xmm1, rcx
jmp 0x140018d48
mov rax, rcx
shr rax, 1
and ecx, 1
or rax, rcx
cvtsi2ss xmm1, rax
addss xmm1, xmm1
divss xmm0, xmm1
comiss xmm0, dword [0x14027cdd0]
seta al
test al, al
je 0x140018d7f
call fcn.14001aab0
mov r9, rbx
lea r8, [rdi + 0x10]
lea rdx, [rsp + 0x30]
call fcn.14001b840
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x20], xmm0
mov r8, qword [0x14027cde0]
mov rcx, qword [rsp + 0x20]
mov rdx, qword [rcx + 8]
inc r8
mov qword [0x14027cde0], r8
mov qword [rdi], rcx
mov qword [rdi + 8], rdx
mov qword [rdx], rdi
mov qword [rcx + 8], rdi
mov rax, qword [0x14027cde8]
and rbx, qword [0x14027ce00]
add rbx, rbx
mov r8, qword [rax + rbx*8]
cmp r8, qword [0x14027cdd8]
jne 0x140018dc4
mov qword [rax + rbx*8], rdi
jmp 0x140018dd6
cmp r8, rcx
jne 0x140018dcf
mov qword [rax + rbx*8], rdi
jmp 0x140018ddb
cmp qword [rax + rbx*8 + 8], rdx
jne 0x140018ddb
mov qword [rax + rbx*8 + 8], rdi
mov qword [rsi], rdi
mov byte [rsi + 8], 1
mov rax, rsi
mov rbx, qword [rsp + 0x70]
add rsp, 0x40
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
Function at 0x140018e00
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 r14
sub rsp, 0x40
mov r14, r8
mov rsi, rdx
mov r8, qword [r8 + 0x10]
mov rdx, r14
cmp qword [r14 + 0x18], 0x10
jb 0x140018e29
mov rdx, qword [r14]
movabs rbx, 0xcbf29ce484222325
xor ecx, ecx
test r8, r8
je 0x140018e63
movabs r9, 0x100000001b3
nop dword [rax]
nop dword [rax + rax]
movzx eax, byte [rcx + rdx]
xor rbx, rax
imul rbx, r9
inc rcx
cmp rcx, r8
jb 0x140018e50
mov r9, rbx
mov r8, r14
lea rdx, [rsp + 0x20]
call fcn.14001b840
mov rax, qword [rsp + 0x28]
test rax, rax
je 0x140018e89
mov qword [rsi], rax
mov byte [rsi + 8], 0
jmp 0x140018ff2
movabs rax, 0x12f684bda12f684
cmp qword [0x14027cde0], rax
jne 0x140018eaa
lea rcx, str.unordered_map_set_too_long
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Xlength_error_char_const____ptr64_]
int3
lea rax, [0x14027cdd8]
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x38], 0
mov ecx, 0xd8
call fcn.1401e8380
mov rdi, rax
mov qword [rsp + 0x38], rax
mov rdx, r14
lea rcx, [rax + 0x10]
call fcn.1400046f0
mov rcx, qword [r14 + 0x20]
mov qword [rdi + 0x30], rcx
movzx ecx, byte [r14 + 0x28]
mov byte [rdi + 0x38], cl
lea rcx, [rdi + 0x40]
lea rdx, [r14 + 0x30]
call fcn.140013960
nop
mov r9, qword [0x14027cde0]
lea rcx, [r9 + 1]
xorps xmm0, xmm0
test rcx, rcx
js 0x140018f15
cvtsi2ss xmm0, rcx
jmp 0x140018f2a
mov rax, rcx
shr rax, 1
and ecx, 1
or rax, rcx
cvtsi2ss xmm0, rax
addss xmm0, xmm0
mov rcx, qword [0x14027ce08]
xorps xmm1, xmm1
test rcx, rcx
js 0x140018f40
cvtsi2ss xmm1, rcx
jmp 0x140018f55
mov rax, rcx
shr rax, 1
and ecx, 1
or rax, rcx
cvtsi2ss xmm1, rax
addss xmm1, xmm1
divss xmm0, xmm1
comiss xmm0, dword [0x14027cdd0]
seta al
test al, al
je 0x140018f8c
call fcn.14001aab0
mov r9, rbx
lea r8, [rdi + 0x10]
lea rdx, [rsp + 0x30]
call fcn.14001b840
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x20], xmm0
mov r9, qword [0x14027cde0]
mov rdx, qword [rsp + 0x20]
mov r8, qword [rdx + 8]
inc r9
mov qword [0x14027cde0], r9
mov qword [rdi], rdx
mov qword [rdi + 8], r8
mov qword [r8], rdi
mov qword [rdx + 8], rdi
mov rcx, qword [0x14027cde8]
mov rax, qword [0x14027ce00]
and rax, rbx
add rax, rax
mov r9, qword [rcx + rax*8]
cmp r9, qword [0x14027cdd8]
jne 0x140018fd4
mov qword [rcx + rax*8], rdi
jmp 0x140018fe6
cmp r9, rdx
jne 0x140018fdf
mov qword [rcx + rax*8], rdi
jmp 0x140018feb
cmp qword [rcx + rax*8 + 8], r8
jne 0x140018feb
mov qword [rcx + rax*8 + 8], rdi
mov qword [rsi], rdi
mov byte [rsi + 8], 1
mov rax, rsi
mov rbx, qword [rsp + 0x60]
mov rbp, qword [rsp + 0x78]
add rsp, 0x40
pop r14
pop rdi
pop rsi
ret
Function at 0x14001a450
Capabilities:
Encode data using xor

Disassembly:
push rbx
sub rsp, 0x50
mov rax, qword [0x140277430]
xor rax, rsp
mov qword [rsp + 0x40], rax
lea rcx, [rsp + 0x20]
call fcn.140005d10
mov r9, qword [rsp + 0x30]
xor edx, edx
mov ebx, r9d
test r9, r9
je 0x14001a4c6
mov r10, qword [rsp + 0x38]
mov r8d, edx
mov r11, qword [rsp + 0x20]
nop dword [rax + rax]
cmp r10, 0x10
lea rax, [rsp + 0x20]
lea r8, [r8 + 1]
cmovae rax, r11
inc edx
movsx ecx, byte [r8 + rax - 1]
mov eax, ebx
shl eax, 6
add ecx, eax
mov eax, ebx
sar eax, 2
add eax, 0x9e3779b9
add eax, ecx
xor ebx, eax
movsxd rax, edx
cmp rax, r9
jb 0x14001a490
lea rcx, [rsp + 0x20]
call fcn.140002c40
movsxd rax, ebx
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.1401e8350
add rsp, 0x50
pop rbx
ret
Function at 0x140031110
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 0x140031138
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 0x14003115e
mov rax, qword [rcx + 0x58]
mov ecx, dword [rax]
jmp 0x140031160
xor ecx, ecx
movsxd rbp, ecx
test rbx, rbx
jle 0x1400311b9
test ecx, ecx
jle 0x140031199
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 0x1400311b9
mov r9, qword [rdi + 0x80]
test r9, r9
je 0x1400311b9
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 0x1400311e0
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 0x140031202
xor eax, eax
add rsp, 0x30
pop r14
pop rsi
pop rbp
ret
cmp qword [rcx + 0x68], 0
je 0x140031218
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 0x140031234
mov rax, qword [rcx + 0x50]
mov ecx, dword [rax]
jmp 0x140031236
xor ecx, ecx
movsxd rax, ecx
test ecx, ecx
je 0x140031272
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 0x14003130e
mov r8, qword [rsi + 0x18]
lea rax, [rsi + 0x70]
cmp qword [r8], rax
jne 0x1400312ad
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 0x1400312ee
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 0x14003130e
cmp rbx, rax
ja 0x1400312c0
test rbx, rbx
je 0x14003130e
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 0x140031710
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x20], rbx
push rdi
sub rsp, 0x80
mov rax, qword [0x140277430]
xor rax, rsp
mov qword [rsp + 0x78], rax
mov edi, edx
mov rbx, rcx
cmp edx, 0xffffffff
jne 0x14003173d
xor eax, eax
jmp 0x1400318a9
mov rax, qword [rcx + 0x40]
mov rdx, qword [rax]
test rdx, rdx
je 0x140031777
mov rax, qword [rcx + 0x58]
movsxd r8, dword [rax]
lea rcx, [rdx + r8]
cmp rdx, rcx
jae 0x140031777
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 0x1400318a9
cmp qword [rbx + 0x80], 0
mov qword [rsp + 0xa0], rsi
je 0x14003189c
mov r8, qword [rbx + 0x18]
lea rax, [rbx + 0x70]
cmp qword [r8], rax
jne 0x1400317ba
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 0x1400317e5
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 0x1400318a1
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 0x140031854
sub eax, 1
je 0x140031854
cmp eax, 2
jne 0x14003189c
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 0x1400318a1
mov rsi, qword [rsp + 0x40]
lea rax, [rsp + 0x58]
sub rsi, rax
je 0x140031882
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 0x14003189c
lea rax, [rsp + 0x50]
mov byte [rbx + 0x71], 1
cmp qword [rsp + 0x48], rax
mov ecx, 0xffffffff
cmovne ecx, edi
mov eax, ecx
jmp 0x1400318a1
mov eax, 0xffffffff
mov rsi, qword [rsp + 0xa0]
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.1401e8350
mov rbx, qword [rsp + 0xa8]
add rsp, 0x80
pop rdi
ret
Function at 0x140034240
Capabilities:
Write file on windows

Disassembly:
push rbx
sub rsp, 0x60
mov rax, qword [0x140277430]
xor rax, rsp
mov qword [rsp + 0x58], rax
cmp qword [rcx + 0x68], 0
mov rbx, rcx
je 0x140034313
cmp byte [rcx + 0x71], 0
je 0x140034313
mov rax, qword [rcx]
mov edx, 0xffffffff
mov qword [rsp + 0x78], rdi
call qword [rax + 0x18]
cmp eax, 0xffffffff
je 0x14003430f
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 0x1400342d4
sub eax, 1
je 0x1400342d8
cmp eax, 2
jne 0x14003430f
mov byte [rbx + 0x71], 0
mov al, 1
mov rdi, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.1401e8350
add rsp, 0x60
pop rbx
ret
mov byte [rbx + 0x71], 0
mov rdi, qword [rsp + 0x30]
lea rax, [rsp + 0x38]
sub rdi, rax
je 0x140034306
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 0x14003430f
cmp byte [rbx + 0x71], 0
sete al
jmp 0x1400342bc
xor al, al
jmp 0x1400342bc
mov al, 1
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.1401e8350
add rsp, 0x60
pop rbx
ret
Function at 0x14004ab20
Capabilities:
Encode data using xor

Disassembly:
push rdi
push r12
push r15
sub rsp, 0x20
xor r12d, r12d
mov qword [rsp + 0x40], rbx
mov qword [rsp + 0x48], rbp
mov r15, rcx
mov rbp, r8
mov r8, rdx
cmp byte [rbp + 2], r12b
mov eax, dword [rbp + 0xc]
setne r12b
inc r12d
imul r12d, dword [rbp + 8]
imul r12d, dword [rbp + 4]
movsxd rdi, r12d
cmp eax, 1
jbe 0x14004abdb
test r12d, r12d
jle 0x14004ac66
mov qword [rsp + 0x50], rsi
xor ebx, ebx
mov qword [rsp + 0x58], r14
lea r14, [rdx + 8]
nop dword [rax]
mov esi, dword [rbp + 0x10]
xor r10d, r10d
mov r11d, dword [r14]
mov r9d, esi
neg r9d
lea edx, [r9 + 6]
cmp edx, r9d
jle 0x14004abbf
mov r8d, edx
neg r8d
nop
mov eax, r11d
test edx, edx
js 0x14004abad
mov ecx, edx
shl eax, cl
jmp 0x14004abb2
mov ecx, r8d
shr eax, cl
or r10d, eax
sub edx, esi
sub r8d, r9d
cmp edx, r9d
jg 0x14004aba0
mov dword [r15 + rbx*4], r10d
add r14, 0xc
inc rbx
cmp rbx, rdi
jl 0x14004ab80
mov r14, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x50]
jmp 0x14004ac42
xor ecx, ecx
cmp eax, 1
mov eax, dword [rbp + 0x10]
sete cl
lea edx, [rcx + rax*2]
cmp edx, 1
jbe 0x14004ad47
movsxd rax, edx
lea rbx, [0x14020f8b8]
mov ebx, dword [rbx + rax*4 - 8]
test r12d, r12d
jle 0x14004ac66
cmp edx, 2
jne 0x14004aca6
xor edx, edx
mov eax, dword [r8]
lea r8, [r8 + 0xc]
and al, 1
neg al
mov eax, ebx
sbb ecx, ecx
imul eax, dword [r8 - 8]
and ecx, 0x7f
xor eax, ecx
and ecx, 0x20
shr eax, 2
or eax, ecx
mov dword [r15 + rdx*4], eax
inc rdx
cmp rdx, rdi
jl 0x14004ac10
test r12d, r12d
jle 0x14004ac66
xor r8d, r8d
nop word [rax + rax]
xor ecx, ecx
cmp dword [r15 + r8*4], 0x20
seta cl
add dword [r15 + r8*4], ecx
inc r8
cmp r8, rdi
jl 0x14004ac50
mov rbp, qword [rsp + 0x48]
mov rbx, qword [rsp + 0x40]
cmp r12d, 0x40
jge 0x14004ac9c
mov eax, 0x40
lea rcx, [r15 + rdi*4]
sub eax, r12d
mov edx, 0xffffffff
movsxd r8, eax
shl r8, 2
add rsp, 0x20
pop r15
pop r12
pop rdi
jmp sub.VCRUNTIME140.dll_memset
add rsp, 0x20
pop r15
pop r12
pop rdi
ret
test r12d, r12d
jle 0x14004ac66
xor r11d, r11d
nop
mov eax, dword [r8]
mov ecx, eax
mov r9d, eax
shr ecx, 1
shr r9d, 2
and ecx, 1
and r9d, 1
and al, 1
neg al
sbb r10d, r10d
and r10d, 0x7f
cmp edx, 3
jne 0x14004acd9
xor eax, eax
jmp 0x14004ad18
cmp edx, 4
jne 0x14004acec
mov eax, ecx
shl eax, 4
or eax, ecx
shl eax, 2
or eax, ecx
jmp 0x14004ad18
cmp edx, 5
jne 0x14004acfc
mov eax, ecx
shl eax, 5
or eax, ecx
add eax, eax
jmp 0x14004ad18
cmp edx, 6
jne 0x14004ad13
lea eax, [r9 + r9]
or eax, ecx
shl eax, 4
or eax, r9d
add eax, eax
or eax, ecx
jmp 0x14004ad18
mov eax, 0xffffffff
mov ecx, ebx
imul ecx, dword [r8 + 4]
add r8, 0xc
add ecx, eax
xor ecx, r10d
and r10d, 0x20
shr ecx, 2
or ecx, r10d
mov dword [r15 + r11*4], ecx
inc r11
cmp r11, rdi
jl 0x14004acb0
jmp 0x14004ac42
test edx, edx
lea rax, [0x14020f860]
lea r9, [0x14020f878]
cmovne r9, rax
test r12d, r12d
jle 0x14004ac66
xor edx, edx
add r8, 8
nop word [rax + rax]
mov eax, dword [r8]
lea r8, [r8 + 0xc]
mov ecx, dword [r9 + rax*4]
mov dword [r15 + rdx*4], ecx
inc rdx
cmp rdx, rdi
jl 0x14004ad70
jmp 0x14004ac42
Function at 0x14004c780
Capabilities:
Hash data using fnv

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
sub rsp, 0xf0
mov rax, qword [0x140277430]
xor rax, rsp
mov qword [rsp + 0xe8], rax
mov rsi, rdx
mov rdi, rcx
mov qword [rsp + 0xd8], rcx
mov rbx, rcx
shr rbx, 0x38
mov rax, rcx
shr rax, 0x30
movzx r11d, al
mov rax, rcx
shr rax, 0x28
movzx r10d, al
mov rax, rcx
shr rax, 0x20
movzx r9d, al
mov rax, rcx
shr rax, 0x18
movzx r8d, al
mov rax, rcx
shr rax, 0x10
movzx edx, al
mov rax, rcx
shr rax, 8
movzx ecx, al
movzx eax, dil
mov qword [rsp + 0xe0], rsi
movabs rbp, 0xcbf29ce484222325
xor rax, rbp
movabs rbp, 0x100000001b3
imul rax, rbp
xor rax, rcx
imul rax, rbp
xor rax, rdx
imul rax, rbp
xor rax, r8
imul rax, rbp
xor rax, r9
imul rax, rbp
xor rax, r10
imul rax, rbp
xor rax, r11
imul rax, rbp
xor rax, rbx
imul rax, rbp
mov rcx, qword [0x14027cf20]
and rcx, rax
shl rcx, 4
add rcx, qword [0x14027cf08]
mov rax, qword [rcx + 8]
cmp rax, qword [0x14027cef8]
je 0x14004c891
mov rcx, qword [rcx]
cmp rdi, qword [rax + 0x10]
je 0x14004c893
nop dword [rax]
cmp rax, rcx
je 0x14004c891
mov rax, qword [rax + 8]
cmp rdi, qword [rax + 0x10]
jne 0x14004c880
jmp 0x14004c893
xor eax, eax
test rax, rax
jne 0x14004c939
mov rdx, rsi
lea rcx, [rsp + 0x88]
call fcn.1400046f0
mov qword [rsp + 0x38], rax
mov rdx, qword [rsp + 0xd8]
lea rcx, [rsp + 0xa8]
call fcn.140114ad0
nop
mov rcx, qword [rsp + 0xd8]
mov qword [rsp + 0x50], rcx
mov ecx, dword [rax]
mov dword [rsp + 0x58], ecx
mov ecx, dword [rax + 4]
mov dword [rsp + 0x5c], ecx
movups xmm1, xmmword [rax + 8]
movups xmmword [rsp + 0x60], xmm1
movups xmm0, xmmword [rax + 0x18]
movups xmmword [rsp + 0x70], xmm0
mov qword [rax + 0x18], 0
mov qword [rax + 0x20], 0xf
mov byte [rax + 8], 0
mov eax, dword [rax + 0x28]
mov dword [rsp + 0x80], eax
lea r8, [rsp + 0x50]
lea rdx, [rsp + 0x40]
call fcn.140052630
nop
lea rcx, [rsp + 0x60]
call fcn.140002c40
nop
lea rcx, [rsp + 0xb0]
call fcn.140002c40
lea r8, [rsp + 0xd8]
lea rdx, [rsp + 0x40]
call fcn.140052390
mov rbx, qword [rax]
mov rcx, rsi
call fcn.140002c40
lea rax, [rbx + 0x18]
mov rcx, qword [rsp + 0xe8]
xor rcx, rsp
call fcn.1401e8350
mov rbx, qword [rsp + 0x120]
add rsp, 0xf0
pop rdi
pop rsi
pop rbp
ret
Function at 0x140059670
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
push rdi
sub rsp, 0x20
mov r8d, dword [rdx + 8]
mov r9, rcx
sub r8d, dword [rdx]
mov rbp, qword [rdx]
mov rdi, qword [rdx + 8]
mov rdx, rbp
cmp rbp, rdi
je 0x1400596c4
nop dword [rax + rax]
mov ecx, r8d
mov eax, r8d
shl ecx, 6
sar eax, 2
add ecx, eax
movzx eax, byte [rdx]
add ecx, 0x9e3779b9
inc rdx
add ecx, eax
xor r8d, ecx
cmp rdx, rdi
jne 0x1400596a0
mov rcx, qword [r9 + 0x30]
movsxd rax, r8d
and rcx, rax
mov rax, qword [r9 + 0x18]
add rcx, rcx
mov rbx, qword [rax + rcx*8 + 8]
cmp rbx, qword [r9 + 8]
jne 0x1400596e4
xor ebx, ebx
jmp 0x140059721
mov qword [rsp + 0x30], rsi
sub rdi, rbp
mov rsi, qword [rax + rcx*8]
mov rdx, qword [rbx + 0x10]
mov rax, qword [rbx + 0x18]
sub rax, rdx
cmp rdi, rax
jne 0x14005970f
mov r8, rdi
mov rcx, rbp
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
je 0x14005971c
cmp rbx, rsi
je 0x14005971a
mov rbx, qword [rbx + 8]
jmp 0x1400596f0
xor ebx, ebx
mov rsi, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x40]
test rbx, rbx
mov rbx, qword [rsp + 0x38]
setne al
add rsp, 0x20
pop rdi
ret