joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400499d0
Capabilities:
Delete registry key

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x28
xor eax, eax
test eax, eax
jne 0x1400499de
xor eax, eax
test eax, eax
jne 0x1400499de
mov rdx, qword [rsp + 0x38]
mov rcx, qword [rsp + 0x30]
mov rcx, qword [rcx]
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
add rsp, 0x28
ret

Function at 0x140049a10
Capabilities:
Delete registry value

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x28
xor eax, eax
test eax, eax
jne 0x140049a1e
xor eax, eax
test eax, eax
jne 0x140049a1e
mov rdx, qword [rsp + 0x38]
mov rcx, qword [rsp + 0x30]
mov rcx, qword [rcx]
call qword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
add rsp, 0x28
ret

Function at 0x140049b10
Capabilities:
Query or enumerate registry key

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x298
mov rax, qword [0x14007a9b0]
xor rax, rsp
mov qword [rsp + 0x280], rax
lea rcx, [rsp + 0x50]
call fcn.140041d90
mov r11, qword [rsp + 0x2a0]
mov r9d, dword [r11 + 8]
or r9d, 0x2001f
mov r8, qword [rsp + 0x2a8]
mov rdx, qword [rsp + 0x2a0]
mov rdx, qword [rdx]
lea rcx, [rsp + 0x50]
call fcn.140041e30
mov dword [rsp + 0x60], eax
cmp dword [rsp + 0x60], 0
je 0x140049b99
mov eax, dword [rsp + 0x60]
mov dword [rsp + 0x270], eax
lea rcx, [rsp + 0x50]
call fcn.140041dc0
mov eax, dword [rsp + 0x270]
jmp 0x140049c5d
mov dword [rsp + 0x40], 0x100
lea rax, [rsp + 0x48]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], 0
mov qword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
lea r9, [rsp + 0x40]
lea r8, [rsp + 0x70]
xor edx, edx
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
jne 0x140049c26
lea rdx, [rsp + 0x70]
lea rcx, [rsp + 0x50]
call fcn.140049b10
mov dword [rsp + 0x60], eax
cmp dword [rsp + 0x60], 0
je 0x140049c19
mov eax, dword [rsp + 0x60]
mov dword [rsp + 0x274], eax
lea rcx, [rsp + 0x50]
call fcn.140041dc0
mov eax, dword [rsp + 0x274]
jmp 0x140049c5d
mov dword [rsp + 0x40], 0x100
jmp 0x140049ba1
lea rcx, [rsp + 0x50]
call fcn.140041de0
mov rdx, qword [rsp + 0x2a8]
mov rcx, qword [rsp + 0x2a0]
call fcn.1400499d0
mov dword [rsp + 0x278], eax
lea rcx, [rsp + 0x50]
call fcn.140041dc0
mov eax, dword [rsp + 0x278]
mov rcx, qword [rsp + 0x280]
xor rcx, rsp
call fcn.14004c9d0
add rsp, 0x298
ret
Function at 0x14004a220
Capabilities:
Set registry value

Disassembly:
mov dword [rsp + 0x18], r8d
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x38
xor eax, eax
test eax, eax
jne 0x14004a233
xor eax, eax
test eax, eax
jne 0x14004a233
mov dword [rsp + 0x28], 4
lea rax, [rsp + 0x50]
mov qword [rsp + 0x20], rax
mov r9d, 4
xor r8d, r8d
mov rdx, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x40]
mov rcx, qword [rcx]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
add rsp, 0x38
ret

Function at 0x14004a280
Capabilities:
Set registry value

Disassembly:
mov dword [rsp + 0x20], r9d
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x48
xor eax, eax
test eax, eax
jne 0x14004a298
xor eax, eax
test eax, eax
jne 0x14004a298
cmp qword [rsp + 0x60], 0
je 0x14004a2b6
mov dword [rsp + 0x34], 1
jmp 0x14004a2be
mov dword [rsp + 0x34], 0
mov eax, dword [rsp + 0x34]
mov dword [rsp + 0x30], eax
cmp dword [rsp + 0x30], 0
jne 0x14004a2d4
mov eax, 0xd
jmp 0x14004a316
xor eax, eax
test eax, eax
jne 0x14004a2a4
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_lstrlenW]
add eax, 1
cdqe
shl rax, 1
mov dword [rsp + 0x28], eax
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0x20], rax
mov r9d, dword [rsp + 0x68]
xor r8d, r8d
mov rdx, qword [rsp + 0x58]
mov rcx, qword [rsp + 0x50]
mov rcx, qword [rcx]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
add rsp, 0x48
ret

