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

Disassembly:
mov rax, rsp
push rbp
push rdi
push r12
push r14
push r15
lea rbp, [rax - 0x278]
sub rsp, 0x350
mov qword [rsp + 0x38], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov rax, qword [0x14017da30]
xor rax, rsp
mov qword [rbp + 0x240], rax
mov r14, rcx
lea rdx, [rsp + 0x60]
mov ecx, 0x68
call qword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsW]
mov esi, eax
xor r15d, r15d
mov ebx, r15d
test eax, eax
je 0x1400d15eb
mov r12d, 7
nop dword [rax]
nop dword [rax + rax]
movsxd rcx, ebx
mov qword [rsp + 0x58], r12
mov word [rsp + 0x40], r15w
mov eax, dword [rsp + rcx*2 + 0x60]
mov dword [rsp + 0x40], eax
mov qword [rsp + 0x50], 2
lea rax, [rsp + 0x40]
cmp r12, 8
cmovae rax, qword [rsp + 0x40]
mov word [rax + 4], r15w
mov word [rbp + 0x30], r15w
xor edx, edx
mov r8d, 0x208
lea rcx, [rbp + 0x32]
call sub.MSVCR120.dll_memset
lea rcx, [rsp + 0x40]
cmp qword [rsp + 0x58], 8
cmovae rcx, qword [rsp + 0x40]
mov r8d, 0x104
lea rdx, [rbp + 0x30]
call qword [sym.imp.KERNEL32.dll_QueryDosDeviceW]
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x28]
call qword [sym.imp.Qt5Core.dll_public:_static_class_QString___cdecl_QString::fromStdWString_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const____ptr64_]
mov rdi, rax
or r8d, 0xffffffff
lea rdx, [rbp + 0x30]
lea rcx, [rsp + 0x20]
call qword [sym.imp.Qt5Core.dll_public:_static_class_QString___cdecl_QString::fromUtf16_unsigned_short_int_const____ptr64__int_]
nop
lea rcx, [r14 + 0x10]
mov r9, rdi
mov r8, rax
lea rdx, [rsp + 0x30]
call fcn.1400d1620
nop
lea rcx, [rsp + 0x20]
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QString::destructor_void____ptr64]
nop
lea rcx, [rsp + 0x28]
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QString::destructor_void____ptr64]
nop
cmp qword [rsp + 0x58], 8
jb 0x1400d15e0
mov rcx, qword [rsp + 0x40]
call sub.MSVCR120.dll_void___cdecl_operator_delete_void____ptr64_
add ebx, 4
cmp ebx, esi
jb 0x1400d1510
mov rcx, qword [rbp + 0x240]
xor rcx, rsp
call fcn.14010a480
lea r11, [rsp + 0x350]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret
Function at 0x1400d3830
Capabilities:
Encode data using xor
Encrypt data using aes
Reference aes constants

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
push r14
push r15
sub rsp, 0x20
mov rdi, rdx
lea r9, [rcx + 0x40]
mov rsi, rcx
mov r10, r9
lea rbx, [rdi + 0x10]
sub rsi, rdi
sub r10, rcx
mov r14, rcx
mov dl, 0x10
mov r8, rbx
sub r9, rdi
nop word [rax + rax]
movzx eax, byte [r9 + r8 - 1]
lea r8, [r8 - 1]
lea rcx, [rsi + r8]
mov byte [rsi + r8], al
xor byte [r8], al
movzx eax, byte [rcx + r10 + 0x10]
mov byte [rcx + 0x10], al
add dl, 0xff
jne 0x1400d3870
movzx ecx, byte [rdi + 1]
movzx eax, byte [rdi + 0xd]
mov dl, 0x10
mov byte [rdi + 1], al
movzx eax, byte [rdi + 9]
lea r15, [0x140136d10]
mov byte [rdi + 0xd], al
movzx eax, byte [rdi + 5]
mov byte [rdi + 5], cl
movzx ecx, byte [rdi + 2]
mov byte [rdi + 9], al
movzx eax, byte [rdi + 0xa]
mov byte [rdi + 2], al
movzx eax, byte [rdi + 7]
mov byte [rdi + 0xa], cl
movzx ecx, byte [rdi + 3]
mov byte [rdi + 3], al
movzx eax, byte [rdi + 0xb]
mov byte [rdi + 7], al
movzx eax, byte [rdi + 0xf]
mov byte [rdi + 0xf], cl
movzx ecx, byte [rdi + 6]
mov byte [rdi + 0xb], al
movzx eax, byte [rdi + 0xe]
mov byte [rdi + 0xe], cl
mov byte [rdi + 6], al
mov rcx, rbx
nop dword [rax]
nop word [rax + rax]
movzx eax, byte [rcx - 1]
lea rcx, [rcx - 1]
movzx eax, byte [rax + r15]
mov byte [rcx], al
add dl, 0xff
jne 0x1400d3900
mov byte [rsp + 0x40], pe_nt_image_headers64
mov bpl, 0xd
nop dword [rax]
test bpl, 1
je 0x1400d3952
lea rdx, [rsp + 0x40]
mov rcx, r14
call fcn.1400d3e20
mov dl, 0x10
mov rcx, rbx
nop dword [rax + rax]
movzx eax, byte [rcx + rsi + 0xf]
lea rcx, [rcx - 1]
xor byte [rcx], al
add dl, 0xff
jne 0x1400d3940
jmp 0x1400d3970
mov dl, 0x10
mov rax, rbx
nop word [rax + rax]
movzx ecx, byte [rax + rsi - 1]
lea rax, [rax - 1]
xor byte [rax], cl
add dl, 0xff
jne 0x1400d3960
mov rcx, rdi
call fcn.1400d4110
movzx ecx, byte [rdi + 1]
movzx eax, byte [rdi + 0xd]
mov byte [rdi + 1], al
movzx eax, byte [rdi + 9]
mov dl, 0x10
mov byte [rdi + 0xd], al
movzx eax, byte [rdi + 5]
mov byte [rdi + 5], cl
movzx ecx, byte [rdi + 2]
mov byte [rdi + 9], al
movzx eax, byte [rdi + 0xa]
mov byte [rdi + 2], al
movzx eax, byte [rdi + 7]
mov byte [rdi + 0xa], cl
movzx ecx, byte [rdi + 3]
mov byte [rdi + 3], al
movzx eax, byte [rdi + 0xb]
mov byte [rdi + 7], al
movzx eax, byte [rdi + 0xf]
mov byte [rdi + 0xf], cl
movzx ecx, byte [rdi + 6]
mov byte [rdi + 0xb], al
movzx eax, byte [rdi + 0xe]
mov byte [rdi + 0xe], cl
mov byte [rdi + 6], al
mov rcx, rbx
movzx eax, byte [rcx - 1]
dec rcx
movzx eax, byte [rax + r15]
mov byte [rcx], al
add dl, 0xff
jne 0x1400d39d1
add bpl, 0xff
jne 0x1400d3920
mov cl, 0x10
movzx eax, byte [rbx + rsi - 1]
lea rbx, [rbx - 1]
xor byte [rbx], al
add cl, 0xff
jne 0x1400d39f0
mov rbx, qword [rsp + 0x48]
mov rbp, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x58]
add rsp, 0x20
pop r15
pop r14
pop rdi
ret
Function at 0x1400d3a50
Capabilities:
Encode data using xor
Encrypt data using aes
Reference aes constants

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
push r14
push r15
sub rsp, 0x20
mov rdi, rdx
lea r9, [rcx + 0x20]
mov rsi, rcx
mov r10, r9
lea rbx, [rdi + 0x10]
sub rsi, rdi
sub r10, rcx
mov r14, rcx
mov dl, 0x10
mov r8, rbx
sub r9, rdi
nop word [rax + rax]
movzx eax, byte [r9 + r8 - 1]
lea r8, [r8 - 1]
lea rcx, [rsi + r8]
mov byte [rsi + r8], al
xor byte [r8], al
movzx eax, byte [rcx + r10 + 0x10]
mov byte [rcx + 0x10], al
add dl, 0xff
jne 0x1400d3a90
mov bpl, 1
lea r15, str.cw
mov byte [rsp + 0x40], bpl
mov dl, 0x10
mov rcx, rbx
nop word [rax + rax]
movzx eax, byte [rcx - 1]
lea rcx, [rcx - 1]
movzx eax, byte [rax + r15]
mov byte [rcx], al
add dl, 0xff
jne 0x1400d3ad0
movzx ecx, byte [rdi + 1]
movzx eax, byte [rdi + 5]
mov byte [rdi + 1], al
movzx eax, byte [rdi + 9]
mov byte [rdi + 5], al
movzx eax, byte [rdi + 0xd]
mov byte [rdi + 0xd], cl
movzx ecx, byte [rdi + 0xa]
mov byte [rdi + 9], al
movzx eax, byte [rdi + 2]
mov byte [rdi + 0xa], al
movzx eax, byte [rdi + 0xf]
mov byte [rdi + 2], cl
movzx ecx, byte [rdi + 3]
mov byte [rdi + 3], al
movzx eax, byte [rdi + 0xb]
mov byte [rdi + 0xf], al
movzx eax, byte [rdi + 7]
mov byte [rdi + 7], cl
movzx ecx, byte [rdi + 0xe]
mov byte [rdi + 0xb], al
movzx eax, byte [rdi + 6]
mov byte [rdi + 6], cl
mov rcx, rdi
mov byte [rdi + 0xe], al
call fcn.1400d4030
test bpl, 1
je 0x1400d3b62
mov dl, 0x10
mov rax, rbx
nop dword [rax + rax]
movzx ecx, byte [rax + rsi + 0xf]
lea rax, [rax - 1]
xor byte [rax], cl
add dl, 0xff
jne 0x1400d3b50
jmp 0x1400d3b90
lea rdx, [rsp + 0x40]
mov rcx, r14
call fcn.1400d3f30
mov dl, 0x10
mov rcx, rbx
nop dword [rax]
nop dword [rax + rax]
movzx eax, byte [rcx + rsi - 1]
lea rcx, [rcx - 1]
xor byte [rcx], al
add dl, 0xff
jne 0x1400d3b80
inc bpl
cmp bpl, 0xe
jb 0x1400d3ac2
mov dl, 0x10
mov rcx, rbx
nop dword [rax]
nop word [rax + rax]
movzx eax, byte [rcx - 1]
lea rcx, [rcx - 1]
movzx eax, byte [rax + r15]
mov byte [rcx], al
add dl, 0xff
jne 0x1400d3bb0
movzx ecx, byte [rdi + 1]
movzx eax, byte [rdi + 5]
lea rdx, [rsp + 0x40]
mov byte [rdi + 1], al
movzx eax, byte [rdi + 9]
mov byte [rdi + 5], al
movzx eax, byte [rdi + 0xd]
mov byte [rdi + 0xd], cl
movzx ecx, byte [rdi + 0xa]
mov byte [rdi + 9], al
movzx eax, byte [rdi + 2]
mov byte [rdi + 0xa], al
movzx eax, byte [rdi + 0xf]
mov byte [rdi + 2], cl
movzx ecx, byte [rdi + 3]
mov byte [rdi + 3], al
movzx eax, byte [rdi + 0xb]
mov byte [rdi + 0xf], al
movzx eax, byte [rdi + 7]
mov byte [rdi + 7], cl
movzx ecx, byte [rdi + 0xe]
mov byte [rdi + 0xb], al
movzx eax, byte [rdi + 6]
mov byte [rdi + 6], cl
mov rcx, r14
mov byte [rdi + 0xe], al
call fcn.1400d3f30
mov cl, 0x10
nop word [rax + rax]
movzx eax, byte [rbx + rsi - 1]
lea rbx, [rbx - 1]
xor byte [rbx], al
add cl, 0xff
jne 0x1400d3c30
mov rbx, qword [rsp + 0x48]
mov rbp, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x58]
add rsp, 0x20
pop r15
pop r14
pop rdi
ret
Function at 0x1400d3c60
Capabilities:
Encode data using xor
Encrypt data using aes
Reference aes constants

Disassembly:
mov r9, rcx
lea r8, [rcx + 0x20]
sub rdx, rcx
mov ecx, 0x20
mov r10b, 1
movzx eax, byte [rdx + r8 - 0x20]
inc r8
mov byte [r8 + 0x1f], al
mov byte [r8 - 1], al
dec rcx
jne 0x1400d3c72
mov r8b, 7
lea r11, str.cw
nop dword [rax]
nop word [rax + rax]
movzx eax, byte [r9 + 0x5d]
mov edx, 3
movzx ecx, byte [rax + r11]
movzx eax, byte [r9 + 0x5e]
xor cl, byte [r9 + 0x40]
xor cl, r10b
mov byte [r9 + 0x40], cl
movzx eax, byte [rax + r11]
movzx ecx, r10b
xor byte [r9 + 0x41], al
movzx eax, byte [r9 + 0x5f]
shr cl, 7
movzx eax, byte [rax + r11]
add r10b, r10b
xor byte [r9 + 0x42], al
movzx eax, byte [r9 + 0x5c]
movzx eax, byte [rax + r11]
xor byte [r9 + 0x43], al
mov al, 0x1b
imul cl
xor r10b, al
lea rcx, [r9 + 0x45]
nop dword [rax]
movzx eax, byte [rcx - 5]
lea rcx, [rcx + 4]
xor byte [rcx - 5], al
movzx eax, byte [rcx - 8]
xor byte [rcx - 4], al
movzx eax, byte [rcx - 7]
xor byte [rcx - 3], al
movzx eax, byte [rcx - 6]
xor byte [rcx - 2], al
dec rdx
jne 0x1400d3d00
movzx eax, byte [r9 + 0x4c]
mov edx, 3
movzx eax, byte [rax + r11]
xor byte [r9 + 0x50], al
movzx eax, byte [r9 + 0x4d]
movzx eax, byte [rax + r11]
xor byte [r9 + 0x51], al
movzx eax, byte [r9 + 0x4e]
movzx eax, byte [rax + r11]
xor byte [r9 + 0x52], al
movzx eax, byte [r9 + 0x4f]
movzx eax, byte [rax + r11]
xor byte [r9 + 0x53], al
lea rax, [r9 + 0x55]
nop word [rax + rax]
movzx ecx, byte [rax - 5]
lea rax, [rax + 4]
xor byte [rax - 5], cl
movzx ecx, byte [rax - 8]
xor byte [rax - 4], cl
movzx ecx, byte [rax - 7]
xor byte [rax - 3], cl
movzx ecx, byte [rax - 6]
xor byte [rax - 2], cl
dec rdx
jne 0x1400d3d70
add r8b, 0xff
jne 0x1400d3ca0
ret
Function at 0x1400d3e20
Capabilities:
Encode data using xor
Encrypt data using aes
Reference aes constants

Disassembly:
mov qword [rsp + 8], rbx
mov rbx, rdx
mov r9, rcx
lea rax, [rcx + 0x1d]
mov r10d, 3
nop word [rax + rax]
movzx r8d, byte [rax - 5]
movzx ecx, byte [rax - 3]
lea rax, [rax - 4]
xor byte [rax + 3], r8b
xor byte [rax + 5], cl
movzx r8d, byte [rax]
movzx ecx, byte [rax + 2]
xor byte [rax + 4], r8b
xor byte [rax + 6], cl
dec r10
jne 0x1400d3e40
movzx eax, byte [r9 + 0xc]
lea r8, str.cw
mov dl, reloc.OLEAUT32.dll_VariantTimeToDosDateTime
movzx eax, byte [rax + r8]
xor byte [r9 + 0x10], al
movzx eax, byte [r9 + 0xd]
movzx eax, byte [rax + r8]
xor byte [r9 + 0x11], al
movzx eax, byte [r9 + 0xe]
movzx eax, byte [rax + r8]
xor byte [r9 + 0x12], al
movzx eax, byte [r9 + 0xf]
movzx eax, byte [rax + r8]
xor byte [r9 + 0x13], al
nop dword [rax]
movzx ecx, dl
add rcx, r9
movzx eax, byte [rcx - 4]
xor byte [rcx], al
movzx eax, byte [rcx - 3]
xor byte [rcx + 1], al
movzx eax, byte [rcx - 2]
xor byte [rcx + 2], al
movzx eax, byte [rcx - 1]
xor byte [rcx + 3], al
add dl, 0xfc
jne 0x1400d3eb0
movzx ecx, byte [rbx]
movzx eax, cl
and al, 1
neg al
sbb dl, dl
shr cl, 1
and dl, 0x8d
xor dl, cl
mov byte [rbx], dl
movzx eax, byte [r9 + 0x1d]
mov rbx, qword [rsp + 8]
movzx ecx, byte [rax + r8]
movzx eax, byte [r9 + 0x1e]
xor cl, dl
xor byte [r9], cl
movzx eax, byte [rax + r8]
xor byte [r9 + 1], al
movzx eax, byte [r9 + 0x1f]
movzx eax, byte [rax + r8]
xor byte [r9 + 2], al
movzx eax, byte [r9 + 0x1c]
movzx eax, byte [rax + r8]
xor byte [r9 + 3], al
ret

Function at 0x1400d3f30
Capabilities:
Encode data using xor
Encrypt data using aes
Reference aes constants

Disassembly:
movzx eax, byte [rcx + 0x1d]
lea r11, str.cw
mov r9, rdx
movzx r8d, byte [rax + r11]
movzx eax, byte [rcx + 0x1e]
mov r10, rcx
xor r8b, byte [rcx]
xor r8b, byte [rdx]
mov byte [rcx], r8b
movzx eax, byte [rax + r11]
xor byte [rcx + 1], al
movzx eax, byte [rcx + 0x1f]
movzx eax, byte [rax + r11]
xor byte [rcx + 2], al
movzx eax, byte [rcx + 0x1c]
movzx eax, byte [rax + r11]
xor byte [rcx + 3], al
movzx edx, byte [rdx]
mov al, 0x1b
movzx ecx, dl
add dl, dl
shr cl, 7
imul cl
lea rcx, [r10 + 5]
xor al, dl
mov edx, 3
mov r8d, edx
mov byte [r9], al
nop dword [rax]
nop word [rax + rax]
movzx eax, byte [rcx - 5]
lea rcx, [rcx + 4]
xor byte [rcx - 5], al
movzx eax, byte [rcx - 8]
xor byte [rcx - 4], al
movzx eax, byte [rcx - 7]
xor byte [rcx - 3], al
movzx eax, byte [rcx - 6]
xor byte [rcx - 2], al
dec r8
jne 0x1400d3fa0
movzx eax, byte [r10 + 0xc]
movzx eax, byte [rax + r11]
xor byte [r10 + 0x10], al
movzx eax, byte [r10 + 0xd]
movzx eax, byte [rax + r11]
xor byte [r10 + 0x11], al
movzx eax, byte [r10 + 0xe]
movzx eax, byte [rax + r11]
xor byte [r10 + 0x12], al
movzx eax, byte [r10 + 0xf]
movzx eax, byte [rax + r11]
xor byte [r10 + 0x13], al
lea rax, [r10 + 0x15]
movzx ecx, byte [rax - 5]
lea rax, [rax + 4]
xor byte [rax - 5], cl
movzx ecx, byte [rax - 8]
xor byte [rax - 4], cl
movzx ecx, byte [rax - 7]
xor byte [rax - 3], cl
movzx ecx, byte [rax - 6]
xor byte [rax - 2], cl
dec rdx
jne 0x1400d4001
ret
Function at 0x1400df860
Capabilities:
Get file version info
Identify system language via api

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rbp
push rdi
push r14
lea rbp, [rsp - 0x270]
sub rsp, 0x370
mov rax, qword [0x14017da30]
xor rax, rsp
mov qword [rbp + 0x260], rax
lea rdx, [rbp + 0x50]
mov r8d, 0x104
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
xor r14d, r14d
test eax, eax
jne 0x1400df8ac
xor eax, eax
jmp 0x1400dfa21
lea rdx, [rsp + 0x38]
lea rcx, [rbp + 0x50]
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov ebx, eax
test eax, eax
je 0x1400df8a5
mov ecx, ebx
call fcn.140109e80
mov rdi, rax
test rax, rax
je 0x1400df8a5
mov edx, dword [rsp + 0x38]
lea rcx, [rbp + 0x50]
mov r9, rax
mov r8d, ebx
mov esi, r14d
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
je 0x1400dfa17
lea r9, [rsp + 0x40]
lea r8, [rsp + 0x48]
lea rdx, str.VarFileInfoTranslation
mov rcx, rdi
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x1400dfa17
call qword [sym.imp.KERNEL32.dll_GetUserDefaultLangID]
mov r8d, dword [rsp + 0x40]
mov r9, qword [rsp + 0x48]
or r10, 0xffffffffffffffff
shr r8, 2
mov rcx, r14
mov rbx, r10
mov rdx, r10
test r8, r8
je 0x1400df96a
cmp word [r9 + rcx*4], ax
jne 0x1400df940
mov rbx, rcx
jmp 0x1400df949
cmp word [r9 + rcx*4], r14w
cmove rdx, rcx
inc rcx
cmp rcx, r8
jb 0x1400df934
cmp rbx, r10
jne 0x1400df976
cmp rdx, r10
je 0x1400df960
mov rbx, rdx
jmp 0x1400df96d
test r8, r8
je 0x1400df96a
mov rbx, r14
jmp 0x1400df976
mov rbx, r10
cmp rbx, r10
je 0x1400dfa17
movzx eax, word [r9 + rbx*4 + 2]
movzx r9d, word [r9 + rbx*4]
lea r8, str.StringFileInfo_04x_04xProductName
lea rcx, [rsp + 0x50]
mov edx, pe_nt_image_headers64
mov dword [rsp + 0x20], eax
call qword [sym.imp.MSVCR120.dll_swprintf_s]
lea r9, [rsp + 0x3c]
lea r8, [rsp + 0x30]
lea rdx, [rsp + 0x50]
mov rcx, rdi
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x1400dfa17
mov rcx, qword [rsp + 0x30]
mov esi, 1
call fcn.1400df7f8
mov rcx, qword [rsp + 0x48]
lea r8, str.StringFileInfo_04x_04xProductVersion
movzx eax, word [rcx + rbx*4 + 2]
movzx r9d, word [rcx + rbx*4]
lea edx, [rsi + 0x7f]
lea rcx, [rsp + 0x50]
mov dword [rsp + 0x20], eax
call qword [sym.imp.MSVCR120.dll_swprintf_s]
lea r9, [rsp + 0x3c]
lea r8, [rsp + 0x30]
lea rdx, [rsp + 0x50]
mov rcx, rdi
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x1400dfa10
mov rcx, qword [rsp + 0x30]
jmp 0x1400dfa12
xor ecx, ecx
call fcn.1400df834
mov rcx, rdi
call sub.MSVCR120.dll_void___cdecl_operator_delete___void____ptr64_
mov eax, esi
mov rcx, qword [rbp + 0x260]
xor rcx, rsp
call fcn.14010a480
lea r11, [rsp + 0x370]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret
Function at 0x1400e0dc8
Capabilities:
Terminate process

Disassembly:
mov edx, 1
jmp 0x1400e1574
sub rsp, 0x78
mov rax, qword [0x14017da30]
xor rax, rsp
mov qword [rsp + 0x60], rax
mov rax, qword [rcx]
cmp dword [rax], 0xc00000fd
je 0x1400e15f7
mov r8d, edx
mov rdx, rcx
lea rcx, [rsp + 0x20]
call fcn.1400ecf18
lea rcx, [rsp + 0x20]
call fcn.1400e1438
lea rcx, [rsp + 0x48]
call fcn.1400e3ad4
mov rcx, qword [rsp + 0x28]
test rcx, rcx
je 0x1400e15c6
mov rax, qword [rcx]
call qword [rax + 0x10]
test dword [0x1401931a8], 0x200
je 0x1400e15d7
call fcn.1400e14d0
mov ecx, dword [0x1401933b8]
dec ecx
je 0x1400e15f7
dec ecx
je 0x1400e160b
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
or edx, 0xffffffff
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
xor eax, eax
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.14010a480
add rsp, 0x78
ret
mov eax, 1
jmp 0x1400e15f9

Function at 0x1400e0dfc
Capabilities:
Terminate process

Disassembly:
mov edx, 2
jmp 0x1400e1574

Function at 0x1400e0e30
Capabilities:
Get token privileges

Disassembly:
mov qword [rsp + 0x18], rbx
push rdi
sub rsp, 0x30
xor ebx, ebx
cmp dword [0x140194650], ebx
jne 0x1400e0e4c
lea eax, [rbx + 1]
jmp 0x1400e0f27
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
lea r8, [rsp + 0x48]
mov edx, 0x28
mov rcx, rax
call qword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x1400e0f25
mov rcx, qword [rsp + 0x48]
xor r9d, r9d
lea rax, [rsp + 0x40]
lea edx, [r9 + 3]
xor r8d, r8d
mov dword [rsp + 0x40], ebx
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_GetTokenInformation]
test eax, eax
jne 0x1400e0f1a
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
jne 0x1400e0f1a
mov ecx, dword [rsp + 0x40]
call fcn.140109e80
mov rdi, rax
test rax, rax
je 0x1400e0f1a
mov r9d, dword [rsp + 0x40]
mov rcx, qword [rsp + 0x48]
lea rax, [rsp + 0x40]
mov r8, rdi
mov edx, 3
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_GetTokenInformation]
test eax, eax
je 0x1400e0f12
mov ecx, ebx
cmp dword [rdi], ebx
jbe 0x1400e0ef3
mov eax, ecx
inc ecx
inc rax
lea rax, [rax + rax*2]
or dword [rdi + rax*4], 2
cmp ecx, dword [rdi]
jb 0x1400e0ee0
mov rcx, qword [rsp + 0x48]
xor r9d, r9d
mov r8, rdi
xor edx, edx
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0x20], rbx
call qword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
mov ebx, eax
mov rcx, rdi
call sub.MSVCR120.dll_void___cdecl_operator_delete___void____ptr64_
mov rcx, qword [rsp + 0x48]
call qword [0x14011e328]
mov eax, ebx
mov rbx, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret
Function at 0x1400e14d0
Capabilities:
Accept command line arguments
Create process on windows

Disassembly:
push rbx
sub rsp, 0xe0
call qword [sym.imp.KERNEL32.dll_GetCommandLineW]
xor edx, edx
lea rcx, [rsp + 0x70]
lea r8d, [rdx + 0x68]
mov rbx, rax
call sub.MSVCR120.dll_memset
xor edx, edx
lea rcx, [rsp + 0x50]
lea r8d, [rdx + 0x18]
mov dword [rsp + 0x70], WSAGetLastError
call sub.MSVCR120.dll_memset
lea rax, [rsp + 0x50]
xor r9d, r9d
mov qword [rsp + 0x48], rax
lea rax, [rsp + 0x70]
xor r8d, r8d
mov qword [rsp + 0x40], rax
and qword [rsp + 0x38], 0
and qword [rsp + 0x30], 0
and dword [rsp + 0x28], 0
and dword [rsp + 0x20], 0
mov rdx, rbx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x1400e1564
mov rcx, qword [rsp + 0x58]
call qword [0x14011e328]
mov rcx, qword [rsp + 0x50]
call qword [0x14011e328]
mov eax, 1
add rsp, 0xe0
pop rbx
ret

Function at 0x1400e1574
Capabilities:
Terminate process

Disassembly:
mov edx, 1
jmp 0x1400e1574
sub rsp, 0x78
mov rax, qword [0x14017da30]
xor rax, rsp
mov qword [rsp + 0x60], rax
mov rax, qword [rcx]
cmp dword [rax], 0xc00000fd
je 0x1400e15f7
mov r8d, edx
mov rdx, rcx
lea rcx, [rsp + 0x20]
call fcn.1400ecf18
lea rcx, [rsp + 0x20]
call fcn.1400e1438
lea rcx, [rsp + 0x48]
call fcn.1400e3ad4
mov rcx, qword [rsp + 0x28]
test rcx, rcx
je 0x1400e15c6
mov rax, qword [rcx]
call qword [rax + 0x10]
test dword [0x1401931a8], 0x200
je 0x1400e15d7
call fcn.1400e14d0
mov ecx, dword [0x1401933b8]
dec ecx
je 0x1400e15f7
dec ecx
je 0x1400e160b
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
or edx, 0xffffffff
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
xor eax, eax
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.14010a480
add rsp, 0x78
ret
mov eax, 1
jmp 0x1400e15f9

Function at 0x1400e1720
Capabilities:
Get common file path

Disassembly:
sub rsp, 0x458
mov rax, qword [0x14017da30]
xor rax, rsp
mov qword [rsp + 0x440], rax
mov r9d, 1
lea rdx, [rsp + 0x230]
xor ecx, ecx
lea r8d, [r9 + 0x19]
call qword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x1400e179f
lea rcx, [rsp + 0x20]
mov edx, 0x104
mov r8d, 1
call fcn.1400e431c
test rax, rax
je 0x1400e179f
lea r8, [rsp + 0x20]
lea rdx, [rsp + 0x230]
lea rcx, [0x140194020]
call qword [sym.imp.SHLWAPI.dll_PathCombineW]
lea rdx, str.reports
lea rcx, [0x140194020]
call qword [sym.imp.SHLWAPI.dll_PathAppendW]
mov rcx, qword [rsp + 0x440]
xor rcx, rsp
call fcn.14010a480
add rsp, 0x458
ret

Function at 0x1400e1b7c
Capabilities:
Write file on windows

Disassembly:
push rbx
sub rsp, 0x30
mov r8d, dword [rcx + 0xa18]
mov rbx, rcx
test r8d, r8d
je 0x1400e1bba
and qword [rsp + 0x20], 0
lea rdx, [rcx + 0x218]
mov rcx, qword [rcx + 0x210]
lea r9, [rsp + 0x40]
add r8d, r8d
call qword [sym.imp.KERNEL32.dll_WriteFile]
and dword [rbx + 0xa18], 0
add rsp, 0x30
pop rbx
ret
Function at 0x1400e1dd4
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x40
mov eax, dword [rcx + 0xa2c]
xor ebp, ebp
lea rsi, [rcx + 0xa28]
lea r15, [rcx + 0xc38]
mov r13, rdx
mov dword [rsi], eax
mov rax, qword [rcx + 0xa20]
mov rdi, rcx
mov r12d, ebp
mov dword [r15], 0x104
lea r14, [rcx + 0xa30]
xor edx, edx
jmp 0x1400e1fa1
cmp eax, 0xea
jne 0x1400e1e9d
mov ebx, dword [rsi]
add ebx, 0x3ff
and ebx, 0xfffffc00
mov ecx, ebx
call qword [sym.imp.MSVCR120.dll_malloc]
mov rbp, rax
test rax, rax
je 0x1400e1f83
mov rcx, qword [rdi + 0xa20]
call qword [sym.imp.MSVCR120.dll_free]
mov qword [rsp + 0x38], rsi
mov qword [rsp + 0x30], rbp
lea rax, [rsp + 0x70]
mov qword [rdi + 0xa20], rbp
xor ebp, ebp
mov qword [rsp + 0x28], rax
mov r9, r15
mov r8, r14
mov edx, r12d
mov rcx, r13
mov dword [rdi + 0xa2c], ebx
mov qword [rsp + 0x20], rbp
call qword [sym.imp.ADVAPI32.dll_RegEnumValueW]
test eax, eax
jne 0x1400e1f85
mov rcx, rdi
cmp word [r14], bp
je 0x1400e1edc
lea rdx, [0x140137654]
call fcn.1400e1c3c
mov rdx, r14
mov rcx, rdi
mov ebx, eax
call fcn.1400e1c3c
lea rdx, [0x140137658]
mov rcx, rdi
add ebx, eax
call fcn.1400e1c3c
add ebx, eax
jmp 0x1400e1eea
lea rdx, [0x140137660]
call fcn.1400e1c3c
mov ebx, eax
mov edx, dword [rsp + 0x70]
mov eax, edx
dec eax
je 0x1400e1f45
dec eax
je 0x1400e1f2d
dec eax
je 0x1400e1f2b
dec eax
jne 0x1400e1f2d
mov rax, qword [rdi + 0xa20]
lea rbx, [rdi + 0xc3c]
lea r8, str.dword:_08x
mov r9d, dword [rax]
mov edx, pe_nt_image_headers64
mov rcx, rbx
call qword [sym.imp.MSVCR120.dll_swprintf_s]
mov rdx, rbx
jmp 0x1400e1f6a
xor edx, edx
mov r9d, dword [rsi]
mov r8, qword [rdi + 0xa20]
mov rcx, rdi
mov dword [rsp + 0x20], ebx
call fcn.1400e1cb4
jmp 0x1400e1f72
lea rdx, [0x140137654]
mov rcx, rdi
call fcn.1400e1c3c
mov rdx, qword [rdi + 0xa20]
mov rcx, rdi
call fcn.1400e1c3c
lea rdx, [0x140137654]
mov rcx, rdi
call fcn.1400e1c3c
lea rdx, [0x140137680]
mov rcx, rdi
call fcn.1400e1c3c
jmp 0x1400e1f85
xor ebp, ebp
mov dword [r15], 0x104
mov eax, dword [rdi + 0xa2c]
inc r12d
mov dword [rsi], eax
mov rax, qword [rdi + 0xa20]
mov edx, r12d
mov qword [rsp + 0x38], rsi
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x70]
mov qword [rsp + 0x28], rax
mov r9, r15
mov r8, r14
mov rcx, r13
mov qword [rsp + 0x20], rbp
call qword [sym.imp.ADVAPI32.dll_RegEnumValueW]
cmp eax, 0x103
jne 0x1400e1e2d
lea r11, [rsp + 0x40]
mov rbx, qword [r11 + 0x38]
mov rbp, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret