joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140060ae0
Capabilities:
Modify service
Query service status
Start service

Disassembly:
mov qword [rsp + 0x18], rbx
push rsi
sub rsp, 0x90
mov rax, qword [0x1403a8088]
xor rax, rsp
mov qword [rsp + 0x88], rax
xor ebx, ebx
xor edx, edx
xor ecx, ecx
mov dword [rsp + 0x60], ebx
mov r8d, 0xf003f
call qword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov rsi, rax
test rax, rax
je 0x140060c71
mov r8d, 0xf01ff
mov qword [rsp + 0xa8], rdi
lea rdx, str.WSearch
mov rcx, rax
call qword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov rdi, rax
test rax, rax
je 0x140060c2f
xor eax, eax
lea rdx, [rsp + 0x68]
mov rcx, rdi
mov qword [rsp + 0x68], rax
mov qword [rsp + 0x70], rax
mov qword [rsp + 0x78], rax
mov dword [rsp + 0x80], eax
call qword [sym.imp.ADVAPI32.dll_QueryServiceStatus]
test eax, eax
je 0x140060c2f
cmp dword [rsp + 0x6c], 4
je 0x140060c2f
lea r9, [rsp + 0x60]
mov qword [rsp + 0xa0], rbp
xor r8d, r8d
xor edx, edx
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_QueryServiceConfigW]
mov ecx, dword [rsp + 0x60]
call fcn.14012a2dc
mov r8d, dword [rsp + 0x60]
xor edx, edx
mov rcx, rax
mov rbp, rax
call fcn.14027b2c0
mov r8d, dword [rsp + 0x60]
lea r9, [rsp + 0x60]
mov rdx, rbp
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_QueryServiceConfigW]
test eax, eax
je 0x140060c10
cmp dword [rbp + 4], 4
jne 0x140060c10
mov qword [rsp + 0x50], rbx
lea r8d, [rbx + 3]
mov qword [rsp + 0x48], rbx
xor r9d, r9d
mov qword [rsp + 0x40], rbx
or edx, 0xffffffff
mov qword [rsp + 0x38], rbx
mov rcx, rdi
mov qword [rsp + 0x30], rbx
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0x20], rbx
call qword [sym.imp.ADVAPI32.dll_ChangeServiceConfigW]
xor r8d, r8d
xor edx, edx
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_StartServiceW]
mov rbp, qword [rsp + 0xa0]
test eax, eax
je 0x140060c2f
mov ebx, 1
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
test rdi, rdi
je 0x140060c46
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov rdi, qword [rsp + 0xa8]
mov eax, ebx
mov rcx, qword [rsp + 0x88]
xor rcx, rsp
call fcn.14012a2b0
mov rbx, qword [rsp + 0xb0]
add rsp, 0x90
pop rsi
ret
mov eax, ebx
jmp 0x140060c50
Function at 0x140060c80
Capabilities:
Query service status
Stop service

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x50
mov rax, qword [0x1403a8088]
xor rax, rsp
mov qword [rsp + 0x40], rax
mov rdi, rcx
xor edx, edx
xor ecx, ecx
mov r8d, 0xf003f
xor ebx, ebx
call qword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov rsi, rax
test rax, rax
je 0x140060d32
lea r8d, [rbx + 0x24]
mov rdx, rdi
mov rcx, rax
call qword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov rdi, rax
test rax, rax
je 0x140060d1b
xor eax, eax
lea rdx, [rsp + 0x20]
mov rcx, rdi
mov qword [rsp + 0x20], rax
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x38], eax
call qword [sym.imp.ADVAPI32.dll_QueryServiceStatus]
test eax, eax
je 0x140060d1b
cmp dword [rsp + 0x24], 1
je 0x140060d1b
lea r8, [rsp + 0x20]
mov rcx, rdi
lea edx, [rbx + 1]
call qword [sym.imp.ADVAPI32.dll_ControlService]
test eax, eax
je 0x140060d1b
mov ebx, 1
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
test rdi, rdi
je 0x140060d32
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov eax, ebx
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.14012a2b0
mov rbx, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x70]
add rsp, 0x50
pop rdi
ret
Function at 0x1400655d0
Capabilities:
Create http request

Disassembly:
sub rsp, 0x38
mov rax, qword [0x14045d5f8]
test rax, rax
jne 0x140065625
lea ecx, [rax + 8]
mov qword [rsp + 0x30], rbx
call fcn.14012a618
mov rbx, rax
mov qword [rsp + 0x40], rax
xor eax, eax
lea rcx, str.WinInet
xor r9d, r9d
mov dword [rsp + 0x20], eax
xor r8d, r8d
xor edx, edx
mov qword [rbx], rax
call qword [sym.imp.WININET.dll_InternetOpenW]
mov qword [rbx], rax
mov rax, rbx
mov qword [0x14045d5f8], rbx
mov rbx, qword [rsp + 0x30]
add rsp, 0x38
ret
Function at 0x1400658a0
Capabilities:
Read data from internet
Receive data

Disassembly:
push rbx
push rsi
sub rsp, 0x98
mov rax, qword [0x1403a8088]
xor rax, rsp
mov qword [rsp + 0x80], rax
xor ebx, ebx
mov dword [rsp + 0x30], 0x40
mov dword [rsp + 0x34], ebx
mov rsi, r8
test rdx, rdx
je 0x1400659ef
test r8, r8
je 0x1400659ef
mov rcx, qword [rcx]
xor r9d, r9d
mov qword [rsp + 0x28], rbx
xor r8d, r8d
mov dword [rsp + 0x20], 0x80000000
mov qword [rsp + 0x90], rdi
call qword [sym.imp.WININET.dll_InternetOpenUrlA]
mov rdi, rax
test rax, rax
je 0x1400659ca
xor eax, eax
lea r9, [rsp + 0x30]
mov qword [rsp + 0x40], rax
lea r8, [rsp + 0x40]
mov qword [rsp + 0x48], rax
lea edx, [rbx + 5]
mov qword [rsp + 0x50], rax
mov rcx, rdi
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x68], rax
mov qword [rsp + 0x70], rax
mov qword [rsp + 0x78], rax
lea rax, [rsp + 0x34]
mov qword [rsp + 0x20], rax
call qword [sym.imp.WININET.dll_HttpQueryInfoW]
test eax, eax
je 0x1400659c1
lea rcx, [rsp + 0x40]
call fcn.14028cfec
mov dword [rsp + 0x30], eax
test eax, eax
je 0x1400659c1
lea ecx, [rax + 1]
call fcn.14012a2dc
mov r8d, dword [rsp + 0x30]
xor edx, edx
inc r8d
mov rcx, rax
mov rbx, rax
call fcn.14027b2c0
mov r8d, dword [rsp + 0x30]
lea r9, [rsp + 0x38]
mov rdx, rbx
mov rcx, rdi
call qword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
je 0x1400659b2
mov eax, dword [rsp + 0x38]
test eax, eax
je 0x1400659b2
mov dword [rsi], eax
jmp 0x1400659c1
test rbx, rbx
je 0x1400659c1
mov rcx, rbx
call fcn.14012a2d4
xor ebx, ebx
mov rcx, rdi
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov rdi, qword [rsp + 0x90]
mov rax, rbx
mov rcx, qword [rsp + 0x80]
xor rcx, rsp
call fcn.14012a2b0
add rsp, 0x98
pop rsi
pop rbx
ret
mov rax, rbx
jmp 0x1400659d5
Function at 0x1400694c0
Capabilities:
Set file attributes

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x80
mov rax, qword [0x1403a8088]
xor rax, rsp
mov qword [rsp + 0x78], rax
mov edx, 3
mov qword [rsp + 0x30], 0
mov r8d, edx
mov dword [rsp + 0x28], 0xa00000
xor r9d, r9d
mov dword [rsp + 0x20], 3
mov rsi, rcx
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov rbx, rax
cmp rax, 0xffffffffffffffff
jne 0x140069611
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 5
jne 0x140069591
call qword [sym.imp.KERNEL32.dll_GetLastError]
xor r9d, r9d
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0xa00000
mov edx, 0x180
mov rcx, rsi
mov dword [rsp + 0x20], 3
mov ebx, eax
lea r8d, [r9 + 3]
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov rdi, rax
cmp rax, 0xffffffffffffffff
je 0x140069591
lea rdx, [rsp + 0x40]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetFileInformationByHandle]
test eax, eax
je 0x140069588
mov edx, dword [rsp + 0x40]
test dl, 1
jne 0x140069597
mov ecx, ebx
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
or rax, 0xffffffffffffffff
jmp 0x140069614
and edx, 0xfffffffe
mov rcx, rsi
mov dword [rsp + 0x40], edx
call qword [sym.imp.KERNEL32.dll_SetFileAttributesW]
test eax, eax
je 0x140069588
mov edx, 3
mov qword [rsp + 0x30], 0
mov r8d, edx
mov dword [rsp + 0x28], 0xa00000
xor r9d, r9d
mov dword [rsp + 0x20], 3
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov rcx, rdi
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
cmp rbx, 0xffffffffffffffff
je 0x140069591
mov edx, dword [rsp + 0x40]
mov rcx, rsi
or edx, 1
mov dword [rsp + 0x40], edx
call qword [sym.imp.KERNEL32.dll_SetFileAttributesW]
test eax, eax
jne 0x140069611
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
or rax, 0xffffffffffffffff
jmp 0x140069614
mov rax, rbx
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.14012a2b0
lea r11, [rsp + 0x80]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret

Function at 0x140069a70
Capabilities:
Check if file exists

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x50
mov rax, qword [0x1403a8088]
xor rax, rsp
mov qword [rsp + 0x48], rax
xor edi, edi
mov rbx, rcx
test rcx, rcx
je 0x140069b03
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x140069b03
mov rcx, rbx
call qword [sym.imp.SHLWAPI.dll_PathIsDirectoryW]
test eax, eax
jne 0x140069abe
mov rcx, rbx
call fcn.14004bc80
mov rcx, rax
mov rbx, rax
call qword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
mov edx, 3
mov rcx, rbx
lea r8d, [rdx + 4]
call fcn.1400526c0
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x140069aff
lea rdx, [rsp + 0x40]
mov rcx, rax
call fcn.140069850
test eax, eax
js 0x140069af6
mov eax, 1
cmp word [rsp + 0x40], ax
cmova edi, eax
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, edi
jmp 0x140069b05
xor eax, eax
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.14012a2b0
mov rbx, qword [rsp + 0x68]
add rsp, 0x50
pop rdi
ret
Function at 0x140069c80
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
sub rsp, 0x28
mov r9d, 1
lea r8, str.90AA3A4E_1CBA_4233_B8BB_535773D48449_a2a9545d_a0c2_42b4_9708_a0b2badd77c8_Open_With_Open_With_EncryptionMenu_Sharing_FileSyncEx_EPP_ModernSharing_WorkFolders_
lea rdx, [0x140325700]
call fcn.140069e20
mov r9d, 1
lea r8, [0x1403258d0]
lea rdx, [0x140325888]
call fcn.140069e20
mov r9d, 1
lea r8, str.BriefcaseMenu_a2a9545d_a0c2_42b4_9708_a0b2badd77c8_Library_Location_Offline_Files_a2a9545d_a0c2_42b4_9708_a0b2badd77c8_PintoStartScreen_
lea rdx, [0x140325940]
call fcn.140069e20
mov r9d, 1
lea r8, [0x140325af0]
lea rdx, [0x140325988]
call fcn.140069e20
mov r9d, 1
lea r8, [0x140325bc0]
lea rdx, [0x140325b70]
call fcn.140069e20
mov r9d, 1
lea r8, [0x140325d50]
lea rdx, [0x140325cb0]
call fcn.140069e20
mov r9d, 1
lea r8, [0x140325d18]
lea rdx, [0x140325898]
call fcn.140069e20
xor r9d, r9d
lea r8, [0x1403259a8]
lea rdx, [0x140325db0]
call fcn.140069e20
mov r9d, 1
lea r8, [0x140325e60]
lea rdx, [0x140325e10]
call fcn.140069e20
mov r9d, 1
lea r8, [0x1403260a0]
lea rdx, [0x140325fe0]
call fcn.140069e20
lea rdx, [0x1403262b0]
call fcn.14006a090
lea rdx, [0x1403261d0]
call fcn.14006a090
mov r9d, 1
lea r8, [0x140326048]
lea rdx, [0x1403263b0]
call fcn.140069e20
call fcn.14006a2d0
call fcn.14006a610
call fcn.14006a7e0
lea rcx, [0x1403273a0]
call fcn.14006aa50
lea rcx, [0x1403272e0]
call fcn.14006aa50
mov r9d, 1
lea r8, [0x140327490]
lea rdx, [0x140327430]
call fcn.140069e20
xor r9d, r9d
lea r8, [0x1403275c0]
lea rdx, [0x140327580]
call fcn.140069e20
lea rdx, [0x140327640]
add rsp, 0x28
jmp fcn.14006a090
Function at 0x140069e20
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
test rdx, rdx
je 0x14006a08e
push rbp
push rsi
push r14
lea rbp, [rsp - 0x390]
sub rsp, 0x490
mov rax, qword [0x1403a8088]
xor rax, rsp
mov qword [rbp + 0x370], rax
mov r14d, r9d
mov rsi, r8
test r8, r8
je 0x14006a074
lea rax, [rsp + 0x40]
mov rcx, 0xffffffff80000000
mov r9d, 0x2001f
mov qword [rsp + 0x20], rax
mov r8d, 4
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x14006a074
mov rcx, qword [rsp + 0x40]
lea r9, [rsp + 0x48]
mov qword [rsp + 0x4b0], rbx
lea r8, [rbp + 0x160]
mov qword [rsp + 0x480], r15
xor edx, edx
xor r15d, r15d
mov dword [rsp + 0x48], 0x104
mov qword [rsp + 0x38], r15
mov ebx, r15d
mov qword [rsp + 0x30], r15
mov qword [rsp + 0x28], r15
mov qword [rsp + 0x20], r15
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
cmp eax, 0x103
je 0x14006a059
mov qword [rsp + 0x488], rdi
nop word [rax + rax]
mov r8d, r14d
lea rcx, [rbp + 0x160]
mov rdx, rsi
inc ebx
call qword [sym.imp.SHLWAPI.dll_PathMatchSpecExW]
test eax, eax
je 0x140069ffd
mov rcx, qword [rsp + 0x40]
lea r8, [0x140323944]
lea rdx, [rbp + 0x160]
call fcn.14005ffc0
mov rdi, rax
test rax, rax
je 0x140069fe5
mov r9, rax
lea r8, [0x140325558]
mov edx, 0x104
lea rcx, [rsp + 0x50]
call fcn.14004ebd0
lea rdx, [rsp + 0x50]
mov rcx, 0xffffffff80000000
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
mov r9, rdi
lea r8, [0x1403255b0]
mov edx, 0x104
lea rcx, [rsp + 0x50]
call fcn.14004ebd0
lea rdx, [rsp + 0x50]
mov rcx, 0xffffffff80000000
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
mov r9, rdi
lea r8, [0x140325578]
mov edx, 0x104
lea rcx, [rsp + 0x50]
call fcn.14004ebd0
lea rdx, [rsp + 0x50]
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
mov r9, rdi
lea r8, [0x1403255e0]
mov edx, 0x104
lea rcx, [rsp + 0x50]
call fcn.14004ebd0
lea rdx, [rsp + 0x50]
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
mov rcx, rdi
call fcn.14012a2d4
mov rcx, qword [rsp + 0x40]
lea rdx, [rbp + 0x160]
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
test eax, eax
cmove ebx, r15d
xor edx, edx
mov dword [rsp + 0x48], 0x104
mov r8d, 0x208
lea rcx, [rbp + 0x160]
call fcn.14027b2c0
mov rcx, qword [rsp + 0x40]
lea r9, [rsp + 0x48]
mov qword [rsp + 0x38], r15
lea r8, [rbp + 0x160]
mov qword [rsp + 0x30], r15
mov edx, ebx
mov qword [rsp + 0x28], r15
mov qword [rsp + 0x20], r15
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
cmp eax, 0x103
jne 0x140069ef0
mov rdi, qword [rsp + 0x488]
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov r15, qword [rsp + 0x480]
mov rbx, qword [rsp + 0x4b0]
mov rcx, qword [rbp + 0x370]
xor rcx, rsp
call fcn.14012a2b0
add rsp, 0x490
pop r14
pop rsi
pop rbp
ret
Function at 0x140069e29
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
test rdx, rdx
je 0x14006a08e
push rbp
push rsi
push r14
lea rbp, [rsp - 0x390]
sub rsp, 0x490
mov rax, qword [0x1403a8088]
xor rax, rsp
mov qword [rbp + 0x370], rax
mov r14d, r9d
mov rsi, r8
test r8, r8
je 0x14006a074
lea rax, [rsp + 0x40]
mov rcx, 0xffffffff80000000
mov r9d, 0x2001f
mov qword [rsp + 0x20], rax
mov r8d, 4
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x14006a074
mov rcx, qword [rsp + 0x40]
lea r9, [rsp + 0x48]
mov qword [rsp + 0x4b0], rbx
lea r8, [rbp + 0x160]
mov qword [rsp + 0x480], r15
xor edx, edx
xor r15d, r15d
mov dword [rsp + 0x48], 0x104
mov qword [rsp + 0x38], r15
mov ebx, r15d
mov qword [rsp + 0x30], r15
mov qword [rsp + 0x28], r15
mov qword [rsp + 0x20], r15
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
cmp eax, 0x103
je 0x14006a059
mov qword [rsp + 0x488], rdi
nop word [rax + rax]
mov r8d, r14d
lea rcx, [rbp + 0x160]
mov rdx, rsi
inc ebx
call qword [sym.imp.SHLWAPI.dll_PathMatchSpecExW]
test eax, eax
je 0x140069ffd
mov rcx, qword [rsp + 0x40]
lea r8, [0x140323944]
lea rdx, [rbp + 0x160]
call fcn.14005ffc0
mov rdi, rax
test rax, rax
je 0x140069fe5
mov r9, rax
lea r8, [0x140325558]
mov edx, 0x104
lea rcx, [rsp + 0x50]
call fcn.14004ebd0
lea rdx, [rsp + 0x50]
mov rcx, 0xffffffff80000000
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
mov r9, rdi
lea r8, [0x1403255b0]
mov edx, 0x104
lea rcx, [rsp + 0x50]
call fcn.14004ebd0
lea rdx, [rsp + 0x50]
mov rcx, 0xffffffff80000000
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
mov r9, rdi
lea r8, [0x140325578]
mov edx, 0x104
lea rcx, [rsp + 0x50]
call fcn.14004ebd0
lea rdx, [rsp + 0x50]
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
mov r9, rdi
lea r8, [0x1403255e0]
mov edx, 0x104
lea rcx, [rsp + 0x50]
call fcn.14004ebd0
lea rdx, [rsp + 0x50]
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
mov rcx, rdi
call fcn.14012a2d4
mov rcx, qword [rsp + 0x40]
lea rdx, [rbp + 0x160]
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
test eax, eax
cmove ebx, r15d
xor edx, edx
mov dword [rsp + 0x48], 0x104
mov r8d, 0x208
lea rcx, [rbp + 0x160]
call fcn.14027b2c0
mov rcx, qword [rsp + 0x40]
lea r9, [rsp + 0x48]
mov qword [rsp + 0x38], r15
lea r8, [rbp + 0x160]
mov qword [rsp + 0x30], r15
mov edx, ebx
mov qword [rsp + 0x28], r15
mov qword [rsp + 0x20], r15
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
cmp eax, 0x103
jne 0x140069ef0
mov rdi, qword [rsp + 0x488]
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov r15, qword [rsp + 0x480]
mov rbx, qword [rsp + 0x4b0]
mov rcx, qword [rbp + 0x370]
xor rcx, rsp
call fcn.14012a2b0
add rsp, 0x490
pop r14
pop rsi
pop rbp
ret
Function at 0x14006a090
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
test rdx, rdx
je 0x14006a2c3
sub rsp, 0x488
mov rax, qword [0x1403a8088]
xor rax, rsp
mov qword [rsp + 0x470], rax
lea rax, [rsp + 0x40]
mov rcx, 0xffffffff80000000
mov r9d, 0x2001f
mov qword [rsp + 0x20], rax
mov r8d, 4
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x14006a2ac
mov rcx, qword [rsp + 0x40]
lea r9, [rsp + 0x48]
mov qword [rsp + 0x490], rbx
lea r8, [rsp + 0x260]
mov qword [rsp + 0x4a0], rsi
xor edx, edx
xor esi, esi
mov dword [rsp + 0x48], 0x104
mov qword [rsp + 0x38], rsi
mov ebx, esi
mov qword [rsp + 0x30], rsi
mov qword [rsp + 0x28], rsi
mov qword [rsp + 0x20], rsi
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
cmp eax, 0x103
je 0x14006a291
mov qword [rsp + 0x480], rdi
nop word [rax + rax]
mov rcx, qword [rsp + 0x40]
lea r8, [0x14032395c]
lea rdx, [rsp + 0x260]
inc ebx
call fcn.14005ffc0
mov rdi, rax
test rax, rax
je 0x14006a21b
mov r9, rax
lea r8, [0x140325660]
mov edx, 0x104
lea rcx, [rsp + 0x50]
call fcn.14004ebd0
lea rdx, [rsp + 0x50]
mov rcx, 0xffffffff80000000
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
mov r9, rdi
lea r8, [0x140325630]
mov edx, 0x104
lea rcx, [rsp + 0x50]
call fcn.14004ebd0
lea rdx, [rsp + 0x50]
mov rcx, 0xffffffff80000000
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
mov r9, rdi
lea r8, [0x140325678]
mov edx, 0x104
lea rcx, [rsp + 0x50]
call fcn.14004ebd0
lea rdx, [rsp + 0x50]
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
mov r9, rdi
lea r8, [0x1403256b0]
mov edx, 0x104
lea rcx, [rsp + 0x50]
call fcn.14004ebd0
lea rdx, [rsp + 0x50]
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
mov rcx, rdi
call fcn.14012a2d4
mov rcx, qword [rsp + 0x40]
lea rdx, [rsp + 0x260]
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
mov r8d, 0x208
mov dword [rsp + 0x48], 0x104
test eax, eax
lea rcx, [rsp + 0x260]
cmove ebx, esi
xor edx, edx
call fcn.14027b2c0
mov rcx, qword [rsp + 0x40]
lea r9, [rsp + 0x48]
mov qword [rsp + 0x38], rsi
lea r8, [rsp + 0x260]
mov qword [rsp + 0x30], rsi
mov edx, ebx
mov qword [rsp + 0x28], rsi
mov qword [rsp + 0x20], rsi
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
cmp eax, 0x103
jne 0x14006a140
mov rdi, qword [rsp + 0x480]
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rsi, qword [rsp + 0x4a0]
mov rbx, qword [rsp + 0x490]
mov rcx, qword [rsp + 0x470]
xor rcx, rsp
call fcn.14012a2b0
add rsp, 0x488
ret
Function at 0x14006a099
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
test rdx, rdx
je 0x14006a2c3
sub rsp, 0x488
mov rax, qword [0x1403a8088]
xor rax, rsp
mov qword [rsp + 0x470], rax
lea rax, [rsp + 0x40]
mov rcx, 0xffffffff80000000
mov r9d, 0x2001f
mov qword [rsp + 0x20], rax
mov r8d, 4
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x14006a2ac
mov rcx, qword [rsp + 0x40]
lea r9, [rsp + 0x48]
mov qword [rsp + 0x490], rbx
lea r8, [rsp + 0x260]
mov qword [rsp + 0x4a0], rsi
xor edx, edx
xor esi, esi
mov dword [rsp + 0x48], 0x104
mov qword [rsp + 0x38], rsi
mov ebx, esi
mov qword [rsp + 0x30], rsi
mov qword [rsp + 0x28], rsi
mov qword [rsp + 0x20], rsi
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
cmp eax, 0x103
je 0x14006a291
mov qword [rsp + 0x480], rdi
nop word [rax + rax]
mov rcx, qword [rsp + 0x40]
lea r8, [0x14032395c]
lea rdx, [rsp + 0x260]
inc ebx
call fcn.14005ffc0
mov rdi, rax
test rax, rax
je 0x14006a21b
mov r9, rax
lea r8, [0x140325660]
mov edx, 0x104
lea rcx, [rsp + 0x50]
call fcn.14004ebd0
lea rdx, [rsp + 0x50]
mov rcx, 0xffffffff80000000
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
mov r9, rdi
lea r8, [0x140325630]
mov edx, 0x104
lea rcx, [rsp + 0x50]
call fcn.14004ebd0
lea rdx, [rsp + 0x50]
mov rcx, 0xffffffff80000000
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
mov r9, rdi
lea r8, [0x140325678]
mov edx, 0x104
lea rcx, [rsp + 0x50]
call fcn.14004ebd0
lea rdx, [rsp + 0x50]
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
mov r9, rdi
lea r8, [0x1403256b0]
mov edx, 0x104
lea rcx, [rsp + 0x50]
call fcn.14004ebd0
lea rdx, [rsp + 0x50]
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
mov rcx, rdi
call fcn.14012a2d4
mov rcx, qword [rsp + 0x40]
lea rdx, [rsp + 0x260]
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
mov r8d, 0x208
mov dword [rsp + 0x48], 0x104
test eax, eax
lea rcx, [rsp + 0x260]
cmove ebx, esi
xor edx, edx
call fcn.14027b2c0
mov rcx, qword [rsp + 0x40]
lea r9, [rsp + 0x48]
mov qword [rsp + 0x38], rsi
lea r8, [rsp + 0x260]
mov qword [rsp + 0x30], rsi
mov edx, ebx
mov qword [rsp + 0x28], rsi
mov qword [rsp + 0x20], rsi
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
cmp eax, 0x103
jne 0x14006a140
mov rdi, qword [rsp + 0x480]
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rsi, qword [rsp + 0x4a0]
mov rbx, qword [rsp + 0x490]
mov rcx, qword [rsp + 0x470]
xor rcx, rsp
call fcn.14012a2b0
add rsp, 0x488
ret
Function at 0x14006a610
Capabilities:
Delete file

Disassembly:
mov r11, rsp
push rdi
sub rsp, 0x90
mov qword [r11 - 0x58], 0xfffffffffffffffe
mov qword [r11 + 8], rbx
mov qword [r11 + 0x10], rsi
mov rax, qword [0x1403a8088]
xor rax, rsp
mov qword [rsp + 0x80], rax
xor eax, eax
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x48], xmm0
mov qword [r11 - 0x40], rax
mov rcx, qword [0x140460048]
mov rax, rcx
mov rbx, qword [0x140460040]
sub rax, rbx
sar rax, 5
test rax, rax
je 0x14006a72a
cmp rbx, rcx
je 0x14006a72a
cmp qword [rbx + 0x18], 8
jb 0x14006a682
mov r8, qword [rbx]
jmp 0x14006a685
mov r8, rbx
lea rdx, [0x140326490]
lea rcx, [rsp + 0x60]
call fcn.14004bec0
nop
lea rcx, [rsp + 0x60]
cmp qword [rsp + 0x78], 8
cmovae rcx, qword [rsp + 0x60]
call qword [sym.imp.SHLWAPI.dll_PathIsDirectoryEmptyW]
test eax, eax
jne 0x14006a6fc
lea rdi, [rsp + 0x60]
cmp qword [rsp + 0x78], 8
cmovae rdi, qword [rsp + 0x60]
lea edx, [rax + 1]
lea r8d, [rax + 3]
mov rcx, rdi
call fcn.1400526c0
mov rsi, rax
cmp rax, 0xffffffffffffffff
je 0x14006a6fc
lea r9, [rsp + 0x48]
mov r8, rdi
lea rdx, [0x1400820a0]
mov rcx, rax
call fcn.140052980
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
mov r8, qword [rsp + 0x78]
cmp r8, 8
jb 0x14006a719
inc r8
mov rdx, qword [rsp + 0x60]
lea rcx, [rsp + 0x60]
call fcn.14004e2e0
add rbx, 0x20
cmp rbx, qword [0x140460048]
jne 0x14006a676
mov rdx, qword [rsp + 0x50]
mov rax, rdx
mov rbx, qword [rsp + 0x48]
sub rax, rbx
sar rax, 5
test rax, rax
je 0x14006a796
cmp rbx, rdx
je 0x14006a796
cmp qword [rbx + 0x18], 8
jb 0x14006a754
mov rcx, qword [rbx]
jmp 0x14006a757
mov rcx, rbx
mov r8d, 1
lea rdx, [0x140326500]
call qword [sym.imp.SHLWAPI.dll_PathMatchSpecExW]
test eax, eax
je 0x14006a783
cmp qword [rbx + 0x18], 8
jb 0x14006a77a
mov rcx, qword [rbx]
jmp 0x14006a77d
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
add rbx, 0x20
mov rdx, qword [rsp + 0x50]
cmp rbx, rdx
jne 0x14006a748
mov rbx, qword [rsp + 0x48]
test rbx, rbx
je 0x14006a7b9
mov rcx, rbx
call fcn.1400568e0
mov r8, qword [rsp + 0x58]
mov rdx, qword [rsp + 0x48]
sub r8, rdx
sar r8, 5
call fcn.140056760
mov rcx, qword [rsp + 0x80]
xor rcx, rsp
call fcn.14012a2b0
lea r11, [rsp + 0x90]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rsp, r11
pop rdi
ret