joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140119cc0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
mov qword [rsp + 0x20], r9
push rbp
push r12
push r13
push r14
push r15
mov rbp, rsp
sub rsp, 0x30
mov rax, qword [rbp + 0x50]
mov rsi, rdx
movzx edx, byte [rax + 4]
lea rdi, [rax + 1]
mov r13, qword [rbp + 0x58]
lea r9, [rdi + 5]
mov r12, rcx
shl edx, 0x18
movzx r10d, byte [rax]
xor r15d, r15d
movzx eax, byte [rdi]
mov r14d, r8d
movzx ecx, byte [r9]
mov ebx, dword [r13]
shl eax, 0x10
shl r10d, 0x18
or r10d, eax
shl ecx, 8
movzx eax, byte [rdi + 1]
shl eax, 8
or r10d, eax
movzx eax, byte [rdi + 2]
or r10d, eax
movzx eax, byte [rdi + 4]
shl eax, 0x10
or edx, eax
mov dword [rbp - 8], r10d
movzx eax, byte [r9 + 1]
or ecx, eax
mov byte [rbp - 0xd], r10b
or edx, ecx
mov eax, r10d
shr eax, 0x18
mov byte [rbp - 0x10], al
mov eax, r10d
shr eax, 0x10
mov byte [rbp - 0xf], al
mov eax, r10d
shr eax, 8
mov byte [rbp - 0xe], al
mov eax, edx
shr eax, 0x18
mov byte [rbp - 0xc], al
mov eax, edx
shr eax, 0x10
mov byte [rbp - 0xb], al
mov eax, edx
shr eax, 8
mov dword [rbp - 4], edx
mov byte [rbp - 0xa], al
mov byte [rbp - 9], dl
test r8d, r8d
je 0x140119e5d
mov r13, qword [rbp + 0x48]
sub r12, rsi
movzx r8d, dl
movzx r9d, r10b
nop
dec r14d
test ebx, ebx
jne 0x140119dff
mov rdx, r13
lea rcx, [rbp - 8]
call fcn.140119460
mov r10d, dword [rbp - 8]
mov eax, r10d
mov edx, dword [rbp - 4]
movzx r9d, r10b
shr eax, 0x18
movzx r8d, dl
mov byte [rbp - 0x10], al
mov eax, r10d
shr eax, 0x10
mov byte [rbp - 0xf], al
mov eax, r10d
shr eax, 8
mov byte [rbp - 0xe], al
mov eax, edx
shr eax, 0x18
mov byte [rbp - 0xc], al
mov eax, edx
shr eax, 0x10
mov byte [rbp - 0xb], al
mov eax, edx
shr eax, 8
mov byte [rbp - 0xa], al
inc r15d
mov byte [rbp - 0xd], r10b
mov byte [rbp - 9], dl
movsxd rax, ebx
movzx ecx, byte [rbp + rax - 0x10]
xor cl, byte [r12 + rsi]
mov byte [rsi], cl
inc rsi
inc ebx
and ebx, 7
test r14d, r14d
jne 0x140119da0
mov r13, qword [rbp + 0x58]
test r15d, r15d
je 0x140119e5d
mov rcx, qword [rbp + 0x50]
mov eax, r10d
shr eax, 0x18
mov byte [rcx], al
mov eax, r10d
shr eax, 0x10
mov byte [rdi], al
mov eax, edx
shr eax, 0x18
shr r10d, 8
mov byte [rdi + 1], r10b
mov byte [rdi + 2], r9b
mov byte [rdi + 3], al
mov eax, edx
shr eax, 0x10
mov byte [rdi + 4], al
shr edx, 8
mov byte [rdi + 5], dl
mov byte [rdi + 6], r8b
mov rsi, qword [rsp + 0x68]
mov rdi, qword [rsp + 0x70]
mov dword [r13], ebx
mov rbx, qword [rsp + 0x60]
add rsp, 0x30
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
Function at 0x140120f10
Capabilities:
Encode data using xor

