joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400db840
Capabilities:
Resolve dns

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
push r12
push r13
push r14
push r15
mov eax, 0x870
call fcn.1402632b0
sub rsp, rax
mov rax, qword [0x140381300]
xor rax, rsp
mov qword [rsp + 0x860], rax
mov r13, qword [rsp + 0x8c8]
mov r14, rcx
mov dword [rsp + 0x24], r8d
xor ebp, ebp
mov dword [rsp + 0x28], edx
mov r8d, 0x401
mov qword [rsp + 0x38], rcx
xor edx, edx
lea rcx, [rsp + 0x40]
mov word [rsp + 0x20], r9w
mov r12d, ebp
call fcn.1402997a0
xor edx, edx
lea rcx, [rsp + 0x450]
mov r8d, 0x401
call fcn.1402997a0
mov r9d, 0x400
lea rbx, [rsp + 0x40]
mov r8, r14
mov qword [rsp + 0x30], rbx
lea rcx, [rsp + 0x40]
lea rdi, [rsp + 0x450]
lea edx, [r9 + 1]
call fcn.14027298c
lea r15, [rbp - 1]
nop
mov rcx, r14
mov qword [r13], rbp
mov rsi, r13
mov byte [rdi], bpl
call qword [sym.imp.WS2_32.dll_gethostbyname]
mov r14, rax
test rax, rax
je 0x1400dba3e
cmp word [rax + 0x10], 2
jne 0x1400db967
cmp word [rax + 0x12], 4
jne 0x1400db967
mov rbx, qword [rax + 0x18]
mov rax, qword [rbx]
test rax, rax
je 0x1400db962
nop dword [rax]
mov r9d, dword [rax]
movzx r8d, word [rsp + 0x20]
mov edx, dword [rsp + 0x24]
mov ecx, dword [rsp + 0x28]
call fcn.1400dbaa0
mov qword [rsi], rax
test rax, rax
je 0x1400dba37
add rbx, 8
lea rsi, [rax + 0x28]
mov rax, qword [rbx]
test rax, rax
jne 0x1400db930
mov rbx, qword [rsp + 0x30]
mov r8, qword [r14]
mov r9d, 0x400
mov rcx, rdi
lea edx, [r9 + 1]
call fcn.14027298c
cmp qword [r13], rbp
jne 0x1400db9e0
mov rax, r15
inc rax
cmp byte [rdi + rax], bpl
jne 0x1400db985
test rax, rax
je 0x1400dba58
mov r8, rdi
mov rax, rbx
sub r8, rbx
movzx edx, byte [rax]
movzx ecx, byte [rax + r8]
sub edx, ecx
jne 0x1400db9b3
inc rax
test ecx, ecx
jne 0x1400db9a0
test edx, edx
je 0x1400dba58
inc r12d
cmp r12d, 0x10
je 0x1400dba58
mov r14, qword [rsp + 0x38]
mov rax, rbx
mov rbx, rdi
mov rdi, rax
mov qword [rsp + 0x30], rbx
jmp 0x1400db8f0
cmp dword [rsp + 0x8c0], ebp
je 0x1400dba6b
nop dword [rax]
cmp byte [rdi + r15 + 1], bpl
lea r15, [r15 + 1]
jne 0x1400db9f0
lea rdx, [r15 + 1]
mov ecx, 1
call fcn.140269be8
mov rbx, rax
test rax, rax
jne 0x1400dba16
mov rbx, rbp
jmp 0x1400dba25
mov r8, rdi
lea rdx, [r15 + 1]
mov rcx, rax
call fcn.1402728c0
mov rax, qword [r13]
mov qword [rax + 0x18], rbx
mov rax, qword [r13]
cmp qword [rax + 0x18], rbp
jne 0x1400dba6b
mov ebp, 8
jmp 0x1400dba6b
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov ecx, eax
sub ecx, 0x2af9
je 0x1400dba66
sub ecx, 1
je 0x1400dba5f
sub ecx, 1
jne 0x1400dba66
mov ebp, 0x2afb
jmp 0x1400dba6b
mov ebp, 0x2afa
jmp 0x1400dba6b
mov ebp, 0x2af9
mov eax, ebp
mov rcx, qword [rsp + 0x860]
xor rcx, rsp
call fcn.140262bb0
lea r11, [rsp + 0x870]
mov rbx, qword [r11 + 0x38]
mov rbp, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
Function at 0x1400dbe70
Capabilities:
Query environment variable

Disassembly:
mov eax, 0x28
call fcn.1402632b0
sub rsp, rax
cmp dword [0x140386190], 0
jne 0x1400dbff0
mov qword [rsp + 0x30], rbx
lea r8d, [rax + 8]
mov qword [rsp + 0x38], rbp
lea rcx, str.OPENSSL_ia32cap
mov qword [rsp + 0x40], rsi
mov qword [rsp + 0x48], rdi
lea rdi, [0x140386130]
mov rdx, rdi
mov qword [rsp + 0x20], r14
mov dword [0x140386190], 1
call qword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
dec eax
cmp eax, 0x2e
ja 0x1400dbfb2
movzx ebx, word [0x140386130]
xor ebp, ebp
cmp bx, 0x7e
mov ecx, ebp
mov r14d, 2
cmove ecx, r14d
add rcx, rdi
call fcn.1400dc000
mov rsi, rax
cmp bx, 0x7e
jne 0x1400dbf31
lea rcx, [0x14038af10]
mov rbx, rax
call fcn.140001030
not rsi
movabs rcx, 0xedfff7fdffffffff
and rax, rsi
and ebx, 0x1000000
mov rsi, rax
and rsi, rcx
test rbx, rbx
cmove rsi, rax
jmp 0x1400dbf4a
cmp word [0x140386130], 0x3a
jne 0x1400dbf4a
lea rcx, [0x14038af10]
call fcn.140001030
mov rsi, rax
movzx eax, word [0x140386130]
test ax, ax
je 0x1400dbf68
lea rdi, [rdi + 2]
cmp ax, 0x3a
je 0x1400dbf71
movzx eax, word [rdi]
test ax, ax
jne 0x1400dbf56
mov qword [0x14038af18], rbp
jmp 0x1400dbfc1
movzx ebx, word [rdi]
cmp bx, 0x7e
cmove rbp, r14
lea rcx, [rdi + rbp]
call fcn.1400dc000
mov rcx, rax
shr rcx, 0x20
cmp bx, 0x7e
jne 0x1400dbfa4
not eax
not ecx
and dword [0x14038af18], eax
and dword [0x14038af1c], ecx
jmp 0x1400dbfc1
mov dword [0x14038af18], eax
mov dword [0x14038af1c], ecx
jmp 0x1400dbfc1
lea rcx, [0x14038af10]
call fcn.140001030
mov rsi, rax
mov r14, qword [rsp + 0x20]
mov eax, esi
mov rdi, qword [rsp + 0x48]
bts eax, 0xa
mov rbp, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x30]
shr rsi, 0x20
mov dword [0x14038af14], esi
mov rsi, qword [rsp + 0x40]
mov dword [0x14038af10], eax
add rsp, 0x28
ret

Function at 0x1400dca20
Capabilities:
Encode data using add xor sub operations

Disassembly:
xor eax, eax
mov r10, rcx
test rcx, rcx
je 0x1400dca8c
movzx ecx, byte [rcx]
test cl, cl
je 0x1400dca8c
mov r11d, 0x100
nop word [rax + rax]
movsx r9d, cl
lea r10, [r10 + 1]
or r9d, r11d
mov r8d, eax
mov edx, r9d
mov ecx, 0x20
shr edx, 2
add r11d, 0x100
xor edx, r9d
imul r9d, r9d
and edx, 0xf
sub ecx, edx
shr r8, cl
mov ecx, edx
mov edx, eax
mov eax, r8d
shl edx, cl
movzx ecx, byte [r10]
or eax, edx
xor eax, r9d
test cl, cl
jne 0x1400dca40
mov ecx, eax
shr ecx, 0x10
xor eax, ecx
ret
Function at 0x1400dca90
Capabilities:
Encode data using add xor sub operations

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
mov eax, 0x20
call fcn.1402632b0
sub rsp, rax
xor ebx, ebx
mov rdi, rcx
test rcx, rcx
je 0x1400dcb23
movzx eax, byte [rcx]
test al, al
je 0x1400dcb23
mov qword [rsp + 0x30], rsi
mov esi, 0x100
nop
movsx ecx, al
call fcn.1400dc230
mov r9d, eax
mov edx, ebx
or r9d, esi
lea rdi, [rdi + 1]
mov eax, ebx
mov r8d, r9d
shr r8d, 2
mov ecx, 0x20
xor r8d, r9d
add esi, 0x100
and r8d, 0xf
imul r9d, r9d
sub ecx, r8d
shr rdx, cl
mov ecx, r8d
shl eax, cl
mov ebx, edx
or ebx, eax
movzx eax, byte [rdi]
xor ebx, r9d
test al, al
jne 0x1400dcac0
mov rsi, qword [rsp + 0x30]
mov eax, ebx
shr eax, 0x10
xor eax, ebx
mov rbx, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
mov rbx, qword [rsp + 0x38]
xor eax, eax
add rsp, 0x20
pop rdi
ret

Function at 0x1400df070
Capabilities:
Encode data using xor

Disassembly:
push rbx
movsxd rbx, r9d
mov r10, r8
mov r11, rdx
cmp rdx, r8
je 0x1400df1d2
mov qword [rsp + 0x10], rsi
lea rsi, [rcx - 1]
not rcx
shr rsi, 0x3f
shr rcx, 0x3f
and rsi, rcx
mov ecx, dword [rdx + 8]
xor ecx, dword [r8 + 8]
dec rsi
and ecx, esi
xor dword [rdx + 8], ecx
xor dword [r8 + 8], ecx
mov ecx, dword [rdx + 0x10]
movq xmm4, rsi
xor ecx, dword [r8 + 0x10]
and ecx, esi
punpcklqdq xmm4, xmm4
xor dword [rdx + 0x10], ecx
xor dword [r8 + 0x10], ecx
mov edx, dword [rdx + 0x14]
mov ecx, dword [r8 + 0x14]
xor rcx, rdx
and ecx, 4
and rcx, rsi
mov eax, ecx
xor eax, edx
mov dword [r11 + 0x14], eax
xor dword [r8 + 0x14], ecx
xor ecx, ecx
mov edx, ecx
test r9d, r9d
jle 0x1400df192
cmp ebx, 2
jb 0x1400df192
mov r9, qword [r8]
lea rax, [rbx - 1]
mov r8, qword [r11]
mov qword [rsp + 0x18], rdi
lea rdi, [rbx - 1]
lea rdi, [r9 + rdi*8]
lea rax, [r8 + rax*8]
cmp r9, rax
ja 0x1400df11e
cmp rdi, r8
jae 0x1400df18d
cmp r9, r10
ja 0x1400df128
cmp rdi, r10
jae 0x1400df18d
cmp r9, r11
ja 0x1400df132
cmp rdi, r11
jae 0x1400df18d
cmp r8, r10
ja 0x1400df13c
cmp rax, r10
jae 0x1400df18d
cmp r8, r11
ja 0x1400df146
cmp rax, r11
jae 0x1400df18d
mov eax, ebx
and eax, 0xfffffffe
nop dword [rax + rax]
movdqu xmm2, xmmword [rcx + r9]
add edx, 2
movdqu xmm1, xmmword [rcx + r8]
lea rcx, [rcx + 0x10]
movdqa xmm3, xmm2
pxor xmm3, xmm1
pand xmm3, xmm4
movdqa xmm0, xmm3
pxor xmm3, xmm2
pxor xmm0, xmm1
movdqu xmmword [rcx + r8 - 0x10], xmm0
movdqu xmmword [rcx + r9 - 0x10], xmm3
cmp edx, eax
jl 0x1400df150
mov rdi, qword [rsp + 0x18]
movsxd rax, edx
cmp rax, rbx
jge 0x1400df1cd
nop word [rax + rax]
mov rcx, qword [r11]
mov rdx, qword [rcx + rax*8]
lea r8, [rcx + rax*8]
mov rcx, qword [r10]
mov r9, rdx
xor r9, qword [rcx + rax*8]
and r9, rsi
xor rdx, r9
mov qword [r8], rdx
mov rcx, qword [r10]
xor qword [rcx + rax*8], r9
inc rax
cmp rax, rbx
jl 0x1400df1a0
mov rsi, qword [rsp + 0x10]
pop rbx
ret
Function at 0x1401205d0
Capabilities:
Get thread local storage value

Disassembly:
mov eax, 0x28
call fcn.1402632b0
sub rsp, rax
lea rcx, [0x140386590]
add rsp, 0x28
jmp fcn.1400ab630
Function at 0x14012d320
Capabilities:
Encode data using xor

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
mov eax, 0xe8
call fcn.1402632b0
sub rsp, rax
mov rax, qword [0x140381300]
xor rax, rsp
mov qword [rsp + 0xd0], rax
mov r15, qword [rsp + 0x150]
mov rax, rcx
mov rbx, qword [rsp + 0x158]
mov rdi, r9
mov r12, qword [rsp + 0x178]
mov r13, rdx
mov qword [rsp + 0x40], rcx
xor esi, esi
mov rcx, qword [rsp + 0x168]
mov qword [rsp + 0x48], rcx
mov qword [rsp + 0x38], r8
mov r14d, dword [rcx]
mov rcx, rax
call fcn.140146f30
mov r8d, r14d
mov qword [rsp + 0x30], rax
xor edx, edx
mov rcx, r12
call fcn.140178400
test eax, eax
je 0x14012d58f
mov ebp, dword [rsp + 0x160]
inc r14d
test ebp, ebp
je 0x14012d3d4
mov rcx, qword [rsp + 0x30]
xor r9d, r9d
mov r8, rbx
mov rdx, r15
call fcn.14011d290
test eax, eax
jle 0x14012d592
mov r8, rbx
mov rdx, r15
mov rcx, rdi
call fcn.140299020
mov r8, rbx
lea rcx, [rsp + 0x90]
mov rdx, r15
call fcn.140299020
movsxd rax, ebx
sub rax, 1
js 0x14012d40e
add rax, rdi
add byte [rax], 1
jne 0x14012d40e
dec rax
cmp rax, rdi
jns 0x14012d401
mov rbp, qword [rsp + 0x38]
lea r8, [rsp + 0x50]
mov qword [rsp + 0x28], rsi
xor r9d, r9d
mov rdx, rbx
mov qword [rsp + 0x20], rbp
mov rcx, r15
call fcn.1400a28c0
test eax, eax
je 0x14012d592
mov qword [rsp + 0x28], rsi
lea r8, [rsp + 0x90]
xor r9d, r9d
mov qword [rsp + 0x20], rbp
mov rdx, rbx
mov rcx, rdi
call fcn.1400a28c0
test eax, eax
je 0x14012d592
mov r9d, esi
mov rdx, rsi
test ebx, ebx
jle 0x14012d541
cmp ebx, 0x40
jb 0x14012d50c
mov ecx, ebx
and ecx, 0x8000003f
jge 0x14012d488
dec ecx
or ecx, 0xffffffc0
inc ecx
mov eax, ebx
sub eax, ecx
movsxd rcx, eax
nop
movdqu xmm0, xmmword [rsp + rdx + 0x50]
add r9d, 0x40
movdqu xmm1, xmmword [rsp + rdx + 0x90]
pxor xmm1, xmm0
movdqu xmmword [rsp + rdx + 0x50], xmm1
movdqu xmm0, xmmword [rsp + rdx + 0x60]
movdqu xmm1, xmmword [rsp + rdx + 0xa0]
pxor xmm1, xmm0
movdqu xmmword [rsp + rdx + 0x60], xmm1
movdqu xmm0, xmmword [rsp + rdx + 0x70]
movdqu xmm1, xmmword [rsp + rdx + 0xb0]
pxor xmm1, xmm0
movdqu xmmword [rsp + rdx + 0x70], xmm1
movdqu xmm0, xmmword [rsp + rdx + 0x80]
movdqu xmm1, xmmword [rsp + rdx + 0xc0]
pxor xmm1, xmm0
movdqu xmmword [rsp + rdx + 0x80], xmm1
add rdx, 0x40
cmp rdx, rcx
jl 0x14012d490
cmp r9d, ebx
jge 0x14012d541
lea rcx, [rsp + 0x50]
add rcx, rdx
lea r8, [rsp + 0x90]
lea rax, [rsp + 0x50]
mov edx, ebx
sub r8, rax
sub edx, r9d
nop dword [rax]
movzx eax, byte [r8 + rcx]
xor byte [rcx], al
lea rcx, [rcx + 1]
sub rdx, 1
jne 0x14012d530
or byte [rsp + 0x50], 0x80
lea rcx, [rsp + 0x50]
or byte [rsp + rbx + 0x4f], 1
mov r8, r13
mov edx, ebx
call fcn.1400deca0
test rax, rax
je 0x14012d592
mov rdx, qword [rsp + 0x40]
mov r8, r12
mov rcx, r13
call fcn.140178460
test eax, eax
jg 0x14012d5c0
jne 0x14012d592
mov r8d, r14d
xor edx, edx
mov rcx, r12
mov ebp, 1
call fcn.140178400
test eax, eax
jne 0x14012d3b2
inc r14d
mov rax, qword [rsp + 0x48]
mov dword [rax], r14d
mov eax, esi
mov rcx, qword [rsp + 0xd0]
xor rcx, rsp
call fcn.140262bb0
add rsp, 0xe8
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
mov esi, 1
jmp 0x14012d592
Function at 0x1401398f0
Capabilities:
Encrypt data using curve25519

Disassembly:
push rbx
push rsi
push rdi
mov eax, 0x1a0
call fcn.1402632b0
sub rsp, rax
mov rax, qword [0x140381300]
xor rax, rsp
mov qword [rsp + 0x190], rax
mov rbx, r8
mov rsi, rdx
mov r8, r9
lea rdx, str.SHA512
call fcn.1400a3a20
mov rdi, rax
test rax, rax
je 0x140139973
xor r9d, r9d
mov qword [rsp + 0x28], 0
lea r8, [rsp + 0x150]
mov qword [rsp + 0x20], rax
mov rcx, rbx
lea edx, [r9 + 0x20]
call fcn.1400a28c0
mov rcx, rdi
mov ebx, eax
call fcn.1400a3a70
test ebx, ebx
jne 0x14013997a
lea edx, [rbx + 0x40]
lea rcx, [rsp + 0x150]
call fcn.140001240
xor eax, eax
jmp 0x140139a2e
movzx eax, byte [rsp + 0x16f]
lea rdx, [rsp + 0x150]
and byte [rsp + 0x150], 0xf8
lea rcx, [rsp + 0xb0]
and al, 0x3f
or al, 0x40
mov byte [rsp + 0x16f], al
call fcn.140138c30
lea rdx, [rsp + 0x100]
lea rcx, [rsp + 0x30]
call fcn.140135580
lea r8, [rsp + 0x30]
lea rdx, [rsp + 0xb0]
lea rcx, [rsp + 0x80]
call fcn.140135800
lea r8, [rsp + 0x30]
lea rdx, [rsp + 0xd8]
lea rcx, [rsp + 0x58]
call fcn.140135800
lea rdx, [rsp + 0x58]
mov rcx, rsi
call fcn.140136ea0
lea rcx, [rsp + 0x30]
lea rdx, [rsp + 0x80]
call fcn.140136ea0
movzx eax, byte [rsp + 0x30]
lea rcx, [rsp + 0x150]
shl al, 7
mov edx, 0x40
xor byte [rsi + 0x1f], al
call fcn.140001240
mov eax, 1
mov rcx, qword [rsp + 0x190]
xor rcx, rsp
call fcn.140262bb0
add rsp, 0x1a0
pop rdi
pop rsi
pop rbx
ret
Function at 0x140139a50
Capabilities:
Encrypt data using curve25519

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
mov eax, 0x1a8
call fcn.1402632b0
sub rsp, rax
mov rax, qword [0x140381300]
xor rax, rsp
mov qword [rsp + 0x190], rax
mov r12, qword [rsp + 0x210]
mov r15, r8
mov r8, qword [rsp + 0x220]
mov r14, rdx
mov rsi, rcx
lea rdx, str.SHA512
mov rcx, qword [rsp + 0x218]
mov r13, r9
call fcn.1400a3a20
mov rdi, rax
call fcn.1400a3960
xor ebp, ebp
mov rbx, rax
test rdi, rdi
je 0x140139c5b
test rax, rax
je 0x140139c5b
xor r8d, r8d
mov rdx, rdi
mov rcx, rax
call fcn.1400a2ec0
test eax, eax
je 0x140139c5b
lea r8d, [rbp + 0x20]
mov rdx, r12
mov rcx, rbx
call fcn.1400a2f00
test eax, eax
je 0x140139c5b
lea r8, [rsp + 0x20]
mov rcx, rbx
lea rdx, [rsp + 0xd0]
call fcn.1400a2d20
test eax, eax
je 0x140139c5b
movzx eax, byte [rsp + 0xef]
xor r8d, r8d
and byte [rsp + 0xd0], 0xf8
and al, 0x3f
or al, 0x40
mov rdx, rdi
mov rcx, rbx
mov byte [rsp + 0xef], al
call fcn.1400a2ec0
test eax, eax
je 0x140139c5b
lea r8d, [rbp + 0x20]
mov rcx, rbx
lea rdx, [rsp + 0xf0]
call fcn.1400a2f00
test eax, eax
je 0x140139c5b
mov r8, r15
mov rdx, r14
mov rcx, rbx
call fcn.1400a2f00
test eax, eax
je 0x140139c5b
lea r8, [rsp + 0x20]
mov rcx, rbx
lea rdx, [rsp + 0x110]
call fcn.1400a2d20
test eax, eax
je 0x140139c5b
lea rcx, [rsp + 0x110]
call fcn.14013c1d0
lea rdx, [rsp + 0x110]
lea rcx, [rsp + 0x30]
call fcn.140138c30
lea rdx, [rsp + 0x30]
mov rcx, rsi
call fcn.140138ba0
xor r8d, r8d
mov rdx, rdi
mov rcx, rbx
call fcn.1400a2ec0
test eax, eax
je 0x140139c5b
lea r8d, [rbp + 0x20]
mov rdx, rsi
mov rcx, rbx
call fcn.1400a2f00
test eax, eax
je 0x140139c5b
lea r8d, [rbp + 0x20]
mov rdx, r13
mov rcx, rbx
call fcn.1400a2f00
test eax, eax
je 0x140139c5b
mov r8, r15
mov rdx, r14
mov rcx, rbx
call fcn.1400a2f00
test eax, eax
je 0x140139c5b
lea r8, [rsp + 0x20]
mov rcx, rbx
lea rdx, [rsp + 0x150]
call fcn.1400a2d20
test eax, eax
je 0x140139c5b
lea rcx, [rsp + 0x150]
call fcn.14013c1d0
lea rcx, [rsi + 0x20]
lea r9, [rsp + 0x110]
lea r8, [rsp + 0xd0]
lea rdx, [rsp + 0x150]
call fcn.14013a140
mov ebp, 1
mov edx, 0x40
lea rcx, [rsp + 0x110]
call fcn.140001240
mov edx, 0x40
lea rcx, [rsp + 0xd0]
call fcn.140001240
mov rcx, rdi
call fcn.1400a3a70
mov rcx, rbx
call fcn.1400a38b0
mov eax, ebp
mov rcx, qword [rsp + 0x190]
xor rcx, rsp
call fcn.140262bb0
add rsp, 0x1a8
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x1401440d0
Capabilities:
Check for software breakpoints

Disassembly:
mov eax, 0x28
call fcn.1402632b0
sub rsp, rax
mov r11, rcx
cmp dword [rsp + 0x50], r9d
jne 0x1401441c8
movzx r10d, byte [r8]
lea eax, [r10 - 0x6a]
cmp al, 1
ja 0x1401441c8
mov qword [rsp + 0x20], rbx
lea rdx, [r8 + 1]
cmp r10b, 0x6b
jne 0x140144180
lea ebx, [r9 - 3]
xor eax, eax
test ebx, ebx
jle 0x14014412a
movzx ecx, byte [rdx]
inc rdx
cmp cl, 0xba
je 0x14014412a
cmp cl, 0xbb
jne 0x14014416d
inc eax
cmp eax, ebx
jl 0x140144114
sub ebx, eax
test eax, eax
jne 0x140144184
call fcn.1400b42e0
lea r8, str.RSA_padding_check_X931
mov edx, 0x56
lea rcx, str.crypto_rsa_rsa_x931.c
call fcn.1400b4400
mov edx, 0x8a
xor r8d, r8d
lea ecx, [r8 + 4]
call fcn.1400b4500
mov rbx, qword [rsp + 0x20]
mov eax, 0xffffffff
add rsp, 0x28
ret
call fcn.1400b42e0
lea r8, str.RSA_padding_check_X931
mov edx, 0x4e
jmp 0x140144141
lea ebx, [r9 - 2]
movsxd rax, ebx
cmp byte [rax + rdx], 0xcc
je 0x1401441b1
call fcn.1400b42e0
lea r8, str.RSA_padding_check_X931
mov edx, 0x5f
lea rcx, str.crypto_rsa_rsa_x931.c
call fcn.1400b4400
mov edx, 0x8b
jmp 0x140144152
mov r8d, ebx
mov rcx, r11
call fcn.140299020
mov eax, ebx
mov rbx, qword [rsp + 0x20]
add rsp, 0x28
ret
call fcn.1400b42e0
lea r8, str.RSA_padding_check_X931
mov edx, 0x43
lea rcx, str.crypto_rsa_rsa_x931.c
call fcn.1400b4400
xor r8d, r8d
mov edx, 0x89
lea ecx, [r8 + 4]
call fcn.1400b4500
mov eax, 0xffffffff
add rsp, 0x28
ret
Function at 0x1401700b0
Capabilities:
Encode data using xor

Disassembly:
push rbx
push rbp
push rsi
push r13
push r14
mov eax, 0x40
call fcn.1402632b0
sub rsp, rax
mov rsi, qword [rcx + 0x70]
mov rbx, r8
mov r8d, dword [rsi + 0x70]
lea r13, [rsi + 0x70]
mov qword [rsp + 0x38], r13
mov rbp, r9
mov r14, rdx
test r8d, r8d
je 0x140170136
test r9, r9
je 0x140170112
nop dword [rax]
cmp r8d, 0x40
jae 0x140170112
mov eax, r8d
inc r8d
movzx ecx, byte [rax + rsi + 0x30]
xor cl, byte [rbx]
inc rbx
mov byte [r14], cl
inc r14
sub rbp, 1
jne 0x1401700f0
mov dword [r13], r8d
test rbp, rbp
je 0x140170269
cmp r8d, 0x40
jne 0x140170136
mov dword [r13], 0
add dword [rsi + 0x20], 1
jne 0x140170136
inc dword [rsi + 0x24]
mov ecx, dword [rsi + 0x20]
lea rax, [rsi + 0x20]
mov qword [rsp + 0x80], r12
mov r12d, ebp
and r12d, 0x3f
mov qword [rsp + 0x88], r15
mov r15d, r12d
sub rbp, r15
mov dword [rsp + 0x30], r12d
cmp rbp, 0x40
jb 0x1401701f6
mov qword [rsp + 0x78], rdi
lea r13, [rsi + 0x20]
mov r12d, 0x10000000
mov r15d, ecx
nop dword [rax + rax]
mov rdx, rbp
mov qword [rsp + 0x20], r13
shr rdx, 6
mov r9, rsi
cmp rdx, r12
cmova rdx, r12
mov rdi, rdx
lea eax, [rdx + r15]
xor r15d, r15d
mov ecx, eax
cmp rcx, rdx
cmovae r15d, eax
sub rdi, rcx
cmp rcx, rdx
mov rcx, r14
cmovae rdi, rdx
mov rdx, rbx
shl rdi, 6
mov r8, rdi
call fcn.14006f000
sub rbp, rdi
mov dword [r13], r15d
add rbx, rdi
add r14, rdi
test r15d, r15d
jne 0x1401701da
inc dword [rsi + 0x24]
cmp rbp, 0x40
jae 0x140170180
mov r12d, dword [rsp + 0x30]
lea rax, [rsi + 0x20]
mov r13, qword [rsp + 0x38]
mov r15d, r12d
mov rdi, qword [rsp + 0x78]
test r12d, r12d
je 0x140170259
lea rcx, [rsi + 0x30]
mov qword [rsp + 0x20], rax
xorps xmm0, xmm0
mov r9, rsi
movups xmmword [rcx], xmm0
mov r8d, 0x40
mov rdx, rcx
movups xmmword [rcx + 0x10], xmm0
movups xmmword [rcx + 0x20], xmm0
movups xmmword [rcx + 0x30], xmm0
call fcn.14006f000
test r12d, r12d
je 0x140170255
sub rsi, rbx
sub r14, rbx
nop dword [rax]
nop word [rax + rax]
movzx eax, byte [rsi + rbx + 0x30]
xor al, byte [rbx]
mov byte [r14 + rbx], al
lea rbx, [rbx + 1]
sub r15, 1
jne 0x140170240
mov dword [r13], r12d
mov r12, qword [rsp + 0x80]
mov r15, qword [rsp + 0x88]
mov eax, 1
add rsp, 0x40
pop r14
pop r13
pop rsi
pop rbp
pop rbx
ret
Function at 0x1401731e0
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x20], r9
push rbx
push rbp
push rsi
push rdi
push r13
push r14
push r15
mov eax, 0x40
call fcn.1402632b0
sub rsp, rax
mov rbx, r8
mov r14, rdx
mov r8, qword [rsp + 0xb0]
mov rbp, rcx
mov edi, dword [r8]
mov dword [rsp + 0x30], edi
test edi, edi
je 0x140173245
mov rdx, qword [rsp + 0xa8]
test rbx, rbx
je 0x140173241
mov eax, edi
dec rbx
movzx ecx, byte [rax + rdx]
xor cl, byte [rbp]
inc rbp
mov byte [r14], cl
inc r14
inc edi
and edi, 0xf
jne 0x140173220
mov dword [rsp + 0x30], edi
mov rax, qword [rsp + 0xa0]
mov esi, 1
mov ecx, dword [rax + 0xc]
lea r15, [rax + 0xc]
mov r10, qword [rsp + 0xb8]
mov qword [rsp + 0x80], r12
lea r13d, [rsi + 0xb]
bswap ecx
mov dword [rsp + 0x90], ecx
cmp rbx, 0x10
jb 0x140173353
mov rdi, qword [rsp + 0xa0]
mov eax, 0x10000000
nop dword [rax]
mov rdx, rbx
mov qword [rsp + 0x20], rdi
shr rdx, 4
cmp rdx, rax
cmova rdx, rax
add ecx, edx
mov r12, rdx
mov eax, ecx
sub r12, rax
cmp rax, rdx
cmovae r12, rdx
xor r8d, r8d
cmp rax, rdx
mov rdx, r14
cmovae r8d, ecx
mov rcx, rbp
mov dword [rsp + 0x90], r8d
mov r8, r12
call r10
mov ecx, dword [rsp + 0x90]
mov eax, ecx
bswap eax
mov dword [r15], eax
test ecx, ecx
jne 0x14017330c
mov r8d, r13d
mov eax, esi
mov rdx, r15
nop dword [rax]
movzx ecx, byte [rdx - 1]
lea rdx, [rdx - 1]
add eax, ecx
mov byte [rdx], al
shr eax, 8
add r8d, 0xffffffff
jne 0x1401732f0
mov ecx, dword [rsp + 0x90]
mov r10, qword [rsp + 0xb8]
mov eax, 0x10000000
mov r9, qword [rsp + 0x98]
shl r12, 4
sub rbx, r12
add r14, r12
add rbp, r12
cmp rbx, 0x10
jae 0x140173290
mov edi, dword [rsp + 0x30]
mov r8, qword [rsp + 0xb0]
mov rax, qword [rsp + 0xa0]
mov dword [rsp + 0x90], ecx
test rbx, rbx
je 0x1401733d2
mov r12, qword [rsp + 0xa8]
xorps xmm0, xmm0
mov r8, rsi
mov qword [rsp + 0x20], rax
mov rdx, r12
mov rcx, r12
movups xmmword [r12], xmm0
call r10
mov r8d, dword [rsp + 0x90]
add r8d, esi
bswap r8d
mov dword [r15], r8d
jne 0x1401733b0
nop dword [rax]
movzx eax, byte [r15 - 1]
lea r15, [r15 - 1]
add esi, eax
mov byte [r15], sil
shr esi, 8
add r13d, 0xffffffff
jne 0x140173390
nop word [rax + rax]
mov ecx, edi
inc edi
movzx eax, byte [rcx + rbp]
xor al, byte [rcx + r12]
mov byte [rcx + r14], al
sub rbx, 1
jne 0x1401733b0
mov rax, qword [rsp + 0xb0]
mov dword [rax], edi
jmp 0x1401733d5
mov dword [r8], edi
mov r12, qword [rsp + 0x80]
add rsp, 0x40
pop r15
pop r14
pop r13
pop rdi
pop rsi
pop rbp
pop rbx
ret