joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140004770
Capabilities:
Enumerate pe sections

Disassembly:
mov qword [rsp + 0x20], rbp
push rsi
push r14
mov r14, rcx
mov rsi, r8
mov rbp, rdx
sub r14, qword [r8 + 0x30]
je 0x1400048f2
test byte [r8 + 0x5e], 0x40
jne 0x14000479d
xor eax, eax
mov rbp, qword [rsp + 0x30]
pop r14
pop rsi
ret
movzx eax, word [rsi + 0x14]
lea rdx, [rsi + 0x18]
mov r8d, dword [r8 + 0xb0]
add rdx, rax
movzx eax, word [rsi + 6]
lea rcx, [rax + rax*4]
lea r9, [rdx + rcx*8]
cmp rdx, r9
jae 0x1400048f2
mov ecx, dword [rdx + 0xc]
cmp r8, rcx
jb 0x1400047d6
mov eax, dword [rdx + 8]
add eax, ecx
cmp r8, rax
jb 0x1400047ed
add rdx, 0x28
cmp rdx, r9
jb 0x1400047c4
mov eax, 1
mov rbp, qword [rsp + 0x30]
pop r14
pop rsi
ret
mov qword [rsp + 0x18], rbx
mov ebx, dword [rdx + 0x14]
sub rbx, rcx
mov qword [rsp + 0x28], r15
mov r15d, dword [rsi + 0xb4]
add rbx, r8
add rbx, rbp
add r15, rbx
test rbx, rbx
je 0x1400048e8
cmp rbx, r15
jae 0x1400048e8
mov qword [rsp + 0x20], rdi
mov eax, dword [rbx + 4]
test eax, eax
je 0x1400048e3
lea ecx, [rax - 8]
shr ecx, 1
je 0x1400048d7
lea r11, [rbx + 8]
mov edi, ecx
movzx r8d, word [r11]
movzx eax, r8w
shr ax, 0xc
and r8d, 0x80000fff
jge 0x140004862
dec r8d
or r8d, 0xfffff000
inc r8d
cmp ax, 3
je 0x14000486e
cmp ax, 0xa
jne 0x1400048c6
movzx eax, word [rsi + 0x14]
movzx ecx, word [rsi + 6]
add rax, 0x18
mov r9d, dword [rbx]
add rax, rsi
lea rdx, [rcx + rcx*4]
lea r10, [rax + rdx*8]
cmp rax, r10
jae 0x1400048bb
nop dword [rax]
mov edx, dword [rax + 0xc]
cmp r9, rdx
jb 0x1400048a2
mov ecx, dword [rax + 8]
add ecx, edx
cmp r9, rcx
jb 0x1400048ad
add rax, 0x28
cmp rax, r10
jb 0x140004890
jmp 0x1400048bb
mov ecx, dword [rax + 0x14]
sub rcx, rdx
add rcx, r9
add rcx, rbp
jne 0x1400048be
mov rcx, rbp
movzx eax, r8w
add qword [rax + rcx], r14
add r11, 2
sub rdi, 1
jne 0x140004840
mov eax, dword [rbx + 4]
add rbx, rax
cmp rbx, r15
jb 0x140004824
mov rdi, qword [rsp + 0x20]
mov rbx, qword [rsp + 0x18]
mov r15, qword [rsp + 0x28]
mov rbp, qword [rsp + 0x30]
mov eax, 1
pop r14
pop rsi
ret
Function at 0x140005e40
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
push r14
push r15
mov rbp, rsp
sub rsp, 0x40
mov rax, qword [0x140042020]
xor rax, rsp
mov qword [rbp - 8], rax
xor edx, edx
mov cl, 0x73
call fcn.140002640
mov edx, 1
mov byte [rbp - 0x20], al
mov cl, 0x63
movzx edi, al
call fcn.140002640
mov edx, 2
mov byte [rbp - 0x1f], al
mov cl, 0x20
movzx esi, al
call fcn.140002640
mov edx, 3
mov byte [rbp - 0x1e], al
mov cl, 0x73
movzx r14d, al
call fcn.140002640
mov edx, 4
mov byte [rbp - 0x1d], al
mov cl, 0x74
call fcn.140002640
mov edx, 5
mov byte [rbp - 0x1c], al
mov cl, 0x6f
call fcn.140002640
mov edx, 6
mov byte [rbp - 0x1b], al
mov cl, 0x70
call fcn.140002640
mov edx, 7
mov byte [rbp - 0x1a], al
mov cl, 0x20
call fcn.140002640
mov edx, 8
mov byte [rbp - 0x19], al
mov cl, 0x63
call fcn.140002640
mov edx, 9
mov byte [rbp - 0x18], al
mov cl, 0x6c
call fcn.140002640
mov edx, 0xa
mov byte [rbp - 0x17], al
mov cl, 0x61
call fcn.140002640
mov edx, 0xb
mov byte [rbp - 0x16], al
mov cl, 0x73
call fcn.140002640
mov edx, 0xc
mov byte [rbp - 0x15], al
call fcn.140002640
mov edx, 0xd
mov byte [rbp - 0x14], al
call fcn.140002640
movzx r15d, al
mov byte [rbp - 0x13], al
xor eax, eax
xor ebx, ebx
mov byte [rbp - 0x12], al
mov r9d, ebx
nop dword [rax]
movsxd rcx, r9d
lea r8, [rbp - 0x20]
add r8, rcx
lea ecx, [r9 + 0x13]
inc r9d
xor byte [r8], cl
cmp r9d, 0xe
jb 0x140005f50
lea rcx, [rbp - 0x20]
mov byte [rbp - 0x12], al
call fcn.140012c04
mov edx, 3
mov byte [rbp - 0x20], dil
mov cl, 0x64
mov byte [rbp - 0x1f], sil
mov byte [rbp - 0x1e], r14b
call fcn.140002640
mov edx, 4
mov byte [rbp - 0x1d], al
mov cl, 0x65
call fcn.140002640
mov edx, 5
mov byte [rbp - 0x1c], al
mov cl, 0x6c
call fcn.140002640
mov edx, 6
mov byte [rbp - 0x1b], al
mov cl, 0x65
call fcn.140002640
mov edx, 7
mov byte [rbp - 0x1a], al
mov cl, 0x74
call fcn.140002640
mov edx, 8
mov byte [rbp - 0x19], al
mov cl, 0x65
call fcn.140002640
mov edx, 9
mov byte [rbp - 0x18], al
mov cl, 0x20
call fcn.140002640
mov edx, 0xa
mov byte [rbp - 0x17], al
mov cl, 0x63
call fcn.140002640
mov edx, 0xb
mov byte [rbp - 0x16], al
mov cl, 0x6c
call fcn.140002640
mov edx, 0xc
mov byte [rbp - 0x15], al
mov cl, 0x61
call fcn.140002640
mov edx, 0xe
mov byte [rbp - 0x14], al
mov cl, 0x73
mov byte [rbp - 0x13], r15b
call fcn.140002640
mov edx, 0xf
mov byte [rbp - 0x12], al
call fcn.140002640
mov byte [rbp - 0x11], al
xor eax, eax
mov byte [rbp - 0x10], al
nop dword [rax]
movsxd rax, ebx
lea rcx, [rbp - 0x20]
add rcx, rax
lea eax, [rbx + 0x13]
inc ebx
xor byte [rcx], al
cmp ebx, 0x10
jb 0x140006040
lea rcx, [rbp - 0x20]
mov byte [rbp - 0x10], 0
call fcn.140012c04
mov rcx, qword [rbp - 8]
xor rcx, rsp
call fcn.14000a7b0
mov rbx, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x68]
mov rdi, qword [rsp + 0x70]
add rsp, 0x40
pop r15
pop r14
pop rbp
ret
Function at 0x1400129a0
Capabilities:
Parse pe header

Disassembly:
mov qword [rsp + 8], rbx
mov dword [rsp + 0x18], r8d
mov dword [rsp + 0x10], edx
push rbp
mov rbp, rsp
sub rsp, 0x50
mov ebx, ecx
test r8d, r8d
jne 0x140012833
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x140012833
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x140012833
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x140012833
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x140012833
cmp dword [rcx + 0x84], 0xe
jbe 0x140012833
cmp dword [rcx + 0xf8], 0
je 0x140012833
mov ecx, ebx
call fcn.1400128d4
lea rax, [rbp + 0x18]
mov byte [rbp + 0x28], 0
mov qword [rbp - 0x20], rax
lea r9, [rbp - 0x2c]
lea rax, [rbp + 0x20]
mov qword [rbp - 0x18], rax
lea r8, [rbp - 0x20]
lea rax, [rbp + 0x28]
mov qword [rbp - 0x10], rax
lea rdx, [rbp - 0x28]
mov eax, 2
lea rcx, [rbp - 0x30]
mov dword [rbp - 0x2c], eax
mov dword [rbp - 0x28], eax
call fcn.1400126c4
cmp dword [rbp + 0x20], 0
je 0x140012880
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rbp
ret
mov ecx, ebx
call fcn.140012888
int3
xor r8d, r8d
xor edx, edx
jmp 0x1400127cc

