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

Disassembly:
push rbp
mov eax, 0x1040
call fcn.14009e480
sub rsp, rax
mov rax, qword [0x1401990d8]
xor rax, rsp
mov qword [rsp + 0x1020], rax
mov qword [rsp + 0x1058], rbx
mov rbx, rcx
call fcn.140040a70
mov rbp, rax
cmp dword [rax + 0x28], 0
je 0x1400406b3
mov rcx, rax
call qword [fcn.140120488]
mov qword [rsp + 0x1060], rsi
test rbx, rbx
jne 0x1400406c7
xor esi, esi
jmp 0x14004083f
cmp word [rbx], 1
jne 0x14004083c
movzx edx, word [rbx + 2]
xor esi, esi
movzx eax, dx
mov qword [rsp + 0x1038], rdi
add ax, ax
lea ecx, [rdx + 0x65]
add cx, ax
xor word [rbx + 4], cx
lea ecx, [rdx + rdx*8]
movzx r9d, byte [rbx + 4]
lea eax, [rcx + 0x68]
xor word [rbx + 6], ax
lea edx, [rcx + 4]
movzx eax, byte [rbx + 6]
shl r9d, 8
or r9, rax
jbe 0x140040730
mov r8d, esi
movzx eax, word [rbx + r8*2 + 8]
lea edx, [rdx + rdx*2]
lea ecx, [rdx + 0x65]
xor ax, cx
lea edx, [rdx + 1]
mov word [rbx + r8*2], ax
inc r8
cmp r8, r9
jl 0x140040711
mov rdi, qword [0x1401a5cf8]
mov word [rbx + r9*2], si
mov qword [0x1401a5cf8], rbx
test rdi, rdi
je 0x140040834
cmp rdi, rbx
je 0x140040834
cmp word [rbx], 1
je 0x140040834
cmp word [rdi], 1
je 0x140040834
mov r8d, 0x800
lea rcx, [rsp + 0x20]
mov rdx, rdi
call fcn.1405ba166
nop
lea rcx, [rsp + 0x20]
call fcn.1405b5228
nop
mov r8d, eax
test eax, eax
je 0x140040834
mov eax, 1
mov qword [rsp + 0x1030], r14
mov word [rdi], ax
mov r11d, 4
lea rax, [rsp + 0x20]
movzx ecx, al
mov word [rdi + 2], cx
lea ecx, [rcx + rcx*2]
lea r14d, [rcx + 0x65]
lea ecx, [rcx + 1]
lea edx, [rcx + rcx*2]
lea r10d, [rdx + 0x65]
inc edx
test r8d, r8d
jle 0x14004080b
lea r9, [rsp + 0x20]
mov rax, rdi
sub rax, r9
lea rcx, [rsp + 0x20]
lea r11d, [r8 + 4]
lea r9, [rax + 8]
nop word [rax + rax]
lea edx, [rdx + rdx*2]
lea eax, [rdx + 0x65]
xor ax, word [rcx]
lea edx, [rdx + 1]
mov word [r9 + rcx], ax
lea rcx, [rcx + 2]
sub r8, 1
jne 0x1400407f0
movsxd rax, r11d
lea ecx, [r11 - 4]
mov word [rdi + rax*2], si
mov eax, ecx
sar eax, 8
xor ax, r14w
mov r14, qword [rsp + 0x1030]
xor r10w, cx
mov word [rdi + 4], ax
mov word [rdi + 6], r10w
mov rdi, qword [rsp + 0x1038]
mov rsi, rbx
cmp dword [rbp + 0x28], 0
mov rbx, qword [rsp + 0x1058]
je 0x140040856
mov rcx, rbp
call qword [fcn.140120480]
mov rax, rsi
mov rsi, qword [rsp + 0x1060]
mov rcx, qword [rsp + 0x1020]
xor rcx, rsp
call fcn.14009ed10
add rsp, 0x1040
pop rbp
ret
Function at 0x140043560
Capabilities:
Parse pe header

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov rsi, r8
mov r11, rcx
mov r8d, edx
mov ebx, edx
mov rdx, rcx
shr r8d, 1
xor ecx, ecx
mov rdi, r9
call fcn.140042b70
mov r8, qword [rsp + 0x30]
movzx r10d, ax
mov eax, 0x5a4d
cmp word [rdx], ax
jne 0x1400435ae
movsxd rax, dword [rdx + 0x3c]
add rax, rdx
cmp dword [rax], 0x4550
cmove r8, rax
test r8, r8
jne 0x1400435c5
xor eax, eax
mov rbx, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
mov ecx, dword [r8 + 0x58]
cmp r10w, cx
jb 0x1400435d7
movzx eax, cx
sub r10d, eax
jmp 0x1400435e1
sub r10d, ecx
movzx r10d, r10w
dec r10d
shr ecx, 0x10
cmp r10w, cx
jb 0x1400435ef
sub r10d, ecx
jmp 0x1400435f9
sub r10d, ecx
movzx r10d, r10w
dec r10d
test bl, 1
je 0x140043609
lea ecx, [rbx - 1]
movzx ecx, byte [rcx + r11]
add r10d, ecx
lea ecx, [r10 + rbx]
mov rax, r8
mov rbx, qword [rsp + 0x38]
mov dword [rdi], ecx
mov ecx, dword [r8 + 0x58]
mov dword [rsi], ecx
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret

Function at 0x140043680
Capabilities:
Hash data with crc32

Disassembly:
xor r8d, r8d
mov r9, rcx
nop word [rax + rax]
mov edx, r8d
mov eax, r8d
shr edx, 1
xor edx, 0xedb88320
shr eax, 1
test r8b, 1
cmovne eax, edx
test al, 1
je 0x1400436b4
shr eax, 1
xor eax, 0xedb88320
jmp 0x1400436b6
shr eax, 1
test al, 1
je 0x1400436c3
shr eax, 1
xor eax, 0xedb88320
jmp 0x1400436c5
shr eax, 1
test al, 1
je 0x1400436d2
shr eax, 1
xor eax, 0xedb88320
jmp 0x1400436d4
shr eax, 1
test al, 1
je 0x1400436e1
shr eax, 1
xor eax, 0xedb88320
jmp 0x1400436e3
shr eax, 1
test al, 1
je 0x1400436f0
shr eax, 1
xor eax, 0xedb88320
jmp 0x1400436f2
shr eax, 1
test al, 1
je 0x1400436ff
shr eax, 1
xor eax, 0xedb88320
jmp 0x140043701
shr eax, 1
test al, 1
je 0x14004370e
shr eax, 1
xor eax, 0xedb88320
jmp 0x140043710
shr eax, 1
mov dword [r9], eax
inc r8d
add r9, 4
cmp r8d, 0x100
jl 0x140043690
mov rax, rcx
ret
Function at 0x140043740
Capabilities:
Encode data using xor

Disassembly:
push rbx
push rdi
mov eax, 0x1068
call fcn.14009e480
sub rsp, rax
mov rax, qword [0x1401990d8]
xor rax, rsp
mov qword [rsp + 0x1050], rax
mov dword [r8], 0xffffffff
mov rbx, r8
mov rax, rdx
mov rdi, rcx
test rdx, rdx
je 0x1400438c2
cmp byte [rdx], 0
je 0x1400438c2
mov qword [rsp + 0x1098], rbp
xor r9d, r9d
xor ebp, ebp
mov qword [rsp + 0x1060], rsi
mov qword [rsp + 0x30], rbp
mov edx, 0x80000000
mov dword [rsp + 0x28], 0x80
mov rcx, rax
mov dword [rsp + 0x20], 3
lea r8d, [rbp + 3]
call qword [fcn.1401204d0]
mov rsi, rax
cmp rax, 0xffffffffffffffff
jne 0x1400437ff
mov dword [rdi + 0x400], 2
xor al, al
mov rbp, qword [rsp + 0x1098]
mov rsi, qword [rsp + 0x1060]
mov rcx, qword [rsp + 0x1050]
xor rcx, rsp
call fcn.14009ed10
add rsp, 0x1068
pop rdi
pop rbx
ret
lea r9, [rsp + 0x40]
mov qword [rsp + 0x20], rbp
mov r8d, 0x1000
lea rdx, [rsp + 0x50]
mov rcx, rsi
call fcn.1405b3dbf
nop
test eax, eax
je 0x1400438a2
mov ecx, dword [rsp + 0x40]
test ecx, ecx
je 0x14004389e
mov r9d, ecx
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x50]
add rcx, r9
lea rax, [rsp + 0x50]
cmp rdx, rcx
cmova r9, rbp
test r9, r9
je 0x14004387a
nop
movzx ecx, byte [rax]
inc rax
mov edx, dword [rbx]
movzx r8d, byte [rbx]
xor r8, rcx
shr edx, 8
mov ecx, dword [rdi + r8*4]
xor ecx, edx
lea rdx, [rsp + 0x50]
mov dword [rbx], ecx
mov rcx, rax
sub rcx, rdx
cmp rcx, r9
jb 0x140043850
lea r9, [rsp + 0x40]
mov qword [rsp + 0x20], rbp
mov r8d, 0x1000
lea rdx, [rsp + 0x50]
mov rcx, rsi
call fcn.1405b3dbf
nop
test eax, eax
jne 0x140043825
jmp 0x1400438a2
test eax, eax
jne 0x1400438ac
mov dword [rdi + 0x400], 3
mov rcx, rsi
call qword [fcn.140120590]
mov eax, dword [rbx]
not eax
mov dword [rbx], eax
mov al, 1
jmp 0x1400437d5
mov dword [rcx + 0x400], 1
xor al, al
jmp 0x1400437e5
Function at 0x140043ab0
Capabilities:
Encode data using xor

Disassembly:
push rbx
push rsi
push rdi
push r14
mov eax, 0x1068
call fcn.14009e480
sub rsp, rax
mov rax, qword [0x1401990d8]
xor rax, rsp
mov qword [rsp + 0x1050], rax
mov rdi, qword [rsp + 0x10b0]
mov ebx, r9d
mov r14d, r8d
mov rax, rdx
mov rsi, rcx
test rdx, rdx
je 0x140043c98
cmp byte [rdx], 0
je 0x140043c98
mov qword [rsp + 0x10a8], rbp
xor r9d, r9d
mov qword [rsp + 0x1060], r15
mov edx, 0x80000000
xor r15d, r15d
mov rcx, rax
mov qword [rsp + 0x30], r15
mov dword [rsp + 0x28], 0x80
mov dword [rsp + 0x20], 3
lea r8d, [r15 + 3]
call qword [fcn.1401204d0]
mov rbp, rax
cmp rax, 0xffffffffffffffff
jne 0x140043b7a
mov dword [rsi + 0x400], 2
xor al, al
mov rbp, qword [rsp + 0x10a8]
mov r15, qword [rsp + 0x1060]
mov rcx, qword [rsp + 0x1050]
xor rcx, rsp
call fcn.14009ed10
add rsp, 0x1068
pop r14
pop rdi
pop rsi
pop rbx
ret
xor r9d, r9d
xor r8d, r8d
mov edx, r14d
mov rcx, rbp
call fcn.1405bc490
nop
mov rcx, rbp
cmp eax, 0xffffffff
jne 0x140043ba6
mov dword [rsi + 0x400], 4
call qword [fcn.140120590]
jmp 0x140043b4b
lea r9, [rsp + 0x40]
mov qword [rsp + 0x20], r15
mov r8d, 0x1000
lea rdx, [rsp + 0x50]
call fcn.1405b3dbf
nop
mov r10d, eax
test eax, eax
je 0x140043c7e
nop dword [rax]
mov edx, dword [rsp + 0x40]
test edx, edx
je 0x140043c79
lea rcx, [rsp + 0x50]
cmp ebx, edx
jbe 0x140043beb
sub ebx, edx
mov eax, edx
jmp 0x140043bf0
mov eax, ebx
mov ebx, r15d
lea rdx, [rsp + 0x50]
add rax, rdx
lea rdx, [rsp + 0x50]
mov r9, rax
sub r9, rdx
lea rdx, [rsp + 0x50]
cmp rdx, rax
cmova r9, r15
test r9, r9
je 0x140043c4a
nop dword [rax]
nop dword [rax + rax]
movzx eax, byte [rdi]
mov edx, dword [rdi]
movzx r8d, byte [rcx]
inc rcx
xor r8, rax
shr edx, 8
mov eax, dword [rsi + r8*4]
xor eax, edx
lea rdx, [rsp + 0x50]
mov dword [rdi], eax
mov rax, rcx
sub rax, rdx
cmp rax, r9
jb 0x140043c20
test ebx, ebx
je 0x140043c79
lea r9, [rsp + 0x40]
mov qword [rsp + 0x20], r15
mov r8d, 0x1000
lea rdx, [rsp + 0x50]
mov rcx, rbp
call fcn.1405b3dbf
nop
mov r10d, eax
test eax, eax
jne 0x140043bd0
jmp 0x140043c7e
test r10d, r10d
jne 0x140043c88
mov dword [rsi + 0x400], 3
mov rcx, rbp
call qword [fcn.140120590]
mov al, 1
jmp 0x140043b4d
mov dword [rcx + 0x400], 1
xor al, al
jmp 0x140043b5d

Function at 0x140043cd0
Capabilities:
Encode data using xor

Disassembly:
sub rsp, 8
mov r11, rcx
test rdx, rdx
jne 0x140043ced
mov dword [rcx + 0x400], 1
xor al, al
add rsp, 8
ret
mov qword [rsp], rbx
xor r10d, r10d
mov eax, r8d
add rax, rdx
mov rbx, rax
sub rbx, rdx
cmp rdx, rax
cmova rbx, r10
test rbx, rbx
je 0x140043d36
nop dword [rax]
movzx r8d, byte [rdx]
lea rdx, [rdx + 1]
movzx eax, byte [r9]
inc r10
mov ecx, dword [r9]
xor r8, rax
shr ecx, 8
mov eax, dword [r11 + r8*4]
xor eax, ecx
mov dword [r9], eax
cmp r10, rbx
jb 0x140043d10
mov al, 1
mov rbx, qword [rsp]
add rsp, 8
ret
Function at 0x140054590
Capabilities:
Encode data using xor

Disassembly:
push rdi
sub rsp, 0x440
mov rax, qword [0x1401990d8]
xor rax, rsp
mov qword [rsp + 0x430], rax
mov rdi, rdx
or rcx, 0xffffffffffffffff
inc rcx
cmp byte [rdx + rcx], 0
jne 0x1400545b2
mov qword [rsp + 0x450], rbx
mov qword [rsp + 0x460], rbp
mov qword [rsp + 0x468], rsi
test ecx, ecx
je 0x1400546b2
movzx eax, r8b
mov r11d, 4
mov byte [rsp + 0x31], al
imul eax, eax, 7
mov byte [rsp + 0x30], 2
lea ebp, [rax + 0x46]
inc eax
imul edx, eax, 7
lea ebx, [rdx + 0x46]
inc edx
test ecx, ecx
jle 0x14005463d
mov r9d, ecx
lea rax, [rsp + 0x34]
mov r10, rdi
lea r8, [rsp + 0x34]
sub r10, rax
lea r11d, [r9 + 4]
nop dword [rax]
movzx eax, byte [r10 + r8]
lea r8, [r8 + 1]
imul edx, edx, 7
lea ecx, [rdx + 0x46]
inc edx
xor al, cl
mov byte [r8 - 1], al
sub r9, 1
jne 0x140054620
movsxd rsi, r11d
cmp rsi, 0x400
jae 0x1400546e6
lea ecx, [r11 - 4]
mov byte [rsp + rsi + 0x30], 0
mov eax, ecx
movsxd r8, ecx
xor bl, cl
sar eax, 8
xor al, bpl
mov byte [rsp + 0x33], bl
xor edx, edx
mov byte [rsp + 0x32], al
mov rcx, rdi
call fcn.1400a1af0
test rsi, rsi
jle 0x1400546b2
xor ebx, ebx
nop dword [rax]
movzx r8d, byte [rsp + rbx + 0x30]
lea rdx, [0x140193670]
lea rcx, [rsp + 0x20]
call fcn.14002e110
mov r8d, 2
lea rdx, [rsp + 0x20]
mov rcx, rdi
call fcn.1400e5a90
inc rbx
cmp rbx, rsi
jl 0x140054680
mov rsi, qword [rsp + 0x468]
mov rax, rdi
mov rbp, qword [rsp + 0x460]
mov rbx, qword [rsp + 0x450]
mov rcx, qword [rsp + 0x430]
xor rcx, rsp
call fcn.14009ed10
add rsp, 0x440
pop rdi
ret
call fcn.14009e8cc
int3
Function at 0x1400575d0
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x20], rsi
push rdi
mov eax, 0x10a0
call fcn.14009e480
sub rsp, rax
mov rax, qword [0x1401990d8]
xor rax, rsp
mov qword [rsp + 0x1090], rax
mov rsi, rdx
mov rdi, rcx
xor edx, edx
lea rcx, [rsp + 0x90]
mov r8d, 0x1000
call fcn.1400a1af0
cmp qword [rdi], 0
jne 0x14005761d
xor al, al
jmp 0x1400576d5
lea rdx, [rsp + 0x20]
mov rcx, rdi
call fcn.140057960
test al, al
je 0x140057616
mov rcx, qword [rdi]
xor r8d, r8d
xor edx, edx
call fcn.1400e32c8
test eax, eax
jne 0x140057616
mov qword [rsp + 0x10c0], rbx
lea rcx, [rsp + 0x30]
xor ebx, ebx
call fcn.140057380
lea rcx, [rsp + 0x30]
call fcn.140057a90
mov r9, qword [rdi]
lea edx, [rbx + 1]
mov r8d, 0x1000
lea rcx, [rsp + 0x90]
call fcn.1400e2ef8
test eax, eax
je 0x1400576be
nop word [rax + rax]
add ebx, eax
cmp ebx, 0x6400000
ja 0x1400576be
mov r8d, eax
lea rdx, [rsp + 0x90]
lea rcx, [rsp + 0x30]
call fcn.1400573c0
mov r9, qword [rdi]
lea rcx, [rsp + 0x90]
mov edx, 1
mov r8d, 0x1000
call fcn.1400e2ef8
test eax, eax
jne 0x140057680
mov rdx, rsi
lea rcx, [rsp + 0x30]
call fcn.1400574f0
mov rbx, qword [rsp + 0x10c0]
mov al, 1
mov rcx, qword [rsp + 0x1090]
xor rcx, rsp
call fcn.14009ed10
mov rsi, qword [rsp + 0x10c8]
add rsp, 0x10a0
pop rdi
ret
Function at 0x140057700
Capabilities:
Parse pe header
Read file on windows

Disassembly:
push r14
mov eax, 0x20d0
call fcn.14009e480
sub rsp, rax
mov rax, qword [0x1401990d8]
xor rax, rsp
mov qword [rsp + 0x2090], rax
mov qword [rsp + 0x20], rdx
mov r14, rcx
xor edx, edx
lea rcx, [rsp + 0x90]
mov r8d, 0x1000
call fcn.1400a1af0
xor edx, edx
lea rcx, [rsp + 0x1090]
mov r8d, 0x1000
call fcn.1400a1af0
mov rcx, qword [r14]
test rcx, rcx
jne 0x140057762
xor al, al
jmp 0x140057938
xor r8d, r8d
xor edx, edx
call fcn.1400e32c8
test eax, eax
jne 0x14005775b
mov r9, qword [r14]
lea edx, [rax + 1]
mov r8d, 0x1000
lea rcx, [rsp + 0x90]
call fcn.1400e2ef8
test eax, eax
je 0x14005775b
mov eax, 0x5a4d
cmp word [rsp + 0x90], ax
jne 0x14005775b
movsxd rax, dword [rsp + 0xcc]
mov qword [rsp + 0x20a0], r15
lea r15, [rsp + 0x90]
add r15, rax
cmp dword [r15], 0x4550
je 0x1400577c7
xor al, al
jmp 0x140057930
mov qword [rsp + 0x20f0], rbx
lea rcx, [rsp + 0x30]
mov qword [rsp + 0x20c8], rbp
xor ebx, ebx
mov qword [rsp + 0x20c0], rsi
movzx esi, word [r15 + 0x14]
mov qword [rsp + 0x20b8], rdi
add rsi, 0x20
mov qword [rsp + 0x20b0], r12
mov r12d, dword [r15 + 0x28]
mov qword [rsp + 0x20a8], r13
mov r13d, ebx
call fcn.140057380
lea rcx, [rsp + 0x30]
call fcn.140057a90
mov ebp, ebx
cmp bx, word [r15 + 6]
jae 0x1400578fe
add rsi, r15
nop dword [rax]
cmp dword [rsi + 4], r12d
ja 0x140057840
mov eax, 1
cmp r12d, dword [rsi]
jb 0x140057842
mov eax, ebx
test dword [rsi + 0x1c], 0x20000000
jne 0x140057853
test eax, eax
je 0x1400578d3
movsxd rdx, dword [rsi + 0xc]
xor r8d, r8d
mov rcx, qword [r14]
inc r13d
mov edi, dword [rsi + 8]
call fcn.1400e32c8
test eax, eax
jne 0x1400578fe
mov r9, qword [r14]
lea edx, [rax + 1]
mov r8d, 0x1000
lea rcx, [rsp + 0x1090]
call fcn.1400e2ef8
mov rbx, rax
test eax, eax
je 0x1400578d1
cmp ebx, edi
cmovg ebx, edi
test ebx, ebx
jle 0x1400578d1
mov r8d, ebx
lea rdx, [rsp + 0x1090]
lea rcx, [rsp + 0x30]
call fcn.1400573c0
mov r9, qword [r14]
lea rcx, [rsp + 0x1090]
mov edx, 1
mov r8d, 0x1000
sub edi, ebx
call fcn.1400e2ef8
mov ebx, eax
test eax, eax
jne 0x140057890
xor ebx, ebx
movzx eax, word [r15 + 6]
inc ebp
add rsi, 0x28
cmp ebp, eax
jl 0x140057830
test r13d, r13d
je 0x1400578fe
mov rdx, qword [rsp + 0x20]
lea rcx, [rsp + 0x30]
call fcn.1400574f0
mov al, 1
jmp 0x140057900
xor al, al
mov r13, qword [rsp + 0x20a8]
mov r12, qword [rsp + 0x20b0]
mov rdi, qword [rsp + 0x20b8]
mov rsi, qword [rsp + 0x20c0]
mov rbp, qword [rsp + 0x20c8]
mov rbx, qword [rsp + 0x20f0]
mov r15, qword [rsp + 0x20a0]
mov rcx, qword [rsp + 0x2090]
xor rcx, rsp
call fcn.14009ed10
add rsp, 0x20d0
pop r14
ret
Function at 0x1400579c0
Capabilities:
Parse pe header
Read file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
push rdi
mov eax, 0x1030
call fcn.14009e480
sub rsp, rax
mov rax, qword [0x1401990d8]
xor rax, rsp
mov qword [rsp + 0x1020], rax
mov rdi, rdx
mov rbx, rcx
xor edx, edx
lea rcx, [rsp + 0x20]
mov r8d, 0x1000
call fcn.1400a1af0
mov rcx, qword [rbx]
test rcx, rcx
jne 0x140057a09
xor al, al
jmp 0x140057a64
xor r8d, r8d
xor edx, edx
call fcn.1400e32c8
test eax, eax
jne 0x140057a05
mov r9, qword [rbx]
lea edx, [rax + 1]
mov r8d, 0x1000
lea rcx, [rsp + 0x20]
call fcn.1400e2ef8
cmp eax, 0x1000
jne 0x140057a05
mov eax, 0x5a4d
cmp word [rsp + 0x20], ax
jne 0x140057a05
mov rax, qword [rsp + 0x5c]
cmp eax, 0x1000
jg 0x140057a05
cdqe
lea rcx, [rsp + 0x20]
cmp dword [rcx + rax], 0x4550
jne 0x140057a05
mov eax, dword [rcx + rax + 8]
mov dword [rdi], eax
mov al, 1
mov rcx, qword [rsp + 0x1020]
xor rcx, rsp
call fcn.14009ed10
mov rbx, qword [rsp + 0x1050]
add rsp, 0x1030
pop rdi
ret

Function at 0x140059eb0
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
sub rsp, 8
mov r10, r8
mov r9, rdx
test rdx, rdx
jne 0x140059ec6
xor eax, eax
add rsp, 8
ret
mov qword [rsp], rbx
lea rbx, [0x140128d80]
not ecx
cmp r10, 8
jb 0x140059fb4
mov r11, r10
shr r11, 3
imul rax, r11, 0xfffffffffffffff8
add r10, rax
nop dword [rax + rax]
movzx edx, byte [r9]
mov eax, ecx
xor rdx, rax
shr ecx, 8
movzx eax, dl
mov edx, dword [rbx + rax*4]
xor edx, ecx
movzx ecx, byte [r9 + 1]
mov eax, edx
shr edx, 8
xor rcx, rax
movzx eax, cl
movzx ecx, byte [r9 + 2]
mov r8d, dword [rbx + rax*4]
xor r8d, edx
mov eax, r8d
shr r8d, 8
xor rcx, rax
movzx eax, cl
movzx ecx, byte [r9 + 3]
mov edx, dword [rbx + rax*4]
xor edx, r8d
mov eax, edx
shr edx, 8
xor rcx, rax
movzx eax, cl
movzx ecx, byte [r9 + 4]
mov r8d, dword [rbx + rax*4]
xor r8d, edx
mov eax, r8d
shr r8d, 8
xor rcx, rax
movzx eax, cl
movzx ecx, byte [r9 + 5]
mov edx, dword [rbx + rax*4]
xor edx, r8d
mov eax, edx
shr edx, 8
xor rcx, rax
movzx eax, cl
movzx ecx, byte [r9 + 6]
mov r8d, dword [rbx + rax*4]
xor r8d, edx
mov eax, r8d
shr r8d, 8
xor rcx, rax
movzx eax, cl
movzx ecx, byte [r9 + 7]
add r9, 8
mov edx, dword [rbx + rax*4]
xor edx, r8d
mov eax, edx
shr edx, 8
xor rcx, rax
movzx eax, cl
mov ecx, dword [rbx + rax*4]
xor ecx, edx
sub r11, 1
jne 0x140059ef0
test r10, r10
je 0x140059fe0
nop dword [rax]
movzx edx, byte [r9]
lea r9, [r9 + 1]
mov eax, ecx
xor rdx, rax
shr eax, 8
movzx r8d, dl
mov ecx, dword [rbx + r8*4]
xor ecx, eax
sub r10, 1
jne 0x140059fc0
mov rbx, qword [rsp]
not ecx
mov eax, ecx
add rsp, 8
ret
Function at 0x140066510
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov rax, rsp
mov qword [rax + 8], rcx
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x40
mov qword [rax - 0x38], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov r12, r9
movzx r15d, r8b
mov r14, rdx
mov r10, rcx
mov r13, qword [rcx]
mov rdi, r13
mov rbx, qword [r13 + 8]
mov sil, 1
cmp byte [rbx + 0x19], 0
jne 0x140066599
mov rdi, rbx
test r15b, r15b
je 0x140066571
lea rcx, [rbx + 0x20]
mov rdx, r12
call fcn.140066770
movzx esi, al
xor sil, 1
jmp 0x140066580
lea rdx, [rbx + 0x20]
mov rcx, r12
call fcn.140066770
movzx esi, al
test sil, sil
je 0x14006658a
mov rbx, qword [rbx]
jmp 0x14006658e
mov rbx, qword [rbx + 0x10]
cmp byte [rbx + 0x19], 0
je 0x140066554
mov r10, qword [rsp + 0x70]
mov rbx, rdi
mov rcx, rdi
test sil, sil
je 0x140066660
cmp rdi, qword [r13]
jne 0x1400665e5
movzx eax, byte [rsp + 0x90]
mov byte [rsp + 0x28], al
mov qword [rsp + 0x20], r12
mov r9, rdi
mov r8b, 1
lea rdx, [rsp + 0x70]
mov rcx, r10
call fcn.140066280
mov rax, qword [rax]
mov qword [r14], rax
mov byte [r14 + 8], 1
mov rax, r14
jmp 0x1400666b2
cmp byte [rdi + 0x19], 0
je 0x1400665f1
mov rbx, qword [rdi + 0x10]
jmp 0x14006665d
mov rax, qword [rdi]
cmp byte [rax + 0x19], 0
je 0x14006663f
mov rax, qword [rdi + 8]
cmp byte [rax + 0x19], 0
jne 0x140066631
mov rdx, rdi
nop word [rax + rax]
mov r8, rax
mov r9, rax
mov rcx, rdx
cmp rdx, qword [rax]
jne 0x140066631
mov rbx, rax
mov rax, qword [rax + 8]
mov rdx, rbx
mov rcx, rbx
cmp byte [rax + 0x19], 0
je 0x140066610
cmp byte [rbx + 0x19], 0
jne 0x140066660
mov rbx, rax
mov rcx, rax
jmp 0x140066660
mov rbx, rax
mov rax, qword [rax + 0x10]
cmp byte [rax + 0x19], 0
jne 0x14006665d
nop dword [rax]
mov rbx, rax
mov rax, qword [rax + 0x10]
cmp byte [rax + 0x19], 0
je 0x140066650
mov rcx, rbx
add rcx, 0x20
mov rdx, r12
call fcn.140066770
test al, al
je 0x1400666a7
movzx eax, byte [rsp + 0x90]
mov byte [rsp + 0x28], al
mov qword [rsp + 0x20], r12
mov r9, rdi
movzx r8d, sil
lea rdx, [rsp + 0x38]
mov rcx, qword [rsp + 0x70]
call fcn.140066280
mov rax, qword [rax]
mov qword [r14], rax
mov byte [r14 + 8], 1
mov rax, r14
jmp 0x1400666b2
mov qword [r14], rbx
mov byte [r14 + 8], 0
mov rax, r14
mov rbx, qword [rsp + 0x78]
mov rsi, qword [rsp + 0x80]
add rsp, 0x40
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
Function at 0x14009f198
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call fcn.1405b97b1
nop
test rax, rax
je 0x14009f1e3
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x14009f1e3
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x14009f1e3
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x14009f1e3
cmp dword [rcx + 0x84], 0xe
jbe 0x14009f1e3
cmp dword [rcx + 0xf8], 0
je 0x14009f1e3
mov al, 1
jmp 0x14009f1e5
xor al, al
add rsp, 0x28
ret
Function at 0x14009fe4c
Capabilities:
Encode data using xor

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov ebx, dword [rdx]
xor r11d, r11d
mov edi, dword [rdx + 4]
mov r8, rcx
mov esi, dword [rdx + 8]
mov ebp, dword [rdx + 0xc]
mov r9d, dword [rcx]
lea edx, [r11 + 0x20]
mov r10d, dword [rcx + 4]
mov ecx, r10d
lea r11d, [r11 - 0x61c88647]
shr ecx, 5
mov eax, r10d
add ecx, edi
shl eax, 4
add eax, ebx
xor ecx, eax
lea eax, [r11 + r10]
xor ecx, eax
add r9d, ecx
mov ecx, r9d
mov eax, r9d
shr ecx, 5
shl eax, 4
add ecx, ebp
add eax, esi
xor ecx, eax
lea eax, [r11 + r9]
xor ecx, eax
add r10d, ecx
sub rdx, 1
jne 0x14009fe7b
mov rbx, qword [rsp + 8]
mov rbp, qword [rsp + 0x10]
mov rsi, qword [rsp + 0x18]
mov rdi, qword [rsp + 0x20]
mov dword [r8], r9d
mov dword [r8 + 4], r10d
ret

Function at 0x1400a00bc
Capabilities:
Encode data using xor

Disassembly:
mov r11, rsp
mov qword [r11 + 8], rbx
mov qword [r11 + 0x10], rbp
mov qword [r11 + 0x18], rsi
mov qword [r11 + 0x20], rdi
push r12
push r14
push r15
sub rsp, 0x40
xor eax, eax
mov r12, r8
mov r8d, edx
mov edi, r9d
mov rdx, rcx
mov qword [r11 - 0x38], rax
mov r14d, r9d
mov qword [r11 - 0x30], rax
lea rcx, [r11 - 0x30]
shr r14d, 3
and edi, 7
mov qword [r11 - 0x28], rax
xor esi, esi
call fcn.14009fd5c
mov rbp, qword [rsp + 0x80]
xor r15d, r15d
test r14d, r14d
je 0x1400a015d
mov esi, r14d
shl esi, 3
mov eax, r15d
lea rdx, [rsp + 0x28]
shl eax, 3
lea rcx, [rsp + 0x20]
mov ebx, eax
mov eax, dword [rax + r12]
mov dword [rsp + 0x20], eax
mov eax, dword [r12 + rbx + 4]
mov dword [rsp + 0x24], eax
call fcn.14009fe4c
mov eax, dword [rsp + 0x20]
inc r15d
mov dword [rbx + rbp], eax
mov eax, dword [rsp + 0x24]
mov dword [rbx + rbp + 4], eax
cmp r15d, r14d
jb 0x1400a011e
test edi, edi
je 0x1400a018b
shl r14d, 3
mov r8d, edi
lea rdx, [r14 + r12]
lea rcx, [r14 + rbp]
call fcn.1400a0210
xor edx, edx
test edi, edi
je 0x1400a0189
lea eax, [r14 + rdx]
inc edx
xor byte [rax + rbp], 0x17
cmp edx, edi
jb 0x1400a017b
add esi, edi
mov rax, qword [rsp + 0x88]
test rax, rax
je 0x1400a019a
mov dword [rax], esi
mov rbx, qword [rsp + 0x60]
mov rbp, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x70]
mov rdi, qword [rsp + 0x78]
add rsp, 0x40
pop r15
pop r14
pop r12
ret