joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140016596
Capabilities:
Extract resource via kernel32 functions

Disassembly:
jmp 0x140037910
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, 0x178
lea rbp, [rsp + 0x20]
lea rdi, [rsp + 0x20]
mov ecx, 0x26
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x198]
mov rax, qword [0x140075340]
xor rax, rbp
mov qword [rbp + 0x148], rax
lea rcx, [0x14007fb67]
call fcn.140016b68
mov dword [rbp + 0x74], 0
cmp qword [rbp + 0x180], 0
je 0x140037986
mov rax, qword [rbp + 0x180]
mov dword [rax], 0
cmp qword [rbp + 0x178], 0
jne 0x14003799a
mov eax, 0xc00000f0
jmp 0x140037a35
mov eax, 8
imul rax, rax, 0
mov qword [rbp + rax + 0x28], 0xa
mov eax, 8
imul rax, rax, 1
mov rcx, qword [rbp + 0x170]
mov qword [rbp + rax + 0x28], rcx
mov eax, 8
imul rax, rax, 2
mov qword [rbp + rax + 0x28], 0
lea r9, [rbp + 0x58]
mov r8d, 3
lea rdx, [rbp + 0x28]
mov rcx, qword [rbp + 0x178]
call qword [sym.imp.ntdll.dll_LdrFindResource_U]
mov dword [rbp + 4], eax
cmp dword [rbp + 4], 0
jl 0x140037a32
lea r9, [rbp + 0x74]
mov r8, qword [rbp + 0x188]
mov rdx, qword [rbp + 0x58]
mov rcx, qword [rbp + 0x178]
call qword [sym.imp.ntdll.dll_LdrAccessResource]
mov dword [rbp + 4], eax
cmp dword [rbp + 4], 0
jl 0x140037a32
cmp qword [rbp + 0x180], 0
je 0x140037a32
mov rax, qword [rbp + 0x180]
mov ecx, dword [rbp + 0x74]
mov dword [rax], ecx
mov eax, dword [rbp + 4]
mov rdi, rax
lea rcx, [rbp - 0x20]
lea rdx, [0x1400601e0]
call fcn.1400169a6
mov rax, rdi
mov rcx, qword [rbp + 0x148]
xor rcx, rbp
call fcn.1400165b9
lea rsp, [rbp + 0x158]
pop rdi
pop rbp
ret
Function at 0x1400165aa
Capabilities:
Delete file

Disassembly:
jmp 0x140032770
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 [0x140075340]
xor rax, rbp
mov qword [rbp + 0x728], rax
lea rcx, [0x14007f7e1]
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
lea rcx, str.___Entering_ucmVFServerTaskSchedMethod_r_n
call fcn.140016794
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 0x14003282d
jmp 0x140032914
mov edx, 0x410
lea rcx, [rbp + 0xd0]
call fcn.140016825
mov rax, qword [0x140075c58]
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 0x1400328a5
jmp 0x140032914
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 0x1400328d6
jmp 0x140032914
lea rdx, [rbp + 0x88]
lea rcx, [rbp + 0x68]
call fcn.140016410
test eax, eax
jne 0x1400328ec
jmp 0x140032914
mov rdx, qword [rbp + 0xa8]
mov rcx, qword [rbp + 0x88]
call fcn.1400162b2
test eax, eax
je 0x14003290a
mov dword [rbp + 0x24], 0
xor eax, eax
test eax, eax
jne 0x140032805
cmp qword [rbp + 0xa8], 0
je 0x14003292b
mov rcx, qword [rbp + 0xa8]
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
cmp qword [rbp + 0x68], 0
je 0x140032940
mov rax, qword [rbp + 0x68]
mov rax, qword [rax]
mov rcx, qword [rbp + 0x68]
call qword [rax + InitCommonControls]
cmp qword [rbp + 0x88], 0
je 0x14003295e
mov rax, qword [rbp + 0x88]
mov rax, qword [rax]
mov rcx, qword [rbp + 0x88]
call qword [rax + InitCommonControls]
cmp dword [rbp + 0x44], 0
jl 0x14003296a
call qword [sym.imp.ole32.dll_CoUninitialize]
cmp dword [rbp + 4], 0
je 0x14003297d
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, [0x14005e6d0]
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 0x140031470
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 [0x140075340]
xor rax, rbp
mov qword [rbp + 0x6c8], rax
lea rcx, [0x14007f6df]
call fcn.140016b68
mov dword [rbp + 4], 0
mov qword [rbp + 0x28], 0
cmp qword [rbp + 0x6f8], 0
je 0x1400314f4
cmp dword [rbp + 0x700], 0
je 0x1400314f4
cmp qword [rbp + 0x6f0], 0
jne 0x1400314fc
mov eax, dword [rbp + 4]
jmp 0x1400315cd
mov r8d, dword [rbp + 0x700]
mov rdx, qword [rbp + 0x6f8]
mov rcx, qword [rbp + 0x6f0]
call fcn.14001612c
test eax, eax
jne 0x14003151f
jmp 0x1400315bd
mov edx, 0x410
lea rcx, [rbp + 0x70]
call fcn.140016825
mov rax, qword [0x140075c58]
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 0x14003156c
jmp 0x1400315bd
cmp qword [rbp + 0x708], 0
jne 0x140031588
mov rcx, qword [rbp + 0x6f0]
call fcn.140016bd6
mov qword [rbp + 0x48], rax
jmp 0x140031593
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 0x1400314fc
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, [0x14005a580]
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 0x140034250
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x168
lea rbp, [rsp + 0x20]
lea rcx, [0x14007fb67]
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 0x140034370
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 0x1400342df
mov dword [rbp + 0x134], 1
jmp 0x1400342e9
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 0x140034339
mov dword [rbp + 0x134], 1
jmp 0x140034343
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 0x140034376
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 0x14003dfc0
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 0x14003a150
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 [0x140075340]
xor rax, rbp
mov qword [rbp + 0x158], rax
lea rcx, [0x14007fb67]
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 0x14003a278
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 0x14003a278
mov rdx, qword [rbp + 0x190]
mov rcx, qword [rbp + 0x68]
call fcn.1400160a5
mov qword [rbp + 0x88], rax
cmp qword [rbp + 0x88], 0
je 0x14003a266
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 0x14003a246
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, [0x140061170]
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 0x140038cb0
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 [0x140075340]
xor rax, rbp
mov qword [rbp + 0x218], rax
lea rcx, [0x14007fb67]
call fcn.140016b68
mov qword [rbp + 0x28], 0
mov qword [rbp + 0x48], 0
mov qword [rbp + 0x68], 0
cmp qword [rbp + 0x240], 0
jne 0x140038d27
xor eax, eax
jmp 0x140038f0c
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 0x140038d4d
jmp 0x140038ef7
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 0x140038e02
jmp 0x140038ef7
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 0x140038e47
jmp 0x140038ef7
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 0x140038eed
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 0x140038eda
cmp qword [rbp + 0x248], 0
je 0x140038ed8
mov rax, qword [rbp + 0x248]
mov ecx, dword [rbp + 0x140]
mov dword [rax], ecx
jmp 0x140038eed
xor edx, edx
mov rcx, qword [rbp + 0x48]
call fcn.1400161ae
mov qword [rbp + 0x48], 0
xor eax, eax
test eax, eax
jne 0x140038d16
cmp qword [rbp + 0x28], 0
je 0x140038f08
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 0x14002aaf0
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 [0x140075340]
xor rax, rbp
mov qword [rbp + 0x178], rax
lea rcx, [0x14007f1da]
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 0x14002ab98
mov dword [rbp + 4], 0xc000000d
jmp 0x14002acb3
lea r9, [rbp + 0x88]
mov r8d, 4
lea rdx, [0x140045150]
lea rcx, str.3E5FC7F9_9A51_4367_9063_A120244FBEC7
call fcn.140016965
mov dword [rbp + 0x24], eax
cmp dword [rbp + 0x24], 0
je 0x14002abc6
jmp 0x14002acb3
cmp qword [rbp + 0x88], 0
jne 0x14002abd5
jmp 0x14002acb3
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 0x14002ac18
jmp 0x14002acb3
lea r9, [rbp + 0xa8]
mov r8d, 4
lea rdx, [0x140045138]
lea rcx, str.D2E7041B_2927_42fb_8E9F_7CE93B6DC937
call fcn.140016965
mov dword [rbp + 0x24], eax
cmp dword [rbp + 0x24], 0
je 0x14002ac43
jmp 0x14002acb3
cmp qword [rbp + 0xa8], 0
jne 0x14002ac4f
jmp 0x14002acb3
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 0x14002ac75
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 0x14002ab75
cmp qword [rbp + 0x88], 0
je 0x14002acd1
mov rax, qword [rbp + 0x88]
mov rax, qword [rax]
mov rcx, qword [rbp + 0x88]
call qword [rax + InitCommonControls]
cmp qword [rbp + 0xa8], 0
je 0x14002acef
mov rax, qword [rbp + 0xa8]
mov rax, qword [rax]
mov rcx, qword [rbp + 0xa8]
call qword [rax + InitCommonControls]
cmp dword [rbp + 0x44], 0
jne 0x14002acfb
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 0x1400392c0
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 [0x140075340]
xor rax, rbp
mov qword [rbp + 0x188], rax
lea rcx, [0x14007fb67]
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 0x140039368
call fcn.140016640
mov rax, qword [rax + 0x30]
mov qword [rbp + 0xb8], rax
jmp 0x140039376
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 0x1400394d8
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 0x1400394d1
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 0x1400394bc
mov rax, qword [rbp + 8]
mov ecx, dword [rbp + 0x1c0]
cmp dword [rax + 4], ecx
jne 0x1400394b5
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 0x1400394ac
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 0x1400394b3
mov dword [rbp + 0x54], 0xc0000017
jmp 0x1400394bc
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 0x1400394d8
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 [0x140075340]
xor rax, rbp
mov qword [rbp + 0x470], rax
lea rcx, [0x14007e7c9]
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, [0x1400463e0]
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 0x14001f5d0
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 [0x140075340]
xor rax, rbp
mov qword [rbp + 0x428], rax
lea rcx, [0x14007e8c9]
call fcn.140016b68
mov qword [rbp + 0x28], 0
mov dword [rbp + 0x44], 0
call fcn.1400161d6
call fcn.1400160e6
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 0x14001f661
mov eax, 0xc000042c
jmp 0x14001f7ef
mov edx, 2
xor ecx, ecx
call qword [sym.imp.ole32.dll_CoInitializeEx]
test eax, eax
jge 0x14001f67c
mov eax, 0xc00000e5
jmp 0x14001f7ef
call qword [sym.imp.COMCTL32.dll_InitCommonControls]
cmp qword [0x140075c40], 0
jne 0x14001f69c
call fcn.140016640
mov rax, qword [rax + 0x10]
mov qword [0x140075c40], rax
mov rax, qword [rbp + 0x450]
cmp dword [rax], 0xabcdef
jne 0x14001f719
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 0x14001f6fc
mov eax, 0xc000000d
jmp 0x14001f7ef
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 0x14001f725
mov rax, qword [rbp + 0x450]
mov eax, dword [rax]
mov dword [rbp + 4], eax
cmp dword [rbp + 4], 0x4f
jl 0x14001f735
mov eax, 0xc000000d
jmp 0x14001f7ef
cmp qword [rbp + 0x458], 0
je 0x14001f748
cmp dword [rbp + 0x460], 0
jne 0x14001f7a2
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 0x14001f7a0
lea rax, [rbp + 0x90]
mov qword [rbp + 0x28], rax
mov eax, dword [rbp + 0x64]
mov dword [rbp + 0x44], eax
jmp 0x14001f7b6
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 [0x140075c58], rax
cmp qword [0x140075c58], 0
jne 0x14001f7ed
mov eax, 0x40000015
jmp 0x14001f7ef
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