joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140003750
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 0x1400037ad
lea rbx, [0x1400443e0]
movzx r8d, byte [r9]
lea r9, [r9 + 1]
dec r10
cmp r8b, 0x23
jne 0x140003794
cmp r10, 2
jb 0x140003794
cmp byte [r9], r8b
jne 0x140003794
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 0x140003770
not eax
mov rbx, qword [rsp + 8]
ret
movzx r8d, byte [rcx]
inc r9
test r8b, r8b
je 0x1400037ef
lea rbx, [0x1400443e0]
cmp r8b, 0x23
jne 0x1400037d3
cmp byte [r9], r8b
jne 0x1400037d3
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 0x1400037c0
mov rbx, qword [rsp + 8]
not eax
ret

Function at 0x140003930
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
push r14
sub rsp, 0x20
mov r14, r8
test r8, r8
je 0x14000394a
mov qword [r8], 0
lea rdx, [0x1400a82f4]
call fcn.140003800
mov rbx, rax
test rax, rax
jne 0x14000396a
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 0x140003a41
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 0x140003a41
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
movsxd rdi, eax
cmp edi, 0xffffffff
je 0x140003a41
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 0x140003a41
cmp rdi, 0xffffffffffffffff
je 0x140003a41
mov rax, qword [0x1400cffb0]
test rax, rax
je 0x1400039de
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 0x140003a41
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 0x140003a2e
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov rax, qword [0x1400cffb0]
test rax, rax
je 0x140003a23
dec dword [rax + 0xf4]
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
jmp 0x140003a4a
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
test r14, r14
je 0x140003a3c
mov qword [r14], rdi
mov rax, rsi
jmp 0x140003a4c
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
Function at 0x140006aa0
Capabilities:
Hash data with crc32

Disassembly:
push rbx
sub rsp, 0x20
movsxd r8, dword [rcx + 0xd0]
mov rax, qword [rcx + 0xd8]
movsxd r9, edx
mov ebx, dword [rax + r8*4 - 4]
lea r8, [0x1400443e0]
not ebx
movzx eax, r9b
movzx ecx, bl
xor rcx, rax
shr ebx, 8
mov eax, r9d
shr eax, 8
movzx edx, al
mov eax, r9d
xor ebx, dword [r8 + rcx*4]
movzx ecx, bl
xor rdx, rcx
shr ebx, 8
shr eax, 0x10
xor ebx, dword [r8 + rdx*4]
movzx ecx, bl
shr ebx, 8
movzx edx, al
xor rdx, rcx
xor ebx, dword [r8 + rdx*4]
movzx ecx, bl
shr ebx, 8
mov edx, r9d
shr rdx, 0x18
xor rdx, rcx
mov rcx, qword [0x1400cffb0]
xor ebx, dword [r8 + rdx*4]
not ebx
cmp dword [rcx + 0x3ed4], ebx
jne 0x140006b36
mov r8, r9
mov edx, 4
mov ecx, ebx
call fcn.14001a2e0
mov eax, ebx
add rsp, 0x20
pop rbx
ret

Function at 0x140006b40
Capabilities:
Hash data with crc32

Disassembly:
sub rsp, 0x18
mov rax, qword [rcx + 0xd8]
lea r9, [0x1400443e0]
movss xmm2, dword [rcx + 0xf0]
movss xmm3, dword [rcx + 0xf4]
movsxd rcx, dword [rcx + 0xd0]
movss xmm0, dword [rdx]
movss xmm1, dword [rdx + 4]
subss xmm0, xmm2
subss xmm1, xmm3
mov r8d, dword [rax + rcx*4 - 4]
not r8d
movzx ecx, r8b
shr r8d, 8
movss dword [rsp], xmm0
movzx eax, byte [rsp]
xor rcx, rax
movss xmm0, dword [rdx + 8]
movzx eax, byte [rsp + 1]
subss xmm0, xmm2
movss dword [rsp + 4], xmm1
movss xmm1, dword [rdx + 0xc]
xor r8d, dword [r9 + rcx*4]
subss xmm1, xmm3
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 2]
movss dword [rsp + 8], xmm0
movss dword [rsp + 0xc], xmm1
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 3]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 4]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 5]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 6]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 7]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 8]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 9]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 0xa]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 0xb]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 0xc]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 0xd]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 0xe]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
xor r8d, dword [r9 + rcx*4]
movzx ecx, byte [rsp + 0xf]
movzx edx, r8b
shr r8d, 8
xor rdx, rcx
xor r8d, dword [r9 + rdx*4]
not r8d
mov eax, r8d
add rsp, 0x18
ret
Function at 0x140013e60
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
mov rax, qword [0x1400b0028]
xor rax, rsp
mov qword [rsp + 0x30], rax
mov rbx, qword [0x1400cffb0]
mov edi, ecx
cmp byte [rbx + 0x4a15], 0
jne 0x140013ec1
cmp byte [rbx + 0x4a16], 0
jne 0x140013ec1
movsx r9d, word [rbx + 0x5b0a]
lea r8, str.Tooltip__02d
mov edx, 0x10
lea rcx, [rsp + 0x20]
call fcn.140003610
test dil, 1
je 0x140013fe8
jmp 0x140013f4a
movss xmm1, dword [rbx + 0x3898]
lea r8, str.Tooltip__02d
movsx r9d, word [rbx + 0x5b0a]
lea rcx, [rsp + 0x20]
movaps xmm0, xmm1
xor eax, eax
mulss xmm0, dword [0x1400a8e18]
mulss xmm1, dword [0x1400a8e0c]
lea edx, [rax + 0x10]
addss xmm0, dword [rbx + 0xdfc]
addss xmm1, dword [rbx + 0xe00]
mov qword [rbx + 0x4778], rax
mov dword [rbx + 0x4764], 1
movss dword [rbx + 0x4770], xmm0
movss dword [rbx + 0x4774], xmm1
movss xmm0, dword [rbx + 0x38f4]
mulss xmm0, dword [0x1400a8d94]
or dword [rbx + 0x4760], 0x41
movss dword [rbx + 0x47c0], xmm0
call fcn.140003610
movzx r9d, byte [rsp + 0x20]
lea r8, [rsp + 0x21]
mov r10d, 0xffffffff
mov ecx, r10d
test r9b, r9b
je 0x140013fa0
lea r11, [0x1400443e0]
nop word [rax + rax]
cmp r9b, 0x23
jne 0x140013f83
cmp byte [r8], r9b
jne 0x140013f83
cmp byte [r8 + 1], r9b
cmove ecx, r10d
movzx edx, cl
movzx eax, r9b
movzx r9d, byte [r8]
xor rdx, rax
shr ecx, 8
inc r8
xor ecx, dword [r11 + rdx*4]
test r9b, r9b
jne 0x140013f70
not ecx
call fcn.14000c5f0
test rax, rax
je 0x140013fe8
cmp byte [rax + 0x96], 0
je 0x140013fe8
mov byte [rax + 0x9d], 1
lea r8, str.Tooltip__02d
mov byte [rax + 0xb8], 1
lea rcx, [rsp + 0x20]
inc word [rbx + 0x5b0a]
mov edx, 0x10
movsx r9d, word [rbx + 0x5b0a]
call fcn.140003610
xor edx, edx
lea rcx, [rsp + 0x20]
mov r8d, 0x20c0347
call fcn.14000ee10
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.140041060
mov rbx, qword [rsp + 0x50]
add rsp, 0x40
pop rdi
ret
Function at 0x140018c80
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x20
cmp qword [rcx + 0x5bb8], 0
lea rbx, [rcx + 0x5bc0]
mov rsi, r8
mov rbp, rdx
mov rdi, rcx
je 0x140018d27
mov r9d, dword [rbx + 4]
mov qword [rsp + 0x30], r14
xor r14d, r14d
test r9d, r9d
jns 0x140018cda
mov eax, r9d
mov rcx, rbx
cdq
sub eax, edx
mov edx, r14d
sar eax, 1
add eax, r9d
test eax, eax
cmovg edx, eax
call fcn.14001af00
mov r8, rsi
mov dword [rbx], r14d
mov rdx, rbp
mov rcx, rbx
call fcn.140003fb0
mov eax, dword [rbx]
mov edx, 1
mov r9, qword [rdi + 0x5bb8]
test eax, eax
lea ecx, [rax - 1]
mov rax, qword [rdi + 0x5bc8]
cmove ecx, r14d
test rax, rax
movsxd r8, ecx
lea rcx, [0x1400cffad]
cmovne rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov r14, qword [rsp + 0x30]
jmp 0x140018d2f
mov rcx, rbx
call fcn.140003fb0
mov rbx, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
ret

Function at 0x1400192a0
Capabilities:
Hash data with crc32

Disassembly:
sub rsp, 8
movzx r9d, byte [rcx]
lea r8, [rcx + 1]
mov r10, qword [0x1400cffb0]
mov r11d, 0xffffffff
mov eax, r11d
test r9b, r9b
je 0x140019303
mov qword [rsp], rbx
lea rbx, [0x1400443e0]
nop dword [rax]
cmp r9b, 0x23
jne 0x1400192e3
cmp byte [r8], r9b
jne 0x1400192e3
cmp byte [r8 + 1], r9b
cmove eax, r11d
movzx edx, al
movzx ecx, r9b
movzx r9d, byte [r8]
xor rdx, rcx
shr eax, 8
inc r8
xor eax, dword [rbx + rdx*4]
test r9b, r9b
jne 0x1400192d0
mov rbx, qword [rsp]
movsxd rcx, dword [r10 + 0x5b68]
xor r8d, r8d
not eax
test ecx, ecx
jle 0x140019337
mov r10, qword [r10 + 0x5b70]
mov r9, rcx
mov edx, r8d
lea rcx, [r10 + 8]
cmp dword [rcx], eax
je 0x14001933e
inc r8d
inc rdx
add rcx, 0x48
cmp rdx, r9
jl 0x140019324
xor eax, eax
add rsp, 8
ret
movsxd rax, r8d
lea rcx, [rax + rax*8]
lea rax, [r10 + rcx*8]
add rsp, 8
ret
Function at 0x14002c640
Capabilities:
Log keystrokes via polling

Disassembly:
push rbx
sub rsp, 0x20
mov ecx, 0x210
call fcn.140011d10
cmp byte [rax], 0
je 0x14002c6af
xor edx, edx
mov ecx, 0x210
call fcn.140012a70
test al, al
je 0x14002c6af
mov ecx, 0xa0
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
test al, 1
jne 0x14002c6af
mov rbx, qword [0x1400cffb0]
cmp byte [rbx + 0x37a9], 0
je 0x14002c69b
xorps xmm3, xmm3
lea rcx, [rbx + 8]
xor r8d, r8d
mov edx, 0x210
call fcn.140003150
mov dword [rbx + 0x380], 0x210
mov dword [rbx + 0x940], 0xa0
mov ecx, 0x214
call fcn.140011d10
cmp byte [rax], 0
je 0x14002c718
xor edx, edx
mov ecx, 0x214
call fcn.140012a70
test al, al
je 0x14002c718
mov ecx, 0xa1
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
test al, 1
jne 0x14002c718
mov rbx, qword [0x1400cffb0]
cmp byte [rbx + 0x37a9], 0
je 0x14002c704
xorps xmm3, xmm3
lea rcx, [rbx + 8]
xor r8d, r8d
mov edx, 0x214
call fcn.140003150
mov dword [rbx + 0x384], 0x214
mov dword [rbx + 0x950], 0xa1
mov ecx, 0x212
call fcn.140011d10
cmp byte [rax], 0
je 0x14002c77f
xor edx, edx
mov ecx, 0x212
call fcn.140012a70
test al, al
je 0x14002c77f
lea ecx, [rdx + 0x5b]
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
test al, 1
jne 0x14002c77f
mov rbx, qword [0x1400cffb0]
cmp byte [rbx + 0x37a9], 0
je 0x14002c76b
xorps xmm3, xmm3
lea rcx, [rbx + 8]
xor r8d, r8d
mov edx, 0x212
call fcn.140003150
mov dword [rbx + 0x26c], 0x212
mov dword [rbx + 0x948], 0x5b
mov ecx, 0x216
call fcn.140011d10
cmp byte [rax], 0
je 0x14002c7e6
xor edx, edx
mov ecx, 0x216
call fcn.140012a70
test al, al
je 0x14002c7e6
lea ecx, [rdx + 0x5c]
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
test al, 1
jne 0x14002c7e6
mov rbx, qword [0x1400cffb0]
cmp byte [rbx + 0x37a9], 0
je 0x14002c7d2
xorps xmm3, xmm3
lea rcx, [rbx + 8]
xor r8d, r8d
mov edx, 0x216
call fcn.140003150
mov dword [rbx + 0x270], 0x216
mov dword [rbx + 0x958], 0x5c
add rsp, 0x20
pop rbx
ret
Function at 0x14003ab70
Capabilities:
Hash data with crc32

