joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1401115b0
Capabilities:
Write file on windows

Disassembly:
push rsi
push rbx
sub rsp, 0x38
mov rbx, rcx
lea rax, [rsp + 0x58]
mov ecx, 2
mov qword [rsp + 0x58], rdx
mov qword [rsp + 0x60], r8
mov qword [rsp + 0x68], r9
mov qword [rsp + 0x28], rax
call fcn.140112370
mov r8d, 0x1b
mov edx, 1
lea rcx, str.Mingw_w64_runtime_failure:_n
mov r9, rax
call sub.msvcrt.dll_fwrite
mov rsi, qword [rsp + 0x28]
mov ecx, 2
call fcn.140112370
mov rdx, rbx
mov rcx, rax
mov r8, rsi
call sub.msvcrt.dll_vfprintf
call sub.msvcrt.dll_abort
nop
nop dword [rax]

Function at 0x140111620
Capabilities:
Allocate or change rwx memory

Disassembly:
push rdi
push rsi
push rbx
sub rsp, 0x50
movsxd rsi, dword [0x14024d1a4]
mov rbx, rcx
test esi, esi
jle 0x140111750
mov rax, qword [0x14024d1a8]
xor r9d, r9d
add rax, 0x18
nop word [rax + rax]
mov r8, qword [rax]
cmp rbx, r8
jb 0x14011166b
mov rdx, qword [rax + 8]
mov edx, dword [rdx + 8]
add r8, rdx
cmp rbx, r8
jb 0x1401116f5
add r9d, 1
add rax, 0x28
cmp r9d, esi
jne 0x140111650
mov rcx, rbx
call fcn.140112090
mov rdi, rax
test rax, rax
je 0x140111772
mov rax, qword [0x14024d1a8]
lea rbx, [rsi + rsi*4]
shl rbx, 3
add rax, rbx
mov qword [rax + 0x20], rdi
mov dword [rax], 0
call fcn.1401121d0
mov edx, dword [rdi + 0xc]
mov r8d, 0x30
lea rcx, [rax + rdx]
mov rax, qword [0x14024d1a8]
lea rdx, [rsp + 0x20]
mov qword [rax + rbx + 0x18], rcx
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x140111757
mov eax, dword [rsp + 0x44]
lea edx, [rax - 4]
and edx, 0xfffffffb
je 0x1401116ee
lea edx, [rax - 0x40]
and edx, 0xffffffbf
jne 0x140111700
add dword [0x14024d1a4], 1
add rsp, 0x50
pop rbx
pop rsi
pop rdi
ret
cmp eax, 2
mov rcx, qword [rsp + 0x20]
mov rdx, qword [rsp + 0x38]
mov r8d, 0x40
mov eax, 4
cmove r8d, eax
add rbx, qword [0x14024d1a8]
mov qword [rbx + 8], rcx
mov r9, rbx
mov qword [rbx + 0x10], rdx
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x1401116ee
call qword [sym.imp.kernel32.dll_GetLastError]
lea rcx, str.__VirtualProtect_failed_with_code_0x_x
mov edx, eax
call fcn.1401115b0
nop dword [rax]
xor esi, esi
jmp 0x140111678
mov rax, qword [0x14024d1a8]
mov edx, dword [rdi + 8]
lea rcx, str.__VirtualQuery_failed_for__d_bytes_at_address__p
mov r8, qword [rax + rbx + 0x18]
call fcn.1401115b0
mov rdx, rbx
lea rcx, str.Address__p_has_no_image_section
call fcn.1401115b0
nop
nop word cs:[rax + rax]
nop dword [rax]

