joyce8/EMBER2024-capa huggingface dataset:
Function at 0x7ff72ccd9850
Capabilities:
Get disk information

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x190
mov rax, qword [0x7ff72cd1d020]
xor rax, rsp
mov qword [rsp + 0x180], rax
mov rdi, rcx
mov qword [rsp + 0x88], rcx
xor esi, esi
movdqa xmm0, xmmword [0x7ff72cd173c0]
movdqu xmmword [rsp + 0x88], xmm0
xor eax, eax
xor ecx, ecx
cpuid
mov dword [rsp + 0x90], ecx
mov dword [rsp + 0x94], edx
movsxd r8, ebx
shl r8, 0x20
cdqe
or r8, rax
lea rdx, [0x7ff72cd16cb4]
lea rcx, [rsp + 0xa0]
call fcn.7ff72ccde980
xorps xmm0, xmm0
movups xmmword [rsp + 0x68], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x78], xmm1
lea rax, [rsp + 0xa0]
mov rbx, 0xffffffffffffffff
mov r8, rbx
nop dword [rax]
inc r8
cmp byte [rax + r8], sil
jne 0x7ff72ccd98f0
lea rdx, [rsp + 0xa0]
lea rcx, [rsp + 0x68]
call fcn.7ff72ccd2c60
nop
mov dword [rsp + 0x38], esi
mov qword [rsp + 0x30], rsi
mov qword [rsp + 0x28], rsi
mov qword [rsp + 0x20], rsi
lea r9, [rsp + 0x88]
xor r8d, r8d
xor edx, edx
lea rcx, [0x7ff72cd16cac]
call qword [sym.imp.kernel32.dll_GetVolumeInformationA]
mov r8d, dword [rsp + 0x88]
lea rdx, [0x7ff72cd16cb0]
lea rcx, [rsp + 0x110]
call fcn.7ff72ccde980
xorps xmm0, xmm0
movups xmmword [rsp + 0x48], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x58], xmm1
lea rax, [rsp + 0x110]
nop
inc rbx
cmp byte [rax + rbx], 0
jne 0x7ff72ccd9970
mov r8, rbx
lea rdx, [rsp + 0x110]
lea rcx, [rsp + 0x48]
call fcn.7ff72ccd2c60
nop
lea r9, [rsp + 0x68]
lea r8, [rsp + 0x48]
mov rcx, rdi
call fcn.7ff72ccdf840
nop
mov rdx, qword [rsp + 0x60]
cmp rdx, 0x10
jb 0x7ff72ccd99dc
inc rdx
mov rcx, qword [rsp + 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x7ff72ccd99d6
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x7ff72ccd9a46
call fcn.7ff72cce1180
nop
mov rdx, qword [rsp + 0x80]
cmp rdx, 0x10
jb 0x7ff72ccd9a18
inc rdx
mov rcx, qword [rsp + 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x7ff72ccd9a13
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x7ff72ccd9a40
call fcn.7ff72cce1180
mov rax, rdi
mov rcx, qword [rsp + 0x180]
xor rcx, rsp
call fcn.7ff72cce1160
lea r11, [rsp + 0x190]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret
call fcn.7ff72cce79e4
nop
call fcn.7ff72cce79e4
nop
int3

Function at 0x7ff72cce1ed0
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.kernel32.dll_GetModuleHandleW]
test rax, rax
je 0x7ff72cce1f1a
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x7ff72cce1f1a
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x7ff72cce1f1a
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x7ff72cce1f1a
cmp dword [rcx + 0x84], 0xe
jbe 0x7ff72cce1f1a
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x7ff72cce1f1c
xor al, al
add rsp, 0x28
ret

Function at 0x7ff72ccf1da4
Capabilities:
Parse pe header

Disassembly:
xor r8d, r8d
xor edx, edx
jmp 0x7ff72ccf1b94
Function at 0x7ff72ccf61d0
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push r14
sub rsp, 0x20
mov rsi, rcx
test rcx, rcx
jne 0x7ff72ccf6202
call fcn.7ff72ccee1c8
mov dword [rax], 0x16
call fcn.7ff72cce79c4
jmp 0x7ff72ccf6321
mov eax, dword [rcx + 0x14]
shr eax, 0xd
test al, 1
je 0x7ff72ccf6321
mov eax, dword [rcx + 0x14]
shr eax, 0xc
test al, 1
jne 0x7ff72ccf6321
mov eax, dword [rcx + 0x14]
shr eax, 1
test al, 1
je 0x7ff72ccf6231
lock or dword [rcx + 0x14], 0x10
jmp 0x7ff72ccf6321
lock or dword [rcx + 0x14], 1
mov eax, dword [rcx + 0x14]
test eax, 0x4c0
jne 0x7ff72ccf6245
call fcn.7ff72ccf786c
mov rdi, qword [rsi + 8]
mov rcx, rsi
mov ebx, dword [rsi + 0x20]
mov qword [rsi], rdi
call fcn.7ff72ccf4ce4
inc dword [rbx + rcx*4 - 0x3d]
mov rdx, rdi
mov ecx, eax
call fcn.7ff72ccf7d84
mov dword [rsi + 0x10], eax
lea ecx, [rax + 1]
cmp ecx, 1
jbe 0x7ff72ccf630f
mov eax, dword [rsi + 0x14]
or edi, 0xffffffff
test al, 6
jne 0x7ff72ccf62da
mov rcx, rsi
call fcn.7ff72ccf4ce4
cmp eax, edi
je 0x7ff72ccf62c5
mov rcx, rsi
call fcn.7ff72ccf4ce4
cmp eax, 0xfffffffe
je 0x7ff72ccf62c5
mov rcx, rsi
call fcn.7ff72ccf4ce4
movsxd rbx, eax
lea r14, [0x7ff72cd20960]
mov rcx, rsi
sar rbx, 6
call fcn.7ff72ccf4ce4
and eax, 0x3f
lea rcx, [rax + rax*8]
mov rax, qword [r14 + rbx*8]
lea rdx, [rax + rcx*8]
jmp 0x7ff72ccf62cc
lea rdx, [0x7ff72cd1d3c0]
mov al, byte [rdx + 0x38]
and al, 0x82
cmp al, 0x82
jne 0x7ff72ccf62da
lock or dword [rsi + 0x14], 0x20
cmp dword [rsi + 0x20], 0x200
jne 0x7ff72ccf62fe
mov eax, dword [rsi + 0x14]
shr eax, 6
test al, 1
je 0x7ff72ccf62fe
mov eax, dword [rsi + 0x14]
shr eax, 8
test al, 1
jne 0x7ff72ccf62fe
mov dword [rsi + 0x20], 0x1000
mov rax, qword [rsi]
add dword [rsi + 0x10], edi
movzx edi, byte [rax]
inc rax
mov qword [rsi], rax
jmp 0x7ff72ccf6324
neg eax
sbb eax, eax
and eax, 8
add eax, 8
lock or dword [rsi + 0x14], eax
and dword [rsi + 0x10], 0
or edi, 0xffffffff
mov rbx, qword [rsp + 0x30]
mov eax, edi
mov rdi, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop r14
ret
Function at 0x7ff72ccf75ec
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
mov eax, 0x1050
call fcn.7ff72cce17d0
sub rsp, rax
mov rax, qword [0x7ff72cd1d020]
xor rax, rsp
mov qword [rsp + 0x1040], rax
mov r15, r8
mov rbp, rdx
mov rbx, rcx
call fcn.7ff72ccf4ce4
xor edi, edi
movsxd r14, eax
cmp dword [rbx + 0x10], edi
jne 0x7ff72ccf763b
mov rax, rbp
jmp 0x7ff72ccf7743
mov rax, qword [rbx]
mov rcx, r14
sub rax, qword [rbx + 8]
and ecx, 0x3f
cqo
mov rbx, r14
sub rax, rdx
sar rbx, 6
sar rax, 1
mov r9, r15
lea r12, [rcx + rcx*8]
mov rsi, rax
lea rax, [0x7ff72ccd0000]
xor r8d, r8d
mov rdx, qword [rax + rbx*8 + 0x50960]
mov ecx, r14d
mov rdx, qword [rdx + r12*8 + 0x30]
call fcn.7ff72ccf855c
mov r13, rax
lea rax, [0x7ff72ccd0000]
mov rcx, qword [rax + rbx*8 + 0x50960]
cmp r13, qword [rcx + r12*8 + 0x30]
jne 0x7ff72ccf773f
mov rcx, qword [rcx + r12*8 + 0x28]
lea r9, [rsp + 0x30]
mov r8d, 0x1000
mov qword [rsp + 0x20], rdi
lea rdx, [rsp + 0x40]
call qword [sym.imp.kernel32.dll_ReadFile]
test eax, eax
je 0x7ff72ccf773f
mov r9, r15
xor r8d, r8d
mov rdx, rbp
mov ecx, r14d
call fcn.7ff72ccf855c
test rax, rax
js 0x7ff72ccf773f
mov eax, dword [rsp + 0x30]
cmp rsi, rax
jg 0x7ff72ccf773f
lea rdx, [rsp + 0x40]
add rdx, rax
lea rcx, [rsp + 0x40]
test rsi, rsi
je 0x7ff72ccf7731
lea r8, [0x7ff72ccd0000]
cmp rcx, rdx
jae 0x7ff72ccf7731
cmp byte [rcx], 0xd
jne 0x7ff72ccf7717
lea rax, [rdx - 1]
cmp rcx, rax
jae 0x7ff72ccf7726
cmp byte [rcx + 1], 0xa
jne 0x7ff72ccf7726
inc rcx
jmp 0x7ff72ccf7726
movzx eax, byte [rcx]
movsx rax, byte [rax + r8 + 0x4d410]
add rcx, rax
inc rdi
inc rcx
cmp rdi, rsi
jne 0x7ff72ccf76f9
lea rax, [rsp + 0x40]
sub rcx, rax
lea rax, [rcx + r13]
jmp 0x7ff72ccf7743
or rax, 0xffffffffffffffff
mov rcx, qword [rsp + 0x1040]
xor rcx, rsp
call fcn.7ff72cce1160
mov rbx, qword [rsp + 0x1090]
add rsp, 0x1050
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
Function at 0x7ff72ccf78d8
Capabilities:
Read file on windows

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
sub rsp, 0x30
movsxd rbp, ecx
mov r9, r8
mov rax, rbp
lea rcx, [0x7ff72cd20960]
and eax, 0x3f
mov r10, rbp
sar r10, 6
xor edi, edi
mov rsi, rdx
mov r14, rbp
lea r8, [rax + rax*8]
mov rax, qword [rcx + r10*8]
mov ecx, 4
mov qword [rsp + 0x78], rcx
mov r11, qword [rax + r8*8 + 0x28]
lea r12d, [rcx + 6]
test r9, r9
je 0x7ff72ccf7936
cmp word [rdx], r12w
jne 0x7ff72ccf7936
or byte [rax + r8*8 + 0x38], cl
jmp 0x7ff72ccf793c
and byte [rax + r8*8 + 0x38], 0xfb
lea rdx, [rdx + r9*2]
mov rcx, rsi
mov rbx, rsi
cmp rsi, rdx
jae 0x7ff72ccf7a97
mov r9d, 0x1a
lea r13d, [r9 - 0xd]
movzx eax, word [rcx]
cmp ax, r9w
je 0x7ff72ccf7a72
lea r9, [rcx + 2]
cmp ax, r13w
je 0x7ff72ccf7975
mov rcx, r9
jmp 0x7ff72ccf7998
cmp r9, rdx
jae 0x7ff72ccf79af
cmp word [r9], r12w
mov eax, 2
cmove rax, qword [rsp + 0x78]
add rcx, rax
mov eax, r12d
cmp word [r9], r12w
cmovne ax, r13w
mov word [rbx], ax
mov r9d, 0x1a
add rbx, 2
cmp rcx, rdx
jb 0x7ff72ccf7959
jmp 0x7ff72ccf7a97
lea r9, [rsp + 0x80]
mov qword [rsp + 0x20], rdi
mov r8d, 2
lea rdx, [rsp + 0x70]
mov rcx, r11
call qword [sym.imp.kernel32.dll_ReadFile]
test eax, eax
je 0x7ff72ccf7a6c
cmp dword [rsp + 0x80], edi
je 0x7ff72ccf7a6c
mov rdx, r14
lea r11, [0x7ff72cd20960]
sar rdx, 6
and r14d, 0x3f
mov rax, qword [r11 + rdx*8]
lea r8, [r14 + r14*8]
test byte [rax + r8*8 + 0x38], 0x48
je 0x7ff72ccf7a45
movzx eax, word [rsp + 0x70]
cmp ax, r12w
jne 0x7ff72ccf7a18
mov word [rbx], r12w
jmp 0x7ff72ccf7a93
mov word [rbx], r13w
mov word [rsp + 0x78], ax
mov rax, qword [r11 + rdx*8]
lea rcx, [rax + r8*8]
mov al, byte [rsp + rdi + 0x78]
mov byte [rcx + rdi + 0x3a], al
inc rdi
cmp rdi, 2
jl 0x7ff72ccf7a21
mov rax, qword [r11 + rdx*8]
mov byte [rax + r8*8 + 0x3c], r12b
jmp 0x7ff72ccf7a93
cmp word [rsp + 0x70], r12w
jne 0x7ff72ccf7a52
cmp rbx, rsi
je 0x7ff72ccf7a12
mov rdx, 0xfffffffffffffffe
mov ecx, ebp
lea r8d, [rdx + 3]
call fcn.7ff72ccf8564
cmp word [rsp + 0x70], r12w
je 0x7ff72ccf7a97
mov word [rbx], r13w
jmp 0x7ff72ccf7a93
lea r11, [0x7ff72cd20960]
mov rcx, qword [r11 + r10*8]
mov al, byte [rcx + r8*8 + 0x38]
test al, 0x40
jne 0x7ff72ccf7a8f
or al, 2
mov byte [rcx + r8*8 + 0x38], al
jmp 0x7ff72ccf7a97
mov word [rbx], r9w
add rbx, 2
sub rbx, rsi
sar rbx, 1
lea eax, [rbx + rbx]
add rsp, 0x30
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x7ff72ccfe12c
Capabilities:
Query environment variable

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r14
sub rsp, 0x40
call qword [sym.imp.kernel32.dll_GetEnvironmentStringsW]
xor esi, esi
mov rbx, rax
test rax, rax
jne 0x7ff72ccfe15c
xor eax, eax
jmp 0x7ff72ccfe21f
mov rbp, rbx
cmp word [rax], si
je 0x7ff72ccfe181
or rax, 0xffffffffffffffff
inc rax
cmp word [rbp + rax*2], si
jne 0x7ff72ccfe168
lea rbp, [rbp + rax*2]
add rbp, 2
cmp word [rbp], si
jne 0x7ff72ccfe164
mov qword [rsp + 0x38], rsi
sub rbp, rbx
mov qword [rsp + 0x30], rsi
add rbp, 2
sar rbp, 1
mov r8, rbx
mov r9d, ebp
mov dword [rsp + 0x28], esi
xor edx, edx
mov qword [rsp + 0x20], rsi
xor ecx, ecx
call fcn.7ff72ccf6eb4
movsxd r14, eax
test eax, eax
jne 0x7ff72ccfe1bf
mov rcx, rbx
call qword [sym.imp.kernel32.dll_FreeEnvironmentStringsW]
jmp 0x7ff72ccfe155
mov rcx, r14
call fcn.7ff72ccf8608
mov rdi, rax
test rax, rax
jne 0x7ff72ccfe1d8
xor ecx, ecx
call fcn.7ff72ccf5f2c
jmp 0x7ff72ccfe1b4
mov qword [rsp + 0x38], rsi
mov r9d, ebp
mov qword [rsp + 0x30], rsi
mov r8, rbx
mov dword [rsp + 0x28], r14d
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x20], rdi
call fcn.7ff72ccf6eb4
test eax, eax
jne 0x7ff72ccfe209
mov rcx, rdi
call fcn.7ff72ccf5f2c
jmp 0x7ff72ccfe213
xor ecx, ecx
call fcn.7ff72ccf5f2c
mov rsi, rdi
mov rcx, rbx
call qword [sym.imp.kernel32.dll_FreeEnvironmentStringsW]
mov rax, rsi
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x68]
add rsp, 0x40
pop r14
ret
Function at 0x7ff72cd048ec
Capabilities:
Set environment variable

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x20], rdi
push rbp
push r14
push r15
lea rbp, [rax - 0x5f]
sub rsp, 0xa0
xor r15d, r15d
mov r14, rdx
mov rsi, rcx
mov qword [rbp + 0x17], r15
xor edx, edx
mov qword [rbp + 0x1f], r15
lea rcx, [rbp - 0x39]
mov qword [rbp + 0x27], r15
mov qword [rbp + 0x2f], r15
mov edi, r15d
mov qword [rbp + 0x37], r15
mov byte [rbp + 0x3f], r15b
mov qword [rbp - 0x19], r15
mov qword [rbp - 0x11], r15
mov qword [rbp - 9], r15
mov qword [rbp - 1], r15
mov qword [rbp + 7], r15
mov byte [rbp + 0xf], r15b
call fcn.7ff72cce9b80
mov rax, qword [rbp - 0x31]
mov ebx, 0xfde9
cmp dword [rax + 0xc], ebx
jne 0x7ff72cd04976
cmp byte [rbp - 0x21], r15b
je 0x7ff72cd04971
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, ebx
jmp 0x7ff72cd049ac
call fcn.7ff72ccf667c
test eax, eax
jne 0x7ff72cd04998
cmp byte [rbp - 0x21], r15b
je 0x7ff72cd04990
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, 1
jmp 0x7ff72cd049ac
cmp byte [rbp - 0x21], r15b
je 0x7ff72cd049a9
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, r15d
lea r8, [rbp + 0x77]
mov rcx, rsi
lea rdx, [rbp + 0x17]
call fcn.7ff72cce9a04
test eax, eax
jne 0x7ff72cd04a4c
xor edx, edx
lea rcx, [rbp - 0x39]
call fcn.7ff72cce9b80
mov rax, qword [rbp - 0x31]
cmp dword [rax + 0xc], ebx
jne 0x7ff72cd049eb
cmp byte [rbp - 0x21], r15b
je 0x7ff72cd04a20
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
jmp 0x7ff72cd04a20
call fcn.7ff72ccf667c
test eax, eax
jne 0x7ff72cd04a0c
cmp byte [rbp - 0x21], r15b
je 0x7ff72cd04a05
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov ebx, 1
jmp 0x7ff72cd04a20
cmp byte [rbp - 0x21], r15b
je 0x7ff72cd04a1d
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov ebx, r15d
mov r9d, ebx
lea r8, [rbp + 0x77]
lea rdx, [rbp - 0x19]
mov rcx, r14
call fcn.7ff72cce9a04
mov rdi, qword [rbp - 9]
test eax, eax
jne 0x7ff72cd04a4c
mov rcx, qword [rbp + 0x27]
mov rdx, rdi
call qword [sym.imp.kernel32.dll_SetEnvironmentVariableW]
mov ebx, eax
jmp 0x7ff72cd04a4f
mov ebx, r15d
cmp byte [rbp + 0xf], r15b
je 0x7ff72cd04a5d
mov rcx, rdi
call fcn.7ff72ccf5f2c
cmp byte [rbp + 0x3f], r15b
je 0x7ff72cd04a6c
mov rcx, qword [rbp + 0x27]
call fcn.7ff72ccf5f2c
lea r11, [rsp + 0xa0]
mov eax, ebx
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret
Function at 0x14001174c
Capabilities:
Get session user name

Disassembly:
push rsi
sub rsp, 0x20
mov rsi, rcx
mov edx, 0x36
call fcn.14000358b
cmp byte [rax], 0
je 0x140011770
mov rcx, rax
add rsp, 0x20
pop rsi
jmp fcn.14004457f
mov edx, 0x37
mov rcx, rsi
call fcn.14000335e
test al, al
je 0x14001178b
add rsp, 0x20
pop rsi
jmp fcn.14004803c
xor eax, eax
add rsp, 0x20
pop rsi
ret
Function at 0x14002c2aa
Capabilities:
Encode data using xor
Encrypt data using rc4 prga

Disassembly:
push r14
push rsi
push rdi
push rbp
push rbx
mov r9b, byte [rcx]
mov r14b, byte [rcx + 1]
test r8d, r8d
jle 0x14002c307
mov r10d, r8d
mov eax, r9d
inc al
movzx r11d, al
xor esi, esi
lea eax, [r11 + rsi]
movzx eax, al
movzx edi, byte [rcx + rax + 2]
add r14b, dil
movzx ebp, r14b
mov bl, byte [rcx + rbp + 2]
mov byte [rcx + rax + 2], bl
mov byte [rcx + rbp + 2], dil
movzx eax, byte [rcx + rax + 2]
add edi, eax
movzx eax, dil
mov al, byte [rcx + rax + 2]
xor byte [rdx + rsi], al
inc rsi
cmp r10, rsi
jne 0x14002c2ca
add r9b, r8b
mov byte [rcx], r9b
mov byte [rcx + 1], r14b
pop rbx
pop rbp
pop rdi
pop rsi
pop r14
ret
Function at 0x14002ddb8
Capabilities:
Encode data using xor

Disassembly:
push rsi
sub rsp, 0x80
movdqa xmmword [rsp + 0x70], xmm6
mov rsi, rcx
mov rax, qword [0x14009b0a0]
xor rax, rsp
mov qword [rsp + 0x68], rax
movups xmm0, xmmword [rcx]
movups xmm1, xmmword [rcx + 0x10]
movups xmm2, xmmword [rcx + 0x20]
movups xmm3, xmmword [rcx + 0x30]
movaps xmmword [rsp + 0x30], xmm1
movaps xmmword [rsp + 0x20], xmm0
movaps xmmword [rsp + 0x50], xmm3
movaps xmmword [rsp + 0x40], xmm2
movdqa xmm3, xmmword [rsp + 0x30]
pshufd xmm1, xmmword [rsp + 0x50], 0x93
movdqa xmm0, xmmword [rsp + 0x20]
xor eax, eax
pshufd xmm2, xmmword [rsp + 0x40], 0x4e
paddd xmm0, xmm3
pshufd xmm4, xmm0, 0x93
pxor xmm4, xmm1
movdqa xmm1, xmm4
psrld xmm1, 0x10
pslld xmm4, 0x10
por xmm4, xmm1
pshufd xmm5, xmm4, 0x93
paddd xmm5, xmm2
pshufd xmm6, xmm5, 0x4e
pxor xmm6, xmm3
movdqa xmm1, xmm6
psrld xmm1, 0x14
pslld xmm6, 0xc
por xmm6, xmm1
paddd xmm0, xmm6
pshufd xmm1, xmm0, 0x93
pxor xmm1, xmm4
movdqa xmm2, xmm1
psrld xmm2, 0x18
pslld xmm1, 8
por xmm1, xmm2
pshufd xmm2, xmm1, 0x93
paddd xmm2, xmm5
pshufd xmm4, xmm2, 0x93
pshufd xmm3, xmm6, 0x39
pxor xmm3, xmm4
movdqa xmm4, xmm3
psrld xmm4, 0x19
pslld xmm3, 7
por xmm3, xmm4
paddd xmm0, xmm3
pxor xmm1, xmm0
movdqa xmm4, xmm1
psrld xmm4, 0x10
pslld xmm1, 0x10
por xmm1, xmm4
paddd xmm2, xmm1
pxor xmm3, xmm2
movdqa xmm4, xmm3
psrld xmm4, 0x14
pslld xmm3, 0xc
por xmm3, xmm4
paddd xmm0, xmm3
pxor xmm1, xmm0
movdqa xmm4, xmm1
psrld xmm4, 0x18
pslld xmm1, 8
por xmm1, xmm4
paddd xmm2, xmm1
pxor xmm3, xmm2
pshufd xmm3, xmm3, 0x93
movdqa xmm4, xmm3
psrld xmm4, 0x19
pslld xmm3, 7
por xmm3, xmm4
add eax, 2
cmp eax, 0x14
jb 0x14002de17
movdqa xmmword [rsp + 0x30], xmm3
movdqa xmmword [rsp + 0x20], xmm0
pshufd xmm1, xmm1, 0x39
movdqa xmmword [rsp + 0x50], xmm1
pshufd xmm1, xmm2, 0x4e
movdqa xmmword [rsp + 0x40], xmm1
movd eax, xmm0
add eax, dword [rsi]
mov dword [rsp + 0x20], eax
mov eax, 1
mov ecx, dword [rsi + rax*4]
add dword [rsp + rax*4 + 0x20], ecx
inc rax
cmp rax, 0x10
jne 0x14002df4c
xor eax, eax
movdqa xmm0, xmmword [0x140079660]
movdqa xmm1, xmmword [0x140079670]
movdqa xmm2, xmmword [0x140079680]
movq xmm3, qword [rsp + rax*4 + 0x20]
pshufd xmm3, xmm3, 0xd4
pshufd xmm4, xmm3, 0xe8
pand xmm3, xmm0
movdqa xmm5, xmm3
psrlq xmm5, 8
movdqa xmm6, xmm3
psrlq xmm6, 0x10
psrlq xmm3, 0x18
pshuflw xmm4, xmm4, 0xe8
pshufd xmm5, xmm5, 0xe8
pshuflw xmm5, xmm5, 0xe8
punpckldq xmm4, xmm5
pshufd xmm3, xmm3, 0xe8
pshuflw xmm3, xmm3, 0xe8
pshufd xmm5, xmm6, 0xe8
pshuflw xmm5, xmm5, 0xe8
punpckldq xmm5, xmm3
pand xmm5, xmm1
pshuflw xmm3, xmm5, 0xd8
pshufd xmm3, xmm3, 0x60
packuswb xmm3, xmm0
movdqa xmm5, xmm2
pandn xmm5, xmm3
pand xmm4, xmm1
pshuflw xmm3, xmm4, 0xd8
pshufd xmm3, xmm3, 0xd4
packuswb xmm3, xmm0
pand xmm3, xmm2
por xmm3, xmm5
movq qword [rsi + rax*4 + 0x40], xmm3
add rax, 2
cmp rax, 0x10
jne 0x14002df76
mov dword [rsi + 0x80], 0
lea rcx, [rsp + 0x20]
mov edx, 0x40
call fcn.14004857c
inc dword [rsi + 0x30]
jne 0x14002e035
inc dword [rsi + 0x34]
mov rcx, qword [rsp + 0x68]
xor rcx, rsp
call fcn.140050a10
movaps xmm6, xmmword [rsp + 0x70]
add rsp, 0x80
pop rsi
ret
Function at 0x14002e050
Capabilities:
Encrypt data using salsa20 or chacha

Disassembly:
movaps xmm0, xmmword [str.expand_32_byte_k]
movups xmmword [rcx], xmm0
mov eax, dword [rdx]
mov dword [rcx + 0x10], eax
mov eax, dword [rdx + 4]
mov dword [rcx + 0x14], eax
mov eax, dword [rdx + 8]
mov dword [rcx + 0x18], eax
mov eax, dword [rdx + 0xc]
mov dword [rcx + 0x1c], eax
mov eax, dword [rdx + 0x10]
mov dword [rcx + 0x20], eax
mov eax, dword [rdx + 0x14]
mov dword [rcx + 0x24], eax
mov eax, dword [rdx + 0x18]
mov dword [rcx + 0x28], eax
mov eax, dword [rdx + 0x1c]
mov dword [rcx + 0x2c], eax
mov dword [rcx + 0x80], 0x40
ret
Function at 0x14002f5a4
Capabilities:
Encode data using xor

Disassembly:
mov r9, qword [rdx + 8]
test r9, r9
je 0x14002f605
mov r8, qword [rdx]
xor r10d, r10d
movzx eax, byte [r8 + r10]
xor eax, ecx
mov ecx, eax
and ecx, 0xf
shr eax, 4
imul edx, ecx, 0x11111044
xor edx, eax
imul r11d, ecx, 0x8840020
imul eax, ecx, 0x4220000
xor eax, r11d
xor eax, edx
and edx, 0xf
shr eax, 4
imul ecx, edx, 0x11111044
imul r11d, edx, 0x8840020
xor r11d, ecx
imul ecx, edx, 0x4220000
xor ecx, eax
xor ecx, r11d
inc r10
cmp r9, r10
jne 0x14002f5b3
mov eax, ecx
ret

Function at 0x140030c99
Capabilities:
Encode data using xor

Disassembly:
push rsi
push rdi
push rbx
mov r9, rcx
shr r9, 0x20
mov r11d, dword [rdx + r8*4]
xor r11d, r9d
mov r10, rcx
shr r10, 0x3c
mov eax, r9d
shl eax, 4
or eax, r10d
xor eax, dword [rdx + r8*4 + 0x40]
movd xmm0, r11d
shr r11d, 8
movd xmm1, r11d
punpckldq xmm1, xmm0
movd xmm0, eax
shr eax, 8
movd xmm2, eax
punpckldq xmm2, xmm0
punpcklqdq xmm1, xmm2
pand xmm1, xmmword [0x14007a310]
por xmm1, xmmword [0x14007a320]
pxor xmm0, xmm0
lea rax, [0x14007a110]
movdqa xmm2, xmmword [str._b_b_b_b_b_b_b_b]
lea rdx, [0x14007a310]
movdqa xmm3, xmm1
movdqu xmm4, xmmword [rax]
pshufd xmm4, xmm4, 0x1b
pand xmm4, xmm3
pxor xmm0, xmm4
paddd xmm3, xmm2
add rax, 0x10
cmp rax, rdx
jb 0x140030d12
pshufd xmm2, xmm1, 0xe7
movd eax, xmm2
add eax, 0x1000100
pshufd xmm2, xmm1, 0x4e
movd edx, xmm2
add edx, 0x1000100
pshufd xmm2, xmm1, 0xe5
movd r11d, xmm2
add r11d, 0x1000100
movd r10d, xmm1
add r10d, 0x1000100
pshufd xmm1, xmm0, 0xe7
movd r8d, xmm1
mov esi, r8d
shl esi, 4
and eax, 0x40004
imul eax, eax, 0x3c00
and eax, esi
xor eax, r8d
pshufd xmm1, xmm0, 0x4e
movd esi, xmm1
mov edi, esi
shl edi, 4
and edx, 0x40004
imul r8d, edx, 0x3c00
and r8d, edi
xor r8d, esi
pshufd xmm1, xmm0, 0xe5
movd esi, xmm1
mov edi, esi
shl edi, 4
and r11d, 0x40004
imul ebx, r11d, 0x3c00
and ebx, edi
xor ebx, esi
movd r11d, xmm0
mov edi, r11d
shl edi, 4
and r10d, 0x40004
imul esi, r10d, 0x3c00
and esi, edi
xor esi, r11d
and esi, 0xf000f000
shr eax, 0xc
and eax, 0xf000f
shr r8d, 4
and r8d, 0xf000f00
shr ebx, 8
and ebx, 0xf000f0
or ebx, r8d
or ebx, esi
or eax, ebx
shr ebx, 4
xor ebx, eax
and ebx, 0x7030702
xor eax, ebx
shl ebx, 4
xor ebx, eax
mov edx, ebx
shr edx, 8
xor edx, eax
and edx, 0x4e009e
xor ebx, edx
shl edx, 8
xor edx, ebx
mov eax, edx
shr eax, 0x10
xor eax, edx
and eax, 0xd9d3
xor edx, eax
shl eax, 0x10
xor eax, edx
mov edx, eax
shr edx, 4
xor edx, eax
and edx, 0x5040004
mov ebx, edx
xor ebx, eax
shl edx, 4
shr eax, 1
xor eax, ebx
and eax, 0x4045015
xor edx, ecx
xor edx, ebx
xor edx, eax
add eax, eax
xor eax, edx
shl rax, 0x20
or rax, r9
pop rbx
pop rdi
pop rsi
ret
Function at 0x1400379d7
Capabilities:
Read file on windows

Disassembly:
push rsi
push rdi
sub rsp, 0x438
mov rdi, rcx
mov rax, qword [0x14009b0a0]
xor rax, rsp
mov qword [rsp + 0x430], rax
lea rcx, [rsp + 0x30]
mov edx, 1
mov r8d, 0x3ff
mov r9, rdi
call fcn.140060514
mov rsi, rax
mov rcx, rdi
call fcn.140061744
test esi, esi
js 0x140037c28
mov edi, 1
cmp esi, 0x20
jl 0x140037c54
movsxd rsi, esi
cmp rsi, 0x400
jb 0x140037a53
lea rcx, str.i___0__i___sizeof_buf_
lea rdx, str..._sshpubk.c
mov r8d, 0x615
call fcn.14005e2f0
mov byte [rsp + rsi + 0x30], 0
movdqa xmm0, xmmword [rsp + 0x30]
movdqa xmm1, xmmword [rsp + 0x40]
pcmpeqb xmm1, xmmword [str.FILE_FORMAT_1.1_nSSH_PRIVATE_KEY_PuTTY_User_Key_FENCRYPTED_PRIVAT_____BEGIN_SSH2]
pcmpeqb xmm0, xmmword [0x14007ae20]
pand xmm0, xmm1
pmovmskb eax, xmm0
cmp eax, 0xffff
je 0x140037c2c
lea rdx, str._____BEGIN_SSH2_PUBLIC_KEY
lea rcx, [rsp + 0x30]
mov r8d, 0x1a
call fcn.1400519e0
test eax, eax
je 0x140037c33
movdqa xmm0, xmmword [rsp + 0x30]
movd xmm1, dword [rsp + 0x40]
mov eax, 0x2d656c69
movq xmm2, rax
pcmpeqb xmm0, xmmword [0x14007ae30]
pcmpeqb xmm2, xmm1
pand xmm0, xmm2
pmovmskb eax, xmm0
cmp eax, 0xffff
je 0x140037c3a
lea rdx, str._____BEGIN_OPENSSH_PRIVATE_KEY
lea rcx, [rsp + 0x30]
mov r8d, 0x1e
call fcn.1400519e0
test eax, eax
je 0x140037c41
lea rdx, str._____BEGIN
lea rcx, [rsp + 0x30]
mov r8d, 0xb
call fcn.1400519e0
test eax, eax
je 0x140037c48
movdqa xmm0, xmmword [rsp + 0x30]
movdqa xmm1, xmmword [rsp + 0x40]
pcmpeqb xmm1, xmmword [0x14007ae40]
pcmpeqb xmm0, xmmword [0x14007ae50]
pand xmm0, xmm1
pmovmskb eax, xmm0
cmp eax, 0xffff
je 0x140037c4f
lea rdx, str.0123456789
lea rsi, [rsp + 0x30]
mov rcx, rsi
call fcn.1400621e4
cmp byte [rsp + rax + 0x30], 0x20
jne 0x140037bbd
lea rdi, [rsp + rax]
add rdi, 0x30
lea rcx, [rdi + 1]
lea rdx, str.0123456789
call fcn.1400621e4
cmp byte [rdi + rax + 1], 0x20
jne 0x140037bbd
add rdi, rax
add rdi, 1
lea rcx, [rdi + 1]
lea rdx, str.0123456789
call fcn.1400621e4
movzx eax, byte [rdi + rax + 1]
cmp rax, 0x20
ja 0x140037bbd
mov edi, 8
movabs rcx, 0x100000401
bt rcx, rax
jb 0x140037c54
lea rdx, [0x14008fb95]
mov rcx, rsi
call fcn.140061cb8
mov rdi, rax
lea rcx, [rsp + 0x20]
mov qword [rcx], rsi
mov qword [rcx + 8], rax
call fcn.1400365ac
test rax, rax
je 0x140037c21
lea rsi, [rsp + rdi]
add rsi, 0x30
lea rcx, [rsp + rdi]
add rcx, 0x31
lea rdx, str.0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz_
call fcn.1400621e4
movzx eax, byte [rax + rsi + 1]
cmp rax, 0x20
ja 0x140037c21
mov edi, 0xa
movabs rcx, 0x100000401
bt rcx, rax
jb 0x140037c54
mov edi, 1
jmp 0x140037c54
xor edi, edi
jmp 0x140037c54
mov edi, 2
jmp 0x140037c54
mov edi, 9
jmp 0x140037c54
mov edi, 3
jmp 0x140037c54
mov edi, 6
jmp 0x140037c54
mov edi, 5
jmp 0x140037c54
mov edi, 7
mov rcx, qword [rsp + 0x430]
xor rcx, rsp
call fcn.140050a10
mov eax, edi
add rsp, 0x438
pop rdi
pop rsi
ret