Disassembly:
test r8, r8
je 0x1401210e8
mov rax, rsp
push rbx
sub rsp, 0xc0
mov qword [rax + 8], rbp
mov rbx, rdx
mov qword [rax - 0x10], rsi
lea rbp, [r8 - 1]
mov qword [rax - 0x18], rdi
mov qword [rax - 0x20], r14
lea r14, [rcx + 0xc]
shr rbp, 3
mov qword [rax - 0x28], r15
inc rbp
lea r15, [rcx + 0x14]
nop
movzx eax, byte [rbx + 1]
mov rcx, r14
movzx edi, byte [rbx]
movzx esi, byte [rbx + 4]
lea rbx, [rbx + 8]
shl eax, 8
or edi, eax
movzx eax, byte [rbx - 6]
shl eax, 0x10
or edi, eax
movzx eax, byte [rbx - 5]
shl eax, 0x18
or edi, eax
movzx eax, byte [rbx - 3]
shl eax, 8
or esi, eax
mov dword [rsp + 0xe0], edi
movzx eax, byte [rbx - 2]
shl eax, 0x10
or esi, eax
mov dword [rsp + 0xe8], edi
movzx eax, byte [rbx - 1]
and byte [r14], 0xdf
and byte [r15], 0xbf
or byte [r14], 0x40
or byte [r15], 0x20
shl eax, 0x18
or esi, eax
mov dword [rsp + 0xe4], esi
mov dword [rsp + 0xec], esi
call fcn.1401072b0
lea rdx, [rsp + 0x20]
mov rcx, r14
call fcn.140106c50
mov r8d, 1
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0xe8]
call fcn.1401039a0
mov rcx, r15
call fcn.1401072b0
lea rdx, [rsp + 0x20]
mov rcx, r15
call fcn.140106c50
mov r8d, 1
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0xe0]
call fcn.1401039a0
mov r8d, dword [rsp + 0xe0]
mov edx, dword [rsp + 0xe4]
xor r8d, edi
xor edi, dword [rsp + 0xe8]
xor edx, esi
xor esi, dword [rsp + 0xec]
mov eax, edi
mov byte [r14], dil
shr eax, 8
mov byte [r14 + 1], al
mov eax, edi
shr eax, 0x10
mov byte [r14 + 2], al
mov eax, edx
shr eax, 8
shr edi, 0x18
mov byte [r14 + 3], dil
mov byte [r14 + 4], dl
mov byte [r14 + 5], al
mov eax, edx
shr eax, 0x10
mov byte [r14 + 6], al
mov eax, r8d
shr eax, 8
shr edx, 0x18
mov byte [r14 + 7], dl
mov byte [r15], r8b
mov byte [r15 + 1], al
mov eax, r8d
shr eax, 0x10
mov byte [r15 + 2], al
shr r8d, 0x18
mov byte [r15 + 3], r8b
mov byte [r15 + 4], sil
mov eax, esi
shr eax, 8
mov byte [r15 + 5], al
mov eax, esi
shr eax, 0x10
shr esi, 0x18
mov byte [r15 + 6], al
mov byte [r15 + 7], sil
sub rbp, 1
jne 0x140120f50
mov r15, qword [rsp + 0xa0]
mov r14, qword [rsp + 0xa8]
mov rdi, qword [rsp + 0xb0]
mov rsi, qword [rsp + 0xb8]
mov rbp, qword [rsp + 0xd0]
add rsp, 0xc0
pop rbx
ret
Function at 0x14012b0d0
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x18], r8
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
push rbx
push rbp
push rsi
push rdi
push r13
push r14
sub rsp, 0x68
mov ebp, dword [rsp + 0xc0]
mov r13, rcx
mov ecx, ebp
movsxd r14, edx
mov ebx, 1
mov edx, r14d
shl ebx, cl
mov esi, r9d
mov rcx, r13
mov rdi, r8
call fcn.1400c5060
test rax, rax
jne 0x14012b123
add rsp, 0x68
pop r14
pop r13
pop rdi
pop rsi
pop rbp
pop rbx
ret
mov qword [rsp + 0x48], r14
mov r11, r14
cmp ebp, 3
jg 0x14012b195
test r14d, r14d
jle 0x14012b34c
xor r10d, r10d
movsxd rbp, ebx
shl rbp, 3
xor r9d, r9d
xor eax, eax
test ebx, ebx
jle 0x14012b17d
mov r8, rdi
nop
mov edx, eax
lea r8, [r8 + 8]
xor edx, esi
inc eax
lea ecx, [rdx - 1]
not edx
shr edx, 0x1f
shr ecx, 0x1f
and edx, ecx
mov rcx, qword [r8 - 8]
neg edx
and edx, 1
neg rdx
and rdx, rcx
or r9, rdx
cmp eax, ebx
jl 0x14012b150
mov rax, qword [r13]
add rdi, rbp
mov qword [rax + r10*8], r9
inc r10
cmp r10, r14
jl 0x14012b143
jmp 0x14012b34c
lea ecx, [rbp - 2]
mov edx, esi
sar edx, cl
mov r8d, 1
shl r8d, cl
movsxd rbp, r8d
lea ecx, [rdx - 1]
shr ecx, 0x1f
lea eax, [r8 - 1]
and esi, eax
mov eax, edx
not eax
shr eax, 0x1f
and eax, ecx
mov ecx, edx
neg eax
xor ecx, 1
and eax, 1
neg rax
mov qword [rsp + 0x30], rax
lea eax, [rcx - 1]
not ecx
shr ecx, 0x1f
shr eax, 0x1f
and eax, ecx
mov ecx, edx
xor ecx, 2
neg eax
and eax, 1
xor edx, 3
neg rax
mov qword [rsp + 0x38], rax
lea eax, [rcx - 1]
not ecx
shr ecx, 0x1f
shr eax, 0x1f
and eax, ecx
lea ecx, [rdx - 1]
shr ecx, 0x1f
neg eax
and eax, 1
not edx
shr edx, 0x1f
neg rax
and ecx, edx
mov qword [rsp + 0x40], rax
neg ecx
and ecx, 1
neg rcx
mov qword [rsp + 0x28], rcx
test r14d, r14d
jle 0x14012b34c
mov qword [rsp + 0xb8], r12
mov qword [rsp + 0x60], r15
xor r15d, r15d
movsxd rax, ebx
shl rax, 3
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x20], r15
nop
xor ebx, ebx
xor r10d, r10d
test rbp, rbp
jle 0x14012b30e
mov r13, qword [rsp + 0x30]
mov rax, rbp
mov r15, qword [rsp + 0x38]
neg rax
mov r9, rbp
mov r11, rbp
shl r9, 4
neg r11
add r9, rdi
mov r14, rbp
mov rdi, qword [rsp + 0x40]
lea r12, [rax*8]
add r11, r11
mov rax, qword [r9 + rbp*8]
lea r9, [r9 + 8]
and rax, rcx
mov r8d, r10d
mov rcx, qword [r9 - 8]
xor r8d, esi
mov rdx, qword [r12 + r9 - 8]
and rcx, rdi
or rcx, rax
and rdx, r15
mov rax, qword [r9 + r11*8 - 8]
or rdx, rcx
lea ecx, [r8 - 1]
and rax, r13
shr ecx, 0x1f
or rax, rdx
not r8d
inc r10d
shr r8d, 0x1f
and ecx, r8d
neg ecx
and ecx, 1
neg rcx
and rcx, rax
or rbx, rcx
mov rcx, qword [rsp + 0x28]
sub r14, 1
jne 0x14012b291
mov rdi, qword [rsp + 0xb0]
mov r15, qword [rsp + 0x20]
mov r13, qword [rsp + 0xa0]
mov r11, qword [rsp + 0x48]
mov rax, qword [rsp + 0x50]
mov rcx, qword [r13]
add rdi, rax
mov qword [rsp + 0xb0], rdi
mov qword [rcx + r15*8], rbx
inc r15
mov rcx, qword [rsp + 0x28]
mov qword [rsp + 0x20], r15
cmp r15, r11
jl 0x14012b250
mov r14d, dword [rsp + 0xa8]
mov r15, qword [rsp + 0x60]
mov r12, qword [rsp + 0xb8]
mov dword [r13 + 8], r14d
mov eax, 1
add rsp, 0x68
pop r14
pop r13
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x14012e3f0
Capabilities:
Check for software breakpoints

Disassembly:
sub rsp, 0x38
mov r11, rcx
cmp dword [rsp + 0x60], r9d
jne 0x14012e4d4
movzx r10d, byte [r8]
lea eax, [r10 - 0x6a]
cmp al, 1
ja 0x14012e4d4
mov qword [rsp + 0x30], rbx
lea rdx, [r8 + 1]
cmp r10b, 0x6b
jne 0x14012e483
lea ebx, [r9 - 3]
xor eax, eax
test ebx, ebx
jle 0x14012e446
nop dword [rax + rax]
movzx ecx, byte [rdx]
inc rdx
cmp cl, 0xba
je 0x14012e446
cmp cl, 0xbb
jne 0x14012e479
inc eax
cmp eax, ebx
jl 0x14012e430
sub ebx, eax
test eax, eax
jne 0x14012e487
mov dword [rsp + 0x20], 0x50
mov edx, 0x80
lea r9, str.c:_cygwin_home_shachar_zon_new_pkg_lib_openssl_crypto_rsa_rsa_x931.c
lea ecx, [rdx - 0x7c]
lea r8d, [rdx + 0xa]
call fcn.14006b9e0
mov rbx, qword [rsp + 0x30]
or eax, 0xffffffff
add rsp, 0x38
ret
mov dword [rsp + 0x20], 0x48
jmp 0x14012e454
lea ebx, [r9 - 2]
movsxd rax, ebx
cmp byte [rax + rdx], 0xcc
je 0x14012e4bd
mov edx, 0x80
mov dword [rsp + 0x20], 0x59
lea r9, str.c:_cygwin_home_shachar_zon_new_pkg_lib_openssl_crypto_rsa_rsa_x931.c
lea ecx, [rdx - 0x7c]
lea r8d, [rdx + 0xb]
call fcn.14006b9e0
mov rbx, qword [rsp + 0x30]
or eax, 0xffffffff
add rsp, 0x38
ret
mov r8d, ebx
mov rcx, r11
call fcn.1401757c0
mov eax, ebx
mov rbx, qword [rsp + 0x30]
add rsp, 0x38
ret
mov edx, 0x80
mov dword [rsp + 0x20], 0x3d
lea r9, str.c:_cygwin_home_shachar_zon_new_pkg_lib_openssl_crypto_rsa_rsa_x931.c
lea ecx, [rdx - 0x7c]
lea r8d, [rdx + 9]
call fcn.14006b9e0
or eax, 0xffffffff
add rsp, 0x38
ret
Function at 0x14013a5f0
Capabilities:
Encrypt data using curve25519

Disassembly:
push rbx
sub rsp, 0x180
mov rax, rdx
lea r8, [rsp + 0x50]
mov rbx, rcx
mov edx, 0x20
mov rcx, rax
call fcn.140102790
movzx eax, byte [rsp + 0x6f]
lea rdx, [rsp + 0x50]
and byte [rsp + 0x50], 0xf8
lea rcx, [rsp + 0xe0]
and al, 0x3f
or al, 0x40
mov byte [rsp + 0x6f], al
call fcn.14013e5a0
lea rdx, [rsp + 0x130]
lea rcx, [rsp + 0x20]
call fcn.14013b0b0
lea r8, [rsp + 0x20]
lea rdx, [rsp + 0xe0]
lea rcx, [rsp + 0xb8]
call fcn.14013b330
lea r8, [rsp + 0x20]
lea rdx, [rsp + 0x108]
lea rcx, [rsp + 0x90]
call fcn.14013b330
lea rdx, [rsp + 0x90]
mov rcx, rbx
call fcn.14013cc00
lea rdx, [rsp + 0xb8]
lea rcx, [rsp + 0x20]
call fcn.14013cc00
movzx eax, byte [rsp + 0x20]
lea rcx, [rsp + 0x50]
shl al, 7
mov edx, 0x40
xor byte [rbx + 0x1f], al
call fcn.14006bdc0
add rsp, 0x180
pop rbx
ret

Function at 0x14013a6c0
Capabilities:
Encrypt data using curve25519

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
mov qword [rsp + 0x20], r14
push rbp
lea rbp, [rsp - 0x1e0]
sub rsp, 0x2e0
mov r14, rcx
mov rbx, r9
lea rcx, [rbp - 0x30]
mov rdi, r8
mov rsi, rdx
call fcn.140103060
mov rdx, qword [rbp + 0x210]
lea rcx, [rbp - 0x30]
mov r8d, 0x20
call fcn.140103100
lea rdx, [rbp - 0x30]
lea rcx, [rsp + 0x50]
call fcn.140102880
movzx eax, byte [rsp + 0x6f]
lea rcx, [rbp - 0x30]
and byte [rsp + 0x50], 0xf8
and al, 0x3f
or al, 0x40
mov byte [rsp + 0x6f], al
call fcn.140103060
mov r8d, 0x20
lea rdx, [rsp + 0x70]
lea rcx, [rbp - 0x30]
call fcn.140103100
mov r8, rdi
lea rcx, [rbp - 0x30]
mov rdx, rsi
call fcn.140103100
lea rdx, [rbp - 0x30]
lea rcx, [rbp - 0x70]
call fcn.140102880
lea rcx, [rbp - 0x70]
call fcn.140141110
lea rdx, [rbp - 0x70]
lea rcx, [rbp + 0x140]
call fcn.14013e5a0
lea rdx, [rbp + 0x190]
lea rcx, [rsp + 0x20]
call fcn.14013b0b0
lea r8, [rsp + 0x20]
lea rdx, [rbp + 0x140]
lea rcx, [rbp + 0xd8]
call fcn.14013b330
lea r8, [rsp + 0x20]
lea rdx, [rbp + 0x168]
lea rcx, [rbp + 0xb0]
call fcn.14013b330
lea rdx, [rbp + 0xb0]
mov rcx, r14
call fcn.14013cc00
lea rdx, [rbp + 0xd8]
lea rcx, [rsp + 0x20]
call fcn.14013cc00
movzx eax, byte [rsp + 0x20]
lea rcx, [rbp - 0x30]
shl al, 7
xor byte [r14 + 0x1f], al
call fcn.140103060
mov r8d, 0x20
lea rcx, [rbp - 0x30]
mov rdx, r14
call fcn.140103100
mov r8d, 0x20
lea rcx, [rbp - 0x30]
mov rdx, rbx
call fcn.140103100
mov r8, rdi
lea rcx, [rbp - 0x30]
mov rdx, rsi
call fcn.140103100
lea rdx, [rbp - 0x30]
lea rcx, [rbp + 0x100]
call fcn.140102880
lea rcx, [rbp + 0x100]
call fcn.140141110
lea rcx, [r14 + 0x20]
lea r9, [rbp - 0x70]
lea r8, [rsp + 0x50]
lea rdx, [rbp + 0x100]
call fcn.14013f090
mov edx, 0xd8
lea rcx, [rbp - 0x30]
call fcn.14006bdc0
mov edx, 0x40
lea rcx, [rbp - 0x70]
call fcn.14006bdc0
mov edx, 0x40
lea rcx, [rsp + 0x50]
call fcn.14006bdc0
lea r11, [rsp + 0x2e0]
mov eax, 1
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov r14, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret
Function at 0x14013aad0
Capabilities:
Encrypt data using curve25519

Disassembly:
mov qword [rsp + 8], rbx
push rbp
lea rbp, [rsp - 0x60]
sub rsp, 0x160
movups xmm2, xmmword [rdx]
mov rbx, rcx
lea rcx, [rbp - 0x70]
movups xmm0, xmmword [rdx + 0x10]
lea rdx, [rsp + 0x70]
movd eax, xmm2
movups xmmword [rbp - 0x80], xmm0
and al, 0xf8
psrldq xmm0, 8
movups xmmword [rsp + 0x70], xmm2
mov byte [rsp + 0x70], al
movq rax, xmm0
shr rax, 0x38
and al, 0x3f
or al, 0x40
mov byte [rbp - 0x71], al
call fcn.14013e5a0
mov ecx, dword [rbp - 0x48]
mov edx, dword [rbp - 0x20]
lea eax, [rcx + rdx]
sub edx, ecx
mov ecx, dword [rbp - 0x44]
mov dword [rsp + 0x48], edx
mov edx, dword [rbp - 0x1c]
mov dword [rsp + 0x20], eax
lea eax, [rcx + rdx]
sub edx, ecx
mov ecx, dword [rbp - 0x40]
mov dword [rsp + 0x4c], edx
mov edx, dword [rbp - 0x18]
mov dword [rsp + 0x24], eax
lea eax, [rcx + rdx]
sub edx, ecx
mov ecx, dword [rbp - 0x3c]
mov dword [rsp + 0x50], edx
mov edx, dword [rbp - 0x14]
mov dword [rsp + 0x28], eax
lea eax, [rcx + rdx]
sub edx, ecx
mov ecx, dword [rbp - 0x38]
mov dword [rsp + 0x54], edx
mov edx, dword [rbp - 0x10]
mov dword [rsp + 0x2c], eax
lea eax, [rcx + rdx]
sub edx, ecx
mov ecx, dword [rbp - 0x34]
mov dword [rsp + 0x58], edx
mov edx, dword [rbp - 0xc]
mov dword [rsp + 0x30], eax
lea eax, [rcx + rdx]
sub edx, ecx
mov ecx, dword [rbp - 0x30]
mov dword [rsp + 0x5c], edx
mov edx, dword [rbp - 8]
mov dword [rsp + 0x34], eax
lea eax, [rcx + rdx]
sub edx, ecx
mov ecx, dword [rbp - 0x2c]
mov dword [rsp + 0x60], edx
mov edx, dword [rbp - 4]
mov dword [rsp + 0x38], eax
lea eax, [rcx + rdx]
sub edx, ecx
mov ecx, dword [rbp - 0x28]
mov dword [rsp + 0x64], edx
mov edx, dword [rbp]
mov dword [rsp + 0x3c], eax
lea eax, [rcx + rdx]
sub edx, ecx
mov ecx, dword [rbp - 0x24]
mov dword [rsp + 0x68], edx
mov edx, dword [rbp + 4]
mov dword [rsp + 0x40], eax
lea eax, [rcx + rdx]
sub edx, ecx
mov dword [rsp + 0x6c], edx
lea rcx, [rbp + 0x30]
lea rdx, [rsp + 0x48]
mov dword [rsp + 0x44], eax
call fcn.14013b0b0
lea r8, [rbp + 0x30]
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x20]
call fcn.14013b330
lea rdx, [rsp + 0x20]
mov rcx, rbx
call fcn.14013cc00
mov edx, 0x20
lea rcx, [rsp + 0x70]
call fcn.14006bdc0
mov rbx, qword [rsp + 0x170]
add rsp, 0x160
pop rbp
ret
Function at 0x1401446d0
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rcx
push rbx
push rbp
push rsi
push r14
sub rsp, 0x28
mov qword [rsp + 0x58], rdi
mov rsi, rdx
mov rdi, qword [rsp + 0x78]
mov r14, r9
mov qword [rsp + 0x68], r13
mov rbx, rcx
shl rsi, 5
mov r13, r8
mov qword [rsp + 0x20], r15
mov r15, rdx
mov r10, rcx
test rsi, rsi
je 0x140144748
mov r9, rsi
movzx eax, byte [r10]
lea r10, [r10 + 4]
mov dword [rdi], eax
movzx ecx, byte [r10 - 3]
shl ecx, 8
or ecx, eax
mov dword [rdi], ecx
movzx edx, byte [r10 - 2]
shl edx, 0x10
or edx, ecx
mov dword [rdi], edx
movzx eax, byte [r10 - 1]
shl eax, 0x18
or eax, edx
mov dword [rdi], eax
add rdi, 4
sub r9, 1
jne 0x140144710
mov qword [rsp + 0x60], r12
cmp r13, 1
jbe 0x14014477a
mov rbp, r15
lea r12, [r8 - 1]
shl rbp, 7
nop
mov rdx, rdi
mov r8, r15
sub rdx, rbp
mov rcx, rdi
call fcn.140144270
add rdi, rbp
sub r12, 1
jne 0x140144760
mov rdx, r13
mov r8, r15
shl rdx, 7
mov rcx, r14
add rdx, 0xffffffffffffff80
imul rdx, r15
add rdx, qword [rsp + 0x78]
call fcn.140144270
xor ebp, ebp
test r13, r13
je 0x1401448e4
mov rdi, qword [rsp + 0x70]
mov rbx, r15
shl rbx, 7
mov r12, r13
nop dword [rax]
nop word [rax + rax]
mov eax, dword [rbx + r14 - 0x40]
xor edx, edx
div r13
mov r10, rbp
mov eax, edx
imul rax, r15
shl rax, 7
add rax, qword [rsp + 0x78]
test rsi, rsi
je 0x1401448c7
cmp rsi, 0x10
jb 0x140144890
lea rcx, [rsi - 1]
lea rcx, [rax + rcx*4]
lea rdx, [rdi - 4]
lea rdx, [rdx + rsi*4]
cmp rdi, rcx
ja 0x14014480d
cmp rdx, rax
jae 0x140144890
lea rcx, [r14 - 4]
lea rcx, [rcx + rsi*4]
cmp rdi, rcx
ja 0x14014481f
cmp rdx, r14
jae 0x140144890
mov rcx, r14
lea rdx, [rdi + 0x10]
sub rcx, rdi
nop dword [rax]
movdqu xmm0, xmmword [rax]
add r10, 0x10
movdqu xmm1, xmmword [rcx + rdx - 0x10]
lea rdx, [rdx + 0x40]
pxor xmm1, xmm0
movdqu xmm0, xmmword [rax + 0x10]
movdqu xmmword [rdx - 0x50], xmm1
movdqu xmm1, xmmword [rcx + rdx - 0x40]
pxor xmm1, xmm0
movdqu xmm0, xmmword [rax + 0x20]
movdqu xmmword [rdx - 0x40], xmm1
movdqu xmm1, xmmword [rcx + rdx - 0x30]
pxor xmm1, xmm0
movdqu xmm0, xmmword [rax + 0x30]
add rax, 0x40
movdqu xmmword [rdx - 0x30], xmm1
movdqu xmm1, xmmword [rcx + rdx - 0x20]
pxor xmm1, xmm0
movdqu xmmword [rdx - 0x20], xmm1
cmp r10, rsi
jb 0x140144830
cmp r10, rsi
jae 0x1401448c7
mov r9, r14
lea rdx, [rdi + r10*4]
sub r9, rdi
mov r8, rsi
sub r8, r10
nop word [rax + rax]
mov ecx, dword [r9 + rdx]
lea rdx, [rdx + 4]
xor ecx, dword [rax]
lea rax, [rax + 4]
mov dword [rdx - 4], ecx
sub r8, 1
jne 0x1401448b0
mov r8, r15
mov rdx, rdi
mov rcx, r14
call fcn.140144270
sub r12, 1
jne 0x1401447c0
mov rbx, qword [rsp + 0x50]
mov r15, qword [rsp + 0x20]
mov r13, qword [rsp + 0x68]
mov r12, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x58]
test rsi, rsi
je 0x140144928
nop dword [rax]
mov ecx, dword [r14 + rbp*4]
mov eax, ecx
mov byte [rbx], cl
lea rbx, [rbx + 4]
shr eax, 8
inc rbp
mov byte [rbx - 3], al
mov eax, ecx
shr eax, 0x10
shr ecx, 0x18
mov byte [rbx - 2], al
mov byte [rbx - 1], cl
cmp rbp, rsi
jb 0x140144900
add rsp, 0x28
pop r14
pop rsi
pop rbp
pop rbx
ret
Function at 0x140144d10
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
add qword [rcx], r8
mov r14, rcx
mov rsi, qword [rcx + 8]
mov r15, r8
mov rdi, qword [rcx + 0x10]
mov r13, rdx
mov rbp, qword [rcx + 0x18]
mov rbx, qword [rcx + 0x20]
mov ecx, dword [rcx + 0x28]
test ecx, ecx
je 0x140144e29
mov r12d, 8
mov eax, ecx
sub r12d, ecx
lea rcx, [r14 + 0x38]
add rcx, rax
cmp r8, r12
jae 0x140144d78
call fcn.1401757c0
add dword [r14 + 0x28], r15d
jmp 0x140144f22
mov r8, r12
call fcn.1401757c0
movzx eax, byte [r14 + 0x3e]
sub r15, r12
movzx ecx, byte [r14 + 0x3f]
add r13, r12
shl rcx, 8
or rcx, rax
movzx eax, byte [r14 + 0x3d]
shl rcx, 8
or rcx, rax
movzx eax, byte [r14 + 0x3c]
shl rcx, 8
or rcx, rax
movzx eax, byte [r14 + 0x3b]
shl rcx, 8
or rcx, rax
movzx eax, byte [r14 + 0x3a]
shl rcx, 8
or rcx, rax
movzx eax, byte [r14 + 0x39]
shl rcx, 8
or rcx, rax
movzx eax, byte [r14 + 0x38]
shl rcx, 8
or rcx, rax
mov eax, dword [r14 + 0x30]
xor rbx, rcx
test eax, eax
jle 0x140144e26
nop word [rax + rax]
add rsi, rdi
add rbp, rbx
rol rdi, 0xd
xor rdi, rsi
rol rbx, 0x10
xor rbx, rbp
rol rsi, 0x20
add rbp, rdi
add rsi, rbx
rol rdi, 0x11
rol rbx, 0x15
xor rdi, rbp
xor rbx, rsi
rol rbp, 0x20
sub rax, 1
jne 0x140144df0
xor rsi, rcx
mov r12d, r15d
mov rdx, r13
and r12d, 7
sub rdx, r12
add rdx, r15
cmp r13, rdx
je 0x140144efd
mov r9d, dword [r14 + 0x30]
lea r8, [r13 + 6]
nop word [rax + rax]
movzx eax, byte [r8]
movzx ecx, byte [r8 + 1]
shl rcx, 8
or rcx, rax
movzx eax, byte [r8 - 1]
shl rcx, 8
or rcx, rax
movzx eax, byte [r8 - 2]
shl rcx, 8
or rcx, rax
movzx eax, byte [r8 - 3]
shl rcx, 8
or rcx, rax
movzx eax, byte [r8 - 4]
shl rcx, 8
or rcx, rax
movzx eax, byte [r8 - 5]
shl rcx, 8
or rcx, rax
movzx eax, byte [r8 - 6]
shl rcx, 8
or rcx, rax
xor rbx, rcx
test r9d, r9d
jle 0x140144ee9
mov rax, r9
add rsi, rdi
add rbp, rbx
rol rdi, 0xd
xor rdi, rsi
rol rbx, 0x10
xor rbx, rbp
rol rsi, 0x20
add rbp, rdi
add rsi, rbx
rol rdi, 0x11
rol rbx, 0x15
xor rdi, rbp
xor rbx, rsi
rol rbp, 0x20
sub rax, 1
jne 0x140144eb3
add r8, 8
xor rsi, rcx
lea rax, [r8 - 6]
cmp rax, rdx
jne 0x140144e50
test r12d, r12d
je 0x140144f0e
lea rcx, [r14 + 0x38]
mov r8, r12
call fcn.1401757c0
mov dword [r14 + 0x28], r12d
mov qword [r14 + 8], rsi
mov qword [r14 + 0x10], rdi
mov qword [r14 + 0x18], rbp
mov qword [r14 + 0x20], rbx
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
add rsp, 0x20
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
Function at 0x1401664d0
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov r9d, dword [rdx + 8]
mov rsi, rdx
cmp r9d, dword [r8 + 8]
mov rbx, r8
mov rdi, rcx
cmovge rbx, rdx
cmovge rsi, r8
mov edx, dword [rbx + 8]
call fcn.1400c5060
test rax, rax
jne 0x140166515
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
xor eax, eax
cmp dword [rsi + 8], eax
jle 0x140166543
mov r9d, eax
nop
mov rcx, qword [rbx]
lea r9, [r9 + 8]
mov rdx, qword [rsi]
inc eax
mov r8, qword [r9 + rdx - 8]
xor r8, qword [r9 + rcx - 8]
mov rcx, qword [rdi]
mov qword [r9 + rcx - 8], r8
cmp eax, dword [rsi + 8]
jl 0x140166520
mov ecx, dword [rbx + 8]
cmp eax, ecx
jge 0x14016657d
movsxd rcx, eax
lea r8, [rcx*8]
nop word [rax + rax]
mov rcx, qword [rbx]
lea r8, [r8 + 8]
mov rdx, qword [rdi]
inc eax
mov rcx, qword [r8 + rcx - 8]
mov qword [r8 + rdx - 8], rcx
mov ecx, dword [rbx + 8]
cmp eax, ecx
jl 0x140166560
mov dword [rdi + 8], ecx
mov rcx, rdi
call fcn.1400c4ed0
mov rbx, qword [rsp + 0x30]
mov eax, 1
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
Function at 0x14016e500
Capabilities:
Encode data using xor

Disassembly:
mov rax, rcx
neg rax
and eax, 7
dec rax
cmp rax, 7
ja case.default.0x14016e528
lea r8, [0x140000000]
mov eax, dword [r8 + rax*4 + 0x16e66c]
add rax, r8
jmp rax
movzx eax, byte [rcx]
cmp al, dl
je 0x14016e668
test al, al
je 0x14016e668
inc rcx
movzx eax, byte [rcx]
cmp al, dl
je 0x14016e668
test al, al
je 0x14016e668
inc rcx
movzx eax, byte [rcx]
cmp al, dl
je 0x14016e668
test al, al
je 0x14016e668
inc rcx
movzx eax, byte [rcx]
cmp al, dl
je 0x14016e668
test al, al
je 0x14016e668
inc rcx
movzx eax, byte [rcx]
cmp al, dl
je 0x14016e668
test al, al
je 0x14016e668
inc rcx
movzx eax, byte [rcx]
cmp al, dl
je 0x14016e668
test al, al
je 0x14016e668
inc rcx
movzx eax, byte [rcx]
cmp al, dl
je 0x14016e668
test al, al
je 0x14016e668
inc rcx
movzx eax, byte [rcx]
cmp al, dl
je 0x14016e668
test al, al
je 0x14016e668
inc rcx
movzx r9d, dl
movabs rax, 0x101010101010101
mov rdx, qword [rcx]
movabs r10, 0xfefefefefefefeff
imul r9, rax
mov rax, rdx
movabs r11, 0x8080808080808080
xor rax, r9
lea r8, [rax + r10]
not rax
and r8, rax
lea rax, [rdx + r10]
not rdx
and rax, rdx
or r8, rax
and r8, r11
jne 0x14016e65a
nop word [rax + rax]
mov rdx, qword [rcx + 8]
add rcx, 8
mov rax, rdx
xor rax, r9
lea r8, [rax + r10]
not rax
and r8, rax
lea rax, [rdx + r10]
not rdx
and rax, rdx
or r8, rax
and r8, r11
je 0x14016e630
bsf rax, r8
cdqe
sar rax, 3
add rax, rcx
ret
mov rax, rcx
ret

Function at 0x140170200
Capabilities:
Validate payment card number using luhn algorithm

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r14
mov rbx, qword [rcx]
mov edi, r9d
mov ebp, r8d
mov r14, rdx
mov rsi, rcx
mov r11d, r9d
movzx eax, byte [rbx]
lea r10d, [rax - 0x30]
cmp r10b, 9
ja 0x140170298
xor r9d, r9d
nop dword [rax + rax]
movzx ecx, al
lea r8d, [r9 - 0x30]
add r8d, ecx
mov eax, 0x66666667
imul r11d
inc rbx
lea r9d, [r8 + r8*4]
mov r11d, edx
mov qword [rsi], rbx
sar r11d, 2
add r9d, r9d
mov eax, r11d
shr eax, 0x1f
add r11d, eax
cmp r9d, edi
jg 0x140170284
test r11d, r11d
je 0x140170284
movzx eax, byte [rbx]
cmp al, 0x30
jb 0x140170284
cmp al, 0x39
jbe 0x140170240
cmp r8d, ebp
jl 0x140170298
cmp r8d, edi
jg 0x140170298
mov dword [r14], r8d
mov eax, 1
jmp 0x14017029a
xor eax, eax
mov rbx, qword [rsp + 0x10]
mov rbp, qword [rsp + 0x18]
mov rsi, qword [rsp + 0x20]
mov rdi, qword [rsp + 0x28]
pop r14
ret