Function at 0x14001da6c
Capabilities:
Delete file

Disassembly:
sub rsp, 0x28
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x14001da8c
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call fcn.140014e04
or eax, 0xffffffff
jmp 0x14001da8e
xor eax, eax
add rsp, 0x28
ret
Function at 0x140013ec0
Capabilities:
Parse pe header

Disassembly:
xor r8d, r8d
xor edx, edx
jmp 0x140013cec

Function at 0x1403f5972
Capabilities:
Execute anti-debugging instructions

Disassembly:
not ecx
jmp 0x140365353
inc ecx
jmp 0x1403bc274
rol ecx, 2
inc ecx
cmc
not ecx
ror ecx, 3
jmp 0x140349993
inc r9d
sbb dil, 0x49
bt ecx, 0x35
neg r9d
jmp 0x14037ec0b
ror r9d, 1
add r9d, 0xe005461
or bx, si
lea r9, [r9 + rax]
btc r10d, 0xb2
movabs rcx, 0x100000000
cmp r14b, spl
cqo
rcl r10b, cl
lea r9, [r9 + rcx]
bt rcx, 0xb5
sal cl, cl
or dx, r9w
mov rdi, rsp
cmove rbx, r9
xchg dh, dl
shld rbx, rbp, 0x15
sub rsp, 0x180
movzx ecx, si
and cl, 0x4e
and rsp, 0xfffffffffffffff0
mov r10, r9
test r8w, si
cmovae cx, r12w
movabs rdx, 0
sub rbx, r11
add bl, r9b
sub r10, rdx
lea rbx, [0x14037ec83]
btr ecx, 0x16
sub r9, 4
sub cl, r8b
rcr cx, 0xbf
xadd cx, cx
mov ecx, dword [r9]
cmp r12, rdi
xor ecx, r10d
sub ecx, 0x29371e0
clc
stc
not ecx
stc
rol ecx, 1
jmp 0x1402fb324
push rbx
ret
push r10
cmc
xor r10b, bl
mov r10b, bpl
xor dword [rsp], ecx
adc r10b, r15b
pop r10
movsxd rcx, ecx
cmc
add rbx, rcx
jmp 0x140387273
push r12
movsx rcx, si
movabs rax, 0
movsx r10, r13w
cdq
cmovae r10d, esi
push rax
cqo
movsx cx, r15b
mov r9, qword [rsp + 0x90]
jmp 0x14037a56d
push r10
push r11
not r10b
push rsi
movsx r10d, ax
bswap r10w
push r13
movzx r10, r11w
movsx r10w, r9b
xchg r10, r10
push rbp
mov r10b, r15b
xchg r10, r10
not r10w
push r9
movsx r9d, r13w
push r15
xchg r9b, r9b
not r10
cmovne r9, rdx
push rax
push rcx
cbw
push rdx
cwd
push rdi
push rbx
rdtsc
mov r10b, 0xa6
push r14
rdtsc
xchg r9d, r9d
cmovnp rax, r9
push r8
mov rcx, 0x2ef10148
xchg r10w, cx
cwd
pushfq
cdq
jmp 0x1403c4229
Function at 0x6d858310
Capabilities:
Allocate or change rwx memory

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x50
movsxd rsi, dword [0x6d8795e4]
test esi, esi
mov rbx, rcx
mov rbp, rdx
mov rdi, r8
jle 0x6d858498
mov rax, qword [0x6d8795e8]
xor ecx, ecx
add rax, 0x18
nop
mov rdx, qword [rax]
cmp rbx, rdx
jb 0x6d85835c
mov r8, qword [rax + 8]
mov r8d, dword [r8 + 8]
add rdx, r8
cmp rbx, rdx
jb 0x6d8583e5
add ecx, 1
add rax, 0x28
cmp ecx, esi
jne 0x6d858340
mov rcx, rbx
call sym.__mingw_GetSectionForAddress
test rax, rax
mov r12, rax
je 0x6d8584cd
mov rax, qword [0x6d8795e8]
lea rsi, [rsi + rsi*4]
shl rsi, 3
add rax, rsi
mov qword [rax + 0x20], r12
mov dword [rax], 0
call sym._GetPEImageBase
mov ecx, dword [r12 + 0xc]
lea rdx, [rsp + 0x20]
mov r8d, 0x30
add rcx, rax
mov rax, qword [0x6d8795e8]
mov qword [rax + rsi + 0x18], rcx
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x6d8584b0
mov eax, dword [rsp + 0x44]
lea edx, [rax - 4]
and edx, 0xfffffffb
je 0x6d8583de
sub eax, 0x40
and eax, 0xffffffbf
jne 0x6d858440
add dword [0x6d8795e4], 1
cmp edi, 8
jae 0x6d858413
test dil, 4
jne 0x6d858484
test edi, edi
je 0x6d858408
movzx eax, byte [rbp]
test dil, 2
mov byte [rbx], al
jne 0x6d85849f
add rsp, 0x50
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
ret
mov eax, edi
sub edi, 1
mov rdx, qword [rbp + rax - 8]
cmp edi, 8
mov qword [rbx + rax - 8], rdx
jb 0x6d858408
and edi, 0xfffffff8
xor eax, eax
mov edx, eax
add eax, 8
mov rcx, qword [rbp + rdx]
cmp eax, edi
mov qword [rbx + rdx], rcx
jb 0x6d85842c
jmp 0x6d858408
add rsi, qword [0x6d8795e8]
mov r8d, 0x40
mov rcx, qword [rsp + 0x20]
mov rdx, qword [rsp + 0x38]
mov r9, rsi
mov qword [rsi + 8], rcx
mov qword [rsi + 0x10], rdx
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x6d8583de
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.__VirtualProtect_failed_with_code_0x_x
mov edx, eax
call sym.__report_error
mov eax, dword [rbp]
mov edi, edi
mov dword [rbx], eax
mov eax, dword [rbp + rdi - 4]
mov dword [rbx + rdi - 4], eax
jmp 0x6d858408
xor esi, esi
jmp 0x6d858367
mov edi, edi
movzx eax, word [rbp + rdi - 2]
mov word [rbx + rdi - 2], ax
jmp 0x6d858408
mov rax, qword [0x6d8795e8]
lea rcx, str.__VirtualQuery_failed_for__d_bytes_at_address__p
mov edx, dword [r12 + 8]
mov r8, qword [rax + rsi + 0x18]
call sym.__report_error
lea rcx, str.Address__p_has_no_image_section
mov rdx, rbx
call sym.__report_error
nop
nop dword [rax]

Function at 0x6d858c20
Capabilities:
Get thread local storage value

Disassembly:
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x28
lea rcx, [0x6d8798c0]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rbx, qword [0x6d8798a0]
test rbx, rbx
je 0x6d858c74
mov rbp, qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rdi, qword [sym.imp.KERNEL32.dll_GetLastError]
nop
mov ecx, dword [rbx]
call rbp
mov rsi, rax
call rdi
test eax, eax
jne 0x6d858c6b
test rsi, rsi
je 0x6d858c6b
mov rax, qword [rbx + 8]
mov rcx, rsi
call rax
mov rbx, qword [rbx + 0x10]
test rbx, rbx
jne 0x6d858c50
lea rcx, [0x6d8798c0]
add rsp, 0x28
pop rbx
pop rsi
pop rdi
pop rbp
jmp qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
Function at 0x6d858eb0
Capabilities:
Parse pe header

Disassembly:
cmp word [rcx], 0x5a4d
je 0x6d858ec0
xor eax, eax
ret
jmp sym._ValidateImageBase.part.0

Function at 0x6d858ed0
Capabilities:
Enumerate pe sections

Disassembly:
movsxd rax, dword [rcx + 0x3c]
add rcx, rax
movzx eax, word [rcx + 0x14]
lea rax, [rcx + rax + 0x18]
movzx ecx, word [rcx + 6]
test ecx, ecx
je 0x6d858f11
sub ecx, 1
lea rcx, [rcx + rcx*4]
lea r9, [rax + rcx*8 + 0x28]
mov r8d, dword [rax + 0xc]
cmp r8, rdx
mov rcx, r8
ja 0x6d858f08
add ecx, dword [rax + 8]
cmp rcx, rdx
ja 0x6d858f13
add rax, 0x28
cmp rax, r9
jne 0x6d858ef4
xor eax, eax
ret

Function at 0x6d858fb0
Capabilities:
Enumerate pe sections

Disassembly:
sub rsp, 0x28
mov r8, qword [0x6d8761f0]
cmp word [r8], 0x5a4d
mov rdx, rcx
jne 0x6d85901d
mov rcx, r8
call sym._ValidateImageBase.part.0
test eax, eax
je 0x6d85901d
movsxd rax, dword [r8 + 0x3c]
mov rcx, rdx
sub rcx, r8
add r8, rax
movzx edx, word [r8 + 6]
movzx eax, word [r8 + 0x14]
test edx, edx
lea rax, [r8 + rax + 0x18]
je 0x6d85901d
sub edx, 1
lea rdx, [rdx + rdx*4]
lea r9, [rax + rdx*8 + 0x28]
nop
mov r8d, dword [rax + 0xc]
cmp rcx, r8
mov rdx, r8
jb 0x6d859014
add edx, dword [rax + 8]
cmp rcx, rdx
jb 0x6d85901f
add rax, 0x28
cmp rax, r9
jne 0x6d859000
xor eax, eax
add rsp, 0x28
ret

Function at 0x6d859120
Capabilities:
Enumerate pe sections

Disassembly:
sub rsp, 0x28
mov r8, qword [0x6d8761f0]
xor eax, eax
cmp word [r8], 0x5a4d
mov rdx, rcx
je 0x6d859140
add rsp, 0x28
ret
mov rcx, r8
call sym._ValidateImageBase.part.0
test eax, eax
je 0x6d859138
movsxd rax, dword [r8 + 0x3c]
mov rcx, rdx
sub rcx, r8
add r8, rax
movzx edx, word [r8 + 6]
movzx eax, word [r8 + 0x14]
test edx, edx
lea rax, [r8 + rax + 0x18]
je 0x6d85919d
sub edx, 1
lea rdx, [rdx + rdx*4]
lea r9, [rax + rdx*8 + 0x28]
nop dword [rax + rax]
mov r8d, dword [rax + 0xc]
cmp rcx, r8
mov rdx, r8
jb 0x6d859194
add edx, dword [rax + 8]
cmp rcx, rdx
jb 0x6d8591a4
add rax, 0x28
cmp rax, r9
jne 0x6d859180
xor eax, eax
add rsp, 0x28
ret
mov eax, dword [rax + 0x24]
not eax
shr eax, 0x1f
add rsp, 0x28
ret

Function at 0x6d8591c0
Capabilities:
Enumerate pe sections

Disassembly:
sub rsp, 0x28
mov r11, qword [0x6d8761f0]
cmp word [r11], 0x5a4d
mov r9d, ecx
jne 0x6d85922e
mov rcx, r11
call sym._ValidateImageBase.part.0
test eax, eax
je 0x6d85922e
movsxd rax, dword [r11 + 0x3c]
add rax, r11
mov edx, dword [rax + 0x90]
test edx, edx
je 0x6d85922e
movzx ecx, word [rax + 0x14]
lea rcx, [rax + rcx + 0x18]
movzx eax, word [rax + 6]
test eax, eax
je 0x6d85922e
sub eax, 1
lea rax, [rax + rax*4]
lea rax, [rcx + rax*8 + 0x28]
mov r10d, dword [rcx + 0xc]
cmp rdx, r10
mov r8, r10
jb 0x6d859225
add r8d, dword [rcx + 8]
cmp rdx, r8
jb 0x6d859235
add rcx, 0x28
cmp rcx, rax
jne 0x6d859210
xor eax, eax
add rsp, 0x28
ret
add rdx, r11
jne 0x6d859248
jmp 0x6d85922e
sub r9d, 1
add rdx, 0x14
mov ecx, dword [rdx + 4]
test ecx, ecx
jne 0x6d859256
mov eax, dword [rdx + 0xc]
test eax, eax
je 0x6d85922e
test r9d, r9d
jg 0x6d859240
mov eax, dword [rdx + 0xc]
add rax, r11
add rsp, 0x28
ret
Function at 0x6d8595c0
Capabilities:
Write file on windows

Disassembly:
push rsi
push rbx
sub rsp, 0x38
lea rax, [rsp + 0x58]
mov rbx, rcx
mov ecx, 2
mov qword [rsp + 0x58], rdx
mov qword [rsp + 0x60], r8
mov qword [rsp + 0x68], r9
mov qword [rsp + 0x28], rax
call sym.__acrt_iob_func
mov r8d, 0x1b
mov edx, 1
lea rcx, str.Mingw_w64_runtime_failure:_n
mov r9, rax
call sym.fwrite
mov rsi, qword [rsp + 0x28]
mov ecx, 2
call sym.__acrt_iob_func
mov rdx, rbx
mov rcx, rax
mov r8, rsi
call sym.vfprintf
call sym.abort
nop
nop
nop
nop
nop
nop
nop
nop
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.14000cf6c
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.14000cf6c
mov qword [rbx], rax
lea r9d, [rsi + 2]
mov r11d, 1
lea r8, [rdi + 2]
mov r14d, r9d
lea r12, [0x140046570]
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, 0x905a38633e06c43b
mov qword [rbx + 8], rax
sub r15, rdi
nop word [rax + rax]
lea rcx, [r15 + r8]
mov rax, rbp
mul rsi
shr rdx, 8
imul rax, rdx, 0x1c6
movzx edx, byte [r8 - 2]
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
shr rdx, 8
imul rax, rdx, 0x1c6
movzx edx, byte [r8 - 1]
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
shr rdx, 8
imul rax, rdx, 0x1c6
movzx edx, byte [r8]
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
shr rdx, 8
imul rax, rdx, 0x1c6
movzx edx, byte [r8 + 1]
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
shr rdx, 8
imul rax, rdx, 0x1c6
movzx edx, byte [r8 + 2]
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 0x140001a70
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.14000cf6c
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.14000cf6c
mov qword [rbx], rax
lea r11, [0x140046570]
mov r9d, edi
mov r8d, edi
movabs r10, 0x905a38633e06c43b
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
shr rdx, 8
imul rax, rdx, 0x1c6
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
shr rdx, 8
imul rax, rdx, 0x1c6
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 0x140001ae0
mov rsi, qword [rsp + 0x38]
mov rax, rbx
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
Function at 0x140003100
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.14000cf6c
xor esi, esi
mov rbx, rax
mov qword [rax], rsi
lea ecx, [rsi + 0xc]
mov qword [rax + 8], rsi
mov qword [rax + 0x10], rsi
call fcn.14000cf6c
mov qword [rbx], rax
lea r8, [rdi + 4]
mov r9d, 2
lea r13, [0x140046740]
mov r10, 0xfffffffffffffffe
mov r11d, r9d
lea rcx, [rax + 0xc]
mov r14d, 4
mov qword [rbx + 0x10], rcx
mov r15d, 6
xor ecx, ecx
sub r10, rdi
mov qword [rax], rcx
sub r11, rdi
mov dword [rax + 8], ecx
sub r14, rdi
add rax, 0xc
sub r15, rdi
mov r12, 0xfffffffffffffffc
mov qword [rbx + 8], rax
sub r12, rdi
movabs rbp, 0x905a38633e06c43b
nop dword [rax]
nop word [rax + rax]
mov rcx, qword [rbx]
lea r8, [r8 + 0xc]
add rcx, r12
mov rax, rbp
mul rsi
shr rdx, 8
imul rax, rdx, 0x1c6
sub rsi, rax
movzx eax, byte [r8 - 0x10]
xor al, byte [rsi + r13]
movsx edx, al
mov rax, rbp
mov word [rcx + r8 - 0xc], dx
movsxd rcx, r9d
dec rcx
mul rcx
shr rdx, 8
imul rax, rdx, 0x1c6
sub rcx, rax
movzx eax, byte [r8 - 0xe]
xor al, byte [rcx + r13]
mov rcx, qword [rbx]
movsx edx, al
add rcx, r10
mov rax, rbp
mov word [rcx + r8 - 0xc], dx
movsxd rcx, r9d
mul rcx
shr rdx, 8
imul rax, rdx, 0x1c6
sub rcx, rax
movzx eax, byte [r8 - 0xc]
xor al, byte [rcx + r13]
movsx ecx, al
mov rax, qword [rbx]
sub rax, rdi
mov word [rax + r8 - 0xc], cx
mov rax, rbp
movsxd rcx, r9d
inc rcx
mul rcx
shr rdx, 8
imul rax, rdx, 0x1c6
sub rcx, rax
movzx eax, byte [r8 - 0xa]
xor al, byte [rcx + r13]
mov rcx, qword [rbx]
add rcx, r11
movsx edx, al
mov rax, rbp
mov word [rcx + r8 - 0xc], dx
movsxd rcx, r9d
add rcx, 2
mul rcx
shr rdx, 8
imul rax, rdx, 0x1c6
sub rcx, rax
movzx eax, byte [r8 - 8]
xor al, byte [rcx + r13]
mov rcx, qword [rbx]
add rcx, r14
movsx edx, al
mov rax, rbp
mov word [rcx + r8 - 0xc], dx
movsxd rcx, r9d
add r9d, 6
add rcx, 3
mul rcx
shr rdx, 8
imul rax, rdx, 0x1c6
sub rcx, rax
movzx eax, byte [r8 - 6]
xor al, byte [rcx + r13]
mov rcx, qword [rbx]
add rcx, r15
movsx edx, al
lea eax, [r9 - 2]
movsxd rsi, eax
mov word [rcx + r8 - 0xc], dx
cmp rsi, 6
jb 0x1400031b0
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
Function at 0x140003310
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.14000cf6c
xor esi, esi
mov rbx, rax
mov qword [rax], rsi
lea ecx, [rsi + 0x10]
mov qword [rax + 8], rsi
mov qword [rax + 0x10], rsi
call fcn.14000cf6c
mov qword [rbx], rax
lea r8, [rdi + 4]
xorps xmm0, xmm0
mov r9d, 2
mov r10, 0xfffffffffffffffe
mov r11d, r9d
lea rcx, [rax + 0x10]
mov r14d, 4
mov qword [rbx + 0x10], rcx
mov r15d, 6
movups xmmword [rax], xmm0
add rax, 0x10
lea rcx, [0x140046740]
mov r12d, 8
mov qword [rbx + 8], rax
mov ebp, 0xa
sub r10, rdi
sub r11, rdi
sub r14, rdi
sub r15, rdi
sub r12, rdi
sub rbp, rdi
mov r13, 0xfffffffffffffffc
movabs rax, 0x905a38633e06c43b
sub r13, rdi
mul rsi
shr rdx, 8
imul rax, rdx, 0x1c6
sub rsi, rax
movzx eax, byte [r8 - 4]
xor al, byte [rsi + rcx]
movabs rsi, 0x905a38633e06c43b
mov rcx, qword [rbx]
movsx edx, al
add rcx, r13
mov rax, rsi
mov word [rcx + r8], dx
movsxd rcx, r9d
dec rcx
mul rcx
shr rdx, 8
imul rax, rdx, 0x1c6
lea rdx, [0x140046740]
sub rcx, rax
movzx eax, byte [r8 - 2]
xor al, byte [rcx + rdx]
mov rcx, qword [rbx]
movsx edx, al
add rcx, r10
mov rax, rsi
mov word [rcx + r8], dx
movsxd rcx, r9d
mul rcx
shr rdx, 8
imul rax, rdx, 0x1c6
lea rdx, [0x140046740]
sub rcx, rax
movzx eax, byte [r8]
xor al, byte [rcx + rdx]
movsx ecx, al
mov rax, qword [rbx]
sub rax, rdi
mov word [rax + r8], cx
mov rax, rsi
movsxd rcx, r9d
inc rcx
mul rcx
shr rdx, 8
imul rax, rdx, 0x1c6
lea rdx, [0x140046740]
sub rcx, rax
movzx eax, byte [r8 + 2]
xor al, byte [rcx + rdx]
mov rcx, qword [rbx]
add rcx, r11
movsx edx, al
mov rax, rsi
mov word [rcx + r8], dx
movsxd rcx, r9d
add rcx, 2
mul rcx
shr rdx, 8
imul rax, rdx, 0x1c6
lea rdx, [0x140046740]
sub rcx, rax
movzx eax, byte [r8 + 4]
xor al, byte [rcx + rdx]
mov rcx, qword [rbx]
add rcx, r14
movsx edx, al
mov rax, rsi
mov word [rcx + r8], dx
movsxd rcx, r9d
add rcx, 3
mul rcx
shr rdx, 8
imul rax, rdx, 0x1c6
lea rdx, [0x140046740]
sub rcx, rax
movzx eax, byte [r8 + 6]
xor al, byte [rcx + rdx]
mov rcx, qword [rbx]
add rcx, r15
movsx edx, al
mov word [rcx + r8], dx
movsxd rcx, r9d
add rcx, 4
lea r8, [r8 + 0x10]
mov rax, rsi
mul rcx
shr rdx, 8
imul rax, rdx, 0x1c6
lea rdx, [0x140046740]
sub rcx, rax
movzx eax, byte [r8 - 8]
xor al, byte [rcx + rdx]
mov rcx, qword [rbx]
add rcx, r12
movsx edx, al
mov rax, rsi
mov word [rcx + r8 - 0x10], dx
movsxd rcx, r9d
add r9d, 8
add rcx, 5
mul rcx
shr rdx, 8
imul rax, rdx, 0x1c6
lea rdx, [0x140046740]
sub rcx, rax
movzx eax, byte [r8 - 6]
xor al, byte [rcx + rdx]
mov rcx, qword [rbx]
add rcx, rbp
movsx edx, al
lea eax, [r9 - 2]
movsxd rsi, eax
movabs rax, 0x905a38633e06c43b
mov word [rcx + r8 - 0x10], dx
lea rcx, [0x140046740]
cmp rsi, 8
jb 0x1400033c2
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