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

Disassembly:
push rsi
push rdi
test r8, r8
je 0x1400acf43
xor r10d, r10d
cmp r8, 8
jb 0x1400acf1a
mov r9, r8
and r9, 0xfffffffffffffff8
lea rax, [r9 - 8]
mov r10, rax
shr r10, 3
add r10, 1
test rax, rax
je 0x1400acf4b
mov r11, r10
and r11, 0xfffffffffffffffe
pxor xmm2, xmm2
xor eax, eax
pxor xmm0, xmm0
pxor xmm1, xmm1
nop dword [rax]
mov esi, dword [rdx + rax]
mov edi, dword [rdx + rax + 4]
xor esi, dword [rcx + rax]
xor edi, dword [rcx + rax + 4]
movd xmm3, esi
movd xmm4, edi
punpcklbw xmm3, xmm2
punpcklwd xmm3, xmm2
por xmm3, xmm0
punpcklbw xmm4, xmm2
punpcklwd xmm4, xmm2
por xmm4, xmm1
mov esi, dword [rdx + rax + 8]
mov edi, dword [rdx + rax + 0xc]
xor esi, dword [rcx + rax + 8]
movd xmm0, esi
xor edi, dword [rcx + rax + 0xc]
movd xmm1, edi
punpcklbw xmm0, xmm2
punpcklwd xmm0, xmm2
por xmm0, xmm3
punpcklbw xmm1, xmm2
punpcklwd xmm1, xmm2
por xmm1, xmm4
add rax, 0x10
add r11, 0xfffffffffffffffe
jne 0x1400ace50
test r10b, 1
je 0x1400acef0
mov edi, dword [rdx + rax]
xor edi, dword [rcx + rax]
mov esi, dword [rdx + rax + 4]
movd xmm2, edi
xor esi, dword [rcx + rax + 4]
movd xmm3, esi
pxor xmm4, xmm4
punpcklbw xmm2, xmm4
punpcklwd xmm2, xmm4
por xmm0, xmm2
punpcklbw xmm3, xmm4
punpcklwd xmm3, xmm4
por xmm1, xmm3
por xmm0, xmm1
pshufd xmm1, xmm0, 0xee
por xmm1, xmm0
pshufd xmm0, xmm1, 0x55
por xmm0, xmm1
movd r10d, xmm0
cmp r9, r8
je 0x1400acf36
and r8d, 7
add rdx, r9
add rcx, r9
xor edi, edi
nop dword [rax]
movzx eax, byte [rdx + rdi]
xor al, byte [rcx + rdi]
movzx eax, al
or r10d, eax
add rdi, 1
cmp r8, rdi
jne 0x1400acf20
mov eax, 0x100
sub eax, r10d
shr eax, 8
jmp 0x1400acf48
mov eax, 1
pop rdi
pop rsi
ret
pxor xmm0, xmm0
xor eax, eax
pxor xmm1, xmm1
test r10b, 1
jne 0x1400acebe
jmp 0x1400acef0
Function at 0x1400b6350
Capabilities:
Hash data using sha512

Disassembly:
push rsi
sub rsp, 0x20
mov esi, ecx
cmp ecx, 0x41
jb 0x1400b6375
lea rcx, str.hashlen___ssh_blake2b.hlen
lea rdx, str._home_simon_mem_.build_workdirs_bob_fffbk9my_putty_crypto_blake2.c
mov r8d, pe_nt_image_headers64
call fcn.1400c9b7c
mov ecx, 1
mov edx, 0x108
xor r8d, r8d
call fcn.140042eb0
lea r8, [rax + 0xf8]
lea rdx, str.0d_v_
mov qword [rax + 0xf8], rdx
mov dword [rax + 0x40], esi
lea rdx, [rax + 0xe0]
lea rcx, [0x1400b66b0]
mov qword [rax + 0xe0], rcx
mov qword [rax + 0xe8], 0
mov qword [rax + 0xf0], rdx
mov qword [rax + 0x100], rdx
movaps xmm0, xmmword [0x1400fb070]
movups xmmword [rax], xmm0
movaps xmm0, xmmword [0x1400fb080]
movups xmmword [rax + 0x10], xmm0
movaps xmm0, xmmword [0x1400fb090]
movups xmmword [rax + 0x20], xmm0
movaps xmm0, xmmword [0x1400fb0a0]
movups xmmword [rax + 0x30], xmm0
mov ecx, esi
movabs rdx, 0x6a09e667f2bdc908
xor rdx, rcx
mov qword [rax], rdx
xorps xmm0, xmm0
movups xmmword [rax + 0xc8], xmm0
mov qword [rax + 0xd8], 0
mov rax, r8
add rsp, 0x20
pop rsi
ret
Function at 0x1400b8b50
Capabilities:
Encode data using xor

Disassembly:
mov r8, qword [rdx]
bswap r8
xor r8, qword [rcx + 0x70]
mov qword [rcx + 0x70], r8
mov r9, qword [rdx + 8]
bswap r9
xor r9, qword [rcx + 0x78]
pxor xmm0, xmm0
xor r10d, r10d
mov edx, r9d
and edx, 1
mov rax, r9
shr rax, 1
mov qword [rcx + 0x78], rax
neg rdx
movdqu xmm1, xmmword [rcx + r10 + 0x90]
movq xmm2, rdx
pshufd xmm2, xmm2, 0x44
pand xmm2, xmm1
pxor xmm2, xmm0
and eax, 1
shr r9, 2
mov qword [rcx + 0x78], r9
neg rax
movdqu xmm1, xmmword [rcx + r10 + 0xa0]
movq xmm0, rax
pshufd xmm0, xmm0, 0x44
pand xmm0, xmm1
pxor xmm0, xmm2
add r10, 0x20
cmp r10, 0x400
jne 0x1400b8b70
xor r9d, r9d
nop dword [rax]
mov eax, r8d
and eax, 1
mov rdx, r8
shr rdx, 1
mov qword [rcx + 0x70], rdx
neg rax
movdqu xmm1, xmmword [rcx + r9 + 0x490]
movq xmm2, rax
pshufd xmm2, xmm2, 0x44
pand xmm2, xmm1
pxor xmm2, xmm0
and edx, 1
shr r8, 2
mov qword [rcx + 0x70], r8
neg rdx
movdqu xmm1, xmmword [rcx + r9 + 0x4a0]
movq xmm0, rdx
pshufd xmm0, xmm0, 0x44
pand xmm0, xmm1
pxor xmm0, xmm2
add r9, 0x20
cmp r9, 0x400
jne 0x1400b8be0
movdqu xmmword [rcx + 0x70], xmm0
ret

Function at 0x1400b958c
Capabilities:
Parse pe header

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

Function at 0x1400c6554
Capabilities:
Parse pe header

Disassembly:
xor r8d, r8d
xor edx, edx
jmp 0x1400c66a8
mov dword [rsp + 0x18], r8d
mov dword [rsp + 0x10], edx
push rbp
mov rbp, rsp
sub rsp, 0x50
mov qword [rbp - 0x20], 0xfffffffffffffffe
mov qword [rsp + 0x60], rbx
mov ebx, ecx
test r8d, r8d
jne 0x1400c6717
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x1400c6717
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x1400c6717
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x1400c6717
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x1400c6717
cmp dword [rcx + 0x84], 0xe
jbe 0x1400c6717
cmp dword [rcx + 0xf8], 0
je 0x1400c6717
mov ecx, ebx
call fcn.1400c65d4
mov byte [rbp + 0x28], 0
lea rax, [rbp + 0x18]
mov qword [rbp - 0x18], rax
lea rax, [rbp + 0x20]
mov qword [rbp - 0x10], rax
lea rax, [rbp + 0x28]
mov qword [rbp - 8], rax
mov eax, 2
mov dword [rbp - 0x2c], eax
mov dword [rbp - 0x28], eax
lea r9, [rbp - 0x2c]
lea r8, [rbp - 0x18]
lea rdx, [rbp - 0x28]
lea rcx, [rbp - 0x30]
call fcn.1400c683c
nop
cmp dword [rbp + 0x20], 0
je 0x1400c6765
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rbp
ret
mov ecx, ebx
call fcn.1400c6674
int3
Function at 0x1400ce950
Capabilities:
Encode data using xor

Disassembly:
mov rax, rcx
neg rcx
test rax, 7
je 0x1400ce96d
nop
mov dl, byte [rax]
inc rax
test dl, dl
je 0x1400ce9c8
test al, 7
jne 0x1400ce960
movabs r8, 0x7efefefefefefeff
movabs r11, 0x8101010101010100
mov rdx, qword [rax]
mov r9, r8
add rax, 8
add r9, rdx
not rdx
xor rdx, r9
and rdx, r11
je 0x1400ce981
mov rdx, qword [rax - 8]
test dl, dl
je 0x1400ce9f2
test dh, dh
je 0x1400ce9ec
shr rdx, 0x10
test dl, dl
je 0x1400ce9e6
test dh, dh
je 0x1400ce9e0
shr rdx, 0x10
test dl, dl
je 0x1400ce9da
test dh, dh
je 0x1400ce9d4
shr edx, 0x10
test dl, dl
je 0x1400ce9ce
test dh, dh
jne 0x1400ce981
lea rax, [rax + rcx - 1]
ret
lea rax, [rax + rcx - 2]
ret
lea rax, [rax + rcx - 3]
ret
lea rax, [rax + rcx - 4]
ret
lea rax, [rax + rcx - 5]
ret
lea rax, [rax + rcx - 6]
ret
lea rax, [rax + rcx - 7]
ret
lea rax, [rax + rcx - 8]
ret
Function at 0x1400d8fec
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 0x1400d901c
xor eax, eax
jmp 0x1400d90df
mov rbp, rbx
cmp word [rax], si
je 0x1400d9041
or rax, 0xffffffffffffffff
inc rax
cmp word [rbp + rax*2], si
jne 0x1400d9028
lea rbp, [rbp + rax*2]
add rbp, 2
cmp word [rbp], si
jne 0x1400d9024
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.1400d8f3c
movsxd r14, eax
test eax, eax
jne 0x1400d907f
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
jmp 0x1400d9015
mov rcx, r14
call fcn.1400d3340
mov rdi, rax
test rax, rax
jne 0x1400d9098
xor ecx, ecx
call fcn.1400d27b4
jmp 0x1400d9074
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.1400d8f3c
test eax, eax
jne 0x1400d90c9
mov rcx, rdi
call fcn.1400d27b4
jmp 0x1400d90d3
xor ecx, ecx
call fcn.1400d27b4
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 0x1400d90fc
Capabilities:
Query environment variable

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
xor ebp, ebp
mov rbx, rax
test rax, rax
je 0x1400d9183
mov rsi, rbx
cmp word [rax], bp
je 0x1400d9142
or rax, 0xffffffffffffffff
inc rax
cmp word [rsi + rax*2], bp
jne 0x1400d912c
lea rsi, [rsi + rax*2]
add rsi, 2
cmp word [rsi], bp
jne 0x1400d9128
sub rsi, rbx
add rsi, 2
sar rsi, 1
add rsi, rsi
mov rcx, rsi
call fcn.1400d3340
mov rdi, rax
test rax, rax
je 0x1400d9170
mov r8, rsi
mov rdx, rbx
mov rcx, rax
call fcn.1400b9f30
mov rbp, rdi
xor ecx, ecx
call fcn.1400d27b4
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov rax, rbp
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x1400db670
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 0x1400db6a2
call fcn.1400c8958
mov dword [rax], 0x16
call fcn.1400d28cc
jmp 0x1400db7c1
mov eax, dword [rcx + 0x14]
shr eax, 0xd
test al, 1
je 0x1400db7c1
mov eax, dword [rcx + 0x14]
shr eax, 0xc
test al, 1
jne 0x1400db7c1
mov eax, dword [rcx + 0x14]
shr eax, 1
test al, 1
je 0x1400db6d1
lock or dword [rcx + 0x14], 0x10
jmp 0x1400db7c1
lock or dword [rcx + 0x14], 1
mov eax, dword [rcx + 0x14]
test eax, 0x4c0
jne 0x1400db6e5
call fcn.1400e0fa4
mov rdi, qword [rsi + 8]
mov rcx, rsi
mov ebx, dword [rsi + 0x20]
mov qword [rsi], rdi
call fcn.1400d465c
mov r8d, ebx
mov rdx, rdi
mov ecx, eax
call fcn.1400dbfac
mov dword [rsi + 0x10], eax
lea ecx, [rax + 1]
cmp ecx, 1
jbe 0x1400db7af
mov eax, dword [rsi + 0x14]
or edi, 0xffffffff
test al, 6
jne 0x1400db77a
mov rcx, rsi
call fcn.1400d465c
cmp eax, edi
je 0x1400db765
mov rcx, rsi
call fcn.1400d465c
cmp eax, 0xfffffffe
je 0x1400db765
mov rcx, rsi
call fcn.1400d465c
movsxd rbx, eax
lea r14, [0x14012df70]
mov rcx, rsi
sar rbx, 6
call fcn.1400d465c
and eax, 0x3f
lea rcx, [rax + rax*8]
mov rax, qword [r14 + rbx*8]
lea rdx, [rax + rcx*8]
jmp 0x1400db76c
lea rdx, [0x1401292e0]
mov al, byte [rdx + 0x38]
and al, 0x82
cmp al, 0x82
jne 0x1400db77a
lock or dword [rsi + 0x14], 0x20
cmp dword [rsi + 0x20], 0x200
jne 0x1400db79e
mov eax, dword [rsi + 0x14]
shr eax, 6
test al, 1
je 0x1400db79e
mov eax, dword [rsi + 0x14]
shr eax, 8
test al, 1
jne 0x1400db79e
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 0x1400db7c4
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 0x1400dc7e8
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, [0x14012df70]
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 0x1400dc846
cmp word [rdx], r12w
jne 0x1400dc846
or byte [rax + r8*8 + 0x38], cl
jmp 0x1400dc84c
and byte [rax + r8*8 + 0x38], 0xfb
lea rdx, [rdx + r9*2]
mov rcx, rsi
mov rbx, rsi
cmp rsi, rdx
jae 0x1400dc9a7
mov r9d, 0x1a
lea r13d, [r9 - 0xd]
movzx eax, word [rcx]
cmp ax, r9w
je 0x1400dc982
lea r9, [rcx + 2]
cmp ax, r13w
je 0x1400dc885
mov rcx, r9
jmp 0x1400dc8a8
cmp r9, rdx
jae 0x1400dc8bf
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 0x1400dc869
jmp 0x1400dc9a7
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 0x1400dc97c
cmp dword [rsp + 0x80], edi
je 0x1400dc97c
mov rdx, r14
lea r11, [0x14012df70]
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 0x1400dc955
movzx eax, word [rsp + 0x70]
cmp ax, r12w
jne 0x1400dc928
mov word [rbx], r12w
jmp 0x1400dc9a3
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 0x1400dc931
mov rax, qword [r11 + rdx*8]
mov byte [rax + r8*8 + 0x3c], r12b
jmp 0x1400dc9a3
cmp word [rsp + 0x70], r12w
jne 0x1400dc962
cmp rbx, rsi
je 0x1400dc922
mov rdx, 0xfffffffffffffffe
mov ecx, ebp
lea r8d, [rdx + 3]
call fcn.1400e381c
cmp word [rsp + 0x70], r12w
je 0x1400dc9a7
mov word [rbx], r13w
jmp 0x1400dc9a3
lea r11, [0x14012df70]
mov rcx, qword [r11 + r10*8]
mov al, byte [rcx + r8*8 + 0x38]
test al, 0x40
jne 0x1400dc99f
or al, 2
mov byte [rcx + r8*8 + 0x38], al
jmp 0x1400dc9a7
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 0x1400e35e0
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.1400c0f8c
mov rax, qword [rbp - 0x31]
mov ebx, 0xfde9
cmp dword [rax + 0xc], ebx
jne 0x1400e366a
cmp byte [rbp - 0x21], r15b
je 0x1400e3665
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, ebx
jmp 0x1400e36a0
call fcn.1400d03c8
test eax, eax
jne 0x1400e368c
cmp byte [rbp - 0x21], r15b
je 0x1400e3684
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, 1
jmp 0x1400e36a0
cmp byte [rbp - 0x21], r15b
je 0x1400e369d
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.1400ce6a4
test eax, eax
jne 0x1400e3740
xor edx, edx
lea rcx, [rbp - 0x39]
call fcn.1400c0f8c
mov rax, qword [rbp - 0x31]
cmp dword [rax + 0xc], ebx
jne 0x1400e36df
cmp byte [rbp - 0x21], r15b
je 0x1400e3714
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
jmp 0x1400e3714
call fcn.1400d03c8
test eax, eax
jne 0x1400e3700
cmp byte [rbp - 0x21], r15b
je 0x1400e36f9
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov ebx, 1
jmp 0x1400e3714
cmp byte [rbp - 0x21], r15b
je 0x1400e3711
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.1400ce6a4
mov rdi, qword [rbp - 9]
test eax, eax
jne 0x1400e3740
mov rcx, qword [rbp + 0x27]
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
mov ebx, eax
jmp 0x1400e3743
mov ebx, r15d
cmp byte [rbp + 0xf], r15b
je 0x1400e3751
mov rcx, rdi
call fcn.1400d27b4
cmp byte [rbp + 0x3f], r15b
je 0x1400e3760
mov rcx, qword [rbp + 0x27]
call fcn.1400d27b4
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 0x1400e5fa0
Capabilities:
Clear file content

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 r12
push r14
push r15
sub rsp, 0x20
mov rbx, rdx
mov rsi, r8
xor edx, edx
mov r14d, ecx
lea r8d, [rdx + 1]
call fcn.1400e381c
xor edx, edx
mov ecx, r14d
mov r12, rax
lea r8d, [rdx + 2]
call fcn.1400e381c
mov rbp, rbx
sub rbp, rax
cmp r12, 0xffffffffffffffff
je 0x1400e60f0
cmp rax, 0xffffffffffffffff
je 0x1400e60f0
xor edi, edi
test rbp, rbp
jle 0x1400e609b
lea edx, [rdi + 1]
mov ecx, 0x1000
call fcn.1400d49dc
mov rbx, rax
test rax, rax
jne 0x1400e6028
lea edi, [rax + 0xc]
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], edi
jmp 0x1400e6091
mov edx, 0x8000
mov ecx, r14d
call fcn.1400c96f8
mov r15d, eax
mov eax, 0x1000
mov r8d, ebp
cmp rbp, rax
mov r9, rsi
mov rdx, rbx
mov ecx, r14d
cmovge r8d, eax
call fcn.1400daa1c
cmp eax, 0xffffffff
je 0x1400e6071
cdqe
sub rbp, rax
test rbp, rbp
jg 0x1400e6038
mov edx, r15d
mov ecx, r14d
call fcn.1400c96f8
jmp 0x1400e6091
cmp byte [rsi + 0x38], dil
je 0x1400e6088
cmp dword [rsi + 0x34], 5
jne 0x1400e6088
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], 0xd
cmp byte [rsi + 0x30], dil
je 0x1400e6091
mov edi, dword [rsi + 0x2c]
mov rcx, rbx
call fcn.1400d27b4
jmp 0x1400e6104
jns 0x1400e6104
xor r8d, r8d
mov rdx, rbx
mov ecx, r14d
call fcn.1400e381c
cmp rax, 0xffffffffffffffff
jne 0x1400e60bc
cmp byte [rsi + 0x30], dil
je 0x1400e6104
mov edi, dword [rsi + 0x2c]
jmp 0x1400e6104
mov ecx, r14d
call fcn.1400d9b20
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x1400e6104
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov byte [rsi + 0x38], 1
mov edi, 0xd
mov dword [rsi + 0x34], eax
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], 0xd
jmp 0x1400e6104
xor edi, edi
cmp byte [rsi + 0x30], dil
je 0x1400e60fd
mov eax, dword [rsi + 0x2c]
jmp 0x1400e6102
mov eax, 0x16
mov edi, eax
xor r8d, r8d
mov rdx, r12
mov ecx, r14d
call fcn.1400e381c
mov rbx, qword [rsp + 0x40]
mov eax, edi
mov rdi, qword [rsp + 0x58]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x20
pop r15
pop r14
pop r12
ret
Function at 0x14000a8d5
Capabilities:
Contain obfuscated stackstrings
Encode data using xor

Disassembly:
push rbp
mov rbp, rsp
sub rax, rax
sub rcx, 0xd55f
add rax, rcx
add rax, 0xd55f
add rcx, 0xd55f
sub rsp, 0x3f0
sub rsp, 0x20
and spl, 0xf0
mov byte [rbp - 0xd], 0x56
mov byte [rbp - 0xc], 0x69
mov byte [rbp - 0xb], 0x72
mov byte [rbp - 0xa], 0x74
mov byte [rbp - 9], 0x75
mov byte [rbp - 8], 0x61
mov byte [rbp - 7], 0x6c
mov byte [rbp - 6], 0x41
mov byte [rbp - 5], 0x6c
mov byte [rbp - 4], 0x6c
mov byte [rbp - 3], 0x6f
mov byte [rbp - 2], 0x63
mov byte [rbp - 1], 0
and rcx, 0
add rcx, rsi
lea rdx, [rbp - 0xd]
call rax
sub rsp, 8
mov qword [rsp], 0
add rsp, 8
mov rcx, qword [rsp - 8]
mov rdx, 0x5aa1
mov r8, 0x3000
mov r9, 0x40
call rax
mov rcx, 0x441e
lea r9, [0x1400066b4]
add byte [rax - 0x7d], cl
invalid
dec rcx
mov dl, byte [r9 + rcx]
mov byte [rax + rcx], dl
test rcx, rcx
jne 0x14000a992
je 0x14000a9a9
insb byte [rdi], dx
cld
add byte [rax], al
je 0x14000a9b3
jne 0x14000a97d
lea rax, [0x140009ea6]
add rax, 0xb32
call rax
je 0x14000a94e
push rsp
ror byte [rax - 0x39], cl
shl dword [rsi], 0x3e
add byte [rax], al
mov rcx, 0x3e26
mov r9d, 0x8d68
mov r10d, 0x92819200
lea eax, [rax]
add byte [rcx - 0x46], al
add byte [rdx - 0xb76d7f], dl
leave
dec rcx
xor byte [rax + rcx], r9b
add r9d, r10d
rol r9d, 1
test rcx, rcx
jne 0x14000a9bc
add rax, 0x1ebd
mov rsp, rbp
mov rbp, qword [rsp]
add rsp, 8
ret
Function at 0x13334
Capabilities:
Create device object

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x60
and dword [rsp + 0x78], 0
mov rbx, rcx
lea r8, [rsp + 0x78]
xor r9d, r9d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.ntoskrnl.exe_PsGetVersion]
lea rdx, [0x0001e260]
lea rcx, [rsp + 0x40]
call qword [sym.imp.ntoskrnl.exe_RtlInitUnicodeString]
xor edx, edx
lea rax, [0x000453b0]
mov qword [rsp + 0x30], rax
mov byte [rsp + 0x28], dl
and dword [rsp + 0x20], edx
cmp dword [rsp + 0x78], 0x2580
mov r9d, 0x22
lea r8, [rsp + 0x40]
mov rcx, rbx
jb 0x13411
call qword [sym.imp.ntoskrnl.exe_IoCreateDevice]
mov edi, eax
test eax, eax
js 0x13441
lea rdx, [rsp + 0x80]
lea rcx, [rsp + 0x88]
call fcn.0001323c
test eax, eax
js 0x133fb
mov r8, qword [rsp + 0x80]
mov rcx, qword [0x000453b0]
mov edx, 4
call qword [sym.imp.ntoskrnl.exe_ObSetSecurityObjectByPointer]
mov rcx, qword [rsp + 0x80]
mov ebx, eax
call fcn.0001c090
mov rcx, qword [rsp + 0x88]
call fcn.0001c090
test ebx, ebx
jns 0x13419
xor edx, edx
lea r9, [0x0001e0f0]
xor r8d, r8d
lea ecx, [rdx + 0x26]
call fcn.0001b50c
jmp 0x13419
call qword [sym.imp.ntoskrnl.exe_IoCreateDevice]
mov edi, eax
test edi, edi
js 0x13441
lea rdx, [0x0001e1b0]
lea rcx, [rsp + 0x50]
call qword [sym.imp.ntoskrnl.exe_RtlInitUnicodeString]
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x50]
call qword [sym.imp.ntoskrnl.exe_IoCreateSymbolicLink]
mov edi, eax
mov eax, edi
mov rbx, qword [rsp + 0x70]
add rsp, 0x60
pop rdi
ret

Function at 0x15d68
Capabilities:
Check os version

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
and dword [rsp + 0x38], 0
mov rbx, rcx
call fcn.0001bdac
lea r8, [rsp + 0x38]
xor r9d, r9d
xor edx, edx
xor ecx, ecx
mov edi, eax
call qword [sym.imp.ntoskrnl.exe_PsGetVersion]
lea r11d, [rdi - 1]
cmp r11d, 6
ja 0x15dc6
mov dword [rbx + 4], 0x42
mov dword [rbx + 0xc], 0x55
mov dword [rbx], 0x2d
mov dword [rbx + 8], 0x2f
mov dword [rbx + 0x10], 0x28
xor eax, eax
jmp 0x15e4f
cmp edi, 7
mov eax, dword [rsp + 0x38]
jl 0x15de6
cmp eax, 0x1db1
ja 0x15de6
mov dword [rbx + 4], 0x41
mov dword [rbx + 0xc], 0x53
jmp 0x15dab
cmp edi, 0xb
jl 0x15dfb
cmp eax, 0x23f0
ja 0x15dfb
mov dword [rbx + 4], 0x43
jmp 0x15da4
cmp edi, 0x12
jl 0x15e17
cmp eax, 0x2580
jne 0x15e17
mov dword [rbx + 4], 0x47
mov dword [rbx + 0xc], 0x59
jmp 0x15dab
add eax, 0xffffd800
cmp eax, 0x15a
ja 0x15e36
mov dword [rbx + 4], 0x4a
mov dword [rbx + 0xc], 0x5c
jmp 0x15dab
xor edx, edx
lea r9, [0x0001e0f0]
xor r8d, r8d
lea ecx, [rdx + 0x20]
call fcn.0001b50c
mov eax, 0xc0000002
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
Function at 0x15f98
Capabilities:
Check os version

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x20], rsi
push rdi
push r12
push r13
sub rsp, 0x50
and dword [rax + 0x18], 0
mov r13, rdx
mov rdi, rcx
lea r8, [rax + 0x18]
xor r9d, r9d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.ntoskrnl.exe_PsGetVersion]
mov r9d, dword [rsp + 0x80]
lea r8d, [r9 - 0xa28]
mov r11b, al
cmp r8d, 0x112f
ja 0x15fed
mov ebx, 0x78
jmp 0x16037
lea eax, [r9 - 0x1db0]
cmp eax, 0x18f
ja 0x1600b
neg r11b
sbb ebx, ebx
and ebx, 0x10
add ebx, 0x168
jmp 0x16037
lea eax, [r9 - 0x2328]
cmp eax, 0x258
ja 0x16020
mov ebx, 0x180
jmp 0x16037
lea eax, [r9 - 0x2800]
cmp eax, 0x15a
ja 0x1614e
mov ebx, 0x188
mov rcx, rdi
call fcn.00015f38
mov rdi, rax
test rax, rax
jne 0x1607b
mov rcx, qword gs:[0x188]
call fcn.00015f38
mov rdi, rax
test rax, rax
jne 0x1607b
lea r9, [0x0001e0f0]
lea ecx, [rax + 0x10]
xor r8d, r8d
xor edx, edx
call fcn.0001b50c
mov eax, 0xc0000001
jmp 0x16169
cmp byte [0x000453a3], 0
jne 0x16111
call fcn.00019f70
mov rsi, rax
test rax, rax
jne 0x1609d
lea ecx, [rax + 3]
jmp 0x16153
xor ebp, ebp
lea r12d, [rbp + 0x14]
mov ecx, ebp
lea rdx, [rsp + 0x20]
dec r12d
add rcx, rsi
call fcn.0001cc38
mov ecx, dword [rsp + 0x45]
bt ecx, 0xc
jb 0x16103
test eax, eax
je 0x16103
add ebp, eax
test cl, 1
je 0x160fe
test cl, 2
jne 0x160fe
mov al, byte [rsp + 0x2d]
and al, 7
cmp al, 5
je 0x160fe
bt ecx, 8
jae 0x160e5
mov eax, dword [rsp + 0x3d]
jmp 0x160fa
test cl, cl
jns 0x160f0
movzx eax, word [rsp + 0x3d]
jmp 0x160fa
test cl, 0x40
je 0x160fe
movzx eax, byte [rsp + 0x3d]
cmp eax, ebx
je 0x1610a
test r12d, r12d
jg 0x160a3
mov ecx, 4
jmp 0x16153
mov byte [0x000453a3], 1
mov rax, qword [rbx + rdi]
test rax, rax
jne 0x1613e
mov rcx, qword gs:[0x188]
call fcn.00015f38
test rax, rax
je 0x16071
mov rax, qword [rbx + rax]
test rax, rax
je 0x16071
mov rax, qword [rax + 0x30]
mov rcx, qword [rax + 0x20]
xor eax, eax
mov qword [r13], rcx
jmp 0x16169
mov ecx, 2
lea r9, [0x0001e0f0]
xor r8d, r8d
xor edx, edx
call fcn.0001b50c
mov eax, 0xc00000bb
lea r11, [rsp + 0x50]
mov rbx, qword [r11 + 0x20]
mov rbp, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r13
pop r12
pop rdi
ret