joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400e63a0
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.1400e7160
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.1400e7160
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 0x1400e6410
Capabilities:
Allocate or change rwx memory

Disassembly:
push rdi
push rsi
push rbx
sub rsp, 0x50
movsxd rsi, dword [0x1401b01e4]
mov rbx, rcx
test esi, esi
jle 0x1400e6540
mov rax, qword [0x1401b01e8]
xor r9d, r9d
add rax, 0x18
nop word [rax + rax]
mov r8, qword [rax]
cmp rbx, r8
jb 0x1400e645b
mov rdx, qword [rax + 8]
mov edx, dword [rdx + 8]
add r8, rdx
cmp rbx, r8
jb 0x1400e64e5
add r9d, 1
add rax, 0x28
cmp r9d, esi
jne 0x1400e6440
mov rcx, rbx
call fcn.1400e6e80
mov rdi, rax
test rax, rax
je 0x1400e6562
mov rax, qword [0x1401b01e8]
lea rbx, [rsi + rsi*4]
shl rbx, 3
add rax, rbx
mov qword [rax + 0x20], rdi
mov dword [rax], 0
call fcn.1400e6fc0
mov edx, dword [rdi + 0xc]
mov r8d, 0x30
lea rcx, [rax + rdx]
mov rax, qword [0x1401b01e8]
lea rdx, [rsp + 0x20]
mov qword [rax + rbx + 0x18], rcx
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x1400e6547
mov eax, dword [rsp + 0x44]
lea edx, [rax - 4]
and edx, 0xfffffffb
je 0x1400e64de
lea edx, [rax - 0x40]
and edx, 0xffffffbf
jne 0x1400e64f0
add dword [0x1401b01e4], 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 [0x1401b01e8]
mov qword [rbx + 8], rcx
mov r9, rbx
mov qword [rbx + 0x10], rdx
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x1400e64de
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.__VirtualProtect_failed_with_code_0x_x
mov edx, eax
call fcn.1400e63a0
nop dword [rax]
xor esi, esi
jmp 0x1400e6468
mov rax, qword [0x1401b01e8]
mov edx, dword [rdi + 8]
lea rcx, str.__VirtualQuery_failed_for__d_bytes_at_address__p
mov r8, qword [rax + rbx + 0x18]
call fcn.1400e63a0
mov rdx, rbx
lea rcx, str.Address__p_has_no_image_section
call fcn.1400e63a0
nop
nop word cs:[rax + rax]
nop dword [rax]

Function at 0x1400e6af0
Capabilities:
Get thread local storage value

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x20
lea r12, [0x1401b0240]
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rbx, qword [0x1401b0220]
test rbx, rbx
je 0x1400e6b4c
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 0x1400e6b43
test eax, eax
jne 0x1400e6b43
mov rax, qword [rbx + 8]
mov rcx, rsi
call rax
mov rbx, qword [rbx + 0x10]
test rbx, rbx
jne 0x1400e6b28
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 0x1400e6e80
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
mov rdx, qword [0x140165dd0]
xor eax, eax
cmp word [rdx], 0x5a4d
jne 0x1400e6ea0
movsxd r8, dword [rdx + 0x3c]
add r8, rdx
cmp dword [r8], 0x4550
je 0x1400e6ea8
ret
cmp word [r8 + 0x18], 0x20b
jne 0x1400e6ea0
movzx eax, word [r8 + 0x14]
sub rcx, rdx
lea rax, [r8 + rax + 0x18]
movzx r8d, word [r8 + 6]
test r8w, r8w
je 0x1400e6efd
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 0x1400e6ef4
add edx, dword [rax + 8]
cmp rcx, rdx
jb 0x1400e6ea0
add rax, 0x28
cmp rax, r9
jne 0x1400e6ee0
xor eax, eax
ret

Function at 0x1400e6f00
Capabilities:
Parse pe header

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

Function at 0x1400e6fc0
Capabilities:
Parse pe header

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