Function at 0x140111d00
Capabilities:
Get thread local storage value

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x20
lea r12, [0x14024d200]
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rbx, qword [0x14024d1e0]
test rbx, rbx
je 0x140111d5c
mov rbp, qword [sym.imp.kernel32.dll_TlsGetValue]
mov rdi, qword [sym.imp.kernel32.dll_GetLastError]
nop dword [rax]
mov ecx, dword [rbx]
call rbp
mov rsi, rax
call rdi
test rsi, rsi
je 0x140111d53
test eax, eax
jne 0x140111d53
mov rax, qword [rbx + 8]
mov rcx, rsi
call rax
mov rbx, qword [rbx + 0x10]
test rbx, rbx
jne 0x140111d38
mov rcx, r12
add rsp, 0x20
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
jmp qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
Function at 0x140112090
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
mov rdx, qword [0x1402105b0]
xor eax, eax
cmp word [rdx], 0x5a4d
jne 0x1401120b0
movsxd r8, dword [rdx + 0x3c]
add r8, rdx
cmp dword [r8], 0x4550
je 0x1401120b8
ret
cmp word [r8 + 0x18], 0x20b
jne 0x1401120b0
movzx eax, word [r8 + 0x14]
sub rcx, rdx
lea rax, [r8 + rax + 0x18]
movzx r8d, word [r8 + 6]
test r8w, r8w
je 0x14011210d
lea edx, [r8 - 1]
lea rdx, [rdx + rdx*4]
lea r9, [rax + rdx*8 + 0x28]
nop word cs:[rax + rax]
mov r8d, dword [rax + 0xc]
mov rdx, r8
cmp rcx, r8
jb 0x140112104
add edx, dword [rax + 8]
cmp rcx, rdx
jb 0x1401120b0
add rax, 0x28
cmp rax, r9
jne 0x1401120f0
xor eax, eax
ret

Function at 0x140112110
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x1402105b0]
xor ecx, ecx
cmp word [rax], 0x5a4d
jne 0x14011212f
movsxd rdx, dword [rax + 0x3c]
add rax, rdx
cmp dword [rax], 0x4550
je 0x140112138
mov eax, ecx
ret
cmp word [rax + 0x18], 0x20b
jne 0x14011212f
movzx ecx, word [rax + 6]
mov eax, ecx
ret

Function at 0x1401121d0
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x1402105b0]
xor edx, edx
cmp word [rax], 0x5a4d
jne 0x1401121ef
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
je 0x1401121f8
mov rax, rdx
ret
cmp word [rcx + 0x18], 0x20b
cmove rdx, rax
mov rax, rdx
ret
Function at 0x140185ad0
Capabilities:
Encode data using xor

Disassembly:
push rbx
mov r9d, dword [rcx + 0x60]
mov ebx, dword [rcx + 0x5c]
mov r8, rcx
test r9d, r9d
jle 0x140185b98
mov r10, qword [0x140210530]
mov edx, dword [rcx + 0x288]
movzx r11d, bl
xor ecx, ecx
nop word [rax + rax]
mov eax, edx
add ecx, 1
shl edx, 8
shr eax, 0x18
xor eax, r11d
xor edx, dword [r10 + rax*4]
cmp ecx, r9d
jne 0x140185b00
mov eax, ebx
mov dword [r8 + 0x288], edx
mov byte [r8 + rax + 0x80], 1
movsxd rax, dword [r8 + 0x6c]
add rax, qword [r8 + 0x40]
cmp ecx, 2
je 0x140185b90
cmp ecx, 3
je 0x140185b50
cmp ecx, 1
jne 0x140185ba2
mov byte [rax], bl
mov eax, dword [r8 + 0x6c]
add eax, 1
mov dword [r8 + 0x6c], eax
pop rbx
ret
mov byte [rax], bl
mov eax, dword [r8 + 0x6c]
mov rdx, qword [r8 + 0x40]
add eax, 1
mov dword [r8 + 0x6c], eax
cdqe
mov byte [rdx + rax], bl
mov eax, dword [r8 + 0x6c]
mov rdx, qword [r8 + 0x40]
add eax, 1
mov dword [r8 + 0x6c], eax
cdqe
mov byte [rdx + rax], bl
mov eax, dword [r8 + 0x6c]
add eax, 1
mov dword [r8 + 0x6c], eax
pop rbx
ret
mov byte [rax], bl
jmp 0x140185b66
mov eax, ebx
mov byte [rcx + rax + 0x80], 1
sub r9d, 4
movsxd r9, r9d
mov byte [r8 + r9 + 0x80], 1
movsxd rax, dword [r8 + 0x6c]
mov rdx, qword [r8 + 0x40]
mov byte [rdx + rax], bl
mov eax, dword [r8 + 0x6c]
mov rdx, qword [r8 + 0x40]
add eax, 1
mov dword [r8 + 0x6c], eax
cdqe
mov byte [rdx + rax], bl
mov eax, dword [r8 + 0x6c]
mov rdx, qword [r8 + 0x40]
add eax, 1
mov dword [r8 + 0x6c], eax
cdqe
mov byte [rdx + rax], bl
mov eax, dword [r8 + 0x6c]
mov rdx, qword [r8 + 0x40]
add eax, 1
mov dword [r8 + 0x6c], eax
cdqe
mov byte [rdx + rax], bl
mov eax, dword [r8 + 0x6c]
movzx ebx, byte [r8 + 0x60]
mov rcx, qword [r8 + 0x40]
add eax, 1
mov dword [r8 + 0x6c], eax
lea edx, [rbx - 4]
cdqe
mov byte [rcx + rax], dl
mov eax, dword [r8 + 0x6c]
add eax, 1
mov dword [r8 + 0x6c], eax
pop rbx
ret
Function at 0x140193f40
Capabilities:
Encode data using xor

Disassembly:
push r15
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0xa8
pxor xmm2, xmm2
xor r9d, r9d
xor r10d, r10d
movdqa xmm3, xmm2
movdqa xmm4, xmm2
xor r11d, r11d
xor ebx, ebx
xor esi, esi
xor edi, edi
xor ebp, ebp
xor r12d, r12d
xor r13d, r13d
xor r14d, r14d
mov rax, rcx
mov qword [rsp + 0x100], r8
xor ecx, ecx
xor r8d, r8d
mov qword [rsp + 8], 0
mov qword [rsp + 0xf0], rax
nop word [rax + rax]
mov r15, qword [rsp + 0x100]
add rcx, 1
movdqa xmm0, xmmword [rdx]
xor r15, rcx
pxor xmm0, xmm4
mov rax, r15
sub r15, 1
not rax
and rax, r15
mov r15, qword [rsp + 8]
xor r15, qword [rdx + 0x30]
sar rax, 0x3f
and r15, rax
xor qword [rsp + 8], r15
mov r15, qword [rdx + 0x60]
movq xmm1, rax
punpcklqdq xmm1, xmm1
xor r15, r14
pand xmm0, xmm1
and r15, rax
pxor xmm4, xmm0
movdqa xmm0, xmmword [rdx + 0x10]
xor r14, r15
mov r15, qword [rdx + 0x38]
pxor xmm0, xmm3
xor r15, r13
pand xmm0, xmm1
and r15, rax
pxor xmm3, xmm0
movdqa xmm0, xmmword [rdx + 0x20]
xor r13, r15
mov r15, qword [rdx + 0x68]
pxor xmm0, xmm2
xor r15, r12
pand xmm0, xmm1
and r15, rax
pxor xmm2, xmm0
xor r12, r15
mov r15, qword [rdx + 0x40]
xor r15, rbp
and r15, rax
xor rbp, r15
mov r15, qword [rdx + 0x70]
xor r15, rdi
and r15, rax
xor rdi, r15
mov r15, qword [rdx + 0x48]
xor r15, rsi
and r15, rax
xor rsi, r15
mov r15, qword [rdx + 0x78]
xor r15, rbx
and r15, rax
xor rbx, r15
mov r15, qword [rdx + 0x50]
xor r15, r11
and r15, rax
xor r11, r15
mov r15, qword [rdx + 0x80]
add rdx, 0x90
xor r15, r10
and r15, rax
xor r10, r15
mov r15, qword [rdx - 0x38]
xor r15, r9
and r15, rax
xor r9, r15
mov r15, qword [rdx - 8]
xor r15, r8
and r15, rax
xor r8, r15
cmp rcx, 0x10
jne 0x140193fa0
mov rax, qword [rsp + 0xf0]
mov rcx, qword [rsp + 8]
mov qword [rsp + 0x48], r13
mov qword [rsp + 0x50], rbp
mov qword [rsp + 0x40], rcx
movdqa xmm5, xmmword [rsp + 0x40]
mov qword [rsp + 0x58], rsi
movaps xmmword [rax + 0x20], xmm2
movdqa xmm2, xmmword [rsp + 0x50]
mov qword [rsp + 0x70], r14
mov qword [rsp + 0x78], r12
mov qword [rsp + 0x80], rdi
mov qword [rsp + 0x88], rbx
mov qword [rsp + 0x60], r11
mov qword [rsp + 0x90], r10
mov qword [rsp + 0x68], r9
mov qword [rsp + 0x98], r8
movaps xmmword [rax], xmm4
movdqa xmm4, xmmword [rsp + 0x70]
movaps xmmword [rax + 0x10], xmm3
movdqa xmm3, xmmword [rsp + 0x60]
movaps xmmword [rax + 0x30], xmm5
movdqa xmm5, xmmword [rsp + 0x80]
movaps xmmword [rax + 0x40], xmm2
movdqa xmm2, xmmword [rsp + 0x90]
movaps xmmword [rax + 0x50], xmm3
movaps xmmword [rax + 0x60], xmm4
movaps xmmword [rax + 0x70], xmm5
movaps xmmword [rax + 0x80], xmm2
add rsp, 0xa8
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
ret
Function at 0x1401945f0
Capabilities:
Encode data using xor