Function at 0x14004a320
Capabilities:
Set registry value

Disassembly:
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x58
xor eax, eax
test eax, eax
jne 0x14004a333
xor eax, eax
test eax, eax
jne 0x14004a333
cmp qword [rsp + 0x70], 0
je 0x14004a351
mov dword [rsp + 0x48], 1
jmp 0x14004a359
mov dword [rsp + 0x48], 0
mov eax, dword [rsp + 0x48]
mov dword [rsp + 0x44], eax
cmp dword [rsp + 0x44], 0
jne 0x14004a372
mov eax, 0xd
jmp 0x14004a3f3
xor eax, eax
test eax, eax
jne 0x14004a33f
mov dword [rsp + 0x30], 0
mov rax, qword [rsp + 0x70]
mov qword [rsp + 0x38], rax
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.KERNEL32.dll_lstrlenW]
add eax, 1
mov dword [rsp + 0x40], eax
mov ecx, dword [rsp + 0x40]
mov rax, qword [rsp + 0x38]
lea rax, [rax + rcx*2]
mov qword [rsp + 0x38], rax
mov ecx, dword [rsp + 0x40]
mov eax, dword [rsp + 0x30]
lea rax, [rax + rcx*2]
mov dword [rsp + 0x30], eax
cmp dword [rsp + 0x40], 1
jne 0x14004a38a
mov eax, dword [rsp + 0x30]
mov dword [rsp + 0x28], eax
mov rax, qword [rsp + 0x70]
mov qword [rsp + 0x20], rax
mov r9d, 7
xor r8d, r8d
mov rdx, qword [rsp + 0x68]
mov rcx, qword [rsp + 0x60]
mov rcx, qword [rcx]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
add rsp, 0x58
ret
Function at 0x14004f0a7
Capabilities:
Terminate process

Disassembly:
cmp rcx, qword [0x14007a9b0]
jne 0x14004c9ea
rol rcx, 0x10
test cx, 0xffff
jne 0x14004c9e6
repz ret
ror rcx, 0x10
jmp 0x14004f000
mov qword [rsp + 8], rcx
sub rsp, 0x88
lea rcx, [0x14007d570]
call qword [sym.imp.KERNEL32.dll_RtlCaptureContext]
mov r11, qword [0x14007d668]
mov qword [rsp + 0x58], r11
xor r8d, r8d
lea rdx, [rsp + 0x60]
mov rcx, qword [rsp + 0x58]
call sub.KERNEL32.dll_RtlLookupFunctionEntry
mov qword [rsp + 0x50], rax
cmp qword [rsp + 0x50], 0
je 0x14004f085
mov qword [rsp + 0x38], 0
lea rax, [rsp + 0x48]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x40]
mov qword [rsp + 0x28], rax
lea rax, [0x14007d570]
mov qword [rsp + 0x20], rax
mov r9, qword [rsp + 0x50]
mov r8, qword [rsp + 0x58]
mov rdx, qword [rsp + 0x60]
xor ecx, ecx
call sub.KERNEL32.dll_RtlVirtualUnwind
jmp 0x14004f0a7
mov rax, qword [rsp + 0x88]
mov qword [0x14007d668], rax
lea rax, [rsp + 0x88]
add rax, 8
mov qword [0x14007d608], rax
mov rax, qword [0x14007d668]
mov qword [0x14007d4e0], rax
mov rax, qword [rsp + 0x90]
mov qword [0x14007d5f0], rax
mov dword [0x14007d4d0], 0xc0000409
mov dword [0x14007d4d4], 1
mov rax, qword [0x14007a9b0]
mov qword [rsp + 0x68], rax
mov rax, qword [0x14007a9b8]
mov qword [rsp + 0x70], rax
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
mov dword [0x14007d568], eax
mov ecx, 1
call fcn.140053598
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
lea rcx, [0x14006cc20]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
cmp dword [0x14007d568], 0
jne 0x14004f12e
mov ecx, 1
call fcn.140053598
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, 0xc0000409
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
add rsp, 0x88
ret
Function at 0x140055378
Capabilities:
Terminate process

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov dword [rsp + 0x18], r8d
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x40
mov r12d, r8d
mov ebx, edx
mov r15d, ecx
mov ecx, 8
call fcn.1400576dc
nop
cmp dword [0x14007db10], 1
je 0x140055324
mov dword [0x14007db0c], 1
mov byte [0x14007db08], r12b
test ebx, ebx
jne 0x140055310
mov rcx, qword [0x14007e770]
call sub.KERNEL32.dll_DecodePointer
mov rsi, rax
mov qword [rsp + 0x30], rax
test rax, rax
je 0x1400552fd
mov rcx, qword [0x14007e768]
call sub.KERNEL32.dll_DecodePointer
mov rdi, rax
mov qword [rsp + 0x20], rax
mov r14, rsi
mov qword [rsp + 0x28], rsi
mov r13, rax
mov qword [rsp + 0x38], rax
sub rdi, 8
mov qword [rsp + 0x20], rdi
cmp rdi, rsi
jb 0x14005529c
call fcn.14004f2e8
cmp qword [rdi], rax
jne 0x14005529c
jmp 0x140055282
cmp rdi, rsi
jb 0x1400552fd
mov rcx, qword [rdi]
call sub.KERNEL32.dll_DecodePointer
mov rbx, rax
call fcn.14004f2e8
mov qword [rdi], rax
call rbx
mov rcx, qword [0x14007e770]
call sub.KERNEL32.dll_DecodePointer
mov rbx, rax
mov rcx, qword [0x14007e768]
call sub.KERNEL32.dll_DecodePointer
cmp r14, rbx
jne 0x1400552db
cmp r13, rax
je 0x1400552fb
mov r14, rbx
mov qword [rsp + 0x28], rbx
mov rsi, rbx
mov qword [rsp + 0x30], rbx
mov r13, rax
mov qword [rsp + 0x38], rax
mov rdi, rax
mov qword [rsp + 0x20], rax
jmp 0x140055282
lea rdx, [0x1400648e0]
lea rcx, [0x1400648c8]
call fcn.1400550cc
lea rdx, [0x1400648f0]
lea rcx, [0x1400648e8]
call fcn.1400550cc
nop
test r12d, r12d
je 0x140055333
mov ecx, 8
call fcn.1400575dc
test r12d, r12d
jne 0x14005535e
mov dword [0x14007db10], 1
lea ecx, [r12 + 8]
call fcn.1400575dc
mov ecx, r15d
call fcn.140055060
mov ecx, r15d
call qword [sym.imp.KERNEL32.dll_ExitProcess]
mov rbx, qword [rsp + 0x70]
mov rsi, qword [rsp + 0x78]
add rsp, 0x40
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
xor r8d, r8d
xor edx, edx
jmp 0x1400551ec

Function at 0x140055384
Capabilities:
Terminate process

Disassembly:
xor r8d, r8d
lea edx, [r8 + 1]
jmp 0x1400551ec
Function at 0x14005b258
Capabilities:
Link many functions at runtime

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
push rsi
push rdi
push r12
push r13
push r14
sub rsp, 0x40
mov ebp, r8d
mov r13, rdx
mov r14, rcx
call fcn.14004f2e8
xor ebx, ebx
mov rdi, rax
cmp qword [0x14007e358], rbx
jne 0x14005b35e
lea rcx, [0x14006e7c8]
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov rsi, rax
test rax, rax
je 0x14005b433
lea rdx, [0x14006e7b8]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x14005b433
mov rcx, rax
call sub.KERNEL32.dll_EncodePointer
lea rdx, [0x14006e7a8]
mov rcx, rsi
mov qword [0x14007e358], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call sub.KERNEL32.dll_EncodePointer
lea rdx, [0x14006e790]
mov rcx, rsi
mov qword [0x14007e360], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call sub.KERNEL32.dll_EncodePointer
lea rdx, [0x14006e770]
mov rcx, rsi
mov qword [0x14007e368], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call sub.KERNEL32.dll_EncodePointer
mov r11, rax
mov qword [0x14007e378], rax
test rax, rax
je 0x14005b355
lea rdx, [0x14006e758]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call sub.KERNEL32.dll_EncodePointer
mov qword [0x14007e370], rax
jmp 0x14005b365
mov rax, qword [0x14007e370]
jmp 0x14005b36c
mov rax, qword [0x14007e370]
mov r11, qword [0x14007e378]
cmp rax, rdi
je 0x14005b3d4
cmp r11, rdi
je 0x14005b3d4
mov rcx, rax
call sub.KERNEL32.dll_DecodePointer
mov rcx, qword [0x14007e378]
mov rsi, rax
call sub.KERNEL32.dll_DecodePointer
mov r12, rax
test rsi, rsi
je 0x14005b3d4
test rax, rax
je 0x14005b3d4
call rsi
test rax, rax
je 0x14005b3ce
lea rcx, [rsp + 0x88]
mov r9d, 0xc
lea r8, [rsp + 0x30]
mov qword [rsp + 0x20], rcx
lea edx, [r9 - 0xb]
mov rcx, rax
call r12
test eax, eax
je 0x14005b3ce
test byte [rsp + 0x38], 1
jne 0x14005b3d4
bts ebp, 0x15
jmp 0x14005b412
mov rcx, qword [0x14007e360]
cmp rcx, rdi
je 0x14005b412
call sub.KERNEL32.dll_DecodePointer
test rax, rax
je 0x14005b412
call rax
mov rbx, rax
test rax, rax
je 0x14005b412
mov rcx, qword [0x14007e368]
cmp rcx, rdi
je 0x14005b412
call sub.KERNEL32.dll_DecodePointer
test rax, rax
je 0x14005b412
mov rcx, rbx
call rax
mov rbx, rax
mov rcx, qword [0x14007e358]
call sub.KERNEL32.dll_DecodePointer
test rax, rax
je 0x14005b433
mov r9d, ebp
mov r8, r13
mov rdx, r14
mov rcx, rbx
call rax
jmp 0x14005b435
xor eax, eax
mov rbx, qword [rsp + 0x70]
mov rbp, qword [rsp + 0x78]
add rsp, 0x40
pop r14
pop r13
pop r12
pop rdi
pop rsi
ret
Function at 0x14005e4f0
Capabilities:
Allocate or change rwx memory

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x20
mov rcx, qword [0x14007e4f8]
test rcx, rcx
jne 0x14005e447
mov rax, qword gs:[0x30]
mov rbx, qword [rax + 0x60]
mov rcx, qword [rbx + 0x40]
test rcx, rcx
jne 0x14005e440
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
xor edx, edx
lea r8d, [rdx + 0x10]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov rdi, rax
test rax, rax
je 0x14005e472
and qword [rax], 0
and qword [rax + 8], 0
xor eax, eax
lock cmpxchg qword [rbx + 0x40], rdi
je 0x14005e43c
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov r8, rdi
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov rcx, qword [rbx + 0x40]
mov qword [0x14007e4f8], rcx
call qword [sym.imp.KERNEL32.dll_InterlockedPopEntrySList]
test rax, rax
jne 0x14005e4e5
mov edx, 0x1000
lea r9d, [rax + 0x40]
xor ecx, ecx
mov r8d, edx
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov rbx, rax
test rax, rax
jne 0x14005e495
xor edx, edx
lea r9, [rsp + 0x30]
mov ecx, 0xc0000017
lea r8d, [rdx + 1]
mov qword [rsp + 0x30], 0x20
call qword [sym.imp.KERNEL32.dll_RaiseException]
mov eax, dword [rax]
mov rcx, qword [0x14007e4f8]
call qword [sym.imp.KERNEL32.dll_InterlockedPopEntrySList]
mov rdi, rax
test rax, rax
je 0x14005e4c2
xor edx, edx
mov r8d, 0x8000
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualFree]
mov rax, rdi
jmp 0x14005e4e5
lea rdi, [rbx + 0xfe0]
mov rcx, qword [0x14007e4f8]
mov rdx, rbx
call qword [sym.imp.KERNEL32.dll_InterlockedPushEntrySList]
add rbx, 0x20
cmp rbx, rdi
jb 0x14005e4c9
mov rax, rbx
mov rbx, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
jmp 0x14005e3cc
Function at 0x140001050
Capabilities:
Query or enumerate registry value

