joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140146c3c
Capabilities:
Query environment variable

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r14
sub rsp, 0x40
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
xor esi, esi
mov rbx, rax
test rax, rax
jne 0x140146c6c
xor eax, eax
jmp 0x140146d2f
mov rbp, rbx
cmp word [rax], si
je 0x140146c91
or rax, 0xffffffffffffffff
inc rax
cmp word [rbp + rax*2], si
jne 0x140146c78
lea rbp, [rbp + rax*2]
add rbp, 2
cmp word [rbp], si
jne 0x140146c74
mov qword [rsp + 0x38], rsi
sub rbp, rbx
mov qword [rsp + 0x30], rsi
add rbp, 2
sar rbp, 1
mov r8, rbx
mov r9d, ebp
mov dword [rsp + 0x28], esi
xor edx, edx
mov qword [rsp + 0x20], rsi
xor ecx, ecx
call fcn.14014520c
movsxd r14, eax
test eax, eax
jne 0x140146ccf
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
jmp 0x140146c65
mov rcx, r14
call fcn.140140700
mov rdi, rax
test rax, rax
jne 0x140146ce8
xor ecx, ecx
call fcn.14013d508
jmp 0x140146cc4
mov qword [rsp + 0x38], rsi
mov r9d, ebp
mov qword [rsp + 0x30], rsi
mov r8, rbx
mov dword [rsp + 0x28], r14d
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x20], rdi
call fcn.14014520c
test eax, eax
jne 0x140146d19
mov rcx, rdi
call fcn.14013d508
jmp 0x140146d23
xor ecx, ecx
call fcn.14013d508
mov rsi, rdi
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov rax, rsi
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x68]
add rsp, 0x40
pop r14
ret

Function at 0x140146d4c
Capabilities:
Query environment variable

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
xor ebp, ebp
mov rbx, rax
test rax, rax
je 0x140146dd3
mov rsi, rbx
cmp word [rax], bp
je 0x140146d92
or rax, 0xffffffffffffffff
inc rax
cmp word [rsi + rax*2], bp
jne 0x140146d7c
lea rsi, [rsi + rax*2]
add rsi, 2
cmp word [rsi], bp
jne 0x140146d78
sub rsi, rbx
add rsi, 2
sar rsi, 1
add rsi, rsi
mov rcx, rsi
call fcn.140140700
mov rdi, rax
test rax, rax
je 0x140146dc0
mov r8, rsi
mov rdx, rbx
mov rcx, rax
call fcn.14011cdf0
mov rbp, rdi
xor ecx, ecx
call fcn.14013d508
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov rax, rbp
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x14014e98c
Capabilities:
Set environment variable

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x20], rdi
push rbp
push r14
push r15
lea rbp, [rax - 0x5f]
sub rsp, 0xa0
xor r15d, r15d
mov r14, rdx
mov rsi, rcx
mov qword [rbp + 0x17], r15
xor edx, edx
mov qword [rbp + 0x1f], r15
lea rcx, [rbp - 0x39]
mov qword [rbp + 0x27], r15
mov qword [rbp + 0x2f], r15
mov edi, r15d
mov qword [rbp + 0x37], r15
mov byte [rbp + 0x3f], r15b
mov qword [rbp - 0x19], r15
mov qword [rbp - 0x11], r15
mov qword [rbp - 9], r15
mov qword [rbp - 1], r15
mov qword [rbp + 7], r15
mov byte [rbp + 0xf], r15b
call fcn.14012ac90
mov rax, qword [rbp - 0x31]
mov ebx, 0xfde9
cmp dword [rax + 0xc], ebx
jne 0x14014ea16
cmp byte [rbp - 0x21], r15b
je 0x14014ea11
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, ebx
jmp 0x14014ea4c
call fcn.14013ddb8
test eax, eax
jne 0x14014ea38
cmp byte [rbp - 0x21], r15b
je 0x14014ea30
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, 1
jmp 0x14014ea4c
cmp byte [rbp - 0x21], r15b
je 0x14014ea49
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, r15d
lea r8, [rbp + 0x77]
mov rcx, rsi
lea rdx, [rbp + 0x17]
call fcn.1401376f8
test eax, eax
jne 0x14014eaec
xor edx, edx
lea rcx, [rbp - 0x39]
call fcn.14012ac90
mov rax, qword [rbp - 0x31]
cmp dword [rax + 0xc], ebx
jne 0x14014ea8b
cmp byte [rbp - 0x21], r15b
je 0x14014eac0
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
jmp 0x14014eac0
call fcn.14013ddb8
test eax, eax
jne 0x14014eaac
cmp byte [rbp - 0x21], r15b
je 0x14014eaa5
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov ebx, 1
jmp 0x14014eac0
cmp byte [rbp - 0x21], r15b
je 0x14014eabd
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov ebx, r15d
mov r9d, ebx
lea r8, [rbp + 0x77]
lea rdx, [rbp - 0x19]
mov rcx, r14
call fcn.1401376f8
mov rdi, qword [rbp - 9]
test eax, eax
jne 0x14014eaec
mov rcx, qword [rbp + 0x27]
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
mov ebx, eax
jmp 0x14014eaef
mov ebx, r15d
cmp byte [rbp + 0xf], r15b
je 0x14014eafd
mov rcx, rdi
call fcn.14013d508
cmp byte [rbp + 0x3f], r15b
je 0x14014eb0c
mov rcx, qword [rbp + 0x27]
call fcn.14013d508
lea r11, [rsp + 0xa0]
mov eax, ebx
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret
Function at 0x14014f820
Capabilities:
Clear file content

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r12
push r14
push r15
sub rsp, 0x20
mov rbx, rdx
mov rsi, r8
xor edx, edx
mov r14d, ecx
lea r8d, [rdx + 1]
call fcn.140142b40
xor edx, edx
mov ecx, r14d
mov r12, rax
lea r8d, [rdx + 2]
call fcn.140142b40
mov rbp, rbx
sub rbp, rax
cmp r12, 0xffffffffffffffff
je 0x14014f970
cmp rax, 0xffffffffffffffff
je 0x14014f970
xor edi, edi
test rbp, rbp
jle 0x14014f91b
lea edx, [rdi + 1]
mov ecx, 0x1000
call fcn.14013da20
mov rbx, rax
test rax, rax
jne 0x14014f8a8
lea edi, [rax + 0xc]
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], edi
jmp 0x14014f911
mov edx, 0x8000
mov ecx, r14d
call fcn.140139c24
mov r15d, eax
mov eax, 0x1000
mov r8d, ebp
cmp rbp, rax
mov r9, rsi
mov rdx, rbx
mov ecx, r14d
cmovge r8d, eax
call fcn.14013cf98
cmp eax, 0xffffffff
je 0x14014f8f1
cdqe
sub rbp, rax
test rbp, rbp
jg 0x14014f8b8
mov edx, r15d
mov ecx, r14d
call fcn.140139c24
jmp 0x14014f911
cmp byte [rsi + 0x38], dil
je 0x14014f908
cmp dword [rsi + 0x34], 5
jne 0x14014f908
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], 0xd
cmp byte [rsi + 0x30], dil
je 0x14014f911
mov edi, dword [rsi + 0x2c]
mov rcx, rbx
call fcn.14013d508
jmp 0x14014f984
jns 0x14014f984
xor r8d, r8d
mov rdx, rbx
mov ecx, r14d
call fcn.140142b40
cmp rax, 0xffffffffffffffff
jne 0x14014f93c
cmp byte [rsi + 0x30], dil
je 0x14014f984
mov edi, dword [rsi + 0x2c]
jmp 0x14014f984
mov ecx, r14d
call fcn.140147d10
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x14014f984
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov byte [rsi + 0x38], 1
mov edi, 0xd
mov dword [rsi + 0x34], eax
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], 0xd
jmp 0x14014f984
xor edi, edi
cmp byte [rsi + 0x30], dil
je 0x14014f97d
mov eax, dword [rsi + 0x2c]
jmp 0x14014f982
mov eax, 0x16
mov edi, eax
xor r8d, r8d
mov rdx, r12
mov ecx, r14d
call fcn.140142b40
mov rbx, qword [rsp + 0x40]
mov eax, edi
mov rdi, qword [rsp + 0x58]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x20
pop r15
pop r14
pop r12
ret

Function at 0x14014fea0
Capabilities:
Parse pe header