Disassembly:
push rbx
mov r9, rcx
mov r10, rdx
test r8, r8
je 0x140194798
lea rax, [r8 - 1]
cmp rax, 0xe
jbe 0x14019479c
mov rcx, r8
xor eax, eax
pxor xmm1, xmm1
and rcx, 0xfffffffffffffff0
nop dword [rax + rax]
movdqu xmm0, xmmword [r9 + rax]
movdqu xmm3, xmmword [r10 + rax]
add rax, 0x10
pxor xmm0, xmm3
por xmm1, xmm0
cmp rcx, rax
jne 0x140194620
movdqa xmm0, xmm1
psrldq xmm0, 8
por xmm0, xmm1
movdqa xmm2, xmm0
psrldq xmm2, 4
por xmm0, xmm2
movdqa xmm2, xmm0
psrldq xmm2, 2
por xmm0, xmm2
movdqa xmm2, xmm0
psrldq xmm2, 1
por xmm0, xmm2
movd eax, xmm0
movdqa xmm0, xmm1
psrldq xmm1, 8
por xmm1, xmm0
cmp r8, rcx
je 0x14019478f
mov r11, r8
sub r11, rcx
lea rdx, [r11 - 1]
cmp rdx, 6
jbe 0x140194700
movq xmm0, qword [r9 + rcx]
movq xmm2, qword [r10 + rcx]
pxor xmm0, xmm2
por xmm0, xmm1
movq rdx, xmm0
mov rax, rdx
mov rbx, rdx
or al, dh
shr rbx, 0x10
or eax, ebx
mov rbx, rdx
shr rbx, 0x18
or eax, ebx
mov rbx, rdx
shr rbx, 0x20
or eax, ebx
mov rbx, rdx
shr rbx, 0x28
or eax, ebx
mov rbx, rdx
shr rdx, 0x38
shr rbx, 0x30
or eax, ebx
or eax, edx
mov rdx, r11
and rdx, 0xfffffffffffffff8
add rcx, rdx
and r11d, 7
je 0x14019478f
movzx edx, byte [r9 + rcx]
xor dl, byte [r10 + rcx]
or eax, edx
lea rdx, [rcx + 1]
cmp rdx, r8
jae 0x14019478f
movzx edx, byte [r10 + rcx + 1]
xor dl, byte [r9 + rcx + 1]
or eax, edx
lea rdx, [rcx + 2]
cmp rdx, r8
jae 0x14019478f
movzx edx, byte [r9 + rcx + 2]
xor dl, byte [r10 + rcx + 2]
or eax, edx
lea rdx, [rcx + 3]
cmp rdx, r8
jae 0x14019478f
movzx edx, byte [r9 + rcx + 3]
xor dl, byte [r10 + rcx + 3]
or eax, edx
lea rdx, [rcx + 4]
cmp rdx, r8
jae 0x14019478f
movzx edx, byte [r9 + rcx + 4]
xor dl, byte [r10 + rcx + 4]
or eax, edx
lea rdx, [rcx + 5]
cmp rdx, r8
jae 0x14019478f
movzx edx, byte [r9 + rcx + 5]
xor dl, byte [r10 + rcx + 5]
or eax, edx
lea rdx, [rcx + 6]
cmp rdx, r8
jae 0x14019478f
movzx edx, byte [r9 + rcx + 6]
xor dl, byte [r10 + rcx + 6]
or eax, edx
movzx eax, al
pop rbx
ret
xor eax, eax
pop rbx
ret
pxor xmm1, xmm1
xor ecx, ecx
xor eax, eax
jmp 0x14019468b

Function at 0x140196b80
Capabilities:
Encode data using add xor sub operations
Encode data using xor

Disassembly:
test rdx, rdx
je 0x140196bc0
lea r10, [rcx + rdx*8]
mov r8, 0xffffffffffffffff
mov rdx, qword [rcx]
mov r9, r8
add rcx, 8
mov rax, rdx
sub rdx, 1
not rax
and rax, rdx
sar rax, 0x3f
xor rax, r8
and rax, r9
xor r8, rax
cmp r10, rcx
jne 0x140196b90
mov rax, r8
ret
mov r8, 0xffffffffffffffff
mov rax, r8
ret

Function at 0x140196bd0
Capabilities:
Encode data using add xor sub operations
Encode data using xor

Disassembly:
push rbx
mov r11, rcx
mov rbx, rdx
test r8, r8
je 0x140196c20
xor ecx, ecx
mov r9, 0xffffffffffffffff
nop dword [rax]
mov rdx, qword [rbx + rcx*8]
xor rdx, qword [r11 + rcx*8]
mov r10, r9
add rcx, 1
mov rax, rdx
sub rdx, 1
not rax
and rax, rdx
sar rax, 0x3f
xor rax, r9
and rax, r10
xor r9, rax
cmp r8, rcx
jne 0x140196be8
mov rax, r9
pop rbx
ret
mov r9, 0xffffffffffffffff
mov rax, r9
pop rbx
ret
Function at 0x140196c30
Capabilities:
Encode data using xor

Disassembly:
test r8, r8
je 0x140196c90
xor rdx, qword [rcx]
mov rax, rdx
sub rdx, 1
not rax
and rax, rdx
sar rax, 0x3f
cmp r8, 1
je 0x140196ca0
lea r11, [rcx + r8*8]
lea r9, [rcx + 8]
mov r8, 0xffffffffffffffff
nop
mov rcx, qword [r9]
mov r10, r8
add r9, 8
mov rdx, rcx
sub rcx, 1
not rdx
and rdx, rcx
sar rdx, 0x3f
xor rdx, r8
and rdx, r10
xor r8, rdx
cmp r11, r9
jne 0x140196c60
and rax, r8
ret
lea rax, [rdx - 1]
not rdx
and rax, rdx
sar rax, 0x3f
ret
mov r8, 0xffffffffffffffff
jmp 0x140196c89

Function at 0x140196d00
Capabilities:
Encode data using add xor sub operations
Encode data using xor

Disassembly:
mov rax, qword [rcx]
mov r9, rdx
xor edx, edx
cmp rax, r9
sbb rdx, 0
mov r10, rdx
and r10d, 1
sub r10, 1
mov rax, r10
not r10
sar rax, 0x3f
cmp r8, 1
je 0x140196d6c
lea r9, [rcx + 8]
lea r11, [rcx + r8*8]
mov rax, 0xffffffffffffffff
nop dword [rax]
mov rcx, qword [r9]
mov r8, rax
add r9, 8
mov rdx, rcx
sub rcx, 1
not rdx
and rdx, rcx
sar rdx, 0x3f
xor rdx, rax
and rdx, r8
xor rax, rdx
cmp r11, r9
jne 0x140196d40
xor rax, r10
mov rdx, r10
and rax, rdx
xor rax, r10
ret
Function at 0x140199000
Capabilities:
Encode data using xor

Disassembly:
push r15
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x28
mov rbx, qword [rsp + 0x98]
mov rdi, qword [rsp + 0x90]
mov r13, rcx
mov rbp, r8
test rbx, rbx
je 0x140199150
cmp rbx, rdx
jne 0x140199150
lea rdx, [rbx + rbx]
xor eax, eax
cmp rdx, r9
jne 0x14019913d
mov rax, qword [rsp + 0xa0]
mov r15, r8
xor r14d, r14d
xor esi, esi
mov r12, qword [rax]
nop word [rax + rax]
mov r8, qword [r15]
mov rcx, r15
mov rdx, rdi
mov r9, rbx
imul r8, r12
call fcn.1401991b0
mov rcx, qword [r15 + rbx*8]
xor edx, edx
add rax, rsi
add rax, rcx
cmp rcx, rax
mov qword [r15 + rbx*8], rax
setne dl
or rdx, rsi
xor esi, esi
cmp rcx, rax
setae sil
add r14, 1
add r15, 8
and rsi, rdx
cmp r14, rbx
jb 0x140199060
lea rcx, [rbp + rbx*8]
mov r8, qword [rdi]
mov rax, qword [rcx]
mov rdx, rax
sub rdx, r8
mov qword [r13], rdx
xor edx, edx
cmp rax, r8
sbb rdx, 0
and edx, 1
cmp rbx, 1
je 0x140199102
mov eax, 1
nop dword [rax + rax]
mov r8, qword [rcx + rax*8]
xor r9d, r9d
sub r8, qword [rdi + rax*8]
sbb r9, 0
sub r8, rdx
sbb r9, 0
mov qword [r13 + rax*8], r8
add rax, 1
mov rdx, r9
and edx, 1
cmp rbx, rax
jne 0x1401990d8
xor eax, eax
sub rsi, rdx
nop word [rax + rax]
mov r8, qword [r13 + rax*8]
mov rdx, qword [rcx + rax*8]
xor rdx, r8
and rdx, rsi
xor rdx, r8
mov qword [r13 + rax*8], rdx
mov qword [rcx + rax*8], 0
add rax, 1
cmp rax, rbx
jb 0x140199110
mov eax, 1
add rsp, 0x28
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
ret
xor eax, eax
jmp 0x14019913d

Function at 0x140199160
Capabilities:
Encode data using xor

Disassembly:
push rbx
mov r10d, 0x40
xor eax, eax
mov r8d, 1
movabs rbx, 0x8000000000000000
nop dword [rax]
mov rdx, r8
mov r11, rcx
shr rax, 1
and edx, 1
neg rdx
and r11, rdx
and rdx, rbx
mov r9, r11
add rax, rdx
xor r9, r8
and r8, r11
shr r9, 1
add r8, r9
sub r10, 1
jne 0x140199180
pop rbx
ret
Function at 0x1401a3120
Capabilities:
Encrypt data using curve25519

Disassembly:
movzx eax, byte [rcx + 0x1f]
and byte [rcx], 0xf8
and eax, 0x7f
or eax, 0x40
mov byte [rcx + 0x1f], al
ret
Function at 0x140007820
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.0x140007841
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 0x14000786e
mov rax, qword [rcx + 0x58]
mov ecx, dword [rax]
jmp 0x140007870
xor ecx, ecx
movsxd rbp, ecx
test rbx, rbx
jle 0x1400078c9
test ecx, ecx
jle 0x1400078a9
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 0x1400078c9
mov r9, qword [rdi + 0x80]
test r9, r9
je 0x1400078c9
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
rol dh, 0x26
sbb al, 0x84
and byte [rbp - 0x65], ch
rcr dword [rsi + 0x2c2dccdc], 0x9c
push rdx
fldenv [rcx]
in eax, 0xaa
sub dword [rsi + rsi*2 - 0x1b], 0xe1e1ced1
adc dword [rsp + rdx*4], edx
imul eax, dword [rsi - 0x31], 0xffffffeb
test eax, 0xbc504785
Function at 0x1400078f0
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 0x140007912
xor eax, eax
add rsp, 0x30
pop r14
pop rsi
pop rbp
ret
cmp qword [rcx + 0x68], 0
je case.default.0x140007921
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 0x140007944
mov rax, qword [rcx + 0x50]
mov ecx, dword [rax]
jmp 0x140007946
xor ecx, ecx
movsxd rax, ecx
test ecx, ecx
je 0x140007982
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 0x140007a1e
mov r8, qword [rsi + 0x18]
lea rax, [rsi + 0x70]
cmp qword [r8], rax
jne 0x1400079bd
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 0x1400079fe
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 0x140007a1e
cmp rbx, rax
ja 0x1400079d0
test rbx, rbx
je 0x140007a1e
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
cwde
adc esp, eax
cdq
invalid
Function at 0x140007e20
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x20], rbx
push rdi
sub rsp, 0x80
mov rax, qword [0x14014ce70]
xor rax, rsp
mov qword [rsp + 0x78], rax
mov edi, edx
mov rbx, rcx
cmp edx, 0xffffffff
jne 0x140007e4d
xor eax, eax
jmp 0x140007faa
mov rdx, qword [rcx + 0x40]
mov rax, qword [rdx]
test rax, rax
je 0x140007e78
mov rdx, qword [rcx + 0x58]
movsxd r8, dword [rdx]
add r8, rax
cmp rax, r8
jae 0x140007e78
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 0x140007faa
cmp qword [rcx + 0x80], 0
mov qword [rsp + 0xa0], rsi
je 0x140007f9d
mov r8, qword [rcx + 0x18]
lea rax, [rcx + 0x70]
cmp qword [r8], rax
jne 0x140007ebb
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 0x140007ee6
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 0x140007fa2
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 0x140007f55
sub eax, 1
je 0x140007f55
cmp eax, 2
jne 0x140007f9d
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 0x140007fa2
mov rsi, qword [rsp + 0x40]
lea rax, [rsp + 0x58]
sub rsi, rax
je 0x140007f83
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 0x140007f9d
lea rax, [rsp + 0x50]
mov byte [rbx + 0x71], 1
cmp qword [rsp + 0x48], rax
mov ecx, 0xffffffff
cmovne ecx, edi
mov eax, ecx
jmp 0x140007fa2
mov eax, 0xffffffff
mov rsi, qword [rsp + 0xa0]
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.1400e7bc0
mov rbx, qword [rsp + 0xa8]
add rsp, 0x80
pop rdi
ret
Function at 0x140009a30
Capabilities:
Write file on windows

Disassembly:
push rbx
sub rsp, 0x60
mov rax, qword [0x14014ce70]
xor rax, rsp
mov qword [rsp + 0x58], rax
cmp qword [rcx + 0x68], 0
mov rbx, rcx
je 0x140009b03
cmp byte [rcx + 0x71], 0
je 0x140009b03
mov rax, qword [rcx]
mov edx, 0xffffffff
mov qword [rsp + 0x78], rdi
call qword [rax + 0x18]
cmp eax, 0xffffffff
je 0x140009aff
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 0x140009ac4
sub eax, 1
je 0x140009ac8
cmp eax, 2
jne 0x140009aff
mov byte [rbx + 0x71], 0
mov al, 1
mov rdi, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.1400e7bc0
add rsp, 0x60
pop rbx
ret
mov byte [rbx + 0x71], 0
mov rdi, qword [rsp + 0x30]
lea rax, [rsp + 0x38]
sub rdi, rax
je 0x140009af6
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 0x140009aff
cmp byte [rbx + 0x71], 0
sete al
jmp 0x140009aac
xor al, al
jmp 0x140009aac
mov al, 1
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.1400e7bc0
add rsp, 0x60
pop rbx
ret

Function at 0x14001fef0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov qword [rsp + 0x18], rbx
push rdi
sub rsp, 0x40
mov rax, qword [0x14014ce70]
xor rax, rsp
mov qword [rsp + 0x30], rax
mov rdi, rdx
mov rbx, rcx
mov qword [rsp + 0x20], rdx
mov rcx, rdx
call fcn.14001b580
mov r8, qword [rdi + 0x10]
mov rcx, rdi
cmp qword [rdi + 0x18], 0x10
jb 0x14001ff2d
mov rcx, qword [rdi]
xor edx, edx
movabs r9, 0xcbf29ce484222325
test r8, r8
je 0x14001ff63
movabs r10, 0x100000001b3
nop dword [rax + rax]
movzx eax, byte [rdx + rcx]
xor r9, rax
imul r9, r10
inc rdx
cmp rdx, r8
jb 0x14001ff50
mov r8, rdi
lea rdx, [rsp + 0x20]
mov rcx, rbx
call fcn.140021980
cmp qword [rax + 8], 0
setne bl
mov rcx, rdi
call fcn.140009cd0
movzx eax, bl
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.1400e7bc0
mov rbx, qword [rsp + 0x60]
add rsp, 0x40
pop rdi
ret