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

Disassembly:
jmp 0x14002fb20
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 [0x140070328]
xor rax, rbp
mov qword [rbp + 0x728], rax
lea rcx, [0x1400796a4]
call fcn.140015b09
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
lea rcx, str.___Entering_ucmVFServerTaskSchedMethod_r_n
call fcn.140015758
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.140015681
test eax, eax
jne 0x14002fbdd
jmp 0x14002fcc4
mov edx, 0x410
lea rcx, [rbp + 0xd0]
call fcn.1400157e4
mov rax, qword [0x140070bf8]
add rax, 0x47c
mov rdx, rax
lea rcx, [rbp + 0xd0]
call fcn.1400151ea
lea rdx, str.hui32
lea rcx, [rbp + 0xd0]
call fcn.140015a96
lea rdx, str..exe
lea rcx, [rbp + 0xd0]
call fcn.140015a96
mov r8d, dword [rbp + 0x758]
mov rdx, qword [rbp + 0x750]
lea rcx, [rbp + 0xd0]
call fcn.140015127
mov dword [rbp + 4], eax
cmp dword [rbp + 4], 0
jne 0x14002fc55
jmp 0x14002fcc4
lea rcx, [rbp + 0xd0]
call fcn.14001528a
shl rax, 1
mov rdx, rax
lea rcx, [rbp + 0xd0]
call fcn.1400154f6
mov qword [rbp + 0xa8], rax
cmp qword [rbp + 0xa8], 0
jne 0x14002fc86
jmp 0x14002fcc4
lea rdx, [rbp + 0x88]
lea rcx, [rbp + 0x68]
call fcn.1400153e3
test eax, eax
jne 0x14002fc9c
jmp 0x14002fcc4
mov rdx, qword [rbp + 0xa8]
mov rcx, qword [rbp + 0x88]
call fcn.140015299
test eax, eax
je 0x14002fcba
mov dword [rbp + 0x24], 0
xor eax, eax
test eax, eax
jne 0x14002fbb5
cmp qword [rbp + 0xa8], 0
je 0x14002fcdb
mov rcx, qword [rbp + 0xa8]
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
cmp qword [rbp + 0x68], 0
je 0x14002fcf0
mov rax, qword [rbp + 0x68]
mov rax, qword [rax]
mov rcx, qword [rbp + 0x68]
call qword [rax + InitCommonControls]
cmp qword [rbp + 0x88], 0
je 0x14002fd0e
mov rax, qword [rbp + 0x88]
mov rax, qword [rax]
mov rcx, qword [rbp + 0x88]
call qword [rax + InitCommonControls]
cmp dword [rbp + 0x44], 0
jl 0x14002fd1a
call qword [sym.imp.ole32.dll_CoUninitialize]
cmp dword [rbp + 4], 0
je 0x14002fd2d
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, [0x14005a780]
call fcn.14001595b
mov eax, edi
mov rcx, qword [rbp + 0x728]
xor rcx, rbp
call fcn.140015582
lea rsp, [rbp + 0x738]
pop rdi
pop rbp
ret
Function at 0x1400155a5
Capabilities:
Delete file

Disassembly:
jmp 0x14002e820
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 [0x140070328]
xor rax, rbp
mov qword [rbp + 0x6c8], rax
lea rcx, [0x1400795a5]
call fcn.140015b09
mov dword [rbp + 4], 0
mov qword [rbp + 0x28], 0
cmp qword [rbp + 0x6f8], 0
je 0x14002e8a4
cmp dword [rbp + 0x700], 0
je 0x14002e8a4
cmp qword [rbp + 0x6f0], 0
jne 0x14002e8ac
mov eax, dword [rbp + 4]
jmp 0x14002e97d
mov r8d, dword [rbp + 0x700]
mov rdx, qword [rbp + 0x6f8]
mov rcx, qword [rbp + 0x6f0]
call fcn.140015127
test eax, eax
jne 0x14002e8cf
jmp 0x14002e96d
mov edx, 0x410
lea rcx, [rbp + 0x70]
call fcn.1400157e4
mov rax, qword [0x140070bf8]
add rax, 0x47c
mov rdx, rax
lea rcx, [rbp + 0x70]
call fcn.1400151ea
lea rdx, str.update.msu
lea rcx, [rbp + 0x70]
call fcn.140015a96
lea rcx, [rbp + 0x70]
call fcn.140015753
mov qword [rbp + 0x28], rax
cmp qword [rbp + 0x28], 0
jne 0x14002e91c
jmp 0x14002e96d
cmp qword [rbp + 0x708], 0
jne 0x14002e938
mov rcx, qword [rbp + 0x6f0]
call fcn.140015b6d
mov qword [rbp + 0x48], rax
jmp 0x14002e943
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.140015bb3
mov dword [rbp + 4], eax
mov rcx, qword [rbp + 0x28]
call fcn.140015960
xor eax, eax
test eax, eax
jne 0x14002e8ac
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, [0x140056630]
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 0x14001562c
Capabilities:
Access pe header

Disassembly:
jmp 0x140031600
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x168
lea rbp, [rsp + 0x20]
lea rcx, [0x140079a23]
call fcn.140015b09
mov eax, dword [rbp + 0x168]
inc eax
shr eax, 1
mov r8d, eax
mov rdx, qword [rbp + 0x160]
xor ecx, ecx
call fcn.1400150b9
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 0x140031720
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 0x14003168f
mov dword [rbp + 0x134], 1
jmp 0x140031699
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 0x1400316e9
mov dword [rbp + 0x134], 1
jmp 0x1400316f3
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 0x140031726
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 0x140015663
Capabilities:
Terminate process

Disassembly:
jmp 0x14003b140
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 0x140015681
Capabilities:
Access pe header

Disassembly:
jmp 0x1400372e0
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 [0x140070328]
xor rax, rbp
mov qword [rbp + 0x158], rax
lea rcx, [0x140079a23]
call fcn.140015b09
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 0x140037408
mov dword [rbp + 0x44], 0
lea rdx, [rbp + 0x44]
mov rcx, qword [rbp + 0x180]
call fcn.1400159e2
mov qword [rbp + 0x68], rax
cmp qword [rbp + 0x68], 0
je 0x140037408
mov rdx, qword [rbp + 0x190]
mov rcx, qword [rbp + 0x68]
call fcn.1400150a5
mov qword [rbp + 0x88], rax
cmp qword [rbp + 0x88], 0
je 0x1400373f6
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 0x1400373d6
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.14001562c
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, [0x14005d250]
call fcn.14001595b
mov eax, edi
mov rcx, qword [rbp + 0x158]
xor rcx, rbp
call fcn.140015582
lea rsp, [rbp + 0x168]
pop rdi
pop rbp
ret
Function at 0x1400156b3
Capabilities:
Get file attributes
Read file on windows

Disassembly:
jmp 0x140035e40
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 [0x140070328]
xor rax, rbp
mov qword [rbp + 0x218], rax
lea rcx, [0x140079a23]
call fcn.140015b09
mov qword [rbp + 0x28], 0
mov qword [rbp + 0x48], 0
mov qword [rbp + 0x68], 0
cmp qword [rbp + 0x240], 0
jne 0x140035eb7
xor eax, eax
jmp 0x14003609c
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 0x140035edd
jmp 0x140036087
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 0x140035f92
jmp 0x140036087
mov edx, 0x18
lea rcx, [rbp + 0x138]
call fcn.1400157e4
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 0x140035fd7
jmp 0x140036087
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.140015019
mov qword [rbp + 0x48], rax
cmp dword [rbp + 4], 0
jl 0x14003607d
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 0x14003606a
cmp qword [rbp + 0x248], 0
je 0x140036068
mov rax, qword [rbp + 0x248]
mov ecx, dword [rbp + 0x140]
mov dword [rax], ecx
jmp 0x14003607d
xor edx, edx
mov rcx, qword [rbp + 0x48]
call fcn.14001519f
mov qword [rbp + 0x48], 0
xor eax, eax
test eax, eax
jne 0x140035ea6
cmp qword [rbp + 0x28], 0
je 0x140036098
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.14001595b
mov rax, rdi
mov rcx, qword [rbp + 0x218]
xor rcx, rbp
call fcn.140015582
lea rsp, [rbp + 0x228]
pop rdi
pop rbp
ret
Function at 0x1400156bd
Capabilities:
Bypass uac via icmluautil

Disassembly:
jmp 0x140027ee0
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 [0x140070328]
xor rax, rbp
mov qword [rbp + 0x178], rax
lea rcx, [0x1400790af]
call fcn.140015b09
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.14001528a
mov qword [rbp + 0x68], rax
cmp qword [rbp + 0x68], 0
jne 0x140027f88
mov dword [rbp + 4], 0xc000000d
jmp 0x1400280a3
lea r9, [rbp + 0x88]
mov r8d, 4
lea rdx, [0x140042120]
lea rcx, str.3E5FC7F9_9A51_4367_9063_A120244FBEC7
call fcn.14001591a
mov dword [rbp + 0x24], eax
cmp dword [rbp + 0x24], 0
je 0x140027fb6
jmp 0x1400280a3
cmp qword [rbp + 0x88], 0
jne 0x140027fc5
jmp 0x1400280a3
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 0x140028008
jmp 0x1400280a3
lea r9, [rbp + 0xa8]
mov r8d, 4
lea rdx, [0x140042108]
lea rcx, str.D2E7041B_2927_42fb_8E9F_7CE93B6DC937
call fcn.14001591a
mov dword [rbp + 0x24], eax
cmp dword [rbp + 0x24], 0
je 0x140028033
jmp 0x1400280a3
cmp qword [rbp + 0xa8], 0
jne 0x14002803f
jmp 0x1400280a3
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 0x140028065
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 0x140027f65
cmp qword [rbp + 0x88], 0
je 0x1400280c1
mov rax, qword [rbp + 0x88]
mov rax, qword [rax]
mov rcx, qword [rbp + 0x88]
call qword [rax + InitCommonControls]
cmp qword [rbp + 0xa8], 0
je 0x1400280df
mov rax, qword [rbp + 0xa8]
mov rax, qword [rax]
mov rcx, qword [rbp + 0xa8]
call qword [rax + InitCommonControls]
cmp dword [rbp + 0x44], 0
jne 0x1400280eb
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.14001595b
mov eax, edi
mov rcx, qword [rbp + 0x178]
xor rcx, rbp
call fcn.140015582
lea rsp, [rbp + 0x188]
pop rdi
pop rbp
ret
Function at 0x14001577b
Capabilities:
Query or enumerate registry value

Disassembly:
jmp 0x140036450
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 [0x140070328]
xor rax, rbp
mov qword [rbp + 0x188], rax
lea rcx, [0x140079a23]
call fcn.140015b09
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 0x1400364f8
call fcn.140015609
mov rax, qword [rax + 0x30]
mov qword [rbp + 0xb8], rax
jmp 0x140036506
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 0x140036668
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 0x140036661
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 0x14003664c
mov rax, qword [rbp + 8]
mov ecx, dword [rbp + 0x1c0]
cmp dword [rax + 4], ecx
jne 0x140036645
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 0x14003663c
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.140015596
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 0x140036643
mov dword [rbp + 0x54], 0xc0000017
jmp 0x14003664c
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 0x140036668
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.14001595b
mov eax, edi
mov rcx, qword [rbp + 0x188]
xor rcx, rbp
call fcn.140015582
lea rsp, [rbp + 0x198]
pop rdi
pop rbp
ret
Function at 0x1400157b2
Capabilities:
Enumerate files on windows

Disassembly:
jmp 0x14001e220
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 [0x140070328]
xor rax, rbp
mov qword [rbp + 0x470], rax
lea rcx, [0x1400787bc]
call fcn.140015b09
mov dword [rbp + 4], 0
mov qword [rbp + 0x48], 0
mov rcx, qword [rbp + 0x4a0]
call fcn.14001528a
mov qword [rbp + 0x468], rax
mov rcx, qword [rbp + 0x4a8]
call fcn.14001528a
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.140015659
mov qword [rbp + 0x48], rax
cmp qword [rbp + 0x48], 0
je 0x14001e364
mov rdx, qword [rbp + 0x4a0]
mov rcx, qword [rbp + 0x48]
call fcn.1400151ea
mov r8, qword [rbp + 0x68]
mov rdx, qword [rbp + 0x4a8]
mov rcx, qword [rbp + 0x48]
call fcn.140015938
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 0x14001e35b
mov r8, qword [rbp + 0x4b8]
lea rdx, [rbp + 0x90]
mov rcx, qword [rbp + 0x4a0]
call qword [rbp + 0x4b0]
test eax, eax
je 0x14001e33c
mov dword [rbp + 4], 1
jmp 0x14001e351
lea rdx, [rbp + 0x90]
mov rcx, qword [rbp + 0x28]
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x14001e314
mov rcx, qword [rbp + 0x28]
call qword [sym.imp.KERNEL32.dll_FindClose]
mov rcx, qword [rbp + 0x48]
call fcn.140015bae
mov eax, dword [rbp + 4]
mov edi, eax
lea rcx, [rbp - 0x20]
lea rdx, [0x1400433b0]
call fcn.14001595b
mov eax, edi
mov rcx, qword [rbp + 0x470]
xor rcx, rbp
call fcn.140015582
lea rsp, [rbp + 0x488]
pop rdi
pop rbp
ret
Function at 0x1400157e9
Capabilities:
Accept command line arguments

Disassembly:
jmp 0x14001e4f0
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 [0x140070328]
xor rax, rbp
mov qword [rbp + 0x428], rax
lea rcx, [0x1400788b9]
call fcn.140015b09
mov qword [rbp + 0x28], 0
mov dword [rbp + 0x44], 0
call fcn.1400151c7
call fcn.1400150e1
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 0x14001e581
mov eax, 0xc000042c
jmp 0x14001e70f
mov edx, 2
xor ecx, ecx
call qword [sym.imp.ole32.dll_CoInitializeEx]
test eax, eax
jge 0x14001e59c
mov eax, 0xc00000e5
jmp 0x14001e70f
call qword [sym.imp.COMCTL32.dll_InitCommonControls]
cmp qword [0x140070be0], 0
jne 0x14001e5bc
call fcn.140015609
mov rax, qword [rax + 0x10]
mov qword [0x140070be0], rax
mov rax, qword [rbp + 0x450]
cmp dword [rax], 0xabcdef
jne 0x14001e639
mov dword [rbp + 0x64], 0
mov edx, 0x20a
lea rcx, [rbp + 0x90]
call fcn.1400157e4
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.140015a46
cmp dword [rbp + 0x64], 0
jne 0x14001e61c
mov eax, 0xc000000d
jmp 0x14001e70f
lea rcx, [rbp + 0x90]
call fcn.140015226
mov dword [rbp + 4], eax
mov rax, qword [rbp + 0x450]
mov ecx, dword [rbp + 4]
mov dword [rax], ecx
jmp 0x14001e645
mov rax, qword [rbp + 0x450]
mov eax, dword [rax]
mov dword [rbp + 4], eax
cmp dword [rbp + 4], 0x4e
jl 0x14001e655
mov eax, 0xc000000d
jmp 0x14001e70f
cmp qword [rbp + 0x458], 0
je 0x14001e668
cmp dword [rbp + 0x460], 0
jne 0x14001e6c2
mov edx, 0x20a
lea rcx, [rbp + 0x90]
call fcn.1400157e4
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.140015a46
cmp dword [rbp + 0x64], 0
jbe 0x14001e6c0
lea rax, [rbp + 0x90]
mov qword [rbp + 0x28], rax
mov eax, dword [rbp + 0x64]
mov dword [rbp + 0x44], eax
jmp 0x14001e6d6
mov rax, qword [rbp + 0x458]
mov qword [rbp + 0x28], rax
mov eax, dword [rbp + 0x460]
mov dword [rbp + 0x44], eax
lea rcx, [0x14001539d]
call fcn.140015861
mov r9, rax
mov r8d, dword [rbp + 0x44]
mov rdx, qword [rbp + 0x28]
mov ecx, dword [rbp + 4]
call fcn.1400150fa
mov qword [0x140070bf8], rax
cmp qword [0x140070bf8], 0
jne 0x14001e70d
mov eax, 0x40000015
jmp 0x14001e70f
xor eax, eax
mov rdi, rax
lea rcx, [rbp - 0x30]
lea rdx, reloc.OLEAUT32.dll_SysReAllocString
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 0x1400157fd
Capabilities:
Access pe header
Enumerate pe sections

Disassembly:
jmp 0x140034c50
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, [0x140079a23]
call fcn.140015b09
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 0x140034ca9
mov rax, qword [rbp + 0x198]
mov dword [rax], 0
cmp qword [rbp + 0x68], 0
jne 0x140034cb7
xor eax, eax
jmp 0x140034d6a
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 0x140034d22
mov eax, dword [rbp + 0x188]
mov rcx, qword [rbp + 0x88]
mov r8d, eax
mov rdx, qword [rbp + 0x180]
call fcn.140015492
test eax, eax
jne 0x140034d06
mov byte [rbp + 4], 1
jmp 0x140034d22
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 0x140034cda
movzx eax, byte [rbp + 4]
test eax, eax
jne 0x140034d2e
xor eax, eax
jmp 0x140034d6a
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 0x140034d66
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