joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14010d7f0
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x10], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x30
movzx edi, byte [rcx]
mov rbp, r9
mov r14, qword [rcx + 0x28]
mov r12, r8
mov r15, qword [rcx + 0x30]
mov r13, rdx
mov byte [rsp + 0x70], dil
mov rbx, rcx
test dil, 0x40
jne 0x14010d830
lea rdx, [rcx + 0x10]
mov r8, r15
call r14
xor esi, esi
movzx edi, dil
and edi, 7
mov eax, send
sub eax, edi
mov byte [rbx], dil
mov dword [rsp + 0x88], eax
mov ecx, esi
cmp eax, 0xf
jae 0x14010d877
mov edx, eax
add rdx, rbx
nop word [rax + rax]
movzx eax, byte [rdx]
mov byte [rdx], sil
lea rdx, [rdx + 1]
or rcx, rax
shl rcx, 8
sub rdi, 1
jne 0x14010d860
movzx eax, byte [rbx + 0xf]
or rcx, rax
mov byte [rbx + 0xf], 1
cmp rcx, rbp
je 0x14010d88f
or eax, 0xffffffff
jmp 0x14010d99d
cmp rbp, 0x10
jb 0x14010d90f
mov rsi, rbp
shr rsi, 4
imul rax, rsi, 0xfffffffffffffff0
add rbp, rax
nop dword [rax]
nop word [rax + rax]
mov r8, r15
lea rdx, [rsp + 0x20]
mov rcx, rbx
call r14
mov eax, 8
dec eax
add byte [rax + rbx + 8], 1
jne 0x14010d8d0
test eax, eax
jne 0x14010d8c3
mov rax, qword [r13]
lea rdx, [rbx + 0x10]
xor rax, qword [rsp + 0x20]
lea rcx, [rbx + 0x10]
mov qword [r12], rax
mov r8, r15
xor qword [rbx + 0x10], rax
mov rax, qword [r13 + 8]
xor rax, qword [rsp + 0x28]
mov qword [r12 + 8], rax
xor qword [rbx + 0x18], rax
call r14
add r13, 0x10
add r12, 0x10
sub rsi, 1
jne 0x14010d8b0
test rbp, rbp
je 0x14010d957
mov r8, r15
lea rdx, [rsp + 0x20]
mov rcx, rbx
call r14
test rbp, rbp
je 0x14010d94a
mov rcx, rsi
nop word [rax + rax]
movzx eax, byte [rcx + r13]
inc esi
xor al, byte [rsp + rcx + 0x20]
mov byte [rcx + r12], al
xor byte [rcx + rbx + 0x10], al
mov ecx, esi
cmp rcx, rbp
jb 0x14010d930
lea rcx, [rbx + 0x10]
mov r8, r15
mov rdx, rcx
call r14
mov ecx, dword [rsp + 0x88]
cmp ecx, 0x10
jae 0x14010d974
mov eax, reloc.WS2_32.dll_recv
lea rdi, [rbx + rcx]
sub eax, ecx
mov ecx, eax
xor eax, eax
rep stosb byte [rdi], al
mov r8, r15
lea rdx, [rsp + 0x20]
mov rcx, rbx
call r14
mov rax, qword [rsp + 0x20]
xor qword [rbx + 0x10], rax
mov rax, qword [rsp + 0x28]
xor qword [rbx + 0x18], rax
movzx eax, byte [rsp + 0x70]
mov byte [rbx], al
xor eax, eax
mov rbx, qword [rsp + 0x78]
add rsp, 0x30
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
Function at 0x14010d9c0
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x10], rdx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x40
movzx edi, byte [rcx]
lea rsi, [rcx + 0x10]
mov rax, qword [rcx + 0x28]
mov r14, r9
mov r12, qword [rcx + 0x30]
mov r13, r8
mov byte [rsp + 0x80], dil
mov r10, rdx
mov qword [rsp + 0x98], rax
mov rbx, rcx
test dil, 0x40
jne 0x14010da1a
mov r8, r12
mov rdx, rsi
call rax
mov r10, qword [rsp + 0x88]
xor ebp, ebp
movzx edi, dil
and edi, 7
mov r15d, send
sub r15d, edi
mov byte [rbx], dil
mov ecx, ebp
cmp r15d, 0xf
jae 0x14010da57
mov edx, r15d
add rdx, rbx
nop dword [rax]
movzx eax, byte [rdx]
mov byte [rdx], bpl
lea rdx, [rdx + 1]
or rcx, rax
shl rcx, 8
sub rdi, 1
jne 0x14010da40
movzx eax, byte [rbx + 0xf]
or rcx, rax
mov byte [rbx + 0xf], 1
cmp rcx, r14
je 0x14010da6f
or eax, 0xffffffff
jmp 0x14010db5a
mov rdi, r14
shr rdi, 4
test rdi, rdi
je 0x14010dabb
mov qword [rsp + 0x28], rsi
mov r9, r12
mov r8, rdi
mov qword [rsp + 0x20], rbx
mov rdx, r13
mov rcx, r10
call qword [rsp + 0xa0]
shl rdi, 4
add qword [rsp + 0x88], rdi
add r13, rdi
sub r14, rdi
je 0x14010db13
shr rdi, 4
mov rcx, rbx
mov rdx, rdi
call fcn.14010e240
test r14, r14
je 0x14010db13
mov rdi, qword [rsp + 0x98]
lea rdx, [rsp + 0x30]
mov r8, r12
mov rcx, rbx
call rdi
test r14, r14
je 0x14010db08
mov rdx, qword [rsp + 0x88]
mov rcx, rbp
nop word [rax + rax]
movzx eax, byte [rcx + rdx]
inc ebp
xor al, byte [rsp + rcx + 0x30]
mov byte [rcx + r13], al
xor byte [rcx + rsi], al
mov ecx, ebp
cmp rcx, r14
jb 0x14010daf0
mov r8, r12
mov rdx, rsi
mov rcx, rsi
call rdi
cmp r15d, 0x10
jae 0x14010db2b
mov ecx, reloc.WS2_32.dll_recv
mov edi, r15d
sub ecx, r15d
add rdi, rbx
xor eax, eax
rep stosb byte [rdi], al
mov r8, r12
lea rdx, [rsp + 0x30]
mov rcx, rbx
call qword [rsp + 0x98]
mov rax, qword [rsp + 0x30]
xor qword [rsi], rax
mov rax, qword [rsp + 0x38]
xor qword [rbx + 0x18], rax
movzx eax, byte [rsp + 0x80]
mov byte [rbx], al
xor eax, eax
mov rbx, qword [rsp + 0x90]
add rsp, 0x40
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
Function at 0x14010f930
Capabilities:
Encode data using xor

Disassembly:
sub rsp, 8
mov r10, rcx
xor ecx, ecx
test r8, r8
je 0x14010fa35
cmp r8, 0x40
jb 0x14010fa0c
lea r11, [r9 - 1]
lea rax, [r8 - 1]
add r11, r8
add rax, rdx
cmp r9, rax
ja 0x14010f968
cmp r11, rdx
jae 0x14010fa0c
lea rax, [r8 - 1]
add rax, r10
cmp r9, rax
ja 0x14010f97d
cmp r11, r10
jae 0x14010fa0c
mov qword [rsp + 0x10], rbx
mov qword [rsp], rdi
mov rdi, r8
and rdi, 0xffffffffffffffc0
mov r11, r10
mov rbx, r9
sub r11, rdx
mov rax, rdx
sub rbx, rdx
nop dword [rax]
movdqu xmm0, xmmword [rax]
add rcx, 0x40
movdqu xmm1, xmmword [r11 + rax]
movdqu xmm2, xmmword [r11 + rax + 0x10]
lea rax, [rax + 0x40]
pxor xmm1, xmm0
movdqu xmm0, xmmword [rax - 0x30]
movdqu xmmword [rbx + rax - 0x40], xmm1
pxor xmm2, xmm0
movdqu xmm0, xmmword [rax - 0x20]
movdqu xmm1, xmmword [r11 + rax - 0x20]
movdqu xmmword [rbx + rax - 0x30], xmm2
pxor xmm1, xmm0
movdqu xmm0, xmmword [rax - 0x10]
movdqu xmm2, xmmword [r11 + rax - 0x10]
movdqu xmmword [rbx + rax - 0x20], xmm1
pxor xmm2, xmm0
movdqu xmmword [rbx + rax - 0x10], xmm2
cmp rcx, rdi
jb 0x14010f9a0
mov rdi, qword [rsp]
mov rbx, qword [rsp + 0x10]
cmp rcx, r8
jae 0x14010fa35
sub r10, rdx
lea rax, [rcx + rdx]
sub r9, rdx
sub r8, rcx
nop
movzx ecx, byte [rax + r10]
xor cl, byte [rax]
mov byte [rax + r9], cl
lea rax, [rax + 1]
sub r8, 1
jne 0x14010fa20
add rsp, 8
ret

Function at 0x14010fa40
Capabilities:
Encode data using xor

Disassembly:
push rbx
push rbp
push r14
sub rsp, 0x20
mov r14, qword [rcx + 0x28]
mov rbx, rdx
mov rbp, rcx
cmp rdx, r14
ja 0x14010fa6c
shl rbx, 4
add rbx, qword [rcx + 0x58]
mov rax, rbx
add rsp, 0x20
pop r14
pop rbp
pop rbx
ret
mov rcx, qword [rcx + 0x30]
cmp rbx, rcx
jb 0x14010fab3
sub rdx, rcx
lea r8, str.c:_cygwin_home_shachar_zon_new_pkg_lib_openssl_crypto_modes_ocb128.c
add rdx, 4
mov r9d, WSACleanup
and rdx, 0xfffffffffffffffc
add rdx, rcx
mov rcx, qword [rbp + 0x58]
mov qword [rbp + 0x30], rdx
shl rdx, 4
call fcn.14006c900
test rax, rax
jne 0x14010faaf
add rsp, 0x20
pop r14
pop rbp
pop rbx
ret
mov qword [rbp + 0x58], rax
cmp r14, rbx
jae 0x14010fb28
mov qword [rsp + 0x40], rsi
mov qword [rsp + 0x48], rdi
mov qword [rsp + 0x50], r12
mov r12, rbx
mov qword [rsp + 0x58], r15
mov r15, r14
shl r15, 4
sub r12, r14
mov r14, rbx
nop dword [rax]
mov rcx, qword [rbp + 0x58]
mov edx, 1
add rcx, r15
movzx edi, byte [rcx]
lea rsi, [rcx + 0x10]
shr dil, 7
mov r8, rsi
neg dil
and dil, 0x87
call fcn.14010f780
xor byte [rsi + 0xf], dil
add r15, 0x10
sub r12, 1
jne 0x14010fae0
mov r15, qword [rsp + 0x58]
mov r12, qword [rsp + 0x50]
mov rdi, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x40]
shl rbx, 4
add rbx, qword [rbp + 0x58]
mov rax, rbx
mov qword [rbp + 0x28], r14
add rsp, 0x20
pop r14
pop rbp
pop rbx
ret
Function at 0x140113b60
Capabilities:
Encode data using xor

Disassembly:
cmp dword [rsp + 0x30], 0
je 0x140113b78
lea rax, [0x1401121f0]
mov qword [rsp + 0x30], rax
jmp fcn.14010b270
lea rax, [0x1401113b0]
mov qword [rsp + 0x30], rax
jmp fcn.14010afd0
Function at 0x140115d60
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 0x140115efd
mov r13, qword [rbp + 0x48]
sub r12, rsi
movzx r8d, dl
movzx r9d, r10b
nop
dec r14d
test ebx, ebx
jne 0x140115e9f
mov rdx, r13
lea rcx, [rbp - 8]
call fcn.1401156b0
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 0x140115e40
mov r13, qword [rbp + 0x58]
test r15d, r15d
je 0x140115efd
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 0x140118b50
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 0x140118ced
mov r13, qword [rbp + 0x48]
sub r12, rsi
movzx r8d, dl
movzx r9d, r10b
nop
dec r14d
test ebx, ebx
jne 0x140118c8f
mov rdx, r13
lea rcx, [rbp - 8]
call fcn.1401182f0
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 0x140118c30
mov r13, qword [rbp + 0x58]
test r15d, r15d
je 0x140118ced
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 0x14011fda0
Capabilities:
Encode data using xor

Disassembly:
test r8, r8
je 0x14011ff78
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.140105ab0
lea rdx, [rsp + 0x20]
mov rcx, r14
call fcn.140105450
mov r8d, 1
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0xe8]
call fcn.1401021a0
mov rcx, r15
call fcn.140105ab0
lea rdx, [rsp + 0x20]
mov rcx, r15
call fcn.140105450
mov r8d, 1
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0xe0]
call fcn.1401021a0
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 0x14011fde0
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 0x1401298d0
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.1400c4690
test rax, rax
jne 0x140129923
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 0x140129995
test r14d, r14d
jle 0x140129b4c
xor r10d, r10d
movsxd rbp, ebx
shl rbp, 3
xor r9d, r9d
xor eax, eax
test ebx, ebx
jle 0x14012997d
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 0x140129950
mov rax, qword [r13]
add rdi, rbp
mov qword [rax + r10*8], r9
inc r10
cmp r10, r14
jl 0x140129943
jmp 0x140129b4c
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 0x140129b4c
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 0x140129b0e
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 0x140129a91
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 0x140129a50
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 0x14012cbf0
Capabilities:
Check for software breakpoints

Disassembly:
sub rsp, 0x38
mov r11, rcx
cmp dword [rsp + 0x60], r9d
jne 0x14012ccd4
movzx r10d, byte [r8]
lea eax, [r10 - 0x6a]
cmp al, 1
ja 0x14012ccd4
mov qword [rsp + 0x30], rbx
lea rdx, [r8 + 1]
cmp r10b, 0x6b
jne 0x14012cc83
lea ebx, [r9 - 3]
xor eax, eax
test ebx, ebx
jle 0x14012cc46
nop dword [rax + rax]
movzx ecx, byte [rdx]
inc rdx
cmp cl, 0xba
je 0x14012cc46
cmp cl, 0xbb
jne 0x14012cc79
inc eax
cmp eax, ebx
jl 0x14012cc30
sub ebx, eax
test eax, eax
jne 0x14012cc87
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.14006c250
mov rbx, qword [rsp + 0x30]
or eax, 0xffffffff
add rsp, 0x38
ret
mov dword [rsp + 0x20], 0x48
jmp 0x14012cc54
lea ebx, [r9 - 2]
movsxd rax, ebx
cmp byte [rax + rdx], 0xcc
je 0x14012ccbd
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.14006c250
mov rbx, qword [rsp + 0x30]
or eax, 0xffffffff
add rsp, 0x38
ret
mov r8d, ebx
mov rcx, r11
call fcn.140174c80
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.14006c250
or eax, 0xffffffff
add rsp, 0x38
ret
Function at 0x140139830
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.140100f90
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.14013d7e0
lea rdx, [rsp + 0x130]
lea rcx, [rsp + 0x20]
call fcn.14013a2f0
lea r8, [rsp + 0x20]
lea rdx, [rsp + 0xe0]
lea rcx, [rsp + 0xb8]
call fcn.14013a570
lea r8, [rsp + 0x20]
lea rdx, [rsp + 0x108]
lea rcx, [rsp + 0x90]
call fcn.14013a570
lea rdx, [rsp + 0x90]
mov rcx, rbx
call fcn.14013be40
lea rdx, [rsp + 0xb8]
lea rcx, [rsp + 0x20]
call fcn.14013be40
movzx eax, byte [rsp + 0x20]
lea rcx, [rsp + 0x50]
shl al, 7
mov edx, 0x40
xor byte [rbx + 0x1f], al
call fcn.14006c630
add rsp, 0x180
pop rbx
ret

Function at 0x140139900
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.140101860
mov rdx, qword [rbp + 0x210]
lea rcx, [rbp - 0x30]
mov r8d, 0x20
call fcn.140101900
lea rdx, [rbp - 0x30]
lea rcx, [rsp + 0x50]
call fcn.140101080
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.140101860
mov r8d, 0x20
lea rdx, [rsp + 0x70]
lea rcx, [rbp - 0x30]
call fcn.140101900
mov r8, rdi
lea rcx, [rbp - 0x30]
mov rdx, rsi
call fcn.140101900
lea rdx, [rbp - 0x30]
lea rcx, [rbp - 0x70]
call fcn.140101080
lea rcx, [rbp - 0x70]
call fcn.140140350
lea rdx, [rbp - 0x70]
lea rcx, [rbp + 0x140]
call fcn.14013d7e0
lea rdx, [rbp + 0x190]
lea rcx, [rsp + 0x20]
call fcn.14013a2f0
lea r8, [rsp + 0x20]
lea rdx, [rbp + 0x140]
lea rcx, [rbp + 0xd8]
call fcn.14013a570
lea r8, [rsp + 0x20]
lea rdx, [rbp + 0x168]
lea rcx, [rbp + 0xb0]
call fcn.14013a570
lea rdx, [rbp + 0xb0]
mov rcx, r14
call fcn.14013be40
lea rdx, [rbp + 0xd8]
lea rcx, [rsp + 0x20]
call fcn.14013be40
movzx eax, byte [rsp + 0x20]
lea rcx, [rbp - 0x30]
shl al, 7
xor byte [r14 + 0x1f], al
call fcn.140101860
mov r8d, 0x20
lea rcx, [rbp - 0x30]
mov rdx, r14
call fcn.140101900
mov r8d, 0x20
lea rcx, [rbp - 0x30]
mov rdx, rbx
call fcn.140101900
mov r8, rdi
lea rcx, [rbp - 0x30]
mov rdx, rsi
call fcn.140101900
lea rdx, [rbp - 0x30]
lea rcx, [rbp + 0x100]
call fcn.140101080
lea rcx, [rbp + 0x100]
call fcn.140140350
lea rcx, [r14 + 0x20]
lea r9, [rbp - 0x70]
lea r8, [rsp + 0x50]
lea rdx, [rbp + 0x100]
call fcn.14013e2d0
mov edx, 0xd8
lea rcx, [rbp - 0x30]
call fcn.14006c630
mov edx, 0x40
lea rcx, [rbp - 0x70]
call fcn.14006c630
mov edx, 0x40
lea rcx, [rsp + 0x50]
call fcn.14006c630
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