Disassembly:
push rbp
push rsi
push rdi
sub rsp, 0x60
mov qword [rsp + 0x30], 0xfffffffffffffffe
mov qword [rsp + 0x88], rbx
mov rsi, r8
mov rdi, rdx
mov rbp, rcx
xor ecx, ecx
mov qword [r8 + 0x10], rcx
cmp qword [r8 + 0x18], 8
jb 0x140001084
mov rax, qword [r8]
jmp 0x140001087
mov rax, r8
mov word [rax], cx
mov qword [rsp + 0x98], rcx
mov qword [rsp + 0x38], rcx
mov qword [rsp + 0x40], rcx
mov qword [rsp + 0x48], rcx
mov edx, 0x200
lea rcx, [rsp + 0x38]
call fcn.140003a80
nop
mov eax, dword [rsp + 0x40]
mov rbx, qword [rsp + 0x38]
sub eax, ebx
mov dword [rsp + 0x80], eax
cmp qword [rbp + 0x18], 8
jb 0x1400010ce
mov rbp, qword [rbp]
lea rax, [rsp + 0x98]
mov qword [rsp + 0x20], rax
mov r9d, 0x20019
xor r8d, r8d
mov rdx, rbp
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov ebp, eax
test eax, eax
je 0x140001122
test rbx, rbx
je 0x140001108
mov rcx, rbx
call fcn.140007f50
nop
mov rcx, qword [rsp + 0x98]
test rcx, rcx
je 0x14000111b
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, ebp
jmp 0x1400011d9
cmp qword [rdi + 0x18], 8
jb 0x14000112c
mov rdi, qword [rdi]
lea rax, [rsp + 0x80]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rbx
lea r9, [rsp + 0x90]
xor r8d, r8d
mov rdx, rdi
mov rcx, qword [rsp + 0x98]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov edi, eax
test eax, eax
je 0x140001185
test rbx, rbx
je 0x14000116e
mov rcx, rbx
call fcn.140007f50
nop
mov rcx, qword [rsp + 0x98]
test rcx, rcx
je 0x140001181
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, edi
jmp 0x1400011d9
mov edx, dword [rsp + 0x80]
sub rdx, 2
lea rcx, [rsp + 0x38]
call fcn.140003a80
mov r8, qword [rsp + 0x40]
mov rbx, qword [rsp + 0x38]
sub r8, rbx
shr r8, 1
mov rdx, rbx
mov rcx, rsi
call fcn.140003770
nop
test rbx, rbx
je 0x1400011c4
mov rcx, rbx
call fcn.140007f50
nop
mov rcx, qword [rsp + 0x98]
test rcx, rcx
je 0x1400011d7
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
mov rbx, qword [rsp + 0x88]
add rsp, 0x60
pop rdi
pop rsi
pop rbp
ret
Function at 0x140001210
Capabilities:
Print debug messages

Disassembly:
mov rax, rsp
push rbp
lea rbp, [rax - 0x28]
sub rsp, 0x120
mov qword [rsp + 0x30], 0xfffffffffffffffe
mov qword [rax + 0x18], rbx
mov qword [rax + 0x20], rdi
mov rax, qword [0x1400170a8]
xor rax, rsp
mov qword [rbp + 0x10], rax
mov edi, edx
mov qword [rsp + 0x78], 7
xor ebx, ebx
mov qword [rsp + 0x70], rbx
mov word [rsp + 0x60], bx
or r9, 0xffffffffffffffff
xor r8d, r8d
mov rdx, rcx
lea rcx, [rsp + 0x60]
call fcn.140003d40
nop
test edi, edi
je 0x1400013ad
lea r9d, [rbx + 0x10]
lea r8d, [rbx + 8]
lea rdx, [rbp]
mov ecx, edi
call fcn.140007f28
mov qword [rbp - 0x60], 7
mov qword [rbp - 0x68], rbx
mov word [rbp - 0x78], bx
lea r8d, [rbx + 0xa]
lea rdx, [0x140012658]
lea rcx, [rbp - 0x78]
call fcn.140004510
nop
mov qword [rsp + 0x50], 7
mov qword [rsp + 0x48], rbx
mov word [rsp + 0x38], bx
xor eax, eax
or rcx, 0xffffffffffffffff
lea rdi, [rbp]
repne scasw ax, word [rdi]
not rcx
lea r8, [rcx - 1]
lea rdx, [rbp]
lea rcx, [rsp + 0x38]
call fcn.140004510
nop
mov rdx, qword [rbp - 0x68]
lea r8, [rdx - 1]
sub rdx, qword [rsp + 0x48]
mov qword [rsp + 0x28], 0xffffffffffffffff
mov qword [rsp + 0x20], rbx
lea r9, [rsp + 0x38]
lea rcx, [rbp - 0x78]
call fcn.140003e70
lea r8, [rbp - 0x78]
lea rdx, [0x140012674]
lea rcx, [rbp - 0x28]
call fcn.1400049c0
nop
lea r8, [0x140012670]
mov rdx, rax
lea rcx, [rbp - 0x50]
call fcn.140004aa0
nop
or r9, 0xffffffffffffffff
xor r8d, r8d
mov rdx, rax
lea rcx, [rsp + 0x60]
call fcn.140003c10
nop
cmp qword [rbp - 0x38], 8
jb 0x140001357
mov rcx, qword [rbp - 0x50]
call fcn.140007f50
mov qword [rbp - 0x38], 7
mov qword [rbp - 0x40], rbx
mov word [rbp - 0x50], bx
cmp qword [rbp - 0x10], 8
jb 0x140001378
mov rcx, qword [rbp - 0x28]
call fcn.140007f50
nop
cmp qword [rsp + 0x50], 8
jb 0x14000138a
mov rcx, qword [rsp + 0x38]
call fcn.140007f50
mov qword [rsp + 0x50], 7
mov qword [rsp + 0x48], rbx
mov word [rsp + 0x38], bx
cmp qword [rbp - 0x60], 8
jb 0x1400013ad
mov rcx, qword [rbp - 0x78]
call fcn.140007f50
lea rcx, [rsp + 0x60]
cmp qword [rsp + 0x78], 8
cmovae rcx, qword [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
lea rcx, [0x14001264c]
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
nop
cmp qword [rsp + 0x78], 8
jb 0x1400013e4
mov rcx, qword [rsp + 0x60]
call fcn.140007f50
mov rcx, qword [rbp + 0x10]
xor rcx, rsp
call fcn.1400077b0
lea r11, [rsp + 0x120]
mov rbx, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret
Function at 0x140001410
Capabilities:
Query or enumerate registry value

Disassembly:
mov rax, rsp
push rsi
push rdi
push r12
sub rsp, 0x60
mov qword [rsp + 0x38], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x18], rbp
mov rsi, r9
mov rdi, r8
mov rbp, rdx
mov r12, rcx
xor ecx, ecx
mov qword [r9 + 0x10], rcx
cmp qword [r9 + 0x18], 8
jb 0x14000144a
mov rax, qword [r9]
jmp 0x14000144d
mov rax, r9
mov word [rax], cx
mov qword [rsp + 0x30], rcx
mov qword [rsp + 0x40], rcx
mov qword [rsp + 0x48], rcx
mov qword [rsp + 0x50], rcx
mov edx, 0x200
lea rcx, [rsp + 0x40]
call fcn.140003a80
nop
mov eax, dword [rsp + 0x48]
mov rbx, qword [rsp + 0x40]
sub eax, ebx
mov dword [rsp + 0x88], eax
cmp qword [rbp + 0x18], 8
jb 0x140001491
mov rbp, qword [rbp]
lea rax, [rsp + 0x30]
mov qword [rsp + 0x20], rax
mov r9d, 0x20019
xor r8d, r8d
mov rdx, rbp
mov rcx, r12
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov ebp, eax
test eax, eax
je 0x1400014db
test rbx, rbx
je 0x1400014c4
mov rcx, rbx
call fcn.140007f50
nop
mov rcx, qword [rsp + 0x30]
test rcx, rcx
je 0x1400014d4
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, ebp
jmp 0x14000159d
cmp qword [rdi + 0x18], 8
jb 0x1400014e5
mov rdi, qword [rdi]
lea rax, [rsp + 0x88]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rbx
lea r9, [rsp + 0x98]
xor r8d, r8d
mov rdx, rdi
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov edi, eax
test eax, eax
jne 0x14000157d
cmp dword [rsp + 0x98], 1
jne 0x14000157d
mov eax, dword [rsp + 0x88]
cmp eax, 2
lea edx, [rdi + 2]
jb 0x140001531
mov edx, eax
add rdx, 0xfffffffffffffffe
lea rcx, [rsp + 0x40]
call fcn.140003a80
mov r8, qword [rsp + 0x48]
mov rbx, qword [rsp + 0x40]
sub r8, rbx
shr r8, 1
mov rdx, rbx
mov rcx, rsi
call fcn.140003770
nop
test rbx, rbx
je 0x140001569
mov rcx, rbx
call fcn.140007f50
nop
mov rcx, qword [rsp + 0x30]
test rcx, rcx
je 0x140001579
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
jmp 0x14000159d
test rbx, rbx
je 0x14000158b
mov rcx, rbx
call fcn.140007f50
nop
mov rcx, qword [rsp + 0x30]
test rcx, rcx
je 0x14000159b
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, edi
lea r11, [rsp + 0x60]
mov rbx, qword [r11 + 0x20]
mov rbp, qword [r11 + 0x30]
mov rsp, r11
pop r12
pop rdi
pop rsi
ret
Function at 0x140002430
Capabilities:
Create process on windows

Disassembly:
push rdi
sub rsp, 0xb0
mov qword [rsp + 0x38], 0xfffffffffffffffe
mov qword [rsp + 0xc8], rbx
mov rdi, rdx
mov rbx, rcx
xor edx, edx
lea r8d, [rdx + 0x6c]
lea rcx, [rsp + 0x44]
call fcn.14000ab90
xor r11d, r11d
mov dword [rsp + 0xc0], r11d
mov dword [rsp + 0x40], 0x70
mov qword [rsp + 0x48], r11
mov qword [rsp + 0xa8], r11
mov dword [rsp + 0x70], r11d
mov dword [rsp + 0x44], 0x40
cmp qword [rbx + 0x18], 8
jb 0x14000249e
mov rax, qword [rbx]
mov qword [rsp + 0x58], rax
jmp 0x1400024a3
mov qword [rsp + 0x58], rbx
mov rcx, qword [rdi + 0x10]
cmp rcx, rcx
test rcx, rcx
setne r11b
test r11d, r11d
sete al
test al, al
sete al
test al, al
je 0x1400024d6
cmp qword [rdi + 0x18], 8
jb 0x1400024d1
mov rax, qword [rdi]
mov qword [rsp + 0x60], rax
jmp 0x1400024d6
mov qword [rsp + 0x60], rdi
lea rcx, [rsp + 0x40]
call qword [sym.imp.SHELL32.dll_ShellExecuteExW]
test eax, eax
jne 0x1400024fe
mov dword [rsp + 0x24], 1
lea rdx, [0x140015878]
lea rcx, [rsp + 0x24]
call fcn.1400081e4
mov rcx, qword [rsp + 0xa8]
test rcx, rcx
jne 0x140002524
mov dword [rsp + 0x2c], 2
lea rdx, [0x140015878]
lea rcx, [rsp + 0x2c]
call fcn.1400081e4
or edx, 0xffffffff
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0xffffffff
jne 0x14000254b
mov dword [rsp + 0x28], 3
lea rdx, [0x140015878]
lea rcx, [rsp + 0x28]
call fcn.1400081e4
lea rdx, [rsp + 0xc0]
mov rcx, qword [rsp + 0xa8]
call qword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
test eax, eax
jne 0x14000257f
mov dword [rsp + 0x20], 4
lea rdx, [0x140015878]
lea rcx, [rsp + 0x20]
call fcn.1400081e4
nop
mov rcx, qword [rsp + 0xa8]
test rcx, rcx
je 0x140002592
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [rsp + 0xc0]
mov rbx, qword [rsp + 0xc8]
add rsp, 0xb0
pop rdi
ret
Function at 0x140004c30
Capabilities:
Accept command line arguments

Disassembly:
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x30
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov qword [rsp + 0x48], rbx
mov rdi, rcx
lea rax, vtable.DFC::DFCEnvironment.0
mov qword [rcx], rax
add rcx, 8
call fcn.140004e00
nop
lea rcx, [rdi + 0xb0]
call fcn.140004ee0
nop
lea rax, vtable.DFC::OSInfo.0
mov qword [rdi + 0x1a8], rax
xor edx, edx
mov r8d, 0x11c
lea rcx, [rdi + 0x1b0]
call fcn.14000ab90
mov dword [rdi + 0x1b0], 0x11c
lea rcx, [rdi + 0x1b0]
call qword [sym.imp.KERNEL32.dll_GetVersionExW]
nop
lea rcx, [rdi + 0x2d0]
call fcn.140005480
nop
lea rcx, [rdi + 0x330]
call fcn.1400056e0
nop
call qword [sym.imp.KERNEL32.dll_GetCommandLineW]
mov rdx, rax
lea rcx, [rdi + 0x3f0]
call fcn.140005d40
nop
mov rax, rdi
mov rbx, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret
Function at 0x14000831f
Capabilities:
Terminate process

Disassembly:
cmp rcx, qword [0x1400170a8]
jne 0x1400077ca
rol rcx, 0x10
test cx, 0xffff
jne 0x1400077c6
repz ret
ror rcx, 0x10
jmp 0x140008278
mov qword [rsp + 8], rcx
sub rsp, 0x88
lea rcx, [0x140018380]
call qword [sym.imp.KERNEL32.dll_RtlCaptureContext]
mov rax, qword [0x140018478]
mov qword [rsp + 0x58], rax
xor r8d, r8d
lea rdx, [rsp + 0x60]
mov rcx, qword [rsp + 0x58]
call sub.KERNEL32.dll_RtlLookupFunctionEntry
mov qword [rsp + 0x50], rax
cmp qword [rsp + 0x50], 0
je 0x1400082fd
mov qword [rsp + 0x38], 0
lea rax, [rsp + 0x48]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x40]
mov qword [rsp + 0x28], rax
lea rax, [0x140018380]
mov qword [rsp + 0x20], rax
mov r9, qword [rsp + 0x50]
mov r8, qword [rsp + 0x58]
mov rdx, qword [rsp + 0x60]
xor ecx, ecx
call sub.KERNEL32.dll_RtlVirtualUnwind
jmp 0x14000831f
mov rax, qword [rsp + 0x88]
mov qword [0x140018478], rax
lea rax, [rsp + 0x88]
add rax, 8
mov qword [0x140018418], rax
mov rax, qword [0x140018478]
mov qword [0x1400182f0], rax
mov rax, qword [rsp + 0x90]
mov qword [0x140018400], rax
mov dword [0x1400182e0], 0xc0000409
mov dword [0x1400182e4], 1
mov rax, qword [0x1400170a8]
mov qword [rsp + 0x68], rax
mov rax, qword [0x1400170b0]
mov qword [rsp + 0x70], rax
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
mov dword [0x140018378], eax
mov ecx, 1
call fcn.14000a2d0
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
lea rcx, [0x140010440]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
cmp dword [0x140018378], 0
jne 0x1400083a6
mov ecx, 1
call fcn.14000a2d0
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, 0xc0000409
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
add rsp, 0x88
ret