Disassembly:
push rdi
sub rsp, 0x20
test dword [rcx + 0x10], 0x100000
mov rdi, rdx
je 0x14003abfc
movzx r9d, byte [rdx]
lea r8, [rdx + 1]
mov r10d, 0xffffffff
mov eax, r10d
test r9b, r9b
je 0x14003abd0
lea r11, [0x1400443e0]
nop
cmp r9b, 0x23
jne 0x14003abb3
cmp byte [r8], r9b
jne 0x14003abb3
cmp byte [r8 + 1], r9b
cmove eax, r10d
movzx edx, al
movzx ecx, r9b
movzx r9d, byte [r8]
xor rdx, rcx
shr eax, 8
inc r8
xor eax, dword [r11 + rdx*4]
test r9b, r9b
jne 0x14003aba0
mov rcx, qword [0x1400cffb0]
not eax
cmp dword [rcx + 0x3eec], eax
jne 0x14003abe7
mov dword [rcx + 0x3ef0], eax
cmp dword [rcx + 0x3f18], eax
jne 0x14003ac56
mov byte [rcx + 0x3f1c], 1
add rsp, 0x20
pop rdi
ret
mov qword [rsp + 0x30], rbx
xor edx, edx
mov rbx, qword [0x1400cffb0]
mov rcx, rdi
mov qword [rsp + 0x38], rsi
mov r8, qword [rbx + 0x3ea0]
movsxd rax, dword [r8 + 0xd0]
mov r8, qword [r8 + 0xd8]
mov r8d, dword [r8 + rax*4 - 4]
call fcn.140003750
cmp dword [rbx + 0x3ed4], eax
mov esi, eax
mov rbx, qword [rsp + 0x30]
jne 0x14003ac4f
mov r8, rdi
mov edx, 0xb
mov ecx, eax
call fcn.14001a2e0
mov eax, esi
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
Function at 0x140041c0c
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x140041c56
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x140041c56
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x140041c56
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x140041c56
cmp dword [rcx + 0x84], 0xe
jbe 0x140041c56
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x140041c58
xor al, al
add rsp, 0x28
ret
Function at 0x1400013b0
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r12
push r14
push r15
sub rsp, 0x20
mov rdi, rcx
mov ecx, 0x18
call fcn.14000dc3c
xor esi, esi
mov rbx, rax
mov qword [rax], rsi
lea ecx, [rsi + 5]
mov qword [rax + 8], rsi
mov qword [rax + 0x10], rsi
call fcn.14000dc3c
mov qword [rbx], rax
lea r9d, [rsi + 2]
mov r11d, 1
lea r8, [rdi + 2]
mov r14d, r9d
lea r12, [0x140047570]
lea rcx, [rax + 5]
mov r10, rdi
mov qword [rbx + 0x10], rcx
sub r11, rdi
xor ecx, ecx
sub r14, rdi
mov dword [rax], ecx
mov r15, 0xfffffffffffffffe
mov byte [rax + 4], cl
not r10
add rax, 5
movabs rbp, 0x4e5e0a72f0539783
mov qword [rbx + 8], rax
sub r15, rdi
nop word [rax + rax]
lea rcx, [r15 + r8]
mov rax, rbp
mul rsi
mov rax, rsi
sub rax, rdx
shr rax, 1
add rax, rdx
movzx edx, byte [r8 - 2]
shr rax, 8
imul rax, rax, 0x188
sub rsi, rax
mov rax, qword [rbx]
xor dl, byte [rsi + r12]
mov byte [rcx + rax], dl
mov rax, rbp
movsxd rcx, r9d
dec rcx
mul rcx
mov rax, rcx
sub rax, rdx
shr rax, 1
add rax, rdx
movzx edx, byte [r8 - 1]
shr rax, 8
imul rax, rax, 0x188
sub rcx, rax
mov rax, qword [rbx]
xor dl, byte [rcx + r12]
lea rcx, [r10 + r8]
mov byte [rcx + rax], dl
mov rax, rbp
movsxd rcx, r9d
mul rcx
mov rax, rcx
sub rax, rdx
shr rax, 1
add rax, rdx
movzx edx, byte [r8]
shr rax, 8
imul rax, rax, 0x188
sub rcx, rax
mov rax, qword [rbx]
xor dl, byte [rcx + r12]
mov rcx, r8
sub rcx, rdi
mov byte [rcx + rax], dl
mov rax, rbp
movsxd rcx, r9d
inc rcx
mul rcx
mov rax, rcx
sub rax, rdx
shr rax, 1
add rax, rdx
movzx edx, byte [r8 + 1]
shr rax, 8
imul rax, rax, 0x188
sub rcx, rax
mov rax, qword [rbx]
xor dl, byte [rcx + r12]
lea rcx, [r11 + r8]
mov byte [rcx + rax], dl
mov rax, rbp
movsxd rcx, r9d
add r9d, 5
add rcx, 2
mul rcx
mov rax, rcx
sub rax, rdx
shr rax, 1
add rax, rdx
movzx edx, byte [r8 + 2]
shr rax, 8
imul rax, rax, 0x188
sub rcx, rax
mov rax, qword [rbx]
xor dl, byte [rcx + r12]
lea rcx, [r14 + r8]
mov byte [rcx + rax], dl
add r8, 5
lea eax, [r9 - 2]
movsxd rsi, eax
cmp rsi, 5
jb 0x140001450
mov rbp, qword [rsp + 0x48]
mov rax, rbx
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x50]
mov rdi, qword [rsp + 0x58]
add rsp, 0x20
pop r15
pop r14
pop r12
ret
Function at 0x140001b80
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov rsi, rcx
mov ecx, 0x18
call fcn.14000dc3c
xor edi, edi
mov rbx, rax
mov qword [rax], rdi
lea ecx, [rdi + 2]
mov qword [rax + 8], rdi
mov qword [rax + 0x10], rdi
call fcn.14000dc3c
mov qword [rbx], rax
lea r11, [0x140047570]
mov r9d, edi
mov r8d, edi
movabs r10, 0x4e5e0a72f0539783
lea rcx, [rax + 2]
mov qword [rbx + 0x10], rcx
xor ecx, ecx
mov word [rax], cx
add rax, 2
mov qword [rbx + 8], rax
nop dword [rax]
nop word [rax + rax]
movzx ecx, byte [r9 + rsi]
lea r9, [r9 + 2]
mov rax, r10
mul r8
mov rax, r8
sub rax, rdx
shr rax, 1
add rax, rdx
shr rax, 8
imul rax, rax, 0x188
sub r8, rax
mov rax, qword [rbx]
xor cl, byte [r8 + r11]
mov byte [r9 + rax - 2], cl
mov rax, r10
movzx ecx, byte [r9 + rsi - 1]
movsxd r8, edi
add edi, 2
inc r8
mul r8
mov rax, r8
sub rax, rdx
shr rax, 1
add rax, rdx
shr rax, 8
imul rax, rax, 0x188
sub r8, rax
mov rax, qword [rbx]
xor cl, byte [r8 + r11]
movsxd r8, edi
mov byte [rax + r9 - 1], cl
cmp r8, 2
jb 0x140001bf0
mov rsi, qword [rsp + 0x38]
mov rax, rbx
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
Function at 0x140003f00
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push r14
sub rsp, 0x20
mov r14, r8
mov rsi, rdx
mov rbx, rcx
test r8, r8
jg 0x140003f31
xor eax, eax
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret
cmp qword [rcx + 0x68], 0
mov qword [rsp + 0x30], rbp
mov qword [rsp + 0x38], rdi
je 0x140003fab
mov rdi, r14
mov rcx, rbx
call fcn.140006500
test rax, rax
jle 0x140003f83
cmp rdi, rax
mov rbp, rdi
mov rcx, rsi
cmovge rbp, rax
mov rax, qword [rbx + 0x38]
mov r8, rbp
mov rdx, qword [rax]
call fcn.14000fe60
mov rax, qword [rbx + 0x50]
sub rdi, rbp
sub dword [rax], ebp
mov rcx, qword [rbx + 0x38]
movsxd rax, ebp
add qword [rcx], rax
jmp 0x140003f9b
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 0x38]
cmp eax, 0xffffffff
je 0x140003fa3
mov byte [rsi], al
dec rdi
mov ebp, 1
add rsi, rbp
test rdi, rdi
jg 0x140003f45
sub r14, rdi
jmp 0x14000408f
mov rax, qword [rcx + 0x38]
mov rbp, r14
mov rdx, qword [rax]
test rdx, rdx
je 0x140003fc2
mov rax, qword [rcx + 0x50]
mov ecx, dword [rax]
jmp 0x140003fc4
xor ecx, ecx
movsxd rax, ecx
test ecx, ecx
je 0x140003ff6
cmp rax, r14
mov rdi, r14
mov rcx, rsi
cmovb rdi, rax
mov r8, rdi
call fcn.14000fe60
mov rax, qword [rbx + 0x50]
add rsi, rdi
sub rbp, rdi
sub dword [rax], edi
mov rcx, qword [rbx + 0x38]
movsxd rax, edi
add qword [rcx], rax
cmp qword [rbx + 0x80], 0
je 0x14000408c
mov r8, qword [rbx + 0x18]
lea rax, [rbx + 0x70]
cmp qword [r8], rax
jne 0x140004031
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
cmp rbp, 0xfff
jbe 0x14000406d
nop word [rax + rax]
mov r9, qword [rbx + 0x80]
mov edx, 1
mov r8d, 0xfff
mov rcx, rsi
call fcn.1400173c4
add rsi, rax
sub rbp, rax
cmp rax, 0xfff
jne 0x14000408c
cmp rbp, rax
ja 0x140004040
test rbp, rbp
je 0x14000408c
mov r9, qword [rbx + 0x80]
mov r8, rbp
mov edx, 1
mov rcx, rsi
call fcn.1400173c4
sub rbp, rax
sub r14, rbp
mov rbp, qword [rsp + 0x30]
mov rax, r14
mov rdi, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret
Function at 0x140004ae0
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov rsi, rcx
mov ecx, 0x18
call fcn.14000dc3c
xor edi, edi
mov rbx, rax
mov qword [rax], rdi
lea ecx, [rdi + 4]
mov qword [rax + 8], rdi
mov qword [rax + 0x10], rdi
call fcn.14000dc3c
mov qword [rbx], rax
lea r10, [0x140047700]
mov r8d, edi
movabs r9, 0x4e5e0a72f0539783
lea rcx, [rax + 4]
mov qword [rbx + 0x10], rcx
xor ecx, ecx
mov dword [rax], ecx
add rax, 4
mov qword [rbx + 8], rax
nop
mov rax, r9
lea r8, [r8 + 4]
mul rcx
mov rax, rcx
sub rax, rdx
shr rax, 1
add rax, rdx
shr rax, 8
imul rax, rax, 0x188
sub rcx, rax
movzx eax, byte [r8 + rsi - 4]
xor al, byte [rcx + r10]
movsx ecx, al
mov rax, qword [rbx]
mov word [r8 + rax - 4], cx
mov rax, r9
movsxd rcx, edi
add edi, 2
inc rcx
mul rcx
mov rax, rcx
sub rax, rdx
shr rax, 1
add rax, rdx
shr rax, 8
imul rax, rax, 0x188
sub rcx, rax
movzx eax, byte [r8 + rsi - 2]
xor al, byte [rcx + r10]
movsx ecx, al
mov rax, qword [rbx]
mov word [r8 + rax - 2], cx
movsxd rcx, edi
cmp rcx, 2
jb 0x140004b40
mov rsi, qword [rsp + 0x38]
mov rax, rbx
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
Function at 0x14000a8e0
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x20
mov rdi, rcx
mov ecx, 0x18
call fcn.14000dc3c
xor esi, esi
mov rbx, rax
mov qword [rax], rsi
lea ecx, [rsi + 6]
mov qword [rax + 8], rsi
mov qword [rax + 0x10], rsi
call fcn.14000dc3c
mov qword [rbx], rax
lea r9d, [rsi + 2]
mov r11d, 1
lea r8, [rdi + 2]
mov r14d, r9d
lea r13, str.WhHMCaBesVPsXdQdxTZFyKfRpTD_gw_sUSWtMrxOm_ukBMaueAPbFQHVLUi__BEnopjXDrZFQQuPFkbtKJEzc_gDHtseMrDtlPcajMRKd_ceGgLdosjLy_tNEVqThLkQcxDjtGdkpsFtGjuvjLKBUb__nRxqDxFscuIaDCveMoqxPHlMuikFllRwlxEx_rYESMJwLHorquzQOhrm_dVqHZIFzPCGrQnyzdslIwVawhRiHkIoPlLqrLmMmvLHEbslRdYlFJmZEuOXl_xqdZvgALdDSUpecvgXhalMeIQGDifvhpIdHGDVTROtfHnTweJoDMTwcypJdvrXflcXZaLHEGVIEuBuaGHUbvaAhiAXigzVaqoERobmxiJRoqfyUuCDhyuDDgM
lea rcx, [rax + 6]
mov r15d, 3
mov qword [rbx + 0x10], rcx
mov r10, rdi
xor ecx, ecx
sub r11, rdi
mov dword [rax], ecx
sub r14, rdi
mov word [rax + 4], cx
sub r15, rdi
add rax, 6
mov r12, 0xfffffffffffffffe
mov qword [rbx + 8], rax
sub r12, rdi
not r10
movabs rbp, 0x4e5e0a72f0539783
nop dword [rax]
mov rax, rbp
lea rcx, [r12 + r8]
mul rsi
mov rax, rsi
sub rax, rdx
shr rax, 1
add rax, rdx
movzx edx, byte [r8 - 2]
shr rax, 8
imul rax, rax, 0x188
sub rsi, rax
mov rax, qword [rbx]
xor dl, byte [rsi + r13]
mov byte [rcx + rax], dl
mov rax, rbp
movsxd rcx, r9d
dec rcx
mul rcx
mov rax, rcx
sub rax, rdx
shr rax, 1
add rax, rdx
movzx edx, byte [r8 - 1]
shr rax, 8
imul rax, rax, 0x188
sub rcx, rax
mov rax, qword [rbx]
xor dl, byte [rcx + r13]
lea rcx, [r10 + r8]
mov byte [rcx + rax], dl
mov rax, rbp
movsxd rcx, r9d
mul rcx
mov rax, rcx
sub rax, rdx
shr rax, 1
add rax, rdx
movzx edx, byte [r8]
shr rax, 8
imul rax, rax, 0x188
sub rcx, rax
mov rax, qword [rbx]
xor dl, byte [rcx + r13]
mov rcx, r8
sub rcx, rdi
mov byte [rcx + rax], dl
mov rax, rbp
movsxd rcx, r9d
inc rcx
mul rcx
mov rax, rcx
sub rax, rdx
shr rax, 1
add rax, rdx
movzx edx, byte [r8 + 1]
shr rax, 8
imul rax, rax, 0x188
sub rcx, rax
mov rax, qword [rbx]
xor dl, byte [rcx + r13]
lea rcx, [r11 + r8]
mov byte [rcx + rax], dl
mov rax, rbp
movsxd rcx, r9d
add rcx, 2
mul rcx
mov rax, rcx
sub rax, rdx
shr rax, 1
add rax, rdx
movzx edx, byte [r8 + 2]
shr rax, 8
imul rax, rax, 0x188
sub rcx, rax
mov rax, qword [rbx]
xor dl, byte [rcx + r13]
lea rcx, [r14 + r8]
mov byte [rcx + rax], dl
mov rax, rbp
movsxd rcx, r9d
add rcx, 3
mul rcx
mov rax, rcx
add r9d, 6
sub rax, rdx
shr rax, 1
add rax, rdx
movzx edx, byte [r8 + 3]
shr rax, 8
imul rax, rax, 0x188
sub rcx, rax
mov rax, qword [rbx]
xor dl, byte [rcx + r13]
lea rcx, [r15 + r8]
mov byte [rcx + rax], dl
add r8, 6
lea eax, [r9 - 2]
movsxd rsi, eax
cmp rsi, 6
jb 0x14000a980
mov rbp, qword [rsp + 0x58]
mov rax, rbx
mov rbx, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x60]
add rsp, 0x20
pop r15
pop r14
pop r13
pop r12
pop rdi
ret