Disassembly:
xor eax, eax
mov r8, qword [rdx + rax*8]
xor qword [rcx + rax*8], r8
inc rax
cmp rax, 8
jne 0x1400e72c2
ret
push r15
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x68
mov ebp, 1
mov qword [rsp + 0x20], rcx
mov rdi, rdx
mov rdx, rcx
mov rcx, r8
mov rbx, r8
call 0x1400e72c0
mov rcx, rbx
cmp rbp, rdi
jae 0x1400e757e
call fcn.1400e7820
mov rcx, rbx
call fcn.1400e7740
mov r10, qword [rbx]
mov r14, qword [rbx + 8]
mov r9, qword [rbx + 0x10]
mov r8, qword [rbx + 0x18]
mov rcx, r10
mov r13, qword [rbx + 0x20]
mov r12, qword [rbx + 0x28]
call fcn.1400e76e0
mov rcx, r14
mov r11, qword [rbx + 0x30]
mov rsi, qword [rbx + 0x38]
xor r10, rax
mov r15, rax
mov qword [rsp + 0x28], r10
call fcn.1400e76e0
mov rcx, r9
xor r14, rax
mov r10, rax
mov qword [rsp + 0x30], r14
call fcn.1400e76e0
mov rcx, r8
xor r9, rax
mov r14, rax
mov qword [rsp + 0x38], r9
call fcn.1400e76e0
mov rcx, r13
xor r8, rax
mov r9, rax
mov qword [rsp + 0x40], r8
call fcn.1400e76e0
mov rcx, r12
xor r13, rax
mov r8, rax
mov qword [rsp + 0x48], r13
call fcn.1400e76e0
mov rcx, r11
xor r12, rax
mov r13, rax
mov qword [rsp + 0x50], r12
call fcn.1400e76e0
mov rcx, rsi
xor r11, rax
mov r12, rax
mov qword [rsp + 0x58], r11
call fcn.1400e76e0
mov rcx, qword [rsp + 0x28]
xor rsi, rax
mov r11, rax
call fcn.1400e7710
mov rcx, qword [rsp + 0x30]
xor r15, rax
xor r15, rsi
mov qword [rbx], r15
call fcn.1400e7710
mov rcx, qword [rsp + 0x38]
xor r10, rax
mov rax, qword [rsp + 0x28]
xor r10, rax
xor r10, rsi
mov qword [rbx + 8], r10
call fcn.1400e7710
mov rcx, qword [rsp + 0x40]
xor r14, rax
mov rax, qword [rsp + 0x30]
xor r14, rax
mov qword [rbx + 0x10], r14
call fcn.1400e7710
mov rcx, qword [rsp + 0x48]
xor r9, rax
mov rax, qword [rsp + 0x38]
xor r9, rax
xor r9, rsi
mov qword [rbx + 0x18], r9
call fcn.1400e7710
mov rcx, qword [rsp + 0x50]
xor r8, rax
mov rax, qword [rsp + 0x40]
xor r8, rax
xor r8, rsi
mov qword [rbx + 0x20], r8
call fcn.1400e7710
mov rcx, qword [rsp + 0x58]
xor r13, rax
mov rax, qword [rsp + 0x48]
xor r13, rax
mov qword [rbx + 0x28], r13
call fcn.1400e7710
mov rcx, rsi
xor r12, rax
mov rax, qword [rsp + 0x50]
xor r12, rax
mov qword [rbx + 0x30], r12
call fcn.1400e7710
mov rdx, rbp
mov rcx, rbx
inc rbp
xor r11, rax
mov rax, qword [rsp + 0x58]
shl rdx, 6
xor r11, rax
mov rax, qword [rsp + 0x20]
mov qword [rbx + 0x38], r11
add rdx, rax
call 0x1400e72c0
jmp 0x1400e73cb
call fcn.1400e7820
mov rcx, rbx
shl rdi, 6
call fcn.1400e7740
mov rdx, qword [rsp + 0x20]
mov rcx, rbx
add rdx, rdi
add rsp, 0x68
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
jmp 0x1400e72c0

Function at 0x1400e7e70
Capabilities:
Encode data using xor

Disassembly:
xor eax, eax
mov r10, qword [rcx + rax*8]
mov r9, qword [rdx + rax*8]
xor r9, r10
and r9, r8
xor r9, r10
mov qword [rcx + rax*8], r9
inc rax
cmp rax, 6
jne 0x1400e7e72
ret

Function at 0x1400e8330
Capabilities:
Encode data using xor

Disassembly:
xor eax, eax
neg r8
mov r10, qword [rcx + rax]
mov r9, qword [rdx + rax]
xor r9, r10
and r9, r8
xor r9, r10
mov qword [rcx + rax], r9
add rax, 8
cmp rax, 0x28
jne 0x1400e8335
ret
Function at 0x1400e8360
Capabilities:
Encode data using xor

Disassembly:
xor eax, eax
neg r8
mov r10, qword [rcx + rax]
mov r9, qword [rdx + rax]
xor r9, r10
and r9, r8
xor r10, r9
mov qword [rcx + rax], r10
xor qword [rdx + rax], r9
add rax, 8
cmp rax, 0x28
jne 0x1400e8365
ret

Function at 0x1400e9f60
Capabilities:
Encode data using xor

Disassembly:
push rbp
push rdi
push rsi
push rbx
sub rsp, 0xb8
xor edi, edi
lea rsi, [rsp + 0x20]
mov r9, rcx
lea rbx, [rsp + 0x50]
mov r10, rdx
mov rcx, rsi
lea r11, [rsp + 0x80]
call fcn.1400e9790
mov rcx, rbx
call fcn.1400e9790
mov rcx, r11
call fcn.1400e9790
mov rdx, r10
inc rdi
mov rax, rdi
xor rax, r8
mov rcx, rax
dec rax
not rcx
and rcx, rax
xor eax, eax
sar rcx, 0x3f
mov rbp, qword [rsi + rax*8]
mov r10, qword [rdx + rax*8]
xor r10, rbp
and r10, rcx
xor r10, rbp
mov rbp, qword [rbx + rax*8]
mov qword [rsi + rax*8], r10
mov r10, qword [rdx + rax*8 + 0x30]
xor r10, rbp
and r10, rcx
xor r10, rbp
mov rbp, qword [r11 + rax*8]
mov qword [rbx + rax*8], r10
mov r10, qword [rdx + rax*8 + 0x60]
xor r10, rbp
and r10, rcx
xor r10, rbp
mov qword [r11 + rax*8], r10
inc rax
cmp rax, 6
jne 0x1400e9fbb
add rdx, 0x90
cmp rdi, 0x10
jne 0x1400e9fa0
mov rdx, rsi
mov rcx, r9
call fcn.1400e9750
lea rcx, [r9 + 0x30]
mov rdx, rbx
call fcn.1400e9750
lea rcx, [r9 + 0x60]
mov rdx, r11
call fcn.1400e9750
nop
add rsp, 0xb8
pop rbx
pop rsi
pop rdi
pop rbp
ret
Function at 0x1400ec2b0
Capabilities:
Encode data using xor

Disassembly:
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x50
mov r10, rcx
mov rbx, r8
cmp edx, 0x80
je 0x1400ec346
mov eax, 1
cmp edx, 0x100
jne 0x1400ec566
lea rdi, [rsp + 0x20]
mov rdx, rcx
lea rbp, [rsp + 0x30]
mov dword [r8 + 0xf0], 0xe
mov rcx, rdi
mov esi, 2
lea r12, [rsp + 0x40]
lea r13, [0x1401664a0]
call fcn.1400e72e0
mov r8d, 0x10
mov rcx, rbx
mov rdx, rdi
call fcn.1400e7200
lea rdx, [r10 + 0x10]
mov rcx, rbp
call fcn.1400e72e0
lea rcx, [rbx + 0x10]
mov rdx, rbp
add rbx, 0x20
mov r8d, 0x10
call fcn.1400e7200
jmp 0x1400ec43a
lea rdi, [rsp + 0x30]
mov rdx, rcx
lea rsi, [rbx + 0x10]
mov dword [r8 + 0xf0], 0xa
mov rcx, rdi
lea rbp, [0x1401664a0]
lea r12, [rsp + 0x40]
call fcn.1400e72e0
mov rcx, rbx
mov r8d, 0x10
mov rdx, rdi
call fcn.1400e7200
add rbx, 0xb0
mov rdx, rdi
mov rcx, r12
inc rbp
call fcn.1400e77b0
mov r8b, byte [rbp - 1]
mov rcx, qword [rsp + 0x40]
call fcn.1400e76e0
mov rdx, r8
shr r8, 4
and edx, 0xf
shr rax, 0x30
xor rax, qword [rsp + 0x30]
and r8d, 0xf
xor rax, rdx
mov rdx, rax
mov rcx, rax
shl rcx, 0x10
shl rdx, 0x20
xor rdx, rcx
mov rcx, qword [rsp + 0x48]
xor rdx, rax
shl rax, 0x30
xor rax, rdx
mov qword [rsp + 0x30], rax
call fcn.1400e76e0
shr rax, 0x30
xor rax, qword [rsp + 0x38]
xor rax, r8
mov r8d, 0x10
mov rdx, rax
mov rcx, rax
shl rcx, 0x20
shl rdx, 0x10
xor rdx, rcx
mov rcx, rsi
add rsi, 0x10
xor rdx, rax
shl rax, 0x30
xor rax, rdx
mov rdx, rdi
mov qword [rsp + 0x38], rax
call fcn.1400e7200
cmp rbx, rsi
jne 0x1400ec389
xor eax, eax
jmp 0x1400ec566
mov rdx, rbp
mov rcx, r12
lea r14, [rbx + 0x20]
call fcn.1400e77b0
mov rax, rsi
mov rcx, qword [rsp + 0x40]
shr rax, 1
mov r8b, byte [r13 + rax - 1]
call fcn.1400e76e0
mov rdx, r8
shr rax, 0x30
xor rax, qword [rsp + 0x20]
and edx, 0xf
shr r8, 4
xor rax, rdx
and r8d, 0xf
mov rdx, rax
mov rcx, rax
shl rcx, 0x10
shl rdx, 0x20
xor rdx, rcx
mov rcx, qword [rsp + 0x48]
xor rdx, rax
shl rax, 0x30
xor rax, rdx
mov qword [rsp + 0x20], rax
call fcn.1400e76e0
shr rax, 0x30
xor rax, qword [rsp + 0x28]
xor rax, r8
mov r8d, 0x10
mov rdx, rax
mov rcx, rax
shl rcx, 0x20
shl rdx, 0x10
xor rdx, rcx
mov rcx, rbx
xor rdx, rax
shl rax, 0x30
xor rax, rdx
mov rdx, rdi
mov qword [rsp + 0x28], rax
call fcn.1400e7200
cmp rsi, 0xe
je 0x1400ec433
mov rdx, rdi
mov rcx, r12
add rsi, 2
call fcn.1400e77b0
movzx eax, word [rsp + 0x46]
xor rax, qword [rsp + 0x30]
mov r8d, 0x10
mov rdx, rax
mov rcx, rax
shl rcx, 0x20
shl rdx, 0x10
xor rdx, rcx
xor rdx, rax
shl rax, 0x30
xor rax, rdx
mov qword [rsp + 0x30], rax
movzx eax, word [rsp + 0x4e]
xor rax, qword [rsp + 0x38]
mov rdx, rax
mov rcx, rax
shl rcx, 0x20
shl rdx, 0x10
xor rdx, rcx
lea rcx, [rbx + 0x10]
mov rbx, r14
xor rdx, rax
shl rax, 0x30
xor rax, rdx
mov rdx, rbp
mov qword [rsp + 0x38], rax
call fcn.1400e7200
jmp 0x1400ec43a
add rsp, 0x50
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
ret
Function at 0x1400ec580
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 rsi, qword [rsp + 0x98]
mov rbp, rcx
mov rdi, r8
test rsi, rsi
je 0x1400ec6b3
cmp rsi, rdx
jne 0x1400ec6b3
lea rdx, [rsi + rsi]
xor eax, eax
cmp rdx, r9
jne 0x1400ec6b5
mov rax, qword [rsp + 0xa0]
lea r12, [r8 + rsi*8]
xor r15d, r15d
xor ebx, ebx
mov r14, r12
mov r13, qword [rax]
mov r8, qword [rdi]
mov rdx, qword [rsp + 0x90]
mov rcx, rdi
mov r9, rsi
imul r8, r13
call fcn.1400ec720
mov rcx, qword [r14]
xor edx, edx
add rax, rbx
add rax, rcx
cmp rcx, rax
mov qword [r14], rax
setne dl
or rdx, rbx
xor ebx, ebx
cmp rcx, rax
setae bl
inc r15
add rdi, 8
add r14, 8
and rbx, rdx
cmp r15, rsi
jb 0x1400ec5d6
mov rax, qword [rsp + 0x90]
mov rcx, qword [rax]
mov rax, qword [r12]
mov rdx, rax
sub rdx, rcx
mov qword [rbp], rdx
xor edx, edx
cmp rax, rcx
sbb rdx, 0
mov rax, rdx
mov edx, 1
and eax, 1
cmp rdx, rsi
jae 0x1400ec682
mov r8, qword [r12 + rdx*8]
xor r9d, r9d
sub r8, rax
mov rax, qword [rsp + 0x90]
sbb r9, 0
sub r8, qword [rax + rdx*8]
sbb r9, 0
mov qword [rbp + rdx*8], r8
inc rdx
mov rax, r9
and eax, 1
jmp 0x1400ec64f
sub rbx, rax
xor eax, eax
mov rcx, qword [rbp + rax*8]
mov rdx, qword [r12 + rax*8]
xor rdx, rcx
and rdx, rbx
xor rdx, rcx
mov qword [rbp + rax*8], rdx
xor edx, edx
mov qword [r12 + rax*8], rdx
inc rax
cmp rax, rsi
jb 0x1400ec687
mov eax, 1
jmp 0x1400ec6b5
xor eax, eax
add rsp, 0x28
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
ret

Function at 0x1400ec6d0
Capabilities:
Encode data using xor

Disassembly:
push rbx
mov ebx, 1
mov r9d, 0x40
xor eax, eax
mov r8d, 1
shl rbx, 0x3f
mov rdx, r8
mov r11, rcx
shr rax, 1
and edx, 1
neg rdx
and r11, rdx
and rdx, rbx
mov r10, r11
add rax, rdx
xor r10, r8
and r8, r11
shr r10, 1
add r8, r10
dec r9
jne 0x1400ec6e8
pop rbx
ret

Function at 0x1400ed4d0
Capabilities:
Encrypt data using curve25519

Disassembly:
mov al, byte [rcx + 0x1f]
and byte [rcx], 0xf8
and eax, 0x7f
or eax, 0x40
mov byte [rcx + 0x1f], al
ret
Function at 0x1400efd70
Capabilities:
Encode data using xor

Disassembly:
push r15
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x178
movsx r10, r8b
mov eax, r8d
mov r9d, r8d
mov rsi, rcx
mov rbx, r10
lea rdi, [rsp + 0x99]
mov ecx, 0x5f
mov r8d, 1
sar rbx, 0x3f
and eax, ebx
add eax, eax
sub r9d, eax
xor eax, eax
rep stosb byte [rdi], al
mov rax, r10
dec r10
movzx r9d, r9b
not rax
and rax, r10
lea r10, [rsp + 0x98]
sar rax, 0x3f
and eax, 1
mov byte [rsp + 0x98], al
mov byte [rsp + 0xb8], al
movsxd rax, edx
lea rdx, [0x14018c000]
imul rax, rax, 0x300
add rax, rdx
mov rcx, r9
xor rcx, r8
mov rdx, rcx
dec rcx
not rdx
and rdx, rcx
xor ecx, ecx
sar rdx, 0x3f
mov r11b, byte [rax + rcx]
and r11d, edx
xor byte [r10 + rcx], r11b
inc rcx
cmp rcx, 0x60
jne 0x1400efe0e
inc r8
add rax, 0x60
cmp r8, 9
jne 0x1400efdf6
lea rbp, [rsp + 0x20]
mov rdx, r10
lea r13, [rsp + 0x48]
neg rbx
mov rcx, rbp
lea r15, [rsp + 0x70]
lea r12, [rsi + 0x28]
call fcn.1400e8b80
mov rcx, r13
lea rdx, [rsp + 0xb8]
lea rdi, [rsi + 0x50]
call fcn.1400e8b80
lea rdx, [rsp + 0xd8]
mov rcx, r15
lea r14, [rsp + 0xf8]
call fcn.1400e8b80
mov rdx, rbp
mov rcx, rsi
call fcn.1400e8410
mov rdx, r13
mov rcx, r12
call fcn.1400e8410
mov rdx, r15
mov rcx, rdi
call fcn.1400e8410
mov rdx, r13
mov rcx, r14
lea r13, [rsp + 0x120]
call fcn.1400e8410
mov rdx, rbp
mov rcx, r13
lea rbp, [rsp + 0x148]
call fcn.1400e8410
mov rdx, r15
mov rcx, rbp
call fcn.1400e8d30
mov r8, rbx
mov rdx, r14
mov rcx, rsi
call fcn.1400e8330
mov r8, rbx
mov rdx, r13
mov rcx, r12
call fcn.1400e8330
mov r8, rbx
mov rdx, rbp
mov rcx, rdi
call fcn.1400e8330
nop
add rsp, 0x178
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
ret
Function at 0x140009e78
Capabilities:
Hash data with crc32

Disassembly:
mov rax, qword [rcx + 0x1e8]
mov r10, r8
movsxd r9, dword [rcx + 0x1e0]
mov r11, rdx
mov rcx, r11
mov r8d, dword [rax + r9*4 - 4]
mov eax, r10d
sub eax, edx
neg r10
sbb edx, edx
and edx, eax
jmp fcn.14000a87c

Function at 0x14000a50c
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r14
push r15
sub rsp, 0x20
movsxd r15, r9d
mov rsi, r8
test r8, r8
je 0x14000a533
and qword [r8], 0
call fcn.14000a648
mov rbx, rax
test rax, rax
je 0x14000a62c
xor edx, edx
mov rcx, rax
lea r8d, [rdx + 2]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
test eax, eax
jne 0x14000a623
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
movsxd rdi, eax
cmp edi, 0xffffffff
je 0x14000a623
xor r8d, r8d
xor edx, edx
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
test eax, eax
jne 0x14000a623
mov rax, qword [0x1400883b0]
mov rbp, rdi
test rax, rax
je 0x14000a59b
inc dword [rax + 0x3c8]
mov rdx, qword [0x1400883c0]
lea rcx, [r15 + rdi]
call qword [section..data]
mov rdi, rax
test rax, rax
je 0x14000a623
mov r9, rbx
mov r8, rbp
mov edx, 1
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
cmp rax, rbp
je 0x14000a5fa
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov rax, qword [0x1400883b0]
test rax, rax
je 0x14000a5e8
dec dword [rax + 0x3c8]
mov rdx, qword [0x1400883c0]
mov rcx, rdi
call qword [0x140061008]
jmp 0x14000a62c
test r15d, r15d
jle 0x14000a60d
lea rcx, [rdi + rbp]
mov r8, r15
xor edx, edx
call sub.VCRUNTIME140.dll_memset
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
test rsi, rsi
je 0x14000a61e
mov qword [rsi], rbp
mov rax, rdi
jmp 0x14000a62e
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
xor eax, eax
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x20
pop r15
pop r14
pop rdi
ret
Function at 0x14000a87c
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
cmp dword [0x1400883e4], 0
lea rsi, [0x1400883e0]
mov ebx, r8d
mov edi, edx
mov r10, rcx
jne 0x14000a8e3
xor r9d, r9d
mov r11, rsi
mov r8d, r9d
mov edx, 8
mov ecx, r8d
mov eax, r8d
and ecx, 1
shr eax, 1
neg ecx
and ecx, 0xedb88320
mov r8d, ecx
xor r8d, eax
sub rdx, 1
jne 0x14000a8b1
mov dword [r11], r8d
inc r9d
add r11, 4
cmp r9d, 0x100
jb 0x14000a8a9
not ebx
mov edx, ebx
test edi, edi
jle 0x14000a905
movzx eax, byte [r10]
inc r10
movzx ecx, dl
xor rcx, rax
shr edx, 8
xor edx, dword [rsi + rcx*4]
sub edi, 1
jne 0x14000a8eb
jmp 0x14000a93f
mov r8b, byte [r10]
inc r10
test r8b, r8b
je 0x14000a93f
mov r9b, 0x23
cmp r8b, r9b
jne 0x14000a924
cmp byte [r10], r9b
jne 0x14000a924
cmp byte [r10 + 1], r9b
cmove edx, ebx
movzx ecx, dl
movzx eax, r8b
mov r8b, byte [r10]
xor rcx, rax
shr edx, 8
inc r10
xor edx, dword [rsi + rcx*4]
test r8b, r8b
jne 0x14000a913
mov rbx, qword [rsp + 8]
not edx
mov rsi, qword [rsp + 0x10]
mov eax, edx
mov rdi, qword [rsp + 0x18]
ret
Function at 0x14001084c
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x20
mov rax, qword [0x1400883b0]
mov rbx, rcx
and dword [rax + 0x2d9c], 0
test rcx, rcx
je 0x1400108b5
and qword [rsp + 0x30], 0
lea rcx, [rsp + 0x30]
call fcn.1400108c0
lea rdx, [0x140052bec]
mov rcx, rbx
mov rdi, rax
call fcn.14000a648
mov rbx, rax
test rax, rax
je 0x1400108b5
mov r8, qword [rsp + 0x30]
mov r9, rax
mov edx, 1
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov rbx, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
Function at 0x14001f838
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x90
xor r14d, r14d
movaps xmmword [rax - 0x38], xmm6
movaps xmmword [rax - 0x48], xmm7
mov rsi, rdx
movsxd rdi, r9d
mov rbp, rcx
test r9d, r9d
jle 0x14001fa29
lea rbx, [r8 + 0x20]
xor r13d, r13d
lea r8d, [r14 + 1]
mov r11d, pe_nt_image_headers64
xorps xmm7, xmm7
movss xmm6, dword [rbx - 0x20]
comiss xmm6, xmm7
jbe 0x14001f8da
movsxd r10, dword [rsi + 0x24]
mov r9, qword [rsi + 8]
movsx ecx, r11w
movzx eax, byte [r10 + r9 + 7]
movzx edx, byte [r10 + r9 + 6]
imul edx, ecx
movsx ecx, r11w
add dx, ax
movzx eax, byte [r10 + r9 + 5]
movsx r8d, dx
movzx edx, byte [r10 + r9 + 4]
imul edx, ecx
add ax, dx
cwde
sub eax, r8d
mov r8d, 1
movd xmm0, eax
jmp 0x14001f8fc
movsxd rdx, dword [rsi + 0x1c]
mov rax, qword [rsi + 8]
xorps xmm6, xmmword [0x140052d80]
movzx ecx, byte [rdx + rax + 0x12]
movzx eax, byte [rdx + rax + 0x13]
shl ecx, 8
add ecx, eax
movd xmm0, ecx
mov al, byte [rbp + 0x20]
xor r15d, r15d
cvtdq2ps xmm0, xmm0
mov byte [rbx], al
mov al, byte [rbp + 0x24]
mov byte [rbx + 1], al
divss xmm6, xmm0
cmp dword [rbx - 0x10], r15d
jle 0x14001fa1c
mov rcx, qword [rsp + 0xe0]
mov rax, r13
shl rax, 4
add rcx, 6
xor r12d, r12d
add rcx, rax
mov qword [rsp + 0x60], rcx
mov rax, qword [rbx - 0x18]
test rax, rax
jne 0x14001f94a
mov edx, dword [rbx - 0x1c]
add edx, r15d
jmp 0x14001f94e
mov edx, dword [rax + r12]
mov rcx, rsi
call fcn.14001ef90
mov edx, eax
xorps xmm3, xmm3
mov eax, dword [rbp + 0x24]
xorps xmm2, xmm2
mov rcx, rsi
cvtsi2ss xmm3, rax
mov eax, dword [rbp + 0x20]
cvtsi2ss xmm2, rax
lea rax, [rsp + 0x58]
mov qword [rsp + 0x48], rax
lea rax, [rsp + 0x50]
mov qword [rsp + 0x40], rax
lea rax, [rsp + 0x54]
mov qword [rsp + 0x38], rax
lea rax, [rsp + 0xd8]
mov qword [rsp + 0x30], rax
movss dword [rsp + 0x28], xmm7
mulss xmm3, xmm6
mulss xmm2, xmm6
movss dword [rsp + 0x20], xmm7
call fcn.14001f3c8
mov rcx, qword [rsp + 0x60]
mov r8d, 1
movzx eax, word [rbp + 0x20]
add r14d, r8d
sub ax, word [rsp + 0xd8]
add r13, r8
add ax, word [rbp + 0x1c]
add r15d, r8d
add ax, word [rsp + 0x50]
add r12, 4
sub ax, r8w
mov word [rcx - 2], ax
movzx eax, word [rbp + 0x24]
sub ax, word [rsp + 0x54]
add ax, word [rbp + 0x1c]
add ax, word [rsp + 0x58]
sub ax, r8w
mov word [rcx], ax
add rcx, 0x10
mov qword [rsp + 0x60], rcx
cmp r15d, dword [rbx - 0x10]
jl 0x14001f939
mov r11d, pe_nt_image_headers64
add rbx, 0x28
sub rdi, r8
jne 0x14001f888
movaps xmm7, xmmword [rsp + 0x70]
lea r11, [rsp + 0x90]
mov rbx, qword [r11 + 0x30]
mov eax, r14d
mov rbp, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
movaps xmm6, xmmword [r11 - 0x10]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret