joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400c65a0
Capabilities:
Parse pe header

Disassembly:
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x1400c65c8
movsxd rdx, dword [rcx + 0x3c]
add rdx, rcx
cmp dword [rdx], 0x4550
jne 0x1400c65c8
xor eax, eax
mov ecx, 0x20b
cmp word [rdx + 0x18], cx
sete al
ret
xor eax, eax
ret

Function at 0x1400d0558
Capabilities:
Get geographical location

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov esi, edx
mov ebx, ecx
call fcn.1400ca144
mov ecx, ebx
lea r8, [rsp + 0x30]
and ecx, 0x3ff
mov r9d, 2
bts ecx, 0xa
mov edx, 0x20000001
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
xor edx, edx
test eax, eax
je 0x1400d05f9
cmp ebx, dword [rsp + 0x30]
je 0x1400d05f2
test esi, esi
je 0x1400d05f2
mov r10, qword [rdi + 0x98]
mov r9d, edx
movzx r8d, word [r10]
lea rcx, [r10 + 2]
lea eax, [r8 - 0x41]
cmp ax, 0x19
jbe 0x1400d05cd
sub r8w, 0x61
cmp r8w, 0x19
ja 0x1400d05da
movzx r8d, word [rcx]
inc r9d
add rcx, 2
jmp 0x1400d05b7
or rax, 0xffffffffffffffff
inc rax
cmp word [r10 + rax*2], dx
jne 0x1400d05de
cmp r9d, eax
setne dl
mov eax, edx
jmp 0x1400d05fb
mov eax, 1
jmp 0x1400d05fb
xor eax, eax
mov rbx, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x1400d1478
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 0x1400d14a8
xor eax, eax
jmp 0x1400d156b
mov rbp, rbx
cmp word [rax], si
je 0x1400d14cd
or rax, 0xffffffffffffffff
inc rax
cmp word [rbp + rax*2], si
jne 0x1400d14b4
lea rbp, [rbp + rax*2]
add rbp, 2
cmp word [rbp], si
jne 0x1400d14b0
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.1400d1398
movsxd r14, eax
test eax, eax
jne 0x1400d150b
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
jmp 0x1400d14a1
mov rcx, r14
call fcn.140030bb0
mov rdi, rax
test rax, rax
jne 0x1400d1524
xor ecx, ecx
call fcn.140030a20
jmp 0x1400d1500
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.1400d1398
test eax, eax
jne 0x1400d1555
mov rcx, rdi
call fcn.140030a20
jmp 0x1400d155f
xor ecx, ecx
call fcn.140030a20
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 0x1400d1588
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 0x1400d160f
mov rsi, rbx
cmp word [rax], bp
je 0x1400d15ce
or rax, 0xffffffffffffffff
inc rax
cmp word [rsi + rax*2], bp
jne 0x1400d15b8
lea rsi, [rsi + rax*2]
add rsi, 2
cmp word [rsi], bp
jne 0x1400d15b4
sub rsi, rbx
add rsi, 2
sar rsi, 1
add rsi, rsi
mov rcx, rsi
call fcn.140030bb0
mov rdi, rax
test rax, rax
je 0x1400d15fc
mov r8, rsi
mov rdx, rbx
mov rcx, rax
call fcn.1400a5710
mov rbp, rdi
xor ecx, ecx
call fcn.140030a20
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 0x1400d3bc4
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.1400b0a2c
mov rax, qword [rbp - 0x31]
mov ebx, 0xfde9
cmp dword [rax + 0xc], ebx
jne 0x1400d3c4e
cmp byte [rbp - 0x21], r15b
je 0x1400d3c49
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, ebx
jmp 0x1400d3c84
call fcn.1400ca914
test eax, eax
jne 0x1400d3c70
cmp byte [rbp - 0x21], r15b
je 0x1400d3c68
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, 1
jmp 0x1400d3c84
cmp byte [rbp - 0x21], r15b
je 0x1400d3c81
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.1400b603c
test eax, eax
jne 0x1400d3d24
xor edx, edx
lea rcx, [rbp - 0x39]
call fcn.1400b0a2c
mov rax, qword [rbp - 0x31]
cmp dword [rax + 0xc], ebx
jne 0x1400d3cc3
cmp byte [rbp - 0x21], r15b
je 0x1400d3cf8
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
jmp 0x1400d3cf8
call fcn.1400ca914
test eax, eax
jne 0x1400d3ce4
cmp byte [rbp - 0x21], r15b
je 0x1400d3cdd
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov ebx, 1
jmp 0x1400d3cf8
cmp byte [rbp - 0x21], r15b
je 0x1400d3cf5
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.1400b603c
mov rdi, qword [rbp - 9]
test eax, eax
jne 0x1400d3d24
mov rcx, qword [rbp + 0x27]
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
mov ebx, eax
jmp 0x1400d3d27
mov ebx, r15d
cmp byte [rbp + 0xf], r15b
je 0x1400d3d35
mov rcx, rdi
call fcn.140030a20
cmp byte [rbp + 0x3f], r15b
je 0x1400d3d44
mov rcx, qword [rbp + 0x27]
call fcn.140030a20
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 0x1400d3ee8
Capabilities:
Get disk information

Disassembly:
push rbx
sub rsp, 0x30
mov rax, qword [0x140188028]
xor rax, rsp
mov qword [rsp + 0x28], rax
cmp ecx, 0x1a
jbe 0x1400d3f32
call fcn.1400b94ec
mov dword [rax], 0xf
call fcn.1400b94cc
mov dword [rax], 0xd
call fcn.1400bae5c
xor eax, eax
mov rcx, qword [rsp + 0x28]
xor rcx, rsp
call fcn.1400a3c70
add rsp, 0x30
pop rbx
ret
xor ebx, ebx
test ecx, ecx
jne 0x1400d3f3d
lea eax, [rbx + 1]
jmp 0x1400d3f1f
add cx, 0x40
mov dword [rsp + 0x22], 0x5c003a
mov word [rsp + 0x20], cx
lea rcx, [rsp + 0x20]
mov word [rsp + 0x26], bx
call qword [sym.imp.KERNEL32.dll_GetDriveTypeW]
test eax, eax
je 0x1400d3f1d
cmp eax, 1
setne bl
mov eax, ebx
jmp 0x1400d3f1f
Function at 0x1400d4d54
Capabilities:
Get file size

Disassembly:
push rbx
sub rsp, 0x20
mov edx, dword [rcx + 0x14]
nop
shr edx, 3
test dl, 1
je 0x1400d4d6a
mov al, 1
jmp 0x1400d4dca
mov eax, dword [rcx + 0x14]
nop
test al, 0xc0
je 0x1400d4d7b
mov rax, qword [rcx + 8]
cmp qword [rcx], rax
je 0x1400d4dc8
mov ecx, dword [rcx + 0x18]
nop
call fcn.1400ba17c
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x1400d4dc8
mov r9d, 1
lea r8, [rsp + 0x38]
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetFilePointerEx]
test eax, eax
je 0x1400d4dc8
lea rdx, [rsp + 0x30]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
je 0x1400d4dc8
mov rax, qword [rsp + 0x30]
cmp qword [rsp + 0x38], rax
sete al
jmp 0x1400d4dca
xor al, al
add rsp, 0x20
pop rbx
ret
Function at 0x1400d9e40
Capabilities:
Get common file path

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x250
mov rax, qword [0x140188028]
xor rax, rsp
mov qword [rsp + 0x248], rax
mov sil, 1
cmp qword [0x14019abc0], 0
je 0x1400d9e86
mov rcx, qword [rsp + 0x248]
xor rcx, rsp
call fcn.1400a3c70
mov eax, esi
add rsp, 0x250
pop rbx
pop rdi
pop rsi
ret
mov rcx, qword [0x14019ab98]
test rcx, rcx
je 0x1400d9f24
test byte [0x14018a038], 1
je 0x1400d9e69
cmp byte [rcx + 0x17], 0
jns 0x1400d9ea8
mov rcx, qword [rcx]
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0x80
mov dword [rsp + 0x20], 4
mov edx, 4
mov r8d, 3
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov qword [0x14019abc0], rax
inc rax
cmp rax, 1
ja 0x1400d9e69
lea rdi, [rsp + 0x40]
mov r8d, 0x208
mov rcx, rdi
mov dl, 0xaa
call fcn.1400a5dc0
mov word [rdi], 0
mov ecx, 0x104
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
add eax, 0xfffffefb
cmp eax, 0xfffffefc
jae 0x1400d9ff1
xor esi, esi
jmp 0x1400d9e69
mov ecx, 0x18
call fcn.1400a27b0
mov rsi, rax
lea rdi, [rsp + 0x40]
mov r8d, 0x208
mov rcx, rdi
mov dl, 0xaa
call fcn.1400a5dc0
xor ecx, ecx
mov rdx, rdi
mov r8d, 0x104
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
movaps xmm0, xmmword [0x14015cb80]
movups xmmword [rsi], xmm0
movabs rax, 0xaaaaaaaaaaaaaaaa
mov qword [rsi + 0x10], rax
mov rcx, rsi
mov rdx, rdi
call fcn.14005a07e
movzx eax, byte [rsi + 0x17]
test al, al
js 0x1400d9f8a
and eax, 0x7f
mov rcx, rsi
jmp 0x1400d9f91
mov rax, qword [rsi + 8]
mov rcx, qword [rsi]
test rax, rax
je 0x1400d9fcc
lea r8, [rax + rax]
test r8, r8
je 0x1400d9fcc
lea rdx, [r8 - 2]
cmp word [rcx + r8 - 2], 0x5c
mov r8, rdx
jne 0x1400d9f9a
cmp rdx, 0xfffffffffffffffe
je 0x1400d9fcc
sar rdx, 1
cmp rax, rdx
jbe 0x1400da0d7
inc rdx
mov rcx, rsi
call fcn.140104700
lea rdx, [0x1401647f8]
mov r8d, 9
mov rcx, rsi
call fcn.14002f378
mov qword [0x14019ab98], 0
jmp 0x1400d9f1d
mov rdi, qword [0x14019ab98]
lea rbx, [rsp + 0x40]
mov rcx, rbx
call fcn.1400c5964
mov rcx, rdi
mov rdx, rbx
mov r8, rax
call fcn.1400607ee
mov rcx, qword [0x14019ab98]
movzx eax, byte [rcx + 0x17]
test al, al
jns 0x1400da0ca
mov rax, qword [rcx + 8]
test rax, rax
je 0x1400da0df
mov rdx, qword [rcx]
cmp word [rdx + rax*2 - 2], 0x5c
je 0x1400da057
lea rdx, [0x1401647f4]
mov r8d, 1
call fcn.14002f378
mov rcx, qword [0x14019ab98]
lea rdx, [0x1401647f8]
mov r8d, 9
call fcn.14002f378
mov rcx, qword [0x14019ab98]
cmp byte [rcx + 0x17], 0
jns 0x1400da079
mov rcx, qword [rcx]
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0x80
mov dword [rsp + 0x20], 4
mov edx, 4
mov r8d, 3
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov qword [0x14019abc0], rax
inc rax
cmp rax, 1
ja 0x1400d9e69
mov qword [0x14019abc0], 0
jmp 0x1400d9f1d
test rax, rax
je 0x1400da0df
mov rdx, rcx
jmp 0x1400da036
mov rcx, rsi
call fcn.1400e15e6
lea rax, str.string::back__:_string_is_empty
mov qword [rsp + 0x20], rax
lea rcx, str._s:_d:_assertion__s_failed:__s
lea rdx, str....._buildtools_third_partylibc_trunkinclude_string
lea r9, str._empty__
mov r8d, 0x501
call fcn.1400e3515
int3
Function at 0x1400da490
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x78
movaps xmmword [rsp + 0x60], xmm6
mov rax, qword [0x140188028]
xor rax, rsp
mov qword [rsp + 0x58], rax
movzx eax, byte [0x14019ac18]
and eax, 1
neg rax
cmp rax, 0xfffffffffffffffd
je 0x1400da60f
mov qword [rsp + 0x20], rdx
mov r15, qword [rcx]
mov qword [rsp + 0x28], rcx
mov r12, qword [rcx + 8]
xor r13d, r13d
lea rbp, [0x140164a10]
movabs rdi, 0xaaaaaaaaaaaaaaaa
movaps xmm6, xmmword [0x14015cb80]
lea rbx, [rsp + 0x40]
jmp 0x1400da52e
xor r14d, r14d
jmp 0x1400da505
xor esi, esi
test al, al
jns 0x1400da50e
call fcn.1400a27ec
test sil, sil
jne 0x1400da5af
inc r13
movzx eax, byte [0x14019ac18]
xor rax, 3
cmp r13, rax
jae 0x1400da60f
mov rdx, r13
shl rdx, 4
add rdx, rbp
mov qword [rsp + 0x50], rdi
movaps xmmword [rsp + 0x40], xmm6
mov rcx, rbx
call fcn.14002fff0
movzx eax, byte [rsp + 0x57]
mov edx, eax
and edx, 0x7f
test al, al
mov rcx, qword [rsp + 0x40]
mov r8, rbx
cmovs r8, rcx
cmovs rdx, qword [rsp + 0x48]
cmp r12, rdx
mov r9, rdx
cmovb r9, r12
test r9, r9
js 0x1400da65e
cmp rdx, r12
ja 0x1400da503
mov sil, 1
test rdx, rdx
je 0x1400da4fe
xor r9d, r9d
movzx r10d, word [r15 + r9*2]
cmp r10w, word [r8 + r9*2]
jne 0x1400da503
inc r9
cmp rdx, r9
jne 0x1400da58f
mov r14, rdx
jmp 0x1400da505
test r14, r14
je 0x1400da60f
mov rsi, qword [rsp + 0x28]
cmp r14, qword [rsi + 8]
je 0x1400da60f
lea rax, [0x140164a70]
lea rdx, [rsp + 0x40]
mov qword [rdx], rax
mov qword [rdx + 8], 1
movups xmm0, xmmword [rsi]
lea rcx, [rsp + 0x30]
movaps xmmword [rcx], xmm0
xor r8d, r8d
call fcn.140071fc0
mov rcx, qword [rsi + 8]
sub rcx, r14
jb 0x1400da661
sub rax, r14
cmp rcx, rax
cmovb rax, rcx
test rax, rax
mov rdx, qword [rsp + 0x20]
js 0x1400da664
mov rcx, qword [rdx + 8]
cmp rax, rcx
je 0x1400da636
xor ebx, ebx
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.1400a3c70
mov eax, ebx
movaps xmm6, xmmword [rsp + 0x60]
add rsp, 0x78
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
mov bl, 1
test rcx, rcx
je 0x1400da611
mov rax, qword [rdx]
add r14, r14
add r14, qword [rsi]
xor edx, edx
movzx r8d, word [r14 + rdx*2]
cmp r8w, word [rax + rdx*2]
jne 0x1400da60f
inc rdx
cmp rcx, rdx
jne 0x1400da648
jmp 0x1400da611
int3
int3
int3
Function at 0x1400e35e6
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x28
mov rsi, r9
mov rdi, r8
mov rbx, rdx
mov r14, rcx
mov ecx, 2
call sym.elevation_service.exe_OQS_CPU_has_extension
mov rcx, r14
mov rdx, rbx
mov r8, rdi
mov r9, rsi
test eax, eax
je 0x1400e3623
add rsp, 0x28
pop rbx
pop rdi
pop rsi
pop r14
jmp 0x1400eb41b
nop
add rsp, 0x28
pop rbx
pop rdi
pop rsi
pop r14
jmp 0x1400e3bb6
sub rsp, 0x28
mov rax, r8
mov r8, rdx
mov rdx, rcx
shr r8, 4
mov dword [rsp + 0x20], 0xe
mov rcx, r9
mov r9, rax
call fcn.1400e3a83
nop
add rsp, 0x28
ret
cmp rdx, 0x10
jb 0x1400eb4b1
shr rdx, 4
xor eax, eax
vmovdqa xmm0, xmmword [r8]
vpxor xmm0, xmm0, xmmword [rcx + rax]
vaesenc xmm0, xmm0, xmmword [r8 + 0x10]
vaesenc xmm0, xmm0, xmmword [r8 + 0x20]
vaesenc xmm0, xmm0, xmmword [r8 + 0x30]
vaesenc xmm0, xmm0, xmmword [r8 + 0x40]
vaesenc xmm0, xmm0, xmmword [r8 + 0x50]
vaesenc xmm0, xmm0, xmmword [r8 + 0x60]
vaesenc xmm0, xmm0, xmmword [r8 + 0x70]
vaesenc xmm0, xmm0, xmmword [r8 + 0x80]
vaesenc xmm0, xmm0, xmmword [r8 + 0x90]
vaesenc xmm0, xmm0, xmmword [r8 + 0xa0]
vaesenc xmm0, xmm0, xmmword [r8 + 0xb0]
vaesenc xmm0, xmm0, xmmword [r8 + 0xc0]
vaesenc xmm0, xmm0, xmmword [r8 + 0xd0]
vaesenclast xmm0, xmm0, xmmword [r8 + 0xe0]
vmovdqu xmmword [r9 + rax], xmm0
add rax, 0x10
dec rdx
jne 0x1400eb42b
ret
Function at 0x1400e4740
Capabilities:
Encode data using xor

Disassembly:
test r8, r8
je 0x1400e476a
xor eax, eax
xor r9d, r9d
mov r10b, byte [rdx + rax]
xor r10b, byte [rcx + rax]
or r9b, r10b
inc rax
cmp r8, rax
jne 0x1400e474a
movzx eax, r9b
neg eax
shr eax, 8
and eax, 1
ret
xor eax, eax
jmp 0x1400e4761

Function at 0x1400e4960
Capabilities:
Encode data using xor

Disassembly:
sub rsp, 0x58
mov rax, qword [0x140188028]
xor rax, rsp
mov qword [rsp + 0x50], rax
vmovups ymm0, ymmword [rcx]
vmovups ymm1, ymmword [rcx + 0x10]
vmovups ymmword [rsp + 0x30], ymm1
vmovups ymmword [rsp + 0x20], ymm0
test rdx, rdx
je 0x1400e499f
xor eax, eax
mov cl, byte [rdx + rax]
xor byte [rsp + rax + 0x20], cl
inc rax
cmp rax, 0x30
jne 0x1400e498f
vxorps xmm0, xmm0, xmm0
vmovups ymmword [0x140199408], ymm0
vmovups ymmword [0x1401993f8], ymm0
lea rcx, [rsp + 0x20]
vzeroupper
call fcn.1400e49dd
mov dword [0x140199428], 1
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.1400a3c70
nop
add rsp, 0x58
ret

Function at 0x1400e49dd
Capabilities:
Encode data using xor

Disassembly:
push r15
push r14
push r12
push rsi
push rdi
push rbx
sub rsp, 0x68
mov rsi, rcx
mov rax, qword [0x140188028]
xor rax, rsp
mov qword [rsp + 0x60], rax
vpbroadcastb ymm0, byte [0x140160210]
vmovdqu ymmword [rsp + 0x40], ymm0
vmovdqu ymmword [rsp + 0x30], ymm0
xor r12d, r12d
lea rdi, [0x1401993f8]
lea rbx, [rsp + 0x28]
lea r14, [0x140199418]
jmp 0x1400e4a7b
inc cl
mov byte [rax + rdi + 0x20], cl
mov rax, r12
shl rax, 4
lea r15, [rsp + rax]
add r15, 0x30
mov qword [rsp + 0x28], 0
mov rcx, rdi
mov rdx, rbx
vzeroupper
call fcn.1400e3518
mov edx, 0x10
mov rcx, r14
mov r8, rdi
mov r9, r15
call fcn.1400e357d
mov rcx, qword [rsp + 0x28]
call fcn.1400e354f
inc r12
cmp r12, 3
je 0x1400e4a97
mov eax, 0xf
mov eax, eax
mov cl, byte [rax + rdi + 0x20]
cmp cl, 0xff
jne 0x1400e4a29
mov byte [rax + rdi + 0x20], 0
add eax, 0xffffffff
jb 0x1400e4a80
jmp 0x1400e4a2f
test rsi, rsi
je 0x1400e4aae
xor eax, eax
mov cl, byte [rsi + rax]
xor byte [rsp + rax + 0x30], cl
inc rax
cmp rax, 0x30
jne 0x1400e4a9e
vmovups ymm0, ymmword [rsp + 0x30]
vmovups ymmword [0x1401993f8], ymm0
vmovaps xmm0, xmmword [rsp + 0x50]
vmovups xmmword [0x140199418], xmm0
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
vzeroupper
call fcn.1400a3c70
nop
add rsp, 0x68
pop rbx
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret

Function at 0x1400eca44
Capabilities:
Encode data using xor

Disassembly:
test r8, r8
je 0x1400eca6a
xor r9d, r9d
xor eax, eax
mov r10b, byte [rdx + rax]
xor r10b, byte [rcx + rax]
or r9b, r10b
inc rax
cmp r8, rax
jne 0x1400eca4e
xor eax, eax
test r9b, r9b
setne al
ret
xor eax, eax
ret

Function at 0x1400eca6d
Capabilities:
Encode data using xor

Disassembly:
test r8, r8
je 0x1400eca94
neg r9b
xor eax, eax
mov r10b, byte [rcx + rax]
mov r11b, byte [rdx + rax]
xor r11b, r10b
and r11b, r9b
xor r11b, r10b
mov byte [rcx + rax], r11b
inc rax
cmp r8, rax
jne 0x1400eca77
ret
Function at 0x140104780
Capabilities:
Terminate process

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x30
mov ebx, r8d
mov edi, edx
mov rsi, rcx
mov rax, qword [0x140188028]
xor rax, rsp
mov qword [rsp + 0x28], rax
cmp byte [rcx + 8], 0
je 0x1401047f1
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
mov edx, edi
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
test eax, eax
je 0x1401047fb
mov dil, 1
test bl, bl
je 0x1401047da
cmp byte [rsi + 8], 0
je 0x1401047f6
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
mov edx, 0xea60
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rcx, qword [rsp + 0x28]
xor rcx, rsp
call fcn.1400a3c70
mov eax, edi
add rsp, 0x30
pop rbx
pop rdi
pop rsi
ret
mov rcx, qword [rsi]
jmp 0x1401047ad
mov rcx, qword [rsi]
jmp 0x1401047cf
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp byte [rsi + 8], 0
je 0x140104823
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
mov edx, 0xea60
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x140104828
xor edi, edi
jmp 0x1401047da
mov rcx, qword [rsi]
jmp 0x140104810
mov dword [rsp + 0x24], 0xaaaaaaaa
cmp byte [rsi + 8], 0
je 0x14010484f
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
lea rdx, [rsp + 0x24]
call qword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
mov dil, 1
jmp 0x1401047da
mov rcx, qword [rsi]
jmp 0x14010483f
Function at 0x140104ba0
Capabilities:
Move file

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x98
mov rsi, rcx
mov rax, qword [0x140188028]
xor rax, rsp
mov qword [rsp + 0x90], rax
movabs rax, 0xaaaaaaaaaaaaaaaa
lea rbx, [rsp + 0x40]
mov qword [rbx + 0x40], rax
movaps xmm0, xmmword [0x14015cb80]
movaps xmmword [rbx + 0x30], xmm0
movaps xmmword [rbx + 0x20], xmm0
movaps xmmword [rbx + 0x10], xmm0
movaps xmmword [rbx], xmm0
lea rdx, str.DeleteFileAfterReboot
lea r8, str....._base_files_file_util_win.cc
lea r14, [rsp + 0x20]
mov rcx, r14
mov r9d, 0x217
call fcn.1400341a0
xor edi, edi
mov rcx, rbx
mov rdx, r14
xor r8d, r8d
call fcn.14003ab40
mov al, byte [rsi + 0x17]
test al, al
jns 0x140104c2c
cmp qword [rsi + 8], 0x103
ja 0x140104c4a
test al, al
jns 0x140104c33
mov rsi, qword [rsi]
mov rcx, rsi
xor edx, edx
mov r8d, 4
call qword [sym.imp.KERNEL32.dll_MoveFileExW]
test eax, eax
setne dil
lea rcx, [rsp + 0x40]
call fcn.14003bc70
mov rcx, qword [rsp + 0x90]
xor rcx, rsp
call fcn.1400a3c70
mov eax, edi
add rsp, 0x98
pop rbx
pop rdi
pop rsi
pop r14
ret
Function at 0x140104c80
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push r15
push r14
push rsi
push rdi
push rbx
sub rsp, 0xc0
mov edi, edx
mov rbx, rcx
mov rax, qword [0x140188028]
xor rax, rsp
mov qword [rsp + 0xb8], rax
call fcn.14003d830
cmp eax, 8
jle 0x140104d45
movabs rax, 0xaaaaaaaaaaaaaaaa
lea r14, [rsp + 0x70]
mov qword [r14 + 0x40], rax
movaps xmm0, xmmword [0x14015cb80]
movaps xmmword [r14 + 0x30], xmm0
movaps xmmword [r14 + 0x20], xmm0
movaps xmmword [r14 + 0x10], xmm0
movaps xmmword [r14], xmm0
lea rdx, str.DeleteFileWithDispositionFlags
lea r8, str....._base_files_file_util_win.cc
lea r15, [rsp + 0x50]
mov rcx, r15
mov r9d, 0x227
call fcn.1400341a0
xor esi, esi
mov rcx, r14
mov rdx, r15
xor r8d, r8d
call fcn.14003ab40
cmp byte [rbx + 0x17], 0
mov rcx, rbx
jns 0x140104d1d
mov rcx, qword [rbx]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x140104d39
test al, 0x10
je 0x140104d73
mov ecx, 0x32
call qword [sym.imp.KERNEL32.dll_SetLastError]
xor esi, esi
lea rcx, [rsp + 0x70]
call fcn.14003bc70
jmp 0x140104d52
mov ecx, 0x32
call qword [sym.imp.KERNEL32.dll_SetLastError]
xor esi, esi
mov rcx, qword [rsp + 0xb8]
xor rcx, rsp
call fcn.1400a3c70
mov eax, esi
add rsp, 0xc0
pop rbx
pop rdi
pop rsi
pop r14
pop r15
ret
cmp byte [rbx + 0x17], 0
jns 0x140104d7c
mov rbx, qword [rbx]
xor esi, esi
mov qword [rsp + 0x30], rsi
mov dword [rsp + 0x28], 0
mov dword [rsp + 0x20], 3
mov rcx, rbx
mov edx, 0x10100
mov r8d, 7
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_CreateFileW]
lea rbx, [rsp + 0x48]
mov qword [rbx], rsi
mov rcx, rbx
mov rdx, rax
call fcn.14002fda0
mov rax, qword [rbx]
inc rax
cmp rax, 2
jae 0x140104df3
mov rax, qword [rsp + 0x48]
inc rax
cmp rax, 2
jb 0x140104d39
call fcn.1400341c0
mov rcx, qword [rsp + 0x48]
call fcn.14002fd10
jmp 0x140104d39
xor esi, esi
jmp 0x140104dc9
lea rcx, [0x140164466]
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
lea rdx, str.NtSetInformationFile
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x140104def
or edi, 1
movups xmm0, xmmword [0x140164480]
lea rdx, [rsp + 0x50]
movaps xmmword [rdx], xmm0
lea r8, [rsp + 0x44]
mov dword [r8], edi
mov rcx, qword [rsp + 0x48]
mov dword [rsp + 0x20], 0x40
mov r9d, 4
call qword [0x1401b0008]
test eax, eax
sete sil
je 0x140104dc9
mov edi, eax
lea rcx, [0x140164466]
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
lea rdx, str.RtlNtStatusToDosError
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x140104e82
mov ecx, edi
call qword [0x1401b0008]
mov edi, eax
mov ecx, edi
call qword [sym.imp.KERNEL32.dll_SetLastError]
jmp 0x140104dc9