joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14000ca20
Capabilities:
Get token membership

Disassembly:
mov qword [rsp + 0x10], rbx
push rbp
mov rbp, rsp
sub rsp, 0x80
mov rax, qword [0x140027010]
xor rax, rsp
mov qword [rbp - 8], rax
and dword [rbp - 0x10], 0
lea rax, [rbp - 0x18]
mov qword [rsp + 0x50], rax
mov rbx, rcx
and dword [rsp + 0x48], 0
lea rcx, [rbp - 0x10]
and dword [rsp + 0x40], 0
mov r9d, 0x220
and dword [rsp + 0x38], 0
mov r8d, 0x20
and dword [rsp + 0x30], 0
mov dl, 2
and dword [rsp + 0x28], 0
and dword [rsp + 0x20], 0
mov word [rbp - 0xc], 0x500
call qword [sym.imp.ADVAPI32.dll_AllocateAndInitializeSid]
mov dword [rbp - 0x20], eax
test eax, eax
je 0x14000cab8
mov rdx, qword [rbp - 0x18]
lea r8, [rbp - 0x20]
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_CheckTokenMembership]
neg eax
sbb ecx, ecx
and dword [rbp - 0x20], ecx
mov rcx, qword [rbp - 0x18]
call qword [sym.imp.ADVAPI32.dll_FreeSid]
mov eax, dword [rbp - 0x20]
test eax, eax
setne al
mov rcx, qword [rbp - 8]
xor rcx, rsp
call fcn.140014e50
mov rbx, qword [rsp + 0x98]
add rsp, 0x80
pop rbp
ret

Function at 0x14000cad8
Capabilities:
Get token privileges

Disassembly:
push rbp
push rbx
mov rbp, rsp
sub rsp, 0x48
xor ebx, ebx
mov qword [rbp + 0x30], rbx
mov qword [rbp + 0x28], rbx
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
lea r8, [rbp + 0x30]
mov edx, 0xf01ff
mov rcx, rax
call qword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x14000cba1
mov rcx, qword [rbp + 0x30]
lea rax, [rbp + 0x20]
mov r9d, 4
mov dword [rbp + 0x20], ebx
lea r8, [rbp + 0x18]
mov dword [rbp + 0x18], 1
mov qword [rsp + 0x20], rax
lea edx, [r9 + 0xe]
call qword [sym.imp.ADVAPI32.dll_GetTokenInformation]
cmp dword [rbp + 0x18], 3
mov rcx, qword [rbp + 0x30]
jne 0x14000cb6c
mov r9d, 8
lea rax, [rbp + 0x20]
lea r8, [rbp - 0x18]
mov qword [rsp + 0x20], rax
lea edx, [r9 + 0xb]
call qword [sym.imp.ADVAPI32.dll_GetTokenInformation]
test eax, eax
je 0x14000cb7b
mov rcx, qword [rbp - 0x18]
mov qword [rbp + 0x28], rcx
jmp 0x14000cb7f
lea r8, [rbp + 0x28]
mov edx, 2
call qword [sym.imp.ADVAPI32.dll_DuplicateToken]
mov rcx, qword [rbp + 0x28]
test rcx, rcx
je 0x14000cb95
call fcn.14000ca20
mov rcx, qword [rbp + 0x28]
mov bl, al
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rbp + 0x30]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, bl
add rsp, 0x48
pop rbx
pop rbp
ret
Function at 0x14000cba8
Capabilities:
Get common file path

Disassembly:
push rbx
sub rsp, 0x460
mov rax, qword [0x140027010]
xor rax, rsp
mov qword [rsp + 0x450], rax
mov rbx, rcx
mov qword [rsp + 0x28], rcx
and dword [rsp + 0x20], 0
xor edx, edx
mov r8d, 0x412
lea rcx, [rsp + 0x30]
call sub.VCRUNTIME140.dll_memset
mov edx, 0x208
lea rcx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
lea rdx, str.system32msiexec.exe
lea rcx, [rsp + 0x30]
call qword [sym.imp.SHLWAPI.dll_PathAppendW]
lea rdx, [0x14001c000]
mov rcx, rbx
call qword [sym.imp.Cmmlib.dll_public:_void___cdecl_Cmm::CStringT_wchar_t_::constructor_wchar_t_const____ptr64____ptr64]
mov dword [rsp + 0x20], 1
lea rdx, [rsp + 0x30]
mov rcx, rbx
call qword [sym.imp.Cmmlib.dll_public:_class_Cmm::CStringT_wchar_t_____ptr64___cdecl_Cmm::CStringT_wchar_t_::operator_wchar_t_const____ptr64____ptr64]
lea rdx, [0x14001c000]
mov rcx, rbx
call qword [sym.imp.Cmmlib.dll_public:_class_Cmm::CStringT_wchar_t_____ptr64___cdecl_Cmm::CStringT_wchar_t_::operator_wchar_t_const____ptr64____ptr64]
mov rax, rbx
mov rcx, qword [rsp + 0x450]
xor rcx, rsp
call fcn.140014e50
add rsp, 0x460
pop rbx
ret
Function at 0x140011130
Capabilities:
Enumerate process modules

Disassembly:
mov qword [rsp + 8], rbx
push rdi
mov eax, 0x4e70
call fcn.1400162b0
sub rsp, rax
mov rax, qword [0x140027010]
xor rax, rsp
mov qword [rsp + 0x4e60], rax
xor edx, edx
lea rcx, [rsp + 0x40]
mov r8d, 0x3e80
call sub.VCRUNTIME140.dll_memset
xor ebx, ebx
mov dword [rsp + 0x20], ebx
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
lea r9, [rsp + 0x20]
mov r8d, 0x3e80
mov rcx, rax
lea rdx, [rsp + 0x40]
call qword [sym.imp.PSAPI.DLL_EnumProcessModules]
test eax, eax
je 0x140011246
lea rax, [rsp + 0x3ec0]
mov dword [rsp + 0x2c], ebx
mov qword [rsp + 0x30], rax
mov edi, 0xfa0
mov eax, dword [rsp + 0x20]
mov word [rsp + 0x2a], di
test rax, 0xfffffffffffffff8
jbe 0x14001123f
nop
mov r8, rdi
lea rcx, [rsp + 0x3ec0]
xor edx, edx
call sub.VCRUNTIME140.dll_memset
mov rcx, qword [rsp + rbx*8 + 0x40]
lea rdx, [rsp + 0x3ec0]
mov r8d, 0x7cf
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea rcx, [rsp + 0x3ec0]
mov rax, 0xffffffffffffffff
nop word [rax + rax]
inc rax
cmp word [rcx + rax*2], 0
jne 0x140011200
mov r8, qword [rsp + rbx*8 + 0x40]
lea rdx, [rsp + 0x28]
add ax, ax
lea rcx, [0x140027080]
xor r9d, r9d
mov word [rsp + 0x28], ax
call fcn.140011270
test eax, eax
je 0x140011246
mov eax, dword [rsp + 0x20]
inc rbx
shr rax, 3
cmp rbx, rax
jb 0x1400111c0
mov eax, 1
jmp 0x140011248
xor eax, eax
mov rcx, qword [rsp + 0x4e60]
xor rcx, rsp
call fcn.140014e50
mov rbx, qword [rsp + 0x4e80]
add rsp, 0x4e70
pop rdi
ret
Function at 0x140011da0
Capabilities:
Parse pe header

Disassembly:
test rcx, rcx
je 0x140011fb3
push rdi
sub rsp, 0x80
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rsp + 0x20], xmm0
mov qword [rsp + 0x30], rax
mov rdi, rcx
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov r9d, 0x18
lea r8, [rsp + 0x20]
mov rcx, rax
mov rdx, rdi
call qword [sym.imp.PSAPI.DLL_GetModuleInformation]
test eax, eax
je 0x140011fab
mov eax, 0x5a4d
mov qword [rsp + 0x70], r14
mov r14d, dword [rsp + 0x28]
cmp word [rdi], ax
jne 0x140011fa6
movsxd rcx, dword [rdi + 0x3c]
lea rax, [rcx + 0x108]
cmp rax, r14
jae 0x140011fa6
cmp dword [rcx + rdi], 0x4550
mov qword [rsp + 0x78], rsi
lea rsi, [rcx + rdi]
jne 0x140011fa1
movzx eax, word [rsi + 4]
mov ecx, 0x14c
mov qword [rsp + 0xa0], rbp
cmp cx, ax
jne 0x140011e44
xor ebp, ebp
jmp 0x140011e61
mov ecx, 0x200
cmp cx, ax
je 0x140011e5c
mov ecx, 0x8664
cmp cx, ax
jne 0x140011f99
mov ebp, 1
mov qword [rsp + 0x98], rbx
mov ebx, dword [rsi + 0x28]
add rbx, rdi
je 0x140011f91
cmp rbx, rdi
jbe 0x140011f91
lea rax, [r14 + rdi]
cmp rbx, rax
jae 0x140011f91
xorps xmm0, xmm0
lea rdx, [rsp + 0x38]
mov r8d, 0x30
mov rcx, rbx
movups xmmword [rsp + 0x38], xmm0
movups xmmword [rsp + 0x48], xmm0
movups xmmword [rsp + 0x58], xmm0
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x140011f91
test dword [rsp + 0x58], 0x1000
je 0x140011f91
test dword [rsp + 0x60], 0x1000000
je 0x140011f91
mov eax, dword [rsp + 0x5c]
xor ecx, ecx
test al, 0x10
jne 0x140011eec
test al, 0x20
jne 0x140011eec
test al, 0x40
jne 0x140011eec
test al, al
jns 0x140011ef1
mov ecx, 1
test ecx, ecx
je 0x140011f91
mov r9d, ebp
mov r8d, r14d
mov rdx, rdi
mov rcx, rsi
call fcn.140012de0
mov edx, 0x14
mov dword [rsp + 0x90], 0
lea r9, [rsp + 0x90]
mov rcx, rbx
lea r8d, [rdx + 0x2c]
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
je 0x140011f91
test ebp, ebp
jne 0x140011f4b
mov eax, dword [0x140027054]
mov dword [rbx], eax
movzx eax, byte [0x140027058]
mov byte [rbx + 4], al
jmp 0x140011f5f
movzx eax, word [0x14002705c]
mov word [rbx], ax
movzx eax, byte [0x14002705e]
mov byte [rbx + 2], al
mov r8d, dword [rsp + 0x90]
lea r9, [rsp + 0x90]
mov edx, 0x14
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
xor r8d, r8d
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_FlushInstructionCache]
mov rbx, qword [rsp + 0x98]
mov rbp, qword [rsp + 0xa0]
mov rsi, qword [rsp + 0x78]
mov r14, qword [rsp + 0x70]
add rsp, 0x80
pop rdi
ret
Function at 0x140058920
Capabilities:
Hash data with crc32

Disassembly:
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
sub rsp, 0x28
mov rax, qword [rsp + 0x30]
mov qword [rsp], rax
mov dword [rsp + 8], 0xffffffff
mov dword [rsp + 0xc], 0
jmp 0x140058952
mov eax, dword [rsp + 0xc]
inc eax
mov dword [rsp + 0xc], eax
mov eax, dword [rsp + 0x38]
cmp dword [rsp + 0xc], eax
jae 0x1400589fa
mov eax, dword [rsp + 0xc]
mov rcx, qword [rsp]
movzx eax, byte [rcx + rax]
movzx ecx, byte [rsp + 8]
xor eax, ecx
mov dword [rsp + 0x10], eax
mov eax, dword [rsp + 8]
shr eax, 8
mov dword [rsp + 8], eax
mov dword [rsp + 0x14], 0
jmp 0x140058996
mov eax, dword [rsp + 0x14]
inc eax
mov dword [rsp + 0x14], eax
cmp dword [rsp + 0x14], 8
jge 0x1400589e5
mov eax, dword [rsp + 0x10]
and eax, 1
test eax, eax
je 0x1400589b2
mov dword [rsp + 0x1c], 1
jmp 0x1400589ba
mov dword [rsp + 0x1c], 0
movzx eax, byte [rsp + 0x1c]
mov byte [rsp + 0x18], al
mov eax, dword [rsp + 0x10]
shr eax, 1
mov dword [rsp + 0x10], eax
movzx eax, byte [rsp + 0x18]
test eax, eax
je 0x1400589e3
mov eax, dword [rsp + 0x10]
xor eax, 0xedb88320
mov dword [rsp + 0x10], eax
jmp 0x14005898c
mov eax, dword [rsp + 0x10]
mov ecx, dword [rsp + 8]
xor ecx, eax
mov eax, ecx
mov dword [rsp + 8], eax
jmp 0x140058948
mov eax, dword [rsp + 8]
not eax
add rsp, 0x28
ret
Function at 0x140002f30
Capabilities:
Enumerate pe sections

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x38
mov rax, qword [rsp + 0x40]
mov qword [rsp + 0x18], rax
mov rax, qword [rsp + 0x18]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rsp + 0x40]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x10], rax
mov rax, qword [rsp + 0x10]
movzx eax, word [rax + 0x14]
mov rcx, qword [rsp + 0x10]
lea rax, [rcx + rax + 0x18]
mov qword [rsp + 8], rax
mov dword [rsp], 0
jmp 0x140002f8a
mov eax, dword [rsp]
inc eax
mov dword [rsp], eax
mov rax, qword [rsp + 0x10]
movzx eax, word [rax + 6]
cmp dword [rsp], eax
jae 0x140003017
mov eax, dword [rsp]
imul rax, rax, 0x28
mov rcx, qword [rsp + 8]
mov eax, dword [rcx + rax + 0xc]
cmp qword [rsp + 0x48], rax
jb 0x140003012
mov eax, dword [rsp]
imul rax, rax, 0x28
mov ecx, dword [rsp]
imul rcx, rcx, 0x28
mov rdx, qword [rsp + 8]
mov eax, dword [rdx + rax + 0xc]
mov rdx, qword [rsp + 8]
add eax, dword [rdx + rcx + 0x10]
mov eax, eax
cmp qword [rsp + 0x48], rax
jae 0x140003012
mov eax, dword [rsp]
imul rax, rax, 0x28
mov rcx, qword [rsp + 8]
mov eax, dword [rcx + rax + 0x14]
mov ecx, dword [rsp]
imul rcx, rcx, 0x28
mov rdx, qword [rsp + 8]
mov ecx, dword [rdx + rcx + 0xc]
mov rdx, qword [rsp + 0x48]
sub rdx, rcx
mov rcx, rdx
add rax, rcx
mov qword [rsp + 0x20], rax
mov rax, qword [rsp + 0x20]
jmp 0x14000301e
jmp 0x140002f82
mov rax, 0xffffffffffffffff
add rsp, 0x38
ret
Function at 0x1400031f0
Capabilities:
Compress data via winapi

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x88
mov dword [rsp + 0x40], 0
mov rax, qword [rsp + 0x90]
cmp dword [rax + 0x10], 3
je 0x140003232
mov rax, qword [rsp + 0x90]
cmp dword [rax + 0x10], 4
je 0x140003232
mov rax, qword [rsp + 0x90]
cmp dword [rax + 0x10], 5
jne 0x140003387
lea rcx, [0x140034b80]
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov qword [rsp + 0x60], rax
lea rdx, str.RtlGetCompressionWorkSpaceSize
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rsp + 0x68], rax
lea rdx, str.RtlCompressBuffer
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rsp + 0x70], rax
cmp qword [rsp + 0x68], 0
je 0x140003282
cmp qword [rsp + 0x70], 0
jne 0x14000328c
mov eax, 0x13
jmp 0x14000346f
mov rax, qword [rsp + 0x90]
mov eax, dword [rax + 0x10]
dec eax
bts eax, 8
lea r8, [rsp + 0x78]
lea rdx, [rsp + 0x48]
movzx ecx, ax
call qword [rsp + 0x68]
mov dword [rsp + 0x44], eax
cmp dword [rsp + 0x44], 0
jne 0x14000337f
mov eax, dword [rsp + 0x48]
mov ecx, eax
call fcn.14000daa0
mov qword [rsp + 0x50], rax
cmp qword [rsp + 0x50], 0
je 0x140003375
mov eax, dword [0x140037d64]
mov ecx, eax
call fcn.14000daa0
mov qword [0x140037d78], rax
cmp qword [0x140037d78], 0
je 0x140003361
mov rax, qword [rsp + 0x90]
mov eax, dword [rax + 0x10]
dec eax
bts eax, 8
mov rcx, qword [rsp + 0x50]
mov qword [rsp + 0x38], rcx
lea rcx, [0x140037d68]
mov qword [rsp + 0x30], rcx
mov dword [rsp + 0x28], 0
mov ecx, dword [0x140037d64]
mov dword [rsp + 0x20], ecx
mov r9, qword [0x140037d78]
mov r8d, dword [0x140037d64]
mov rdx, qword [0x140037d70]
movzx ecx, ax
call qword [rsp + 0x70]
mov dword [rsp + 0x44], eax
cmp dword [rsp + 0x44], 0
je 0x14000335f
mov dword [rsp + 0x40], 0x13
jmp 0x140003369
mov dword [rsp + 0x40], 6
mov rcx, qword [rsp + 0x50]
call fcn.14000da8c
jmp 0x14000337d
mov dword [rsp + 0x40], 6
jmp 0x140003387
mov dword [rsp + 0x40], 0x13
mov rax, qword [rsp + 0x90]
cmp dword [rax + 0x10], 2
jne 0x140003445
mov ecx, dword [0x140037d64]
call fcn.140001bdf
mov eax, eax
mov ecx, eax
call fcn.14000daa0
mov qword [0x140037d78], rax
cmp qword [0x140037d78], 0
je 0x14000343d
mov ecx, dword [0x140037d64]
call fcn.140001bd9
mov eax, eax
mov ecx, eax
call fcn.14000daa0
mov qword [rsp + 0x58], rax
cmp qword [rsp + 0x58], 0
je 0x140003433
mov qword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
mov r9, qword [rsp + 0x58]
mov r8d, dword [0x140037d64]
mov rdx, qword [0x140037d78]
mov rcx, qword [0x140037d70]
call fcn.140002696
mov dword [0x140037d68], eax
cmp dword [0x140037d68], 0xffffffff
jne 0x140003427
mov dword [rsp + 0x40], 0x13
mov rcx, qword [rsp + 0x58]
call fcn.14000da8c
jmp 0x14000343b
mov dword [rsp + 0x40], 6
jmp 0x140003445
mov dword [rsp + 0x40], 6
cmp dword [rsp + 0x40], 0
jne 0x14000346b
mov rax, qword [rsp + 0x90]
cmp dword [rax + 0x10], 1
je 0x14000346b
mov rax, qword [rsp + 0x90]
mov ecx, dword [0x140037d68]
mov dword [rax + 4], ecx
mov eax, dword [rsp + 0x40]
add rsp, 0x88
ret
Function at 0x1400037e0
Capabilities:
Create new key via cryptacquirecontext
Generate random numbers via winapi

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x48
mov dword [rsp + 0x20], 0xf0000040
mov r9d, 1
xor r8d, r8d
xor edx, edx
lea rcx, [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_CryptAcquireContextA]
test eax, eax
jne 0x140003814
xor eax, eax
jmp 0x14000383d
mov r8, qword [rsp + 0x50]
mov edx, dword [rsp + 0x58]
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_CryptGenRandom]
mov dword [rsp + 0x30], eax
xor edx, edx
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
mov eax, dword [rsp + 0x30]
add rsp, 0x48
ret

Function at 0x140006050
Capabilities:
Encrypt data using speck

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x38
mov rax, qword [0x140035e18]
xor rax, rsp
mov qword [rsp + 0x20], rax
mov rax, qword [rsp + 0x48]
mov qword [rsp + 8], rax
mov dword [rsp], 0
jmp 0x140006088
mov eax, dword [rsp]
inc eax
mov dword [rsp], eax
cmp dword [rsp], 4
jae 0x1400060a2
mov eax, dword [rsp]
mov ecx, dword [rsp]
mov rdx, qword [rsp + 0x40]
mov eax, dword [rdx + rax*4]
mov dword [rsp + rcx*4 + 0x10], eax
jmp 0x140006080
mov dword [rsp], 0
jmp 0x1400060b3
mov eax, dword [rsp]
inc eax
mov dword [rsp], eax
cmp dword [rsp], 0x1b
jae 0x1400061fe
mov eax, 4
imul rax, rax, 0
mov eax, dword [rsp + rax + 8]
shr eax, 8
mov ecx, 4
imul rcx, rcx, 0
mov ecx, dword [rsp + rcx + 8]
shl ecx, 0x18
or eax, ecx
mov ecx, 4
imul rcx, rcx, 1
add eax, dword [rsp + rcx + 8]
mov ecx, 4
imul rcx, rcx, 0
xor eax, dword [rsp + rcx + 0x10]
mov ecx, 4
imul rcx, rcx, 0
mov dword [rsp + rcx + 8], eax
mov eax, 4
imul rax, rax, 1
mov eax, dword [rsp + rax + 8]
shr eax, 0x1d
mov ecx, 4
imul rcx, rcx, 1
mov ecx, dword [rsp + rcx + 8]
shl ecx, 3
or eax, ecx
mov ecx, 4
imul rcx, rcx, 0
xor eax, dword [rsp + rcx + 8]
mov ecx, 4
imul rcx, rcx, 1
mov dword [rsp + rcx + 8], eax
mov eax, 4
imul rax, rax, 3
mov eax, dword [rsp + rax + 0x10]
mov dword [rsp + 4], eax
mov eax, 4
imul rax, rax, 1
mov eax, dword [rsp + rax + 0x10]
shr eax, 8
mov ecx, 4
imul rcx, rcx, 1
mov ecx, dword [rsp + rcx + 0x10]
shl ecx, 0x18
or eax, ecx
mov ecx, 4
imul rcx, rcx, 0
add eax, dword [rsp + rcx + 0x10]
xor eax, dword [rsp]
mov ecx, 4
imul rcx, rcx, 3
mov dword [rsp + rcx + 0x10], eax
mov eax, 4
imul rax, rax, 0
mov eax, dword [rsp + rax + 0x10]
shr eax, 0x1d
mov ecx, 4
imul rcx, rcx, 0
mov ecx, dword [rsp + rcx + 0x10]
shl ecx, 3
or eax, ecx
mov ecx, 4
imul rcx, rcx, 3
xor eax, dword [rsp + rcx + 0x10]
mov ecx, 4
imul rcx, rcx, 0
mov dword [rsp + rcx + 0x10], eax
mov eax, 4
imul rax, rax, 2
mov ecx, 4
imul rcx, rcx, 1
mov eax, dword [rsp + rax + 0x10]
mov dword [rsp + rcx + 0x10], eax
mov eax, 4
imul rax, rax, 2
mov ecx, dword [rsp + 4]
mov dword [rsp + rax + 0x10], ecx
jmp 0x1400060ab
mov rax, qword [rsp + 8]
mov rcx, qword [rsp + 0x20]
xor rcx, rsp
call fcn.140007170
add rsp, 0x38
ret
Function at 0x140006220
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov dword [rsp + 0x20], r9d
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x68
mov rax, qword [0x140035e18]
xor rax, rsp
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x80]
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x78]
mov qword [rsp + 0x38], rax
cmp dword [rsp + 0x88], 0
je 0x14000639b
mov dword [rsp + 0x20], 0
jmp 0x140006280
mov eax, dword [rsp + 0x20]
inc eax
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 0x10
jae 0x14000629e
mov eax, dword [rsp + 0x20]
mov ecx, dword [rsp + 0x20]
mov rdx, qword [rsp + 0x38]
movzx eax, byte [rdx + rax]
mov byte [rsp + rcx + 0x40], al
jmp 0x140006276
lea rdx, [rsp + 0x40]
mov rcx, qword [rsp + 0x70]
call fcn.1400063c0
cmp dword [rsp + 0x88], 0x10
jbe 0x1400062c1
mov dword [rsp + 0x2c], 0x10
jmp 0x1400062cc
mov eax, dword [rsp + 0x88]
mov dword [rsp + 0x2c], eax
mov eax, dword [rsp + 0x2c]
mov dword [rsp + 0x28], eax
mov dword [rsp + 0x20], 0
jmp 0x1400062e8
mov eax, dword [rsp + 0x20]
inc eax
mov dword [rsp + 0x20], eax
mov eax, dword [rsp + 0x28]
cmp dword [rsp + 0x20], eax
jae 0x140006318
mov eax, dword [rsp + 0x20]
mov ecx, dword [rsp + 0x20]
movzx ecx, byte [rsp + rcx + 0x40]
mov rdx, qword [rsp + 0x30]
movzx eax, byte [rdx + rax]
xor eax, ecx
mov ecx, dword [rsp + 0x20]
mov rdx, qword [rsp + 0x30]
mov byte [rdx + rcx], al
jmp 0x1400062de
mov eax, dword [rsp + 0x28]
mov ecx, dword [rsp + 0x88]
sub ecx, eax
mov eax, ecx
mov dword [rsp + 0x88], eax
mov eax, dword [rsp + 0x28]
mov rcx, qword [rsp + 0x30]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x20], 0x10
jmp 0x140006356
mov eax, dword [rsp + 0x20]
dec eax
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 0
jle 0x140006396
mov eax, dword [rsp + 0x20]
dec eax
mov eax, eax
mov rcx, qword [rsp + 0x38]
movzx eax, byte [rcx + rax]
inc al
mov byte [rsp + 0x24], al
mov eax, dword [rsp + 0x20]
dec eax
mov eax, eax
mov rcx, qword [rsp + 0x38]
movzx edx, byte [rsp + 0x24]
mov byte [rcx + rax], dl
movzx eax, byte [rsp + 0x24]
test eax, eax
je 0x140006394
jmp 0x140006396
jmp 0x14000634c
jmp 0x14000625e
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.140007170
add rsp, 0x68
ret
Function at 0x1400066e0
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
mov qword [rsp + 0x18], r8
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
sub rsp, 0x48
lea r9, [rsp + 0x20]
xor r8d, r8d
mov edx, dword [rsp + 0x58]
xor ecx, ecx
call fcn.140006bc0
test eax, eax
je 0x14000676b
mov eax, dword [rsp + 0x20]
inc eax
mov eax, eax
mov edx, eax
mov ecx, 1
call fcn.14000da84
mov qword [rsp + 0x30], rax
cmp qword [rsp + 0x30], 0
jne 0x140006734
mov eax, 6
jmp 0x1400067f9
lea r9, [rsp + 0x20]
mov r8, qword [rsp + 0x30]
mov edx, dword [rsp + 0x58]
mov rcx, qword [rsp + 0x50]
call fcn.140006bc0
test eax, eax
je 0x14000676b
mov eax, dword [rsp + 0x20]
mov r9, qword [rsp + 0x60]
mov r8d, eax
mov edx, 1
mov rcx, qword [rsp + 0x30]
call fcn.14000b97c
xor ecx, ecx
call qword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x1400067ed
call qword [sym.imp.USER32.dll_EmptyClipboard]
mov eax, dword [rsp + 0x20]
mov edx, eax
mov ecx, 2
call qword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0
je 0x1400067e7
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_GlobalLock]
mov qword [rsp + 0x38], rax
mov eax, dword [rsp + 0x20]
mov r8d, eax
mov rdx, qword [rsp + 0x30]
mov rcx, qword [rsp + 0x38]
call fcn.140007e90
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_GlobalLock]
mov rdx, qword [rsp + 0x28]
mov ecx, 1
call qword [sym.imp.USER32.dll_SetClipboardData]
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_GlobalFree]
call qword [sym.imp.USER32.dll_CloseClipboard]
mov rcx, qword [rsp + 0x30]
call fcn.14000da8c
xor eax, eax
add rsp, 0x48
ret

Function at 0x140007b64
Capabilities:
Parse pe header

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

Disassembly:
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 0x14000dc1b
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x14000dc1b
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x14000dc1b
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x14000dc1b
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x14000dc1b
cmp dword [rcx + 0x84], 0xe
jbe 0x14000dc1b
cmp dword [rcx + 0xf8], 0
je 0x14000dc1b
mov ecx, ebx
call fcn.14000dccc
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.14000daa8
nop
cmp dword [rbp + 0x20], 0
je 0x14000dc69
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rbp
ret
mov ecx, ebx
call fcn.14000dc74
int3
xor r8d, r8d
xor edx, edx
jmp 0x14000dbac

Function at 0x14000fbb8
Capabilities:
Get disk information

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r14
sub rsp, 0x250
mov rax, qword [0x140035e18]
xor rax, rsp
mov qword [rsp + 0x240], rax
lea rdx, [0x140024720]
mov rbp, rcx
call fcn.14001789c
xor edi, edi
test rax, rax
je 0x14000fc9e
mov ebx, edi
call fcn.14001321c
mov r14d, dword [rax]
call fcn.14001321c
mov r8d, 0x104
lea rcx, [rsp + 0x30]
mov rdx, rbp
mov dword [rax], edi
call fcn.1400177e8
mov rsi, rax
test rax, rax
je 0x14000fc2f
call fcn.14001321c
mov dword [rax], r14d
jmp 0x14000fc59
call fcn.14001321c
cmp dword [rax], 0x22
jne 0x14000fc96
call fcn.14001321c
xor r8d, r8d
mov rdx, rbp
xor ecx, ecx
mov dword [rax], r14d
call fcn.1400177e8
mov rbx, rax
mov rsi, rax
test rax, rax
je 0x14000fc96
or rax, 0xffffffffffffffff
inc rax
cmp word [rsi + rax*2], di
jne 0x14000fc5d
cmp rax, 3
je 0x14000fc78
mov rcx, rsi
call fcn.14000fb14
test al, al
je 0x14000fc89
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_GetDriveTypeW]
cmp eax, 1
jbe 0x14000fc89
mov dil, 1
mov rcx, rbx
call fcn.14000da8c
mov al, dil
jmp 0x14000fca0
mov rcx, rbx
call fcn.14000da8c
xor al, al
mov rcx, qword [rsp + 0x240]
xor rcx, rsp
call fcn.140007170
lea r11, [rsp + 0x250]
mov rbx, qword [r11 + 0x28]
mov rbp, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop rdi
pop rsi
ret
Function at 0x1400158ac
Capabilities:
Get file size

Disassembly:
push rbx
sub rsp, 0x20
mov edx, dword [rcx + 0x14]
nop
shr edx, 3
test dl, 1
je 0x1400158c2
mov al, 1
jmp 0x140015922
mov eax, dword [rcx + 0x14]
nop
test al, 0xc0
je 0x1400158d3
mov rax, qword [rcx + 8]
cmp qword [rcx], rax
je 0x140015920
mov ecx, dword [rcx + 0x18]
nop
call fcn.140010278
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x140015920
mov r9d, 1
lea r8, [rsp + 0x38]
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetFilePointerEx]
test eax, eax
je 0x140015920
lea rdx, [rsp + 0x30]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
je 0x140015920
mov rax, qword [rsp + 0x30]
cmp qword [rsp + 0x38], rax
sete al
jmp 0x140015922
xor al, al
add rsp, 0x20
pop rbx
ret