Disassembly:
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x14014fec8
movsxd rdx, dword [rcx + 0x3c]
add rdx, rcx
cmp dword [rdx], 0x4550
jne 0x14014fec8
xor eax, eax
mov ecx, 0x20b
cmp word [rdx + 0x18], cx
sete al
ret
xor eax, eax
ret
Function at 0x140012b50
Capabilities:
Check os version

Disassembly:
push rbx
sub rsp, 0x150
mov rax, qword [0x140056038]
xor rax, rsp
mov qword [rsp + 0x140], rax
xor bl, bl
cmp byte [0x140060391], bl
jne 0x140012bb5
lea rcx, [rsp + 0x20]
mov dword [rsp + 0x20], 0x114
call qword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [rsp + 0x24], 0xa
ja 0x140012ba4
jne 0x140012ba6
cmp dword [rsp + 0x2c], 0x55f0
jb 0x140012ba6
call fcn.1400128ec
test al, al
jne 0x140012ba6
mov bl, 1
mov byte [0x140060390], bl
mov byte [0x140060391], 1
jmp 0x140012bbb
mov bl, byte [0x140060390]
mov al, bl
mov rcx, qword [rsp + 0x140]
xor rcx, rsp
call fcn.140029070
add rsp, 0x150
pop rbx
ret

Function at 0x1400147c8
Capabilities:
Set current directory

Disassembly:
sub rsp, 0x28
call fcn.14000128c
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
test eax, eax
setne al
add rsp, 0x28
ret

Function at 0x1400147e4
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
mov rdi, rcx
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
test eax, eax
je 0x140014853
mov edx, eax
lea rcx, [rsp + 0x20]
call fcn.140001da4
nop
lea rcx, [rsp + 0x20]
call fcn.140001adc
mov rdx, rax
lea rcx, [rsp + 0x20]
call fcn.140001aec
mov ecx, eax
call qword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
mov ebx, eax
lea rcx, [rsp + 0x20]
call fcn.140001adc
mov rdx, rax
mov rcx, rdi
call fcn.14000129c
test ebx, ebx
setne bl
lea rcx, [rsp + 0x20]
call fcn.140001af8
mov al, bl
mov rbx, qword [rsp + 0x50]
add rsp, 0x40
pop rdi
ret

Function at 0x140017690
Capabilities:
Encode data using xor

Disassembly:
sub rdx, r8
mov r9d, 4
sub rcx, r8
mov eax, dword [rdx + r8]
xor eax, dword [r8]
mov dword [rcx + r8], eax
lea r8, [r8 + 4]
sub r9, 1
jne 0x14001769c
ret

Function at 0x140017d08
Capabilities:
Decrypt data using aes via x86 extensions

Disassembly:
lea r11, [rcx + 0x18]
mov r10, rcx
movdqu xmm2, xmmword [rcx + 8]
test r8, r8
je 0x140017d8b
movsxd rcx, dword [r10 + 4]
mov rax, rdx
add rdx, 0x10
movdqu xmm3, xmmword [rax]
mov rax, rcx
add rax, rax
movdqu xmm1, xmmword [r11 + rax*8]
lea eax, [rcx - 1]
movsxd rcx, eax
pxor xmm1, xmm3
test eax, eax
jle 0x140017d61
mov rax, rcx
shl rax, 4
add rax, r11
movdqu xmm0, xmmword [rax]
dec rcx
lea rax, [rax - 0x10]
aesdec xmm1, xmm0
test rcx, rcx
jg 0x140017d4c
cmp byte [r10 + 1], 0
movdqu xmm0, xmmword [r11]
aesdeclast xmm1, xmm0
je 0x140017d76
pxor xmm1, xmm2
mov rax, r9
movdqa xmm2, xmm3
add r9, 0x10
movdqu xmmword [rax], xmm1
sub r8, 1
jne 0x140017d19
movdqu xmmword [r10 + 8], xmm2
ret
Function at 0x140017fec
Capabilities:
Encode data using xor

Disassembly:
mov r11, rsp
mov qword [r11 + 0x10], rbx
mov qword [r11 + 0x18], rbp
mov qword [r11 + 0x20], rsi
push rdi
push r14
push r15
sub rsp, 0x40
mov rax, qword [0x140056038]
xor rax, rsp
mov qword [rsp + 0x30], rax
mov esi, 1
mov rdi, rcx
cmp dword [rcx + 4], esi
jle 0x1400180d3
lea rbx, [r11 - 0x38]
sub rbx, rcx
lea rbp, [rcx + 0x2a]
sub rbx, 0x2a
lea r15, [0x140000000]
xor r9d, r9d
mov r10, rbp
lea r14, [rbx + r9]
mov r11d, 4
movzx eax, byte [r10 + 1]
lea rdx, [r9 + rax*4]
movzx eax, byte [r10 - 1]
mov r8b, byte [rdx + r15 + 0x5ff70]
lea rcx, [r9 + rax*4]
movzx eax, byte [r10 - 2]
xor r8b, byte [rcx + r15 + 0x5f770]
lea rcx, [r9 + rax*4]
movzx eax, byte [r10]
xor r8b, byte [rcx + r15 + 0x5f370]
lea rcx, [r9 + rax*4]
xor r8b, byte [rcx + r15 + 0x5fb70]
mov byte [r14 + r10], r8b
lea r10, [r10 + 4]
sub r11, 1
jne 0x14001804a
inc r9
cmp r9, 4
jl 0x14001803d
movsxd rcx, esi
lea r8d, [r11 + 0x10]
shl rcx, 4
lea rdx, [rsp + 0x20]
add rcx, 0x18
add rcx, rdi
call fcn.14002b250
inc esi
add rbp, 0x10
sub rbx, 0x10
cmp esi, dword [rdi + 4]
jl 0x14001803a
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.140029070
mov rbx, qword [rsp + 0x68]
mov rbp, qword [rsp + 0x70]
mov rsi, qword [rsp + 0x78]
add rsp, 0x40
pop r15
pop r14
pop rdi
ret

Function at 0x1400180fc
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov bl, dl
mov r11b, cl
xor r10b, r10b
mov cl, r11b
mov al, r10b
xor al, r11b
test bl, 1
movzx r8d, al
movzx eax, r10b
cmove r8d, eax
add cl, cl
movzx edx, cl
mov r10b, r8b
mov r8b, r11b
mov cl, dl
xor cl, 0x1b
mov r11d, edx
test r8b, r8b
movzx ecx, cl
cmovs r11d, ecx
shr bl, 1
jne 0x140018109
mov rbx, qword [rsp + 8]
mov al, r10b
ret
Function at 0x14001814c
Capabilities:
Encrypt data using aes
Reference aes constants

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
xor edi, edi
lea rbp, str.cw
mov ecx, edi
lea rsi, [0x140000000]
mov rdx, rbp
movzx eax, byte [rdx]
inc rdx
mov byte [rax + rsi + 0x5d270], cl
inc ecx
cmp ecx, 0x100
jl 0x140018175
mov r9b, byte [rdi + rbp]
mov dl, 2
mov cl, r9b
mov byte [rsi + rdi*4 + 0x5df71], r9b
mov byte [rsi + rdi*4 + 0x5df70], r9b
mov byte [rsi + rdi*4 + 0x5db73], r9b
mov byte [rsi + rdi*4 + 0x5db70], r9b
mov byte [rsi + rdi*4 + 0x5d773], r9b
mov byte [rsi + rdi*4 + 0x5d772], r9b
mov byte [rsi + rdi*4 + 0x5d372], r9b
mov byte [rsi + rdi*4 + 0x5d371], r9b
call fcn.1400180fc
mov dl, 3
mov byte [rsi + rdi*4 + 0x5df73], al
mov cl, r9b
mov byte [rsi + rdi*4 + 0x5db72], al
mov byte [rsi + rdi*4 + 0x5d771], al
mov byte [rsi + rdi*4 + 0x5d370], al
call fcn.1400180fc
movzx r9d, byte [rdi + rsi + 0x5d270]
mov dl, 0xb
mov cl, r9b
mov byte [rsi + rdi*4 + 0x5df72], al
mov byte [rsi + rdi*4 + 0x5db71], al
mov byte [rsi + rdi*4 + 0x5d770], al
mov byte [rsi + rdi*4 + 0x5d373], al
call fcn.1400180fc
mov dl, 9
mov byte [rsi + rdi*4 + 0x5ef72], al
mov cl, r9b
mov byte [rsi + rdi*4 + 0x5eb71], al
mov byte [rsi + rdi*4 + 0x5e770], al
mov byte [rsi + rdi*4 + 0x5e373], al
mov byte [rsi + r9*4 + 0x5ff72], al
mov byte [rsi + r9*4 + 0x5fb71], al
mov byte [rsi + r9*4 + 0x5f770], al
mov byte [rsi + r9*4 + 0x5f373], al
call fcn.1400180fc
mov dl, 0xd
mov byte [rsi + rdi*4 + 0x5ef70], al
mov cl, r9b
mov byte [rsi + rdi*4 + 0x5eb73], al
mov byte [rsi + rdi*4 + 0x5e772], al
mov byte [rsi + rdi*4 + 0x5e371], al
mov byte [rsi + r9*4 + 0x5ff70], al
mov byte [rsi + r9*4 + 0x5fb73], al
mov byte [rsi + r9*4 + 0x5f772], al
mov byte [rsi + r9*4 + 0x5f371], al
call fcn.1400180fc
mov dl, 0xe
mov byte [rsi + rdi*4 + 0x5ef71], al
mov cl, r9b
mov byte [rsi + rdi*4 + 0x5eb70], al
mov byte [rsi + rdi*4 + 0x5e773], al
mov byte [rsi + rdi*4 + 0x5e372], al
mov byte [rsi + r9*4 + 0x5ff71], al
mov byte [rsi + r9*4 + 0x5fb70], al
mov byte [rsi + r9*4 + 0x5f773], al
mov byte [rsi + r9*4 + 0x5f372], al
call fcn.1400180fc
mov byte [rsi + rdi*4 + 0x5ef73], al
mov byte [rsi + rdi*4 + 0x5eb72], al
mov byte [rsi + rdi*4 + 0x5e771], al
mov byte [rsi + rdi*4 + 0x5e370], al
inc rdi
mov byte [rsi + r9*4 + 0x5ff73], al
mov byte [rsi + r9*4 + 0x5fb72], al
mov byte [rsi + r9*4 + 0x5f771], al
mov byte [rsi + r9*4 + 0x5f370], al
cmp rdi, 0x100
jl 0x14001818c
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x140001180
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov rbx, rcx
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov edx, 8
mov rcx, rax
lea r8d, [rdx + 6]
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
xor r11d, r11d
lea rsi, [0x140010040]
mov r10, rax
sub rbx, rax
movabs rdi, 0xcebcf8bb5b4169cb
lea r9, [rax + 1]
nop dword [rax + rax]
movsxd r8, r11d
mov rax, rdi
mul r8
mov rcx, r8
shr rdx, 8
imul rax, rdx, 0x13d
sub rcx, rax
movzx eax, byte [rcx + rsi]
lea rcx, [r8 + 1]
xor al, byte [rbx + r9 - 1]
mov byte [r9 - 1], al
mov rax, rdi
mul rcx
shr rdx, 8
imul rax, rdx, 0x13d
sub rcx, rax
movzx eax, byte [rcx + rsi]
lea rcx, [r8 + 2]
xor al, byte [rbx + r9]
mov byte [r9], al
mov rax, rdi
mul rcx
shr rdx, 8
imul rax, rdx, 0x13d
sub rcx, rax
movzx eax, byte [rcx + rsi]
lea rcx, [r8 + 3]
xor al, byte [rbx + r9 + 1]
mov byte [r9 + 1], al
mov rax, rdi
mul rcx
shr rdx, 8
imul rax, rdx, 0x13d
sub rcx, rax
movzx eax, byte [rcx + rsi]
lea rcx, [r8 + 4]
xor al, byte [rbx + r9 + 2]
mov byte [r9 + 2], al
mov rax, rdi
mul rcx
shr rdx, 8
imul rax, rdx, 0x13d
sub rcx, rax
movzx eax, byte [rcx + rsi]
lea rcx, [r8 + 5]
xor al, byte [rbx + r9 + 3]
mov byte [r9 + 3], al
mov rax, rdi
mul rcx
shr rdx, 8
imul rax, rdx, 0x13d
sub rcx, rax
movzx eax, byte [rcx + rsi]
lea rcx, [r8 + 6]
xor al, byte [rbx + r9 + 4]
mov byte [r9 + 4], al
mov rax, rdi
mul rcx
shr rdx, 8
imul rax, rdx, 0x13d
sub rcx, rax
movzx eax, byte [rcx + rsi]
lea rcx, [r8 + 7]
xor al, byte [rbx + r9 + 5]
mov byte [r9 + 5], al
mov rax, rdi
mul rcx
shr rdx, 8
imul rax, rdx, 0x13d
sub rcx, rax
movzx eax, byte [rcx + rsi]
lea rcx, [r8 + 8]
xor al, byte [rbx + r9 + 6]
mov byte [r9 + 6], al
mov rax, rdi
mul rcx
shr rdx, 8
imul rax, rdx, 0x13d
sub rcx, rax
movzx eax, byte [rcx + rsi]
xor al, byte [rbx + r9 + 7]
mov byte [r9 + 7], al
lea rcx, [r8 + 9]
mov rax, rdi
lea r9, [r9 + 0xe]
mul rcx
add r11d, 0xe
shr rdx, 8
imul rax, rdx, 0x13d
sub rcx, rax
movzx eax, byte [rcx + rsi]
lea rcx, [r8 + 0xa]
xor al, byte [rbx + r9 - 6]
mov byte [r9 - 6], al
mov rax, rdi
mul rcx
shr rdx, 8
imul rax, rdx, 0x13d
sub rcx, rax
movzx eax, byte [rcx + rsi]
lea rcx, [r8 + 0xb]
xor al, byte [rbx + r9 - 5]
mov byte [r9 - 5], al
mov rax, rdi
mul rcx
shr rdx, 8
imul rax, rdx, 0x13d
sub rcx, rax
movzx eax, byte [rcx + rsi]
lea rcx, [r8 + 0xc]
xor al, byte [rbx + r9 - 4]
mov byte [r9 - 4], al
mov rax, rdi
mul rcx
shr rdx, 8
imul rax, rdx, 0x13d
sub rcx, rax
movzx eax, byte [rcx + rsi]
lea rcx, [r8 + 0xd]
xor al, byte [rbx + r9 - 3]
mov byte [r9 - 3], al
mov rax, rdi
mul rcx
shr rdx, 8
imul rax, rdx, 0x13d
sub rcx, rax
movzx eax, byte [rcx + rsi]
xor al, byte [rbx + r9 - 2]
mov byte [r9 - 2], al
cmp r11d, 0xe
jb 0x1400011d0
mov rbx, qword [rsp + 0x30]
mov rax, r10
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
Function at 0x140001400
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov rbx, rcx
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov edx, 8
mov rcx, rax
lea r8d, [rdx + 0x72]
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
xor r10d, r10d
lea rsi, [0x140010040]
mov r11, rax
sub rbx, rax
movabs rdi, 0xcebcf8bb5b4169cb
lea r9, [rax + 1]
nop dword [rax + rax]
movsxd r8, r10d
lea r9, [r9 + 2]
mov rax, rdi
mov rcx, r8
mul r8
add r10d, 2
shr rdx, 8
imul rax, rdx, 0x13d
sub rcx, rax
movzx eax, byte [rcx + rsi]
lea rcx, [r8 + 1]
xor al, byte [rbx + r9 - 3]
mov byte [r9 - 3], al
mov rax, rdi
mul rcx
shr rdx, 8
imul rax, rdx, 0x13d
sub rcx, rax
movzx eax, byte [rcx + rsi]
xor al, byte [rbx + r9 - 2]
mov byte [r9 - 2], al
cmp r10d, 0x7a
jb 0x140001450
mov rbx, qword [rsp + 0x30]
mov rax, r11
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
Function at 0x1400014c0
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov rbx, rcx
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov edx, 8
mov rcx, rax
lea r8d, [rdx + 3]
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
xor r11d, r11d
lea rsi, [0x140010040]
mov r10, rax
sub rbx, rax
movabs rdi, 0xcebcf8bb5b4169cb
lea r9, [rax + 1]
nop dword [rax + rax]
movsxd r8, r11d
mov rax, rdi
mul r8
mov rcx, r8
shr rdx, 8
imul rax, rdx, 0x13d
sub rcx, rax
movzx eax, byte [rcx + rsi]
lea rcx, [r8 + 1]
xor al, byte [rbx + r9 - 1]
mov byte [r9 - 1], al
mov rax, rdi
mul rcx
shr rdx, 8
imul rax, rdx, 0x13d
sub rcx, rax
movzx eax, byte [rcx + rsi]
lea rcx, [r8 + 2]
xor al, byte [rbx + r9]
mov byte [r9], al
mov rax, rdi
mul rcx
shr rdx, 8
imul rax, rdx, 0x13d
sub rcx, rax
movzx eax, byte [rcx + rsi]
lea rcx, [r8 + 3]
xor al, byte [rbx + r9 + 1]
mov byte [r9 + 1], al
mov rax, rdi
mul rcx
shr rdx, 8
imul rax, rdx, 0x13d
sub rcx, rax
movzx eax, byte [rcx + rsi]
lea rcx, [r8 + 4]
xor al, byte [rbx + r9 + 2]
mov byte [r9 + 2], al
mov rax, rdi
mul rcx
shr rdx, 8
imul rax, rdx, 0x13d
sub rcx, rax
movzx eax, byte [rcx + rsi]
lea rcx, [r8 + 5]
xor al, byte [rbx + r9 + 3]
mov byte [r9 + 3], al
mov rax, rdi
mul rcx
shr rdx, 8
imul rax, rdx, 0x13d
sub rcx, rax
movzx eax, byte [rcx + rsi]
lea rcx, [r8 + 6]
xor al, byte [rbx + r9 + 4]
mov byte [r9 + 4], al
mov rax, rdi
mul rcx
shr rdx, 8
imul rax, rdx, 0x13d
sub rcx, rax
movzx eax, byte [rcx + rsi]
lea rcx, [r8 + 7]
xor al, byte [rbx + r9 + 5]
mov byte [r9 + 5], al
mov rax, rdi
mul rcx
shr rdx, 8
imul rax, rdx, 0x13d
sub rcx, rax
movzx eax, byte [rcx + rsi]
lea rcx, [r8 + 8]
xor al, byte [rbx + r9 + 6]
mov byte [r9 + 6], al
mov rax, rdi
mul rcx
shr rdx, 8
imul rax, rdx, 0x13d
sub rcx, rax
movzx eax, byte [rcx + rsi]
xor al, byte [rbx + r9 + 7]
mov byte [r9 + 7], al
lea rcx, [r8 + 9]
mov rax, rdi
lea r9, [r9 + 0xb]
mul rcx
add r11d, 0xb
shr rdx, 8
imul rax, rdx, 0x13d
sub rcx, rax
movzx eax, byte [rcx + rsi]
lea rcx, [r8 + 0xa]
xor al, byte [rbx + r9 - 3]
mov byte [r9 - 3], al
mov rax, rdi
mul rcx
shr rdx, 8
imul rax, rdx, 0x13d
sub rcx, rax
movzx eax, byte [rcx + rsi]
xor al, byte [rbx + r9 - 2]
mov byte [r9 - 2], al
cmp r11d, 0xb
jb 0x140001510
mov rbx, qword [rsp + 0x30]
mov rax, r10
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
Function at 0x140001770
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov rbx, rcx
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov edx, 8
mov rcx, rax
lea r8d, [rdx - 6]
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
xor r10d, r10d
lea rsi, [0x140010180]
mov r11, rax
sub rbx, rax
movabs rdi, 0xcebcf8bb5b4169cb
lea r9, [rax + 1]
nop dword [rax + rax]
movsxd r8, r10d
lea r9, [r9 + 2]
mov rax, rdi
mov rcx, r8
mul r8
add r10d, 2
shr rdx, 8
imul rax, rdx, 0x13d
sub rcx, rax
movzx eax, byte [rcx + rsi]
lea rcx, [r8 + 1]
xor al, byte [rbx + r9 - 3]
mov byte [r9 - 3], al
mov rax, rdi
mul rcx
shr rdx, 8
imul rax, rdx, 0x13d
sub rcx, rax
movzx eax, byte [rcx + rsi]
xor al, byte [rbx + r9 - 2]
mov byte [r9 - 2], al
cmp r10d, 2
jb 0x1400017c0
mov rbx, qword [rsp + 0x30]
mov rax, r11
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
Function at 0x140001830
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov rbx, rcx
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov edx, 8
mov rcx, rax
lea r8d, [rdx + 0x39]
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
xor r11d, r11d
lea rsi, [0x140010180]
mov r10, rax
sub rbx, rax
movabs rdi, 0xcebcf8bb5b4169cb
lea r9, [rax + 1]
nop dword [rax + rax]
movsxd r8, r11d
mov rax, rdi
mul r8
mov rcx, r8
shr rdx, 8
imul rax, rdx, 0x13d
sub rcx, rax
movzx eax, byte [rcx + rsi]
lea rcx, [r8 + 1]
xor al, byte [rbx + r9 - 1]
mov byte [r9 - 1], al
mov rax, rdi
mul rcx
shr rdx, 8
imul rax, rdx, 0x13d
sub rcx, rax
movzx eax, byte [rcx + rsi]
lea rcx, [r8 + 2]
xor al, byte [rbx + r9]
mov byte [r9], al
mov rax, rdi
mul rcx
shr rdx, 8
imul rax, rdx, 0x13d
sub rcx, rax
movzx eax, byte [rcx + rsi]
lea rcx, [r8 + 3]
xor al, byte [rbx + r9 + 1]
mov byte [r9 + 1], al
mov rax, rdi
mul rcx
shr rdx, 8
imul rax, rdx, 0x13d
sub rcx, rax
movzx eax, byte [rcx + rsi]
lea rcx, [r8 + 4]
xor al, byte [rbx + r9 + 2]
mov byte [r9 + 2], al
mov rax, rdi
mul rcx
shr rdx, 8
imul rax, rdx, 0x13d
sub rcx, rax
movzx eax, byte [rcx + rsi]
lea rcx, [r8 + 5]
xor al, byte [rbx + r9 + 3]
mov byte [r9 + 3], al
mov rax, rdi
mul rcx
shr rdx, 8
imul rax, rdx, 0x13d
sub rcx, rax
movzx eax, byte [rcx + rsi]
lea rcx, [r8 + 6]
xor al, byte [rbx + r9 + 4]
mov byte [r9 + 4], al
mov rax, rdi
mul rcx
shr rdx, 8
imul rax, rdx, 0x13d
sub rcx, rax
movzx eax, byte [rcx + rsi]
lea rcx, [r8 + 7]
xor al, byte [rbx + r9 + 5]
mov byte [r9 + 5], al
mov rax, rdi
mul rcx
shr rdx, 8
imul rax, rdx, 0x13d
sub rcx, rax
movzx eax, byte [rcx + rsi]
lea rcx, [r8 + 8]
xor al, byte [rbx + r9 + 6]
mov byte [r9 + 6], al
mov rax, rdi
mul rcx
shr rdx, 8
imul rax, rdx, 0x13d
sub rcx, rax
movzx eax, byte [rcx + rsi]
xor al, byte [rbx + r9 + 7]
mov byte [r9 + 7], al
lea rcx, [r8 + 9]
mov rax, rdi
lea r9, [r9 + 0xd]
mul rcx
add r11d, 0xd
shr rdx, 8
imul rax, rdx, 0x13d
sub rcx, rax
movzx eax, byte [rcx + rsi]
lea rcx, [r8 + 0xa]
xor al, byte [rbx + r9 - 5]
mov byte [r9 - 5], al
mov rax, rdi
mul rcx
shr rdx, 8
imul rax, rdx, 0x13d
sub rcx, rax
movzx eax, byte [rcx + rsi]
lea rcx, [r8 + 0xb]
xor al, byte [rbx + r9 - 4]
mov byte [r9 - 4], al
mov rax, rdi
mul rcx
shr rdx, 8
imul rax, rdx, 0x13d
sub rcx, rax
movzx eax, byte [rcx + rsi]
lea rcx, [r8 + 0xc]
xor al, byte [rbx + r9 - 3]
mov byte [r9 - 3], al
mov rax, rdi
mul rcx
shr rdx, 8
imul rax, rdx, 0x13d
sub rcx, rax
movzx eax, byte [rcx + rsi]
xor al, byte [rbx + r9 - 2]
mov byte [r9 - 2], al
cmp r11d, 0x41
jb 0x140001880
mov rbx, qword [rsp + 0x30]
mov rax, r10
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret