joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14004dca4
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
mov rax, rdx
xor ebp, ebp
mov dword [r8], ebp
mov rdi, r8
mov rsi, rcx
mov qword [r11 + 0x18], rbp
lea r8, [r11 + 0x18]
mov edx, 0x20019
mov rcx, rax
call fcn.14004e7f8
mov ebx, eax
test eax, eax
jne 0x14004dd1f
mov rcx, qword [rsp + 0x60]
lea rdx, str.SoftwareMicrosoftWindows_NTCurrentVersionDevices
mov qword [rsp + 0x30], rbp
mov r9d, 0xffff
mov qword [rsp + 0x28], rbp
mov r8, rsi
mov qword [rsp + 0x20], rbp
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegGetValueW]
nop dword [rax + rax]
mov ebx, eax
test eax, eax
jne 0x14004dd1f
mov dword [rdi], 1
jmp 0x14004dd25
cmp ebx, 2
cmove ebx, ebp
mov rcx, qword [rsp + 0x60]
test rcx, rcx
je 0x14004dd3b
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
nop dword [rax + rax]
mov rbp, qword [rsp + 0x58]
mov eax, ebx
mov rbx, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x68]
add rsp, 0x40
pop rdi
ret

Function at 0x14004dd5c
Capabilities:
Delete registry value

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
mov rbp, rsp
sub rsp, 0x40
and qword [rbp + 0x38], 0
mov rdi, rdx
and qword [rbp + 0x30], 0
mov rsi, rcx
and qword [rbp + 0x28], 0
test rdx, rdx
jne 0x14004dda2
lea rdx, [rbp + 0x30]
xor ecx, ecx
call fcn.14004f670
xor ebx, ebx
lea ecx, [rdi + 2]
mov rdi, qword [rbp + 0x30]
test eax, eax
cmove ebx, ecx
test ebx, ebx
jne 0x14004de0a
lea r8, [rbp + 0x38]
mov edx, 0x20006
mov rcx, rsi
call fcn.14004e7f8
mov ebx, eax
test eax, eax
jne 0x14004de0a
and qword [rsp + 0x30], 0
lea r8, [0x1400b5750]
mov qword [rsp + 0x28], rdi
lea r9, str.SessionDefaultDevices
lea rdx, str.SoftwareMicrosoftWindows_NTCurrentVersionWindows
mov qword [rsp + 0x20], r8
lea rcx, [rbp + 0x28]
call fcn.14000b810
mov ebx, eax
test eax, eax
jne 0x14004de0a
mov rdx, qword [rbp + 0x28]
lea r8, str.Device
mov rcx, qword [rbp + 0x38]
call qword [sym.imp.api_ms_win_core_registry_l1_1_1.dll_RegDeleteKeyValueW]
nop dword [rax + rax]
mov ebx, eax
mov r8, qword [rbp + 0x28]
test r8, r8
je 0x14004de2d
mov rcx, qword [0x1400c9130]
xor edx, edx
call qword [sym.imp.api_ms_win_core_heap_l1_1_0.dll_HeapFree]
nop dword [rax + rax]
and qword [rbp + 0x28], 0
mov rcx, qword [rbp + 0x30]
test rcx, rcx
je 0x14004de47
call qword [sym.imp.api_ms_win_core_heap_l2_1_0.dll_LocalFree]
nop dword [rax + rax]
and qword [rbp + 0x30], 0
mov rcx, qword [rbp + 0x38]
test rcx, rcx
je 0x14004de5c
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
nop dword [rax + rax]
mov eax, ebx
mov rbx, qword [rsp + 0x60]
add rsp, 0x40
pop rdi
pop rsi
pop rbp
ret
Function at 0x14004e178
Capabilities:
Query or enumerate registry value

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
push rbp
push rsi
push rdi
sub rsp, 0x40
xor ebp, ebp
mov dword [rax + 0x10], 0x410
mov qword [rdx], rbp
lea r8, [rax + 0x18]
mov rsi, rdx
mov qword [rax + 0x18], rbp
mov edx, 0x20019
mov ebx, ebp
call fcn.14004e7f8
mov edi, eax
test eax, eax
jne 0x14004e221
mov ecx, dword [rsp + 0x68]
call sym.spoolsv.exe_PrvDllAllocSplMem
mov rbx, rax
test rax, rax
je 0x14004e21c
mov rcx, qword [rsp + 0x70]
lea rax, [rsp + 0x68]
mov qword [rsp + 0x30], rax
lea r8, str.Device
mov qword [rsp + 0x28], rbx
lea rdx, str.SoftwareMicrosoftWindows_NTCurrentVersionWindows
mov r9d, 2
mov qword [rsp + 0x20], rbp
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegGetValueW]
nop dword [rax + rax]
mov edi, eax
cmp eax, 0xea
jne 0x14004e221
mov rcx, qword [0x1400c9130]
mov r8, rbx
xor edx, edx
call qword [sym.imp.api_ms_win_core_heap_l1_1_0.dll_HeapFree]
nop dword [rax + rax]
jmp 0x14004e1af
mov edi, 8
test edi, edi
mov r8, rbp
cmovne r8, rbx
cmovne rbx, rbp
test r8, r8
je 0x14004e248
mov rcx, qword [0x1400c9130]
xor edx, edx
call qword [sym.imp.api_ms_win_core_heap_l1_1_0.dll_HeapFree]
nop dword [rax + rax]
mov rcx, qword [rsp + 0x70]
test rcx, rcx
je 0x14004e25e
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
nop dword [rax + rax]
test edi, edi
jne 0x14004e275
mov rcx, rbx
call fcn.14004e848
mov edi, eax
test eax, eax
jne 0x14004e275
mov qword [rsi], rbx
jmp 0x14004e292
test rbx, rbx
je 0x14004e292
mov rcx, qword [0x1400c9130]
mov r8, rbx
xor edx, edx
call qword [sym.imp.api_ms_win_core_heap_l1_1_0.dll_HeapFree]
nop dword [rax + rax]
mov rbx, qword [rsp + 0x60]
mov eax, edi
add rsp, 0x40
pop rdi
pop rsi
pop rbp
ret
Function at 0x14004e2a8
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
mov rbp, rsp
sub rsp, 0x40
xor ebx, ebx
mov rdi, rdx
mov rsi, rcx
test rdx, rdx
jne 0x14004e2c9
lea ebx, [rdx + 0x57]
jmp 0x14004e2cc
or dword [rdx], 0xffffffff
xor eax, eax
mov dword [rbp + 0x30], 4
mov dword [rbp + 0x28], eax
test ebx, ebx
jne 0x14004e392
and qword [rbp - 8], rax
lea rcx, [rbp - 8]
call fcn.14004ace4
and qword [rbp - 8], 0
lea rcx, [rbp - 0x10]
and qword [rbp - 0x10], 0
call fcn.14004ace4
and qword [rbp - 0x10], 0
lea r8, [rbp - 8]
mov edx, 0x20019
mov rcx, rsi
call fcn.14004e7f8
mov ebx, eax
test eax, eax
jne 0x14004e37d
mov rcx, qword [rbp - 8]
lea rax, [rbp - 0x10]
mov r9d, 0x20019
mov qword [rsp + 0x20], rax
xor r8d, r8d
lea rdx, str.SoftwareMicrosoftWindows_NTCurrentVersionWindows
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegOpenKeyExW]
nop dword [rax + rax]
mov ebx, eax
test eax, eax
jne 0x14004e37d
mov rcx, qword [rbp - 0x10]
lea rax, [rbp + 0x30]
mov qword [rsp + 0x28], rax
lea r9, [rbp + 0x38]
lea rax, [rbp + 0x28]
xor r8d, r8d
lea rdx, str.LegacyDefaultPrinterMode
mov qword [rsp + 0x20], rax
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegQueryValueExW]
nop dword [rax + rax]
mov ebx, eax
lea rcx, [rbp - 0x10]
call fcn.14004ace4
lea rcx, [rbp - 8]
call fcn.14004ace4
mov eax, dword [rbp + 0x28]
cmp ebx, 2
je 0x14004e3a4
cmp eax, 1
ja 0x14004e3a4
test ebx, ebx
jne 0x14004e3bc
mov dword [rdi], eax
jmp 0x14004e3bc
call fcn.14004bcac
xor ecx, ecx
mov rdx, rsi
test al, al
setne cl
xor ebx, ebx
mov dword [rdi], ecx
call fcn.14004e8f4
mov eax, ebx
mov rbx, qword [rsp + 0x60]
add rsp, 0x40
pop rdi
pop rsi
pop rbp
ret

Function at 0x14004e3d4
Capabilities:
Query or enumerate registry value

Disassembly:
push rbx
push rsi
push rdi
sub rsp, 0x40
xor ebx, ebx
mov rdi, rdx
and qword [rsp + 0x78], rbx
mov rsi, rcx
test rdx, rdx
jne 0x14004e3f3
lea ebx, [rdx + 0x57]
jmp 0x14004e3f6
or dword [rdx], 0xffffffff
xor eax, eax
mov dword [rsp + 0x70], 4
mov dword [rsp + 0x68], eax
test ebx, ebx
jne 0x14004e460
lea r8, [rsp + 0x78]
mov edx, 0x20019
call fcn.14004e7f8
mov ebx, eax
test eax, eax
jne 0x14004e45c
mov rcx, qword [rsp + 0x78]
lea rax, [rsp + 0x70]
mov qword [rsp + 0x30], rax
lea r9d, [rbx + 0x10]
lea rax, [rsp + 0x68]
mov qword [rsp + 0x28], rax
lea r8, str.IsMRUEstablished
and qword [rsp + 0x20], 0
lea rdx, str.SoftwareMicrosoftWindows_NTCurrentVersionWindows
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegGetValueW]
nop dword [rax + rax]
mov ebx, eax
mov eax, dword [rsp + 0x68]
cmp ebx, 2
je 0x14004e472
cmp eax, 1
ja 0x14004e472
test ebx, ebx
jne 0x14004e481
mov dword [rdi], eax
jmp 0x14004e481
and dword [rdi], 0
xor ebx, ebx
mov rdx, rsi
xor ecx, ecx
call fcn.14004ea2c
mov rcx, qword [rsp + 0x78]
test rcx, rcx
je 0x14004e497
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
nop dword [rax + rax]
mov eax, ebx
add rsp, 0x40
pop rdi
pop rsi
pop rbx
ret
Function at 0x14004e4a8
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
mov rbp, rsp
sub rsp, 0x50
xor r12d, r12d
mov rsi, r8
mov qword [rbp - 0x10], r12
mov r14, rcx
mov qword [rbp + 0x50], r12
mov qword [r8], r12
lea r13d, [r12 + 2]
test rdx, rdx
jne 0x14004e4fd
lea rdx, [rbp - 0x10]
xor ecx, ecx
call fcn.14004f670
mov rdx, qword [rbp - 0x10]
test eax, eax
mov ebx, r12d
cmove ebx, r13d
test ebx, ebx
jne 0x14004e635
mov qword [rsp + 0x30], r12
lea r8, [0x1400b5750]
mov qword [rsp + 0x28], rdx
lea r9, str.SessionDefaultDevices
lea rdx, str.SoftwareMicrosoftWindows_NTCurrentVersionWindows
mov qword [rsp + 0x20], r8
lea rcx, [rbp + 0x50]
call fcn.14000b810
mov ebx, eax
test eax, eax
jne 0x14004e635
mov r15, qword [rbp + 0x50]
lea r8, [rbp + 0x58]
mov edx, 0x20019
mov dword [rbp + 0x48], 0x410
mov rcx, r14
mov qword [rbp + 0x58], r12
mov rdi, r12
call fcn.14004e7f8
mov ebx, eax
test eax, eax
jne 0x14004e5c5
mov ecx, dword [rbp + 0x48]
call sym.spoolsv.exe_PrvDllAllocSplMem
mov rdi, rax
test rax, rax
je 0x14004e5c0
mov rcx, qword [rbp + 0x58]
lea rax, [rbp + 0x48]
mov qword [rsp + 0x30], rax
lea r8, str.Device
mov qword [rsp + 0x28], rdi
mov r9d, r13d
mov rdx, r15
mov qword [rsp + 0x20], r12
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegGetValueW]
nop dword [rax + rax]
mov ebx, eax
cmp eax, 0xea
jne 0x14004e5c5
mov rcx, qword [0x1400c9130]
mov r8, rdi
xor edx, edx
call qword [sym.imp.api_ms_win_core_heap_l1_1_0.dll_HeapFree]
nop dword [rax + rax]
jmp 0x14004e55d
mov ebx, 8
test ebx, ebx
mov r8, r12
cmovne r8, rdi
cmovne rdi, r12
test r8, r8
je 0x14004e5ec
mov rcx, qword [0x1400c9130]
xor edx, edx
call qword [sym.imp.api_ms_win_core_heap_l1_1_0.dll_HeapFree]
nop dword [rax + rax]
mov rcx, qword [rbp + 0x58]
test rcx, rcx
je 0x14004e601
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
nop dword [rax + rax]
test ebx, ebx
jne 0x14004e618
mov rcx, rdi
call fcn.14004e848
mov ebx, eax
test eax, eax
jne 0x14004e618
mov qword [rsi], rdi
jmp 0x14004e635
test rdi, rdi
je 0x14004e635
mov rcx, qword [0x1400c9130]
mov r8, rdi
xor edx, edx
call qword [sym.imp.api_ms_win_core_heap_l1_1_0.dll_HeapFree]
nop dword [rax + rax]
mov r8, qword [rbp + 0x50]
test r8, r8
je 0x14004e657
mov rcx, qword [0x1400c9130]
xor edx, edx
call qword [sym.imp.api_ms_win_core_heap_l1_1_0.dll_HeapFree]
nop dword [rax + rax]
mov qword [rbp + 0x50], r12
mov rcx, qword [rbp - 0x10]
test rcx, rcx
je 0x14004e66c
call qword [sym.imp.api_ms_win_core_heap_l2_1_0.dll_LocalFree]
nop dword [rax + rax]
mov eax, ebx
mov rbx, qword [rsp + 0x90]
add rsp, 0x50
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
Function at 0x14004e690
Capabilities:
Query or enumerate registry value

Disassembly:
mov r11, rsp
mov qword [r11 + 8], rbx
mov qword [r11 + 0x10], rbp
push rsi
push rdi
push r14
sub rsp, 0x50
and qword [r11 - 0x28], 0
mov rax, r8
and qword [r9], 0
lea r8, [r11 - 0x28]
mov rbp, rdx
mov dword [r11 + 0x20], 0x410
mov r14, rcx
mov edx, 0x20019
mov rcx, rax
mov rsi, r9
call fcn.14004e7f8
mov ebx, eax
test eax, eax
jne 0x14004e76f
mov ecx, dword [rsp + 0x88]
call sym.spoolsv.exe_PrvDllAllocSplMem
mov rdi, rax
test rax, rax
je 0x14004e76a
mov rcx, qword [rsp + 0x40]
lea rax, [rsp + 0x88]
mov qword [rsp + 0x30], rax
mov r9d, 2
mov qword [rsp + 0x28], rdi
mov r8, rbp
and qword [rsp + 0x20], 0
mov rdx, r14
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegGetValueW]
nop dword [rax + rax]
mov ebx, eax
cmp eax, 0xea
jne 0x14004e747
mov rcx, qword [0x1400c9130]
mov r8, rdi
xor edx, edx
call qword [sym.imp.api_ms_win_core_heap_l1_1_0.dll_HeapFree]
nop dword [rax + rax]
jmp 0x14004e6db
test eax, eax
jne 0x14004e750
mov qword [rsi], rdi
jmp 0x14004e76f
mov rcx, qword [0x1400c9130]
mov r8, rdi
xor edx, edx
call qword [sym.imp.api_ms_win_core_heap_l1_1_0.dll_HeapFree]
nop dword [rax + rax]
jmp 0x14004e76f
mov ebx, 8
mov rcx, qword [rsp + 0x40]
test rcx, rcx
je 0x14004e785
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
nop dword [rax + rax]
mov rbp, qword [rsp + 0x78]
mov eax, ebx
mov rbx, qword [rsp + 0x70]
add rsp, 0x50
pop r14
pop rdi
pop rsi
ret
Function at 0x14004e8f4
Capabilities:
Set registry value

Disassembly:
mov dword [rsp + 8], ecx
push rbp
push rbx
push rdi
mov rbp, rsp
sub rsp, 0x40
xor edi, edi
lea rcx, [rbp - 8]
mov qword [rbp - 8], rdi
mov rbx, rdx
call fcn.14004ace4
lea rcx, [rbp - 0x10]
mov qword [rbp - 8], rdi
mov qword [rbp - 0x10], rdi
call fcn.14004ace4
cmp dword [rbp + 0x20], 2
mov qword [rbp - 0x10], rdi
jb 0x14004e937
lea ebx, [rdi + 0x57]
jmp 0x14004e9cd
lea r8, [rbp - 8]
mov edx, 0x2001f
mov rcx, rbx
call fcn.14004e7f8
mov ebx, eax
test eax, eax
jne 0x14004e9cd
mov rcx, qword [rbp - 8]
lea rax, [rbp - 0x10]
mov r9d, 0x2001f
mov qword [rsp + 0x20], rax
xor r8d, r8d
lea rdx, str.SoftwareMicrosoftWindows_NTCurrentVersionWindows
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegOpenKeyExW]
nop dword [rax + rax]
mov ebx, eax
test eax, eax
jne 0x14004e9cd
mov rcx, qword [rbp - 0x10]
lea r9d, [rax + 4]
lea rax, [rbp + 0x20]
mov dword [rsp + 0x28], r9d
xor r8d, r8d
mov qword [rsp + 0x20], rax
lea rdx, str.LegacyDefaultPrinterMode
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegSetValueExW]
nop dword [rax + rax]
mov ebx, eax
test eax, eax
jne 0x14004e9cd
lea r9, str.Windows
xor r8d, r8d
lea edx, [rax + 0x1a]
mov ecx, 0xffff
call qword [sym.imp.USER32.dll_SendNotifyMessageW]
nop dword [rax + rax]
mov edi, dword [rbp + 0x20]
lea rdx, [0x14004c810]
call fcn.14004d8f4
mov rcx, qword [rax + 8]
cmp dword [rcx], 5
jbe 0x14004ea09
lea rax, [rbp + 0x30]
mov dword [rbp + 0x30], ebx
mov qword [rsp + 0x28], rax
lea rdx, [0x1400b5404]
lea rax, [rbp + 0x38]
mov dword [rbp + 0x38], edi
mov qword [rsp + 0x20], rax
call fcn.14004c86c
lea rcx, [rbp - 0x10]
call fcn.14004ace4
lea rcx, [rbp - 8]
call fcn.14004ace4
mov eax, ebx
add rsp, 0x40
pop rdi
pop rbx
pop rbp
ret
Function at 0x14004ea2c
Capabilities:
Set registry value

Disassembly:
mov dword [rsp + 8], ecx
push rbp
push rbx
push rdi
mov rbp, rsp
sub rsp, 0x40
xor edi, edi
lea rcx, [rbp - 8]
mov qword [rbp - 8], rdi
mov rbx, rdx
call fcn.14004ace4
lea rcx, [rbp - 0x10]
mov qword [rbp - 8], rdi
mov qword [rbp - 0x10], rdi
call fcn.14004ace4
cmp dword [rbp + 0x20], 2
mov qword [rbp - 0x10], rdi
jb 0x14004ea6c
lea ebx, [rdi + 0x57]
jmp 0x14004eae0
lea r8, [rbp - 8]
mov edx, 0x20006
mov rcx, rbx
call fcn.14004e7f8
mov ebx, eax
test eax, eax
jne 0x14004eae0
mov rcx, qword [rbp - 8]
lea rax, [rbp - 0x10]
mov r9d, 0x20006
mov qword [rsp + 0x20], rax
xor r8d, r8d
lea rdx, str.SoftwareMicrosoftWindows_NTCurrentVersionWindows
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegOpenKeyExW]
nop dword [rax + rax]
mov ebx, eax
test eax, eax
jne 0x14004eae0
mov rcx, qword [rbp - 0x10]
lea r9d, [rax + 4]
lea rax, [rbp + 0x20]
mov dword [rsp + 0x28], r9d
xor r8d, r8d
mov qword [rsp + 0x20], rax
lea rdx, str.IsMRUEstablished
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegSetValueExW]
nop dword [rax + rax]
mov ebx, eax
mov edi, dword [rbp + 0x20]
lea rdx, [0x14004c810]
call fcn.14004d8f4
mov rcx, qword [rax + 8]
cmp dword [rcx], 5
jbe 0x14004eb1c
lea rax, [rbp + 0x30]
mov dword [rbp + 0x30], ebx
mov qword [rsp + 0x28], rax
lea rdx, [0x1400b5174]
lea rax, [rbp + 0x38]
mov dword [rbp + 0x38], edi
mov qword [rsp + 0x20], rax
call fcn.14004c86c
lea rcx, [rbp - 0x10]
call fcn.14004ace4
lea rcx, [rbp - 8]
call fcn.14004ace4
mov eax, ebx
add rsp, 0x40
pop rdi
pop rbx
pop rbp
ret
Function at 0x14004ec78
Capabilities:
Set registry value

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r14
push r15
sub rsp, 0x60
or rax, 0xffffffffffffffff
mov rdi, r8
xor r15d, r15d
mov r14, rdx
mov rsi, rcx
inc rax
cmp word [r8 + rax*2], r15w
jne 0x14004eca0
lea r8, [rsp + 0x58]
mov qword [rsp + 0x58], r15
mov edx, 0x20006
mov qword [rsp + 0x50], r15
mov rcx, r9
lea ebp, [rax*2 + 2]
call fcn.14004e7f8
mov ebx, eax
test eax, eax
jne 0x14004ed4c
mov rcx, qword [rsp + 0x58]
cmp dword [rsp + 0xa0], r15d
je 0x14004ed29
mov qword [rsp + 0x40], r15
lea rax, [rsp + 0x50]
mov qword [rsp + 0x38], rax
xor r9d, r9d
mov qword [rsp + 0x30], r15
xor r8d, r8d
mov dword [rsp + 0x28], 0x20006
mov rdx, rsi
mov dword [rsp + 0x20], 1
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCreateKeyExW]
nop dword [rax + rax]
mov rcx, qword [rsp + 0x50]
mov rsi, r15
mov ebx, eax
test eax, eax
jne 0x14004ed51
mov dword [rsp + 0x28], ebp
mov r9d, 1
mov r8, r14
mov qword [rsp + 0x20], rdi
mov rdx, rsi
call qword [sym.imp.api_ms_win_core_registry_l1_1_1.dll_RegSetKeyValueW]
nop dword [rax + rax]
mov ebx, eax
mov rcx, qword [rsp + 0x50]
test rcx, rcx
je 0x14004ed62
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
nop dword [rax + rax]
mov rcx, qword [rsp + 0x58]
test rcx, rcx
je 0x14004ed78
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
nop dword [rax + rax]
lea r11, [rsp + 0x60]
mov eax, ebx
mov rbx, qword [r11 + 0x20]
mov rbp, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rsp, r11
pop r15
pop r14
pop rdi
ret

Function at 0x14004f970
Capabilities:
Query or enumerate registry value

Disassembly:
push rbx
sub rsp, 0x30
lea rax, [rsp + 0x50]
xor ebx, ebx
mov r9d, 0x20019
mov qword [rsp + 0x50], rbx
xor r8d, r8d
mov qword [rsp + 0x20], rax
lea rdx, [0x1400bc770]
mov rcx, 0xffffffff80000002
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegOpenKeyExW]
nop dword [rax + rax]
test eax, eax
jne 0x14004fa04
mov rcx, qword [rsp + 0x50]
lea rax, [rsp + 0x48]
mov qword [rsp + 0x28], rax
lea rdx, str.DnsOnWire
lea rax, [rsp + 0x40]
mov dword [rsp + 0x40], ebx
xor r9d, r9d
mov qword [rsp + 0x20], rax
xor r8d, r8d
mov dword [rsp + 0x48], 4
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegQueryValueExW]
nop dword [rax + rax]
mov rcx, qword [rsp + 0x50]
test eax, eax
cmove ebx, dword [rsp + 0x40]
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
nop dword [rax + rax]
mov eax, ebx
add rsp, 0x30
pop rbx
ret
Function at 0x1400505c4
Capabilities:
Link many functions at runtime

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rdi, rdx
mov rbx, rcx
lea rdx, str.OpenPrinterW
call qword [sym.imp.api_ms_win_core_libraryloader_l1_2_0.dll_GetProcAddress]
nop dword [rax + rax]
lea rdx, str.ClosePrinter
mov rcx, rbx
mov qword [rdi], rax
call qword [sym.imp.api_ms_win_core_libraryloader_l1_2_0.dll_GetProcAddress]
nop dword [rax + rax]
lea rdx, str.DocumentPropertiesW
mov rcx, rbx
mov qword [rdi + 8], rax
call qword [sym.imp.api_ms_win_core_libraryloader_l1_2_0.dll_GetProcAddress]
nop dword [rax + rax]
lea rdx, str.SpoolerDevQueryPrintW
mov rcx, rbx
mov qword [rdi + 0x20], rax
call qword [sym.imp.api_ms_win_core_libraryloader_l1_2_0.dll_GetProcAddress]
nop dword [rax + rax]
lea rdx, str.SpoolerPrinterEvent
mov rcx, rbx
mov qword [rdi + 0x10], rax
call qword [sym.imp.api_ms_win_core_libraryloader_l1_2_0.dll_GetProcAddress]
nop dword [rax + rax]
mov edx, 0xd4
mov rcx, rbx
mov qword [rdi + 0x18], rax
call qword [sym.imp.api_ms_win_core_libraryloader_l1_2_0.dll_GetProcAddress]
nop dword [rax + rax]
mov edx, 0xd5
mov rcx, rbx
mov qword [rdi + 0x28], rax
call qword [sym.imp.api_ms_win_core_libraryloader_l1_2_0.dll_GetProcAddress]
nop dword [rax + rax]
mov edx, 0xd6
mov rcx, rbx
mov qword [rdi + 0x30], rax
call qword [sym.imp.api_ms_win_core_libraryloader_l1_2_0.dll_GetProcAddress]
nop dword [rax + rax]
mov edx, 0xd7
mov rcx, rbx
mov qword [rdi + 0x38], rax
call qword [sym.imp.api_ms_win_core_libraryloader_l1_2_0.dll_GetProcAddress]
nop dword [rax + rax]
mov edx, 0xfb
mov rcx, rbx
mov qword [rdi + 0x40], rax
call qword [sym.imp.api_ms_win_core_libraryloader_l1_2_0.dll_GetProcAddress]
nop dword [rax + rax]
xor ecx, ecx
mov qword [rdi + 0x48], rax
cmp qword [rdi], rcx
je 0x140050704
cmp qword [rdi + 8], rcx
je 0x140050704
cmp qword [rdi + 0x20], rcx
je 0x140050704
cmp qword [rdi + 0x18], rcx
je 0x140050704
cmp qword [rdi + 0x10], rcx
je 0x140050704
cmp qword [rdi + 0x28], rcx
je 0x140050704
cmp qword [rdi + 0x30], rcx
je 0x140050704
cmp qword [rdi + 0x38], rcx
je 0x140050704
test rax, rax
je 0x140050704
xor eax, eax
jmp 0x140050710
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
nop dword [rax + rax]
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
Function at 0x140051294
Capabilities:
Delete file
Move file

Disassembly:
test rcx, rcx
je 0x140051397
push rbx
sub rsp, 0x20
mov rbx, rcx
lea rcx, [0x1400c8ed8]
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_EnterCriticalSection]
nop dword [rax + rax]
mov rax, qword [rbx + 0x20]
jmp 0x1400512c7
and qword [rax + 8], 0
mov rax, qword [rax + 0x10]
test rax, rax
jne 0x1400512be
or edx, 0xffffffff
mov rcx, rbx
call fcn.1400547f4
lea rcx, [rbx + 0x18]
cmp qword [rcx], 0
je 0x1400512e6
call fcn.140051084
lea rcx, [0x1400c8ed8]
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_LeaveCriticalSection]
nop dword [rax + rax]
mov rcx, qword [rbx + 0x38]
cmp rcx, 0xffffffffffffffff
je 0x14005130f
call qword [sym.imp.api_ms_win_core_handle_l1_1_0.dll_CloseHandle]
nop dword [rax + rax]
mov rcx, qword [rbx + 0x40]
test rcx, rcx
je 0x14005135c
call qword [sym.imp.api_ms_win_core_file_l1_1_0.dll_DeleteFileW]
nop dword [rax + rax]
test eax, eax
jne 0x14005133e
mov rcx, qword [rbx + 0x40]
lea r8d, [rax + 4]
xor edx, edx
call qword [sym.imp.api_ms_win_core_file_l2_1_0.dll_MoveFileExW]
nop dword [rax + rax]
mov r8, qword [rbx + 0x40]
xor edx, edx
mov rcx, qword [0x1400c9130]
call qword [sym.imp.api_ms_win_core_heap_l1_1_0.dll_HeapFree]
nop dword [rax + rax]
and qword [rbx + 0x40], 0
mov r8, qword [rbx + 0x48]
test r8, r8
je 0x14005137a
mov rcx, qword [0x1400c9130]
xor edx, edx
call qword [sym.imp.api_ms_win_core_heap_l1_1_0.dll_HeapFree]
nop dword [rax + rax]
mov rcx, qword [0x1400c9130]
mov r8, rbx
xor edx, edx
call qword [sym.imp.api_ms_win_core_heap_l1_1_0.dll_HeapFree]
nop dword [rax + rax]
add rsp, 0x20
pop rbx
ret
Function at 0x14005fa48
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x360]
sub rsp, 0x460
mov rax, qword [0x1400c77d8]
xor rax, rsp
mov qword [rbp + 0x350], rax
mov r14, r9
mov r15, r8
mov r12d, edx
mov rdi, qword [0x1400c72a8]
lea rax, [0x1400c72a8]
cmp rdi, rax
je 0x14005fab6
test byte [rdi + 0x44], 0x80
je 0x14005fab6
mov rcx, qword [rdi + 0x38]
lea r8, [0x1400aa810]
mov edx, 0x1c
call fcn.14001c1cc
mov rdi, qword [0x1400c72a8]
or esi, 0xffffffff
mov dword [rsp + 0x40], 0x63726374
xor edx, edx
mov dword [rsp + 0x30], esi
mov r8d, 0x400
lea rcx, [rsp + 0x44]
call sub.msvcrt.dll_memset
xor r13d, r13d
lea r9, [rsp + 0x44]
mov edx, r13d
mov r8d, edx
mov r10d, 8
mov ecx, r8d
mov eax, r8d
shr ecx, 1
mov r8d, ecx
xor r8d, 0xedb88320
test al, 1
cmove r8d, ecx
sub r10, 1
jne 0x14005faeb
mov dword [r9], r8d
inc edx
add r9, 4
cmp edx, 0x100
jl 0x14005fae2
mov rax, r14
mov dword [rbp + 0x344], r13d
neg rax
mov ebx, r13d
mov r11d, r13d
sbb ecx, ecx
not ecx
and ecx, 0x80070057
test r14, r14
cmove ebx, ecx
test ebx, ebx
js 0x14005fbe4
cmp r11d, r12d
jae 0x14005fbdf
lea rax, [rsp + 0x30]
mov r9d, 4
mov r8, r15
mov qword [rsp + 0x20], rax
mov edx, esi
lea rcx, [rsp + 0x40]
call fcn.140081e60
mov ebx, eax
test eax, eax
js 0x14005fbcf
mov r8, qword [r15 + 8]
or rax, 0xffffffffffffffff
inc rax
cmp word [r8 + rax*2], r13w
jne 0x14005fb7b
mov edx, dword [rsp + 0x30]
lea r9d, [rax*2 + 2]
lea rax, [rsp + 0x30]
lea rcx, [rsp + 0x40]
mov qword [rsp + 0x20], rax
call fcn.140081e60
mov ebx, eax
test eax, eax
js 0x14005fbcf
mov edx, dword [rsp + 0x30]
lea rax, [rsp + 0x30]
lea r8, [r15 + 0x10]
mov qword [rsp + 0x20], rax
mov r9d, 4
lea rcx, [rsp + 0x40]
call fcn.140081e60
mov ebx, eax
inc r11d
test ebx, ebx
js 0x14005fbe4
mov esi, dword [rsp + 0x30]
jmp 0x14005fb45
mov dword [r14], esi
jmp 0x14005fc0e
lea rax, [0x1400c72a8]
cmp rdi, rax
je 0x14005fc0e
test byte [rdi + 0x44], 0x20
je 0x14005fc0e
mov rcx, qword [rdi + 0x38]
lea r8, [0x1400aa810]
mov edx, 0x1d
mov r9d, ebx
call fcn.14001c23c
mov eax, ebx
mov rcx, qword [rbp + 0x350]
xor rcx, rsp
call fcn.14000f060
mov rbx, qword [rsp + 0x4a0]
add rsp, 0x460
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret