joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1405c52e0
Capabilities:
Set environment variable

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rbp
push rsi
push rdi
push r14
sub rsp, 0x90
mov rax, qword [0x14061a7c0]
xor rax, rsp
mov qword [rsp + 0x80], rax
movzx eax, byte [rcx]
lea rbx, [rsp + 0x30]
xor r14d, r14d
mov rbp, rdx
mov word [rsp + 0x30], r14w
mov rsi, rcx
lea edi, [r14 + 0x28]
test al, al
je 0x1405c5391
nop word [rax + rax]
mov r8d, 2
mov byte [rsp + 0x20], al
lea rdx, [rsp + 0x20]
mov byte [rsp + 0x21], r14b
lea rcx, [rsp + 0x24]
call fcn.1405d5004
cmp rax, 1
jne 0x1405c53c7
mov rcx, rdi
mov rax, rbx
cmp word [rbx], r14w
je 0x1405c536d
add rax, 2
dec rcx
cmp word [rax], r14w
jne 0x1405c5360
cmp rcx, 1
jb 0x1405c53c7
movzx ecx, word [rsp + 0x24]
inc rsi
mov word [rax], cx
add rbx, 2
mov word [rax + 2], r14w
dec rdi
movzx eax, byte [rsi]
test al, al
jne 0x1405c5330
mov rdx, rbp
lea rcx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
mov rcx, qword [rsp + 0x80]
xor rcx, rsp
call fcn.1405c57e0
lea r11, [rsp + 0x90]
mov rbx, qword [r11 + 0x30]
mov rbp, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop rdi
pop rsi
ret
call fcn.1405c9dd0
int3

Function at 0x1405c5600
Capabilities:
Set environment variable

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x90
mov rax, qword [0x14061a7c0]
xor rax, rsp
mov qword [rsp + 0x80], rax
movzx eax, byte [rcx]
lea rbx, [rsp + 0x30]
xor ebp, ebp
mov rsi, rcx
mov word [rsp + 0x30], bp
lea edi, [rbp + 0x28]
test al, al
je 0x1405c56af
nop dword [rax]
nop word [rax + rax]
mov r8d, 2
mov byte [rsp + 0x20], al
lea rdx, [rsp + 0x20]
mov byte [rsp + 0x21], bpl
lea rcx, [rsp + 0x24]
call fcn.1405d5004
cmp rax, 1
jne 0x1405c56e5
mov rcx, rdi
mov rax, rbx
cmp word [rbx], bp
je 0x1405c568c
nop
add rax, 2
dec rcx
cmp word [rax], bp
jne 0x1405c5680
cmp rcx, 1
jb 0x1405c56e5
movzx ecx, word [rsp + 0x24]
inc rsi
mov word [rax], cx
add rbx, 2
mov word [rax + 2], bp
dec rdi
movzx eax, byte [rsi]
test al, al
jne 0x1405c5650
xor edx, edx
lea rcx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
mov rcx, qword [rsp + 0x80]
xor rcx, rsp
call fcn.1405c57e0
lea r11, [rsp + 0x90]
mov rbx, qword [r11 + 0x18]
mov rbp, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret
call fcn.1405c9dd0
int3

Function at 0x1405c61b0
Capabilities:
Parse pe header

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

Disassembly:
mov dword [rsp + 0x18], r8d
mov dword [rsp + 0x10], edx
push rbp
mov rbp, rsp
sub rsp, 0x50
mov qword [rbp - 0x20], 0xfffffffffffffffe
mov qword [rsp + 0x60], rbx
mov ebx, ecx
test r8d, r8d
jne 0x1405cb4b3
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x1405cb4b3
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x1405cb4b3
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x1405cb4b3
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x1405cb4b3
cmp dword [rcx + 0x84], 0xe
jbe 0x1405cb4b3
cmp dword [rcx + 0xf8], 0
je 0x1405cb4b3
mov ecx, ebx
call fcn.1405cb564
mov byte [rbp + 0x28], 0
lea rax, [rbp + 0x18]
mov qword [rbp - 0x18], rax
lea rax, [rbp + 0x20]
mov qword [rbp - 0x10], rax
lea rax, [rbp + 0x28]
mov qword [rbp - 8], rax
mov eax, 2
mov dword [rbp - 0x2c], eax
mov dword [rbp - 0x28], eax
lea r9, [rbp - 0x2c]
lea r8, [rbp - 0x18]
lea rdx, [rbp - 0x28]
lea rcx, [rbp - 0x30]
call fcn.1405cb340
nop
cmp dword [rbp + 0x20], 0
je 0x1405cb501
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rbp
ret
mov ecx, ebx
call fcn.1405cb50c
int3
xor r8d, r8d
xor edx, edx
jmp 0x1405cb444
Function at 0x1405dd0b0
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 0x1405dd137
mov rsi, rbx
cmp word [rax], bp
je 0x1405dd0f6
or rax, 0xffffffffffffffff
inc rax
cmp word [rsi + rax*2], bp
jne 0x1405dd0e0
lea rsi, [rsi + rax*2]
add rsi, 2
cmp word [rsi], bp
jne 0x1405dd0dc
sub rsi, rbx
add rsi, 2
sar rsi, 1
add rsi, rsi
mov rcx, rsi
call fcn.1405d8630
mov rdi, rax
test rax, rax
je 0x1405dd124
mov r8, rsi
mov rdx, rbx
mov rcx, rax
call fcn.1405e3430
mov rbp, rdi
xor ecx, ecx
call fcn.1405d9178
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 0x1405e0cac
Capabilities:
Get file size

Disassembly:
push rbx
sub rsp, 0x20
mov edx, dword [rcx + 0x14]
nop
shr edx, 3
test dl, 1
je 0x1405e0cc2
mov al, 1
jmp 0x1405e0d22
mov eax, dword [rcx + 0x14]
nop
test al, 0xc0
je 0x1405e0cd3
mov rax, qword [rcx + 8]
cmp qword [rcx], rax
je 0x1405e0d20
mov ecx, dword [rcx + 0x18]
nop
call fcn.1405dd854
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x1405e0d20
mov r9d, 1
lea r8, [rsp + 0x38]
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetFilePointerEx]
test eax, eax
je 0x1405e0d20
lea rdx, [rsp + 0x30]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
je 0x1405e0d20
mov rax, qword [rsp + 0x30]
cmp qword [rsp + 0x38], rax
sete al
jmp 0x1405e0d22
xor al, al
add rsp, 0x20
pop rbx
ret

Function at 0x1405e3210
Capabilities:
Parse pe header

Disassembly:
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x1405e3238
movsxd rdx, dword [rcx + 0x3c]
add rdx, rcx
cmp dword [rdx], 0x4550
jne 0x1405e3238
xor eax, eax
mov ecx, 0x20b
cmp word [rdx + 0x18], cx
sete al
ret
xor eax, eax
ret
Function at 0x2fc4d83d0
Capabilities:
Write file on windows

Disassembly:
push rbp
push rbx
sub rsp, 0x38
lea rbp, [rsp + 0x30]
mov qword [rbp + 0x20], rcx
mov qword [rbp + 0x28], rdx
mov qword [rbp + 0x30], r8
mov qword [rbp + 0x38], r9
lea rax, [rbp + 0x28]
mov qword [rbp - 8], rax
mov ecx, 2
call sym.__acrt_iob_func
mov r9, rax
mov r8d, 0x1b
mov edx, 1
lea rax, str.Mingw_w64_runtime_failure:_n
mov rcx, rax
call sym.fwrite
mov rbx, qword [rbp - 8]
mov ecx, 2
call sym.__acrt_iob_func
mov rcx, rax
mov rax, qword [rbp + 0x20]
mov r8, rbx
mov rdx, rax
call sym.vfprintf
call sym.abort
nop

Function at 0x2fc4d8dd2
Capabilities:
Get thread local storage value

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x30
mov eax, dword [0x2fc4fd108]
test eax, eax
je 0x2fc4d8e6a
lea rax, [0x2fc4fd0e0]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
call rax
mov rax, qword [0x2fc4fd110]
mov qword [rbp - 8], rax
jmp 0x2fc4d8e4e
mov rax, qword [rbp - 8]
mov eax, dword [rax]
mov ecx, eax
mov rax, qword [sym.imp.KERNEL32.dll_TlsGetValue]
call rax
mov qword [rbp - 0x10], rax
mov rax, qword [sym.imp.KERNEL32.dll_GetLastError]
call rax
test eax, eax
jne 0x2fc4d8e42
cmp qword [rbp - 0x10], 0
je 0x2fc4d8e42
mov rax, qword [rbp - 8]
mov rdx, qword [rax + 8]
mov rax, qword [rbp - 0x10]
mov rcx, rax
call rdx
mov rax, qword [rbp - 8]
mov rax, qword [rax + 0x10]
mov qword [rbp - 8], rax
cmp qword [rbp - 8], 0
jne 0x2fc4d8e08
lea rax, [0x2fc4fd0e0]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
call rax
jmp 0x2fc4d8e6b
nop
add rsp, 0x30
pop rbp
ret

Function at 0x2fc4d8f70
Capabilities:
Parse pe header

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x20
mov qword [rbp + 0x10], rcx
mov rax, qword [rbp + 0x10]
mov qword [rbp - 8], rax
mov rax, qword [rbp - 8]
movzx eax, word [rax]
cmp ax, 0x5a4d
je 0x2fc4d8f98
mov eax, 0
jmp 0x2fc4d8fe6
mov rax, qword [rbp - 8]
mov eax, dword [rax + 0x3c]
movsxd rdx, eax
mov rax, qword [rbp - 8]
add rax, rdx
mov qword [rbp - 0x10], rax
mov rax, qword [rbp - 0x10]
mov eax, dword [rax]
cmp eax, 0x4550
je 0x2fc4d8fc1
mov eax, 0
jmp 0x2fc4d8fe6
mov rax, qword [rbp - 0x10]
add rax, 0x18
mov qword [rbp - 0x18], rax
mov rax, qword [rbp - 0x18]
movzx eax, word [rax]
cmp ax, 0x20b
je 0x2fc4d8fe1
mov eax, 0
jmp 0x2fc4d8fe6
mov eax, 1
add rsp, 0x20
pop rbp
ret
Function at 0x2fc4d8fec
Capabilities:
Enumerate pe sections

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x20
mov qword [rbp + 0x10], rcx
mov qword [rbp + 0x18], rdx
mov rax, qword [rbp + 0x10]
mov eax, dword [rax + 0x3c]
movsxd rdx, eax
mov rax, qword [rbp + 0x10]
add rax, rdx
mov qword [rbp - 0x18], rax
mov dword [rbp - 0xc], 0
mov rax, qword [rbp - 0x18]
movzx eax, word [rax + 0x14]
movzx edx, ax
mov rax, qword [rbp - 0x18]
add rax, rdx
add rax, 0x18
mov qword [rbp - 8], rax
jmp 0x2fc4d906a
mov rax, qword [rbp - 8]
mov eax, dword [rax + 0xc]
mov eax, eax
cmp qword [rbp + 0x18], rax
jb 0x2fc4d9061
mov rax, qword [rbp - 8]
mov edx, dword [rax + 0xc]
mov rax, qword [rbp - 8]
mov eax, dword [rax + 8]
add eax, edx
mov eax, eax
cmp qword [rbp + 0x18], rax
jae 0x2fc4d9061
mov rax, qword [rbp - 8]
jmp 0x2fc4d907f
add dword [rbp - 0xc], 1
add qword [rbp - 8], 0x28
mov rax, qword [rbp - 0x18]
movzx eax, word [rax + 6]
movzx eax, ax
cmp dword [rbp - 0xc], eax
jb 0x2fc4d9034
mov eax, 0
add rsp, 0x20
pop rbp
ret
Function at 0x180002fb0
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rbp
push rsi
push rdi
push r14
sub rsp, 0x130
mov rax, qword [0x180046038]
xor rax, rsp
mov qword [rsp + 0x120], rax
mov ebp, 0x100
mov rdi, rdx
mov qword [rdx + 8], rbp
mov r14, rcx
xor ebx, ebx
lea rcx, [rsp + 0x20]
xor edx, edx
mov r8d, ebp
mov esi, ebx
call fcn.18000e220
mov eax, ebx
mov byte [rsp + rax + 0x20], al
inc rax
cmp rax, rbp
jb 0x180002ffb
mov r9, qword [rdi]
mov r8, rbx
mov dl, byte [rsp + r8 + 0x20]
mov cl, r8b
and cl, 7
mov rax, r9
shl cl, 3
shr rax, cl
add al, dl
add al, sil
movzx esi, al
xor dl, byte [rsp + rsi + 0x20]
mov byte [rsp + r8 + 0x20], dl
xor byte [rsp + rsi + 0x20], dl
mov al, byte [rsp + rsi + 0x20]
xor byte [rsp + r8 + 0x20], al
inc r8
cmp r8, rbp
jb 0x18000300d
mov r8, rbx
mov rdx, rbx
inc bl
movzx ebx, bl
mov cl, byte [rsp + rbx + 0x20]
lea eax, [r8 + rcx]
movzx r8d, al
xor cl, byte [rsp + r8 + 0x20]
mov byte [rsp + rbx + 0x20], cl
xor byte [rsp + r8 + 0x20], cl
mov al, byte [rsp + r8 + 0x20]
xor al, byte [rsp + rbx + 0x20]
movsx ecx, al
mov byte [rsp + rbx + 0x20], al
movsx eax, byte [rsp + r8 + 0x20]
add ecx, eax
and ecx, 0x800000ff
jge 0x180003096
dec ecx
or ecx, 0xffffff00
inc ecx
movzx eax, cl
mov cl, byte [rsp + rax + 0x20]
mov byte [r14 + rdx], cl
inc rdx
cmp rdx, 8
jb 0x18000304d
mov rcx, qword [rsp + 0x120]
xor rcx, rsp
call fcn.18000ba30
lea r11, [rsp + 0x130]
mov rbx, qword [r11 + 0x30]
mov rbp, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop rdi
pop rsi
ret

Function at 0x1800030d4
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rbp
push rsi
push rdi
push r14
sub rsp, 0x130
mov rax, qword [0x180046038]
xor rax, rsp
mov qword [rsp + 0x120], rax
mov ebp, 0x100
mov rdi, rdx
mov qword [rdx + 8], rbp
mov r14, rcx
xor ebx, ebx
lea rcx, [rsp + 0x20]
xor edx, edx
mov r8d, ebp
mov esi, ebx
call fcn.18000e220
mov eax, ebx
mov byte [rsp + rax + 0x20], al
inc rax
cmp rax, rbp
jb 0x18000311f
mov r9, qword [rdi]
mov r8, rbx
mov dl, byte [rsp + r8 + 0x20]
mov cl, r8b
and cl, 7
mov rax, r9
shl cl, 3
shr rax, cl
add al, dl
add al, sil
movzx esi, al
xor dl, byte [rsp + rsi + 0x20]
mov byte [rsp + r8 + 0x20], dl
xor byte [rsp + rsi + 0x20], dl
mov al, byte [rsp + rsi + 0x20]
xor byte [rsp + r8 + 0x20], al
inc r8
cmp r8, rbp
jb 0x180003131
mov r8, rbx
mov rdx, rbx
inc bl
movzx ebx, bl
mov cl, byte [rsp + rbx + 0x20]
lea eax, [r8 + rcx]
movzx r8d, al
xor cl, byte [rsp + r8 + 0x20]
mov byte [rsp + rbx + 0x20], cl
xor byte [rsp + r8 + 0x20], cl
mov al, byte [rsp + r8 + 0x20]
xor al, byte [rsp + rbx + 0x20]
movsx ecx, al
mov byte [rsp + rbx + 0x20], al
movsx eax, byte [rsp + r8 + 0x20]
add ecx, eax
and ecx, 0x800000ff
jge 0x1800031ba
dec ecx
or ecx, 0xffffff00
inc ecx
movzx eax, cl
mov cl, byte [rsp + rax + 0x20]
mov byte [r14 + rdx], cl
inc rdx
cmp rdx, 9
jb 0x180003171
mov rcx, qword [rsp + 0x120]
xor rcx, rsp
call fcn.18000ba30
lea r11, [rsp + 0x130]
mov rbx, qword [r11 + 0x30]
mov rbp, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop rdi
pop rsi
ret
Function at 0x1800031f8
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rbp
push rsi
push rdi
push r14
sub rsp, 0x130
mov rax, qword [0x180046038]
xor rax, rsp
mov qword [rsp + 0x120], rax
mov ebp, 0x100
mov rdi, rdx
mov qword [rdx + 8], rbp
mov r14, rcx
xor ebx, ebx
lea rcx, [rsp + 0x20]
xor edx, edx
mov r8d, ebp
mov esi, ebx
call fcn.18000e220
mov eax, ebx
mov byte [rsp + rax + 0x20], al
inc rax
cmp rax, rbp
jb 0x180003243
mov r9, qword [rdi]
mov r8, rbx
mov dl, byte [rsp + r8 + 0x20]
mov cl, r8b
and cl, 7
mov rax, r9
shl cl, 3
shr rax, cl
add al, dl
add al, sil
movzx esi, al
xor dl, byte [rsp + rsi + 0x20]
mov byte [rsp + r8 + 0x20], dl
xor byte [rsp + rsi + 0x20], dl
mov al, byte [rsp + rsi + 0x20]
xor byte [rsp + r8 + 0x20], al
inc r8
cmp r8, rbp
jb 0x180003255
mov r8, rbx
mov rdx, rbx
inc bl
movzx ebx, bl
mov cl, byte [rsp + rbx + 0x20]
lea eax, [r8 + rcx]
movzx r8d, al
xor cl, byte [rsp + r8 + 0x20]
mov byte [rsp + rbx + 0x20], cl
xor byte [rsp + r8 + 0x20], cl
mov al, byte [rsp + r8 + 0x20]
xor al, byte [rsp + rbx + 0x20]
movsx ecx, al
mov byte [rsp + rbx + 0x20], al
movsx eax, byte [rsp + r8 + 0x20]
add ecx, eax
and ecx, 0x800000ff
jge 0x1800032de
dec ecx
or ecx, 0xffffff00
inc ecx
movzx eax, cl
mov cl, byte [rsp + rax + 0x20]
mov byte [r14 + rdx], cl
inc rdx
cmp rdx, 0xa
jb 0x180003295
mov rcx, qword [rsp + 0x120]
xor rcx, rsp
call fcn.18000ba30
lea r11, [rsp + 0x130]
mov rbx, qword [r11 + 0x30]
mov rbp, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop rdi
pop rsi
ret

Function at 0x18000331c
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rbp
push rsi
push rdi
push r14
sub rsp, 0x130
mov rax, qword [0x180046038]
xor rax, rsp
mov qword [rsp + 0x120], rax
mov ebp, 0x100
mov rdi, rdx
mov qword [rdx + 8], rbp
mov r14, rcx
xor ebx, ebx
lea rcx, [rsp + 0x20]
xor edx, edx
mov r8d, ebp
mov esi, ebx
call fcn.18000e220
mov eax, ebx
mov byte [rsp + rax + 0x20], al
inc rax
cmp rax, rbp
jb 0x180003367
mov r9, qword [rdi]
mov r8, rbx
mov dl, byte [rsp + r8 + 0x20]
mov cl, r8b
and cl, 7
mov rax, r9
shl cl, 3
shr rax, cl
add al, dl
add al, sil
movzx esi, al
xor dl, byte [rsp + rsi + 0x20]
mov byte [rsp + r8 + 0x20], dl
xor byte [rsp + rsi + 0x20], dl
mov al, byte [rsp + rsi + 0x20]
xor byte [rsp + r8 + 0x20], al
inc r8
cmp r8, rbp
jb 0x180003379
mov r8, rbx
mov rdx, rbx
inc bl
movzx ebx, bl
mov cl, byte [rsp + rbx + 0x20]
lea eax, [r8 + rcx]
movzx r8d, al
xor cl, byte [rsp + r8 + 0x20]
mov byte [rsp + rbx + 0x20], cl
xor byte [rsp + r8 + 0x20], cl
mov al, byte [rsp + r8 + 0x20]
xor al, byte [rsp + rbx + 0x20]
movsx ecx, al
mov byte [rsp + rbx + 0x20], al
movsx eax, byte [rsp + r8 + 0x20]
add ecx, eax
and ecx, 0x800000ff
jge 0x180003402
dec ecx
or ecx, 0xffffff00
inc ecx
movzx eax, cl
mov cl, byte [rsp + rax + 0x20]
mov byte [r14 + rdx], cl
inc rdx
cmp rdx, 0x11
jb 0x1800033b9
mov rcx, qword [rsp + 0x120]
xor rcx, rsp
call fcn.18000ba30
lea r11, [rsp + 0x130]
mov rbx, qword [r11 + 0x30]
mov rbp, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop rdi
pop rsi
ret
Function at 0x180003440
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rbp
push rsi
push rdi
push r14
sub rsp, 0x130
mov rax, qword [0x180046038]
xor rax, rsp
mov qword [rsp + 0x120], rax
mov ebp, 0x100
mov rdi, rdx
mov qword [rdx + 8], rbp
mov r14, rcx
xor ebx, ebx
lea rcx, [rsp + 0x20]
xor edx, edx
mov r8d, ebp
mov esi, ebx
call fcn.18000e220
mov eax, ebx
mov byte [rsp + rax + 0x20], al
inc rax
cmp rax, rbp
jb 0x18000348b
mov r9, qword [rdi]
mov r8, rbx
mov dl, byte [rsp + r8 + 0x20]
mov cl, r8b
and cl, 7
mov rax, r9
shl cl, 3
shr rax, cl
add al, dl
add al, sil
movzx esi, al
xor dl, byte [rsp + rsi + 0x20]
mov byte [rsp + r8 + 0x20], dl
xor byte [rsp + rsi + 0x20], dl
mov al, byte [rsp + rsi + 0x20]
xor byte [rsp + r8 + 0x20], al
inc r8
cmp r8, rbp
jb 0x18000349d
mov r8, rbx
mov rdx, rbx
inc bl
movzx ebx, bl
mov cl, byte [rsp + rbx + 0x20]
lea eax, [r8 + rcx]
movzx r8d, al
xor cl, byte [rsp + r8 + 0x20]
mov byte [rsp + rbx + 0x20], cl
xor byte [rsp + r8 + 0x20], cl
mov al, byte [rsp + r8 + 0x20]
xor al, byte [rsp + rbx + 0x20]
movsx ecx, al
mov byte [rsp + rbx + 0x20], al
movsx eax, byte [rsp + r8 + 0x20]
add ecx, eax
and ecx, 0x800000ff
jge 0x180003526
dec ecx
or ecx, 0xffffff00
inc ecx
movzx eax, cl
mov cl, byte [rsp + rax + 0x20]
mov byte [r14 + rdx], cl
inc rdx
cmp rdx, 0x39
jb 0x1800034dd
mov rcx, qword [rsp + 0x120]
xor rcx, rsp
call fcn.18000ba30
lea r11, [rsp + 0x130]
mov rbx, qword [r11 + 0x30]
mov rbp, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop rdi
pop rsi
ret

Function at 0x180003564
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rbp
push rsi
push rdi
push r14
sub rsp, 0x130
mov rax, qword [0x180046038]
xor rax, rsp
mov qword [rsp + 0x120], rax
mov ebp, 0x100
mov rdi, rdx
mov qword [rdx + 8], rbp
mov r14, rcx
xor ebx, ebx
lea rcx, [rsp + 0x20]
xor edx, edx
mov r8d, ebp
mov esi, ebx
call fcn.18000e220
mov eax, ebx
mov byte [rsp + rax + 0x20], al
inc rax
cmp rax, rbp
jb 0x1800035af
mov r9, qword [rdi]
mov r8, rbx
mov dl, byte [rsp + r8 + 0x20]
mov cl, r8b
and cl, 7
mov rax, r9
shl cl, 3
shr rax, cl
add al, dl
add al, sil
movzx esi, al
xor dl, byte [rsp + rsi + 0x20]
mov byte [rsp + r8 + 0x20], dl
xor byte [rsp + rsi + 0x20], dl
mov al, byte [rsp + rsi + 0x20]
xor byte [rsp + r8 + 0x20], al
inc r8
cmp r8, rbp
jb 0x1800035c1
mov r8, rbx
mov rdx, rbx
inc bl
movzx ebx, bl
mov cl, byte [rsp + rbx + 0x20]
lea eax, [r8 + rcx]
movzx r8d, al
xor cl, byte [rsp + r8 + 0x20]
mov byte [rsp + rbx + 0x20], cl
xor byte [rsp + r8 + 0x20], cl
mov al, byte [rsp + r8 + 0x20]
xor al, byte [rsp + rbx + 0x20]
movsx ecx, al
mov byte [rsp + rbx + 0x20], al
movsx eax, byte [rsp + r8 + 0x20]
add ecx, eax
and ecx, 0x800000ff
jge 0x18000364a
dec ecx
or ecx, 0xffffff00
inc ecx
movzx eax, cl
mov cl, byte [rsp + rax + 0x20]
mov byte [r14 + rdx], cl
inc rdx
cmp rdx, 0x4a
jb 0x180003601
mov rcx, qword [rsp + 0x120]
xor rcx, rsp
call fcn.18000ba30
lea r11, [rsp + 0x130]
mov rbx, qword [r11 + 0x30]
mov rbp, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop rdi
pop rsi
ret
Function at 0x180003688
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rbp
push rsi
push rdi
push r14
sub rsp, 0x130
mov rax, qword [0x180046038]
xor rax, rsp
mov qword [rsp + 0x120], rax
mov ebp, 0x100
mov rdi, rdx
mov qword [rdx + 8], rbp
mov r14, rcx
xor ebx, ebx
lea rcx, [rsp + 0x20]
xor edx, edx
mov r8d, ebp
mov esi, ebx
call fcn.18000e220
mov eax, ebx
mov byte [rsp + rax + 0x20], al
inc rax
cmp rax, rbp
jb 0x1800036d3
mov r9, qword [rdi]
mov r8, rbx
mov dl, byte [rsp + r8 + 0x20]
mov cl, r8b
and cl, 7
mov rax, r9
shl cl, 3
shr rax, cl
add al, dl
add al, sil
movzx esi, al
xor dl, byte [rsp + rsi + 0x20]
mov byte [rsp + r8 + 0x20], dl
xor byte [rsp + rsi + 0x20], dl
mov al, byte [rsp + rsi + 0x20]
xor byte [rsp + r8 + 0x20], al
inc r8
cmp r8, rbp
jb 0x1800036e5
mov r8, rbx
mov rdx, rbx
inc bl
movzx ebx, bl
mov cl, byte [rsp + rbx + 0x20]
lea eax, [r8 + rcx]
movzx r8d, al
xor cl, byte [rsp + r8 + 0x20]
mov byte [rsp + rbx + 0x20], cl
xor byte [rsp + r8 + 0x20], cl
mov al, byte [rsp + r8 + 0x20]
xor al, byte [rsp + rbx + 0x20]
movsx ecx, al
mov byte [rsp + rbx + 0x20], al
movsx eax, byte [rsp + r8 + 0x20]
add ecx, eax
and ecx, 0x800000ff
jge 0x18000376e
dec ecx
or ecx, 0xffffff00
inc ecx
movzx eax, cl
mov cl, byte [rsp + rax + 0x20]
mov byte [r14 + rdx], cl
inc rdx
cmp rdx, 0xc
jb 0x180003725
mov rcx, qword [rsp + 0x120]
xor rcx, rsp
call fcn.18000ba30
lea r11, [rsp + 0x130]
mov rbx, qword [r11 + 0x30]
mov rbp, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop rdi
pop rsi
ret

Function at 0x1800037ac
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rbp
push rsi
push rdi
push r14
sub rsp, 0x130
mov rax, qword [0x180046038]
xor rax, rsp
mov qword [rsp + 0x120], rax
mov ebp, 0x100
mov rdi, rdx
mov qword [rdx + 8], rbp
mov r14, rcx
xor ebx, ebx
lea rcx, [rsp + 0x20]
xor edx, edx
mov r8d, ebp
mov esi, ebx
call fcn.18000e220
mov eax, ebx
mov byte [rsp + rax + 0x20], al
inc rax
cmp rax, rbp
jb 0x1800037f7
mov r9, qword [rdi]
mov r8, rbx
mov dl, byte [rsp + r8 + 0x20]
mov cl, r8b
and cl, 7
mov rax, r9
shl cl, 3
shr rax, cl
add al, dl
add al, sil
movzx esi, al
xor dl, byte [rsp + rsi + 0x20]
mov byte [rsp + r8 + 0x20], dl
xor byte [rsp + rsi + 0x20], dl
mov al, byte [rsp + rsi + 0x20]
xor byte [rsp + r8 + 0x20], al
inc r8
cmp r8, rbp
jb 0x180003809
mov r8, rbx
mov rdx, rbx
inc bl
movzx ebx, bl
mov cl, byte [rsp + rbx + 0x20]
lea eax, [r8 + rcx]
movzx r8d, al
xor cl, byte [rsp + r8 + 0x20]
mov byte [rsp + rbx + 0x20], cl
xor byte [rsp + r8 + 0x20], cl
mov al, byte [rsp + r8 + 0x20]
xor al, byte [rsp + rbx + 0x20]
movsx ecx, al
mov byte [rsp + rbx + 0x20], al
movsx eax, byte [rsp + r8 + 0x20]
add ecx, eax
and ecx, 0x800000ff
jge 0x180003892
dec ecx
or ecx, 0xffffff00
inc ecx
movzx eax, cl
mov cl, byte [rsp + rax + 0x20]
mov byte [r14 + rdx], cl
inc rdx
cmp rdx, 0xe
jb 0x180003849
mov rcx, qword [rsp + 0x120]
xor rcx, rsp
call fcn.18000ba30
lea r11, [rsp + 0x130]
mov rbx, qword [r11 + 0x30]
mov rbp, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop rdi
pop rsi
ret