joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400165aa
Capabilities:
Delete file

Disassembly:
jmp 0x140032620
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x758
lea rbp, [rsp + 0x20]
lea rdi, [rsp + 0x20]
mov ecx, 0x13e
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x778]
mov rax, qword [0x140073340]
xor rax, rbp
mov qword [rbp + 0x728], rax
lea rcx, [0x14007d7e1]
call fcn.140016b68
mov dword [rbp + 4], 0
mov dword [rbp + 0x24], 0xc0000022
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 r9d, 1
lea r8, str.Wow64LogMessageArgList
mov edx, dword [rbp + 0x758]
mov rcx, qword [rbp + 0x750]
call fcn.1400166bd
test eax, eax
jne 0x1400326d1
jmp 0x1400327b8
mov edx, 0x410
lea rcx, [rbp + 0xd0]
call fcn.140016825
mov rax, qword [0x140073c58]
add rax, 0x47c
mov rdx, rax
lea rcx, [rbp + 0xd0]
call fcn.1400161f9
lea rdx, str.hui32
lea rcx, [rbp + 0xd0]
call fcn.140016af0
lea rdx, str..exe
lea rcx, [rbp + 0xd0]
call fcn.140016af0
mov r8d, dword [rbp + 0x758]
mov rdx, qword [rbp + 0x750]
lea rcx, [rbp + 0xd0]
call fcn.14001612c
mov dword [rbp + 4], eax
cmp dword [rbp + 4], 0
jne 0x140032749
jmp 0x1400327b8
lea rcx, [rbp + 0xd0]
call fcn.1400162a3
shl rax, 1
mov rdx, rax
lea rcx, [rbp + 0xd0]
call fcn.140016528
mov qword [rbp + 0xa8], rax
cmp qword [rbp + 0xa8], 0
jne 0x14003277a
jmp 0x1400327b8
lea rdx, [rbp + 0x88]
lea rcx, [rbp + 0x68]
call fcn.140016410
test eax, eax
jne 0x140032790
jmp 0x1400327b8
mov rdx, qword [rbp + 0xa8]
mov rcx, qword [rbp + 0x88]
call fcn.1400162b2
test eax, eax
je 0x1400327ae
mov dword [rbp + 0x24], 0
xor eax, eax
test eax, eax
jne 0x1400326a9
cmp qword [rbp + 0xa8], 0
je 0x1400327cf
mov rcx, qword [rbp + 0xa8]
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
cmp qword [rbp + 0x68], 0
je 0x1400327e4
mov rax, qword [rbp + 0x68]
mov rax, qword [rax]
mov rcx, qword [rbp + 0x68]
call qword [rax + InitCommonControls]
cmp qword [rbp + 0x88], 0
je 0x140032802
mov rax, qword [rbp + 0x88]
mov rax, qword [rax]
mov rcx, qword [rbp + 0x88]
call qword [rax + InitCommonControls]
cmp dword [rbp + 0x44], 0
jl 0x14003280e
call qword [sym.imp.ole32.dll_CoUninitialize]
cmp dword [rbp + 4], 0
je 0x140032821
lea rcx, [rbp + 0xd0]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
mov eax, dword [rbp + 0x24]
mov edi, eax
lea rcx, [rbp - 0x20]
lea rdx, [0x14005d3f0]
call fcn.1400169a6
mov eax, edi
mov rcx, qword [rbp + 0x728]
xor rcx, rbp
call fcn.1400165b9
lea rsp, [rbp + 0x738]
pop rdi
pop rbp
ret
Function at 0x1400165dc
Capabilities:
Delete file

Disassembly:
jmp 0x1400313a0
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, 0x6f8
lea rbp, [rsp + 0x20]
lea rdi, [rsp + 0x20]
mov ecx, 0x126
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x718]
mov rax, qword [0x140073340]
xor rax, rbp
mov qword [rbp + 0x6c8], rax
lea rcx, [0x14007d6df]
call fcn.140016b68
mov dword [rbp + 4], 0
mov qword [rbp + 0x28], 0
cmp qword [rbp + 0x6f8], 0
je 0x140031424
cmp dword [rbp + 0x700], 0
je 0x140031424
cmp qword [rbp + 0x6f0], 0
jne 0x14003142c
mov eax, dword [rbp + 4]
jmp 0x1400314fd
mov r8d, dword [rbp + 0x700]
mov rdx, qword [rbp + 0x6f8]
mov rcx, qword [rbp + 0x6f0]
call fcn.14001612c
test eax, eax
jne 0x14003144f
jmp 0x1400314ed
mov edx, 0x410
lea rcx, [rbp + 0x70]
call fcn.140016825
mov rax, qword [0x140073c58]
add rax, 0x47c
mov rdx, rax
lea rcx, [rbp + 0x70]
call fcn.1400161f9
lea rdx, str.update.msu
lea rcx, [rbp + 0x70]
call fcn.140016af0
lea rcx, [rbp + 0x70]
call fcn.14001678f
mov qword [rbp + 0x28], rax
cmp qword [rbp + 0x28], 0
jne 0x14003149c
jmp 0x1400314ed
cmp qword [rbp + 0x708], 0
jne 0x1400314b8
mov rcx, qword [rbp + 0x6f0]
call fcn.140016bd6
mov qword [rbp + 0x48], rax
jmp 0x1400314c3
mov rax, qword [rbp + 0x708]
mov qword [rbp + 0x48], rax
mov r8, qword [rbp + 0x48]
mov rdx, qword [rbp + 0x6f0]
mov rcx, qword [rbp + 0x28]
call fcn.140016c21
mov dword [rbp + 4], eax
mov rcx, qword [rbp + 0x28]
call fcn.1400169ab
xor eax, eax
test eax, eax
jne 0x14003142c
mov rcx, qword [rbp + 0x6f0]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
mov eax, dword [rbp + 4]
mov rdi, rax
lea rcx, [rbp - 0x20]
lea rdx, [0x1400592a0]
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 0x140016668
Capabilities:
Access pe header

Disassembly:
jmp 0x1400340a0
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x168
lea rbp, [rsp + 0x20]
lea rcx, [0x14007db67]
call fcn.140016b68
mov eax, dword [rbp + 0x168]
inc eax
shr eax, 1
mov r8d, eax
mov rdx, qword [rbp + 0x160]
xor ecx, ecx
call fcn.1400160b9
mov word [rbp + 0x44], ax
mov rcx, qword [rbp + 0x160]
call qword [sym.imp.ntdll.dll_RtlImageNtHeader]
mov qword [rbp + 0x28], rax
cmp qword [rbp + 0x28], 0
je 0x1400341c0
mov rax, qword [rbp + 0x28]
add rax, 0x58
mov qword [rbp + 8], rax
movzx eax, word [rbp + 0x44]
mov ecx, 2
imul rcx, rcx, 0
mov rdx, qword [rbp + 8]
movzx ecx, word [rdx + rcx]
cmp eax, ecx
jge 0x14003412f
mov dword [rbp + 0x134], 1
jmp 0x140034139
mov dword [rbp + 0x134], 0
movzx eax, word [rbp + 0x44]
sub eax, dword [rbp + 0x134]
mov word [rbp + 0x44], ax
mov eax, 2
imul rax, rax, 0
mov rcx, qword [rbp + 8]
movzx eax, word [rcx + rax]
movzx ecx, word [rbp + 0x44]
sub ecx, eax
mov eax, ecx
mov word [rbp + 0x44], ax
movzx eax, word [rbp + 0x44]
mov ecx, 2
imul rcx, rcx, 1
mov rdx, qword [rbp + 8]
movzx ecx, word [rdx + rcx]
cmp eax, ecx
jge 0x140034189
mov dword [rbp + 0x134], 1
jmp 0x140034193
mov dword [rbp + 0x134], 0
movzx eax, word [rbp + 0x44]
sub eax, dword [rbp + 0x134]
mov word [rbp + 0x44], ax
mov eax, 2
imul rax, rax, 1
mov rcx, qword [rbp + 8]
movzx eax, word [rcx + rax]
movzx ecx, word [rbp + 0x44]
sub ecx, eax
mov eax, ecx
mov word [rbp + 0x44], ax
jmp 0x1400341c6
xor eax, eax
mov word [rbp + 0x44], ax
movzx eax, word [rbp + 0x44]
add eax, dword [rbp + 0x168]
mov dword [rbp + 0x64], eax
mov eax, dword [rbp + 0x64]
lea rsp, [rbp + 0x148]
pop rdi
pop rbp
ret
Function at 0x14001669f
Capabilities:
Terminate process

Disassembly:
jmp 0x14003dde0
mov qword [rsp + 8], rcx
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, 0xc0000409
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
add rsp, 0x28
ret
Function at 0x1400166bd
Capabilities:
Access pe header

Disassembly:
jmp 0x140039f70
mov dword [rsp + 0x20], r9d
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 rdi, [rsp + 0x20]
mov ecx, 0x2a
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x1a8]
mov rax, qword [0x140073340]
xor rax, rbp
mov qword [rbp + 0x158], rax
lea rcx, [0x14007db67]
call fcn.140016b68
mov dword [rbp + 4], 0
mov rcx, qword [rbp + 0x180]
call qword [sym.imp.ntdll.dll_RtlImageNtHeader]
mov qword [rbp + 0x28], rax
cmp qword [rbp + 0x28], 0
je 0x14003a098
mov dword [rbp + 0x44], 0
lea rdx, [rbp + 0x44]
mov rcx, qword [rbp + 0x180]
call fcn.140016a3c
mov qword [rbp + 0x68], rax
cmp qword [rbp + 0x68], 0
je 0x14003a098
mov rdx, qword [rbp + 0x190]
mov rcx, qword [rbp + 0x68]
call fcn.1400160a5
mov qword [rbp + 0x88], rax
cmp qword [rbp + 0x88], 0
je 0x14003a086
mov rax, qword [rbp + 0x68]
mov rcx, qword [rbp + 0x88]
sub rcx, rax
mov rax, rcx
mov rcx, qword [rbp + 0x28]
mov dword [rcx + 0x28], eax
cmp dword [rbp + 0x198], 0
je 0x14003a066
mov rax, qword [rbp + 0x28]
movzx eax, word [rax + 0x16]
btr eax, 0xd
mov rcx, qword [rbp + 0x28]
mov word [rcx + 0x16], ax
mov edx, dword [rbp + 0x188]
mov rcx, qword [rbp + 0x180]
call fcn.140016668
mov rcx, qword [rbp + 0x28]
mov dword [rcx + 0x58], eax
mov dword [rbp + 4], 1
mov r8d, 0x8000
xor edx, edx
mov rcx, qword [rbp + 0x68]
call qword [sym.imp.KERNEL32.dll_VirtualFree]
mov eax, dword [rbp + 4]
mov edi, eax
lea rcx, [rbp - 0x20]
lea rdx, [0x14005fa50]
call fcn.1400169a6
mov eax, edi
mov rcx, qword [rbp + 0x158]
xor rcx, rbp
call fcn.1400165b9
lea rsp, [rbp + 0x168]
pop rdi
pop rbp
ret
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 [0x140073340]
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 [0x140073340]
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, [0x140044150]
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, [0x140044138]
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 [0x140073340]
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 [0x140073340]
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, [0x1400453e0]
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 [0x140073340]
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 [0x140073c40], 0
jne 0x14001f677
call fcn.140016640
mov rax, qword [rax + 0x10]
mov qword [0x140073c40], 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 [0x140073c58], rax
cmp qword [0x140073c58], 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 0x14001683e
Capabilities:
Access pe header
Enumerate pe sections

Disassembly:
jmp 0x1400378e0
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, [0x14007db67]
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 0x140037939
mov rax, qword [rbp + 0x198]
mov dword [rax], 0
cmp qword [rbp + 0x68], 0
jne 0x140037947
xor eax, eax
jmp 0x1400379fa
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 0x1400379b2
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 0x140037996
mov byte [rbp + 4], 1
jmp 0x1400379b2
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 0x14003796a
movzx eax, byte [rbp + 4]
test eax, eax
jne 0x1400379be
xor eax, eax
jmp 0x1400379fa
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 0x1400379f6
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