joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400015b0
Capabilities:
Get common file path
Get startup folder

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x260
mov rax, qword [0x140437340]
xor rax, rsp
mov qword [rsp + 0x250], rax
mov rax, qword [0x14042f270]
mov rsi, rcx
lea rcx, [0x14042f270]
call qword [rax + 0x18]
xor r9d, r9d
xor r8d, r8d
add rax, 0x18
lea edx, [r9 + 0x23]
xor ecx, ecx
mov qword [rsi], rax
lea rax, [rsp + 0x40]
mov qword [rsp + 0x20], rax
call qword [sym.imp.SHELL32.dll_SHGetFolderPathW]
or rbx, 0xffffffffffffffff
test eax, eax
js 0x140001634
xor eax, eax
lea rdi, [rsp + 0x40]
mov rcx, rbx
repne scasw ax, word [rdi]
lea rdx, [rsp + 0x40]
not rcx
lea r8d, [rcx - 1]
mov rcx, rsi
call fcn.140002560
mov rax, qword [0x14042f270]
lea rcx, [0x14042f270]
call qword [rax + 0x18]
mov ecx, 1
sub ecx, dword [rax + 0x10]
lea rdi, [rax + 0x18]
mov eax, dword [rax + 0xc]
mov qword [rsp + 0x30], rdi
sub eax, 0x104
or eax, ecx
jge 0x140001676
lea rcx, [rsp + 0x30]
mov edx, 0x104
call fcn.140002650
mov rdi, qword [rsp + 0x30]
mov r8d, 0x104
mov rdx, rdi
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
movsxd rdx, dword [rdi - 0xc]
mov rcx, rdi
call fcn.140251840
test eax, eax
js 0x140001753
cmp eax, dword [rdi - 0xc]
jg 0x140001753
xor ecx, ecx
mov dword [rdi - 0x10], eax
cdqe
lea edx, [rcx + 0x5c]
mov word [rdi + rax*2], cx
mov rcx, rdi
call fcn.140252630
test rax, rax
je 0x140001713
sub rax, rdi
sar rax, 1
cmp eax, 0xffffffff
je 0x140001713
mov r8d, dword [rdi - 0x10]
lea rdx, [rsp + 0x38]
lea rcx, [rsp + 0x30]
sub r8d, eax
call fcn.140002000
mov rcx, rsi
mov rdx, qword [rax]
mov r8d, dword [rdx - 0x10]
call fcn.140002740
mov rdx, qword [rsp + 0x38]
mov eax, ebx
add rdx, 0xffffffffffffffe8
lock xadd dword [rdx + 0x10], eax
dec eax
test eax, eax
jg 0x14000170e
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov rdi, qword [rsp + 0x30]
lea rdx, [rdi - 0x18]
lock xadd dword [rdx + 0x10], ebx
dec ebx
test ebx, ebx
jg 0x14000172b
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov rax, rsi
mov rcx, qword [rsp + 0x250]
xor rcx, rsp
call fcn.140250fd0
lea r11, [rsp + 0x260]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret
mov ecx, 0x80070057
call fcn.140001290
int3
Function at 0x140001cb0
Capabilities:
Copy file
Delete file

Disassembly:
sub rsp, 0x38
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov rax, qword [0x140444f48]
test rax, rax
jne 0x14000116b
lea ecx, [rax + 0x20]
call fcn.140250a78
mov qword [rsp + 0x40], rax
test rax, rax
je 0x140001164
mov rcx, rax
call fcn.140001ae0
nop
mov qword [0x140444f48], rax
mov rcx, rax
add rsp, 0x38
jmp 0x140001cb0
mov r11, rsp
push rdi
sub rsp, 0x80
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov qword [r11 + 8], rbx
xor edi, edi
mov qword [r11 - 0x40], rdi
xor eax, eax
mov qword [r11 - 0x38], rax
mov qword [r11 - 0x30], rax
mov qword [r11 - 0x28], rax
mov qword [r11 - 0x20], rax
mov qword [r11 - 0x18], rax
mov qword [r11 - 0x10], rax
lea rdx, [r11 + 0x18]
call fcn.140001bd0
nop
mov rbx, qword [rsp + 0xa0]
mov eax, dword [rbx - 0x10]
add eax, 2
mov qword [rsp + 0x28], rdi
mov qword [rsp + 0x30], rdi
mov qword [rsp + 0x38], rdi
movsxd rdx, eax
mov word [rsp + 0x98], di
lea r8, [rsp + 0x98]
lea rcx, [rsp + 0x28]
call fcn.140002ab0
movsxd r8, dword [rbx - 0x10]
add r8, r8
mov rdx, rbx
mov rdi, qword [rsp + 0x28]
mov rcx, rdi
call fcn.140250b70
mov qword [rsp + 0x58], rdi
mov dword [rsp + 0x50], 3
mov eax, 0x614
mov word [rsp + 0x68], ax
lea rcx, [rsp + 0x48]
call qword [sym.imp.SHELL32.dll_SHFileOperationW]
test rdi, rdi
je 0x140001d73
mov rcx, rdi
call fcn.140250354
nop
lea rdx, [rbx - 0x18]
or eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
dec eax
test eax, eax
jg 0x140001d8e
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov rbx, qword [rsp + 0x90]
add rsp, 0x80
pop rdi
ret

Function at 0x140004250
Capabilities:
Get graphical window text

Disassembly:
mov qword [rsp + 0x20], r9
mov word [rsp + 0x18], r8w
mov word [rsp + 0x10], dx
mov qword [rsp + 8], rcx
sub rsp, 0x98
mov rax, qword [rsp + 0xa0]
add rax, 0x48
mov edx, 0xff
mov rcx, rax
call fcn.140002360
mov qword [rsp + 0x40], rax
mov edx, 0x462
mov rax, qword [rsp + 0xa0]
mov rcx, qword [rax + 8]
call qword [sym.imp.USER32.dll_GetDlgItem]
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0x20], rax
mov r8d, 0xff
mov rdx, qword [rsp + 0x40]
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.USER32.dll_GetWindowTextW]
mov rax, qword [rsp + 0xa0]
add rax, 0x48
mov edx, 0xffffffff
mov rcx, rax
call fcn.140001e20
mov rax, qword [rsp + 0xa0]
add rax, 0x50
mov edx, 0xff
mov rcx, rax
call fcn.140002360
mov qword [rsp + 0x70], rax
mov edx, 0x463
mov rax, qword [rsp + 0xa0]
mov rcx, qword [rax + 8]
call qword [sym.imp.USER32.dll_GetDlgItem]
mov qword [rsp + 0x78], rax
mov rax, qword [rsp + 0x78]
mov qword [rsp + 0x28], rax
mov r8d, 0xff
mov rdx, qword [rsp + 0x70]
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.USER32.dll_GetWindowTextW]
mov rax, qword [rsp + 0xa0]
add rax, 0x50
mov edx, 0xffffffff
mov rcx, rax
call fcn.140001e20
xor eax, eax
test eax, eax
jne 0x140004352
xor eax, eax
test eax, eax
jne 0x140004352
movzx eax, word [rsp + 0xb0]
cdqe
mov rdx, rax
mov rax, qword [rsp + 0xa0]
mov rcx, qword [rax + 8]
call qword [sym.imp.USER32.dll_EndDialog]
xor eax, eax
add rsp, 0x98
ret
Function at 0x140004860
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0xd8
lea rdx, [0x14042f270]
lea rcx, [rsp + 0x38]
call fcn.1400021f0
mov qword [rsp + 0x30], 0
lea r8, [rsp + 0x30]
mov rax, qword [rsp + 0xe8]
mov edx, dword [rax]
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
test eax, eax
jge 0x1400048c9
mov byte [rsp + 0x40], 0
lea rcx, [rsp + 0x38]
call fcn.140203610
movzx eax, byte [rsp + 0x40]
jmp 0x1400049b9
mov r9d, 1
mov r8d, 0x104
lea rdx, [rsp + 0x38]
lea rcx, [rsp + 0x48]
call fcn.1400020b0
mov qword [rsp + 0xa0], rax
mov rax, qword [rsp + 0xa0]
mov rax, qword [rax + 8]
mov qword [rsp + 0xa8], rax
mov rdx, qword [rsp + 0xa8]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
mov edx, dword [rsp + 0x58]
mov rcx, qword [rsp + 0x48]
call fcn.140001e20
lea rax, [0x1402ffbc8]
mov qword [rsp + 0x20], rax
lea r9, [0x1402ffbe8]
mov r8, qword [rsp + 0x38]
lea rdx, str._s_s_sdownloads
mov rcx, qword [rsp + 0xf8]
call fcn.14001bdb0
lea rax, [0x1402ffc28]
mov qword [rsp + 0x20], rax
lea r9, [0x1402ffc48]
mov r8, qword [rsp + 0x38]
lea rdx, str._s_s_s_backups
mov rcx, qword [rsp + 0xf0]
call fcn.14001bdb0
lea rax, [0x1402ffc88]
mov qword [rsp + 0x20], rax
lea r9, [0x1402ffca8]
mov r8, qword [rsp + 0x38]
lea rdx, str._s_s_sunplugged_drivers
mov rcx, qword [rsp + 0x100]
call fcn.14001bdb0
mov byte [rsp + 0x60], 1
lea rcx, [rsp + 0x38]
call fcn.140203610
movzx eax, byte [rsp + 0x60]
add rsp, 0xd8
ret
Function at 0x1400049d0
Capabilities:
Check if file exists

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0xd8
mov qword [rsp + 0x50], 2
lea rdx, [0x14042f270]
lea rcx, [rsp + 0x58]
call fcn.1400021f0
lea rdx, [0x14042f270]
lea rcx, [rsp + 0x40]
call fcn.1400021f0
lea rdx, [0x14042f270]
lea rcx, [rsp + 0x38]
call fcn.1400021f0
lea rdx, [0x14042f270]
lea rcx, [rsp + 0x48]
call fcn.1400021f0
lea rdx, [0x14042f270]
lea rcx, [rsp + 0x30]
call fcn.1400021f0
mov dword [rsp + 0x60], 0x23
lea rax, [rsp + 0x30]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x48]
lea r8, [rsp + 0x38]
lea rdx, [rsp + 0x60]
mov rcx, qword [rsp + 0xe0]
call fcn.140004860
mov dword [rsp + 0x64], 0x1a
lea rax, [rsp + 0x30]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x40]
lea r8, [rsp + 0x58]
lea rdx, [rsp + 0x64]
mov rcx, qword [rsp + 0xe0]
call fcn.140004860
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0x68], rax
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x140004ac8
mov rax, qword [rsp + 0x38]
mov qword [rsp + 0x70], rax
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x140004aff
lea rcx, [rsp + 0x30]
call fcn.140203610
lea rcx, [rsp + 0x48]
call fcn.140203610
lea rcx, [rsp + 0x38]
call fcn.140203610
lea rcx, [rsp + 0x40]
call fcn.140203610
lea rcx, [rsp + 0x58]
call fcn.140203610
jmp 0x140004b83
lea r8, [rsp + 0x38]
lea rdx, [rsp + 0x58]
mov rcx, qword [rsp + 0xe0]
call fcn.140004b90
lea rdx, [rsp + 0x58]
mov rcx, qword [rsp + 0xe0]
call fcn.140004f20
lea r8, [rsp + 0x48]
lea rdx, [rsp + 0x40]
mov rcx, qword [rsp + 0xe0]
call fcn.140004b90
lea rdx, [rsp + 0x40]
mov rcx, qword [rsp + 0xe0]
call fcn.140004f20
lea rcx, [rsp + 0x30]
call fcn.140203610
lea rcx, [rsp + 0x48]
call fcn.140203610
lea rcx, [rsp + 0x38]
call fcn.140203610
lea rcx, [rsp + 0x40]
call fcn.140203610
lea rcx, [rsp + 0x58]
call fcn.140203610
add rsp, 0xd8
ret
Function at 0x140004f20
Capabilities:
Copy file
Delete file
Move file

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x110
mov qword [rsp + 0xf8], 0xfffffffffffffffe
mov qword [rsp + 0x40], 0
lea rax, [rsp + 0x48]
mov rdi, rax
xor eax, eax
mov ecx, 0x30
rep stosb byte [rdi], al
mov dword [rsp + 0x48], 3
mov rax, qword [rsp + 0x128]
mov rax, qword [rax]
mov eax, dword [rax - 0x10]
mov dword [rsp + 0x8c], eax
lea rax, [rsp + 0x90]
mov qword [rsp + 0x98], rax
mov qword [rsp + 0x20], 0
mov qword [rsp + 0x28], 0
mov qword [rsp + 0x30], 0
mov eax, dword [rsp + 0x8c]
add eax, 2
cdqe
mov rdx, rax
lea rcx, [rsp + 0x20]
call fcn.140006270
nop
mov rax, qword [rsp + 0x20]
mov qword [rsp + 0x78], rax
mov rax, qword [rsp + 0x128]
mov rax, qword [rax]
mov qword [rsp + 0xa0], rax
mov rax, qword [rsp + 0x128]
mov rax, qword [rax]
mov eax, dword [rax - 0x10]
mov dword [rsp + 0xa8], eax
mov rax, qword [rsp + 0x128]
mov rax, qword [rax]
mov qword [rsp + 0xb0], rax
mov rax, qword [rsp + 0x78]
mov qword [rsp + 0xd8], rax
mov rax, qword [rsp + 0xd8]
mov qword [rsp + 0xb8], rax
mov rax, qword [rsp + 0xb8]
mov qword [rsp + 0xc0], rax
movzx eax, byte [rsp + 0xc9]
mov byte [rsp + 0xc8], al
movsxd rax, dword [rsp + 0xa8]
mov rcx, qword [rsp + 0xa0]
lea rax, [rcx + rax*2]
sub rax, qword [rsp + 0xb0]
sar rax, 1
mov qword [rsp + 0xd0], rax
mov rax, qword [rsp + 0xd0]
add rax, rax
mov r8, rax
mov rdx, qword [rsp + 0xb0]
mov rcx, qword [rsp + 0xc0]
call fcn.140250b70
mov rax, qword [rsp + 0xc0]
mov rcx, qword [rsp + 0xd0]
lea rax, [rax + rcx*2]
mov qword [rsp + 0xd8], rax
mov rax, qword [rsp + 0xd8]
mov qword [rsp + 0x80], rax
xor eax, eax
imul rax, rax, 2
mov rcx, qword [rsp + 0x20]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x50], rax
mov eax, 0x14
mov word [rsp + 0x60], ax
lea rcx, [rsp + 0x40]
call qword [sym.imp.SHELL32.dll_SHFileOperationW]
test eax, eax
jne 0x1400050ea
mov byte [rsp + 0x100], 1
jmp 0x1400050f2
mov byte [rsp + 0x100], 0
movzx eax, byte [rsp + 0x100]
mov byte [rsp + 0x88], al
lea rcx, [rsp + 0x20]
call fcn.14022b5f0
nop
movzx eax, byte [rsp + 0x88]
jmp 0x140005120
add rsp, 0x110
pop rdi
ret
Function at 0x14000b020
Capabilities:
Delete registry key

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x48
xor eax, eax
test eax, eax
jne 0x14000b02e
xor eax, eax
test eax, eax
jne 0x14000b02e
mov rax, qword [rsp + 0x50]
cmp qword [rax + 0x10], 0
je 0x14000b066
mov r8, qword [rsp + 0x58]
mov rax, qword [rsp + 0x50]
mov rdx, qword [rax]
mov rax, qword [rsp + 0x50]
mov rcx, qword [rax + 0x10]
call fcn.14000b0f0
jmp 0x14000b0e9
movzx eax, byte [0x14043f080]
test eax, eax
jne 0x14000b0ab
lea rcx, str.Advapi32.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
je 0x14000b0a4
lea rdx, str.RegDeleteKeyExW
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x14043f078], rax
mov byte [0x14043f080], 1
cmp qword [0x14043f078], 0
je 0x14000b0d6
xor r9d, r9d
mov rax, qword [rsp + 0x50]
mov r8d, dword [rax + 8]
mov rdx, qword [rsp + 0x58]
mov rax, qword [rsp + 0x50]
mov rcx, qword [rax]
call qword [0x14043f078]
jmp 0x14000b0e9
mov rdx, qword [rsp + 0x58]
mov rax, qword [rsp + 0x50]
mov rcx, qword [rax]
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
add rsp, 0x48
ret

Function at 0x14000b0f0
Capabilities:
Delete registry key

Disassembly:
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x48
mov rax, qword [rsp + 0x50]
cmp qword [rax], 0
je 0x14000b17c
lea rcx, str.Advapi32.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov qword [rsp + 0x38], rax
cmp qword [rsp + 0x38], 0
jne 0x14000b12f
mov eax, 1
jmp 0x14000b19e
lea rdx, str.RegDeleteKeyTransactedW
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rsp + 0x30], rax
cmp qword [rsp + 0x30], 0
je 0x14000b17a
mov qword [rsp + 0x28], 0
mov rax, qword [rsp + 0x50]
mov rax, qword [rax]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
mov rdx, qword [rsp + 0x60]
mov rcx, qword [rsp + 0x58]
call qword [rsp + 0x30]
jmp 0x14000b19e
jmp 0x14000b199
mov rax, qword [rsp + 0x50]
cmp dword [rax + 8], 0
je 0x14000b199
mov rdx, qword [rsp + 0x60]
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
jmp 0x14000b19e
mov eax, 1
add rsp, 0x48
ret
Function at 0x14000b6e0
Capabilities:
Query or enumerate registry key

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x2f8
mov rax, qword [0x140437340]
xor rax, rsp
mov qword [rsp + 0x2e0], rax
mov qword [rsp + 0x50], 0
mov dword [rsp + 0x58], 0
mov qword [rsp + 0x60], 0
mov rax, qword [rsp + 0x300]
mov eax, dword [rax + 8]
or eax, 0x2001f
mov r9d, eax
mov r8, qword [rsp + 0x308]
mov rax, qword [rsp + 0x300]
mov rdx, qword [rax]
lea rcx, [rsp + 0x50]
call fcn.14000b4d0
mov dword [rsp + 0x68], eax
cmp dword [rsp + 0x68], 0
je 0x14000b7a5
mov eax, dword [rsp + 0x68]
mov dword [rsp + 0x280], eax
mov dword [rsp + 0x2b0], 0
cmp qword [rsp + 0x50], 0
je 0x14000b791
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [rsp + 0x2b0], eax
mov qword [rsp + 0x50], 0
mov dword [rsp + 0x58], 0
mov eax, dword [rsp + 0x280]
jmp 0x14000b8f6
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 + 0x80]
xor edx, edx
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
jne 0x14000b867
lea rdx, [rsp + 0x80]
lea rcx, [rsp + 0x50]
call fcn.14000b6e0
mov dword [rsp + 0x68], eax
cmp dword [rsp + 0x68], 0
je 0x14000b85a
mov eax, dword [rsp + 0x68]
mov dword [rsp + 0x284], eax
mov dword [rsp + 0x2b4], 0
cmp qword [rsp + 0x50], 0
je 0x14000b846
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [rsp + 0x2b4], eax
mov qword [rsp + 0x50], 0
mov dword [rsp + 0x58], 0
mov eax, dword [rsp + 0x284]
jmp 0x14000b8f6
mov dword [rsp + 0x40], 0x100
jmp 0x14000b7ad
mov dword [rsp + 0x2b8], 0
cmp qword [rsp + 0x50], 0
je 0x14000b895
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [rsp + 0x2b8], eax
mov qword [rsp + 0x50], 0
mov dword [rsp + 0x58], 0
mov rdx, qword [rsp + 0x308]
mov rcx, qword [rsp + 0x300]
call fcn.14000b020
mov dword [rsp + 0x288], eax
mov dword [rsp + 0x2d8], 0
cmp qword [rsp + 0x50], 0
je 0x14000b8e7
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [rsp + 0x2d8], eax
mov qword [rsp + 0x50], 0
mov dword [rsp + 0x58], 0
mov eax, dword [rsp + 0x288]
mov rcx, qword [rsp + 0x2e0]
xor rcx, rsp
call fcn.140250fd0
add rsp, 0x2f8
ret
Function at 0x14000c010
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 0x14000c028
xor eax, eax
test eax, eax
jne 0x14000c028
cmp qword [rsp + 0x60], 0
je 0x14000c046
mov dword [rsp + 0x34], 1
jmp 0x14000c04e
mov dword [rsp + 0x34], 0
mov eax, dword [rsp + 0x34]
mov dword [rsp + 0x30], eax
cmp dword [rsp + 0x30], 0
jne 0x14000c064
mov eax, 0xd
jmp 0x14000c0a5
xor eax, eax
test eax, eax
jne 0x14000c034
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_lstrlenW]
inc eax
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 rax, qword [rsp + 0x50]
mov rcx, qword [rax]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
add rsp, 0x48
ret

Function at 0x14000c0b0
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 0x14000c0c3
xor eax, eax
test eax, eax
jne 0x14000c0c3
cmp qword [rsp + 0x70], 0
je 0x14000c0e1
mov dword [rsp + 0x48], 1
jmp 0x14000c0e9
mov dword [rsp + 0x48], 0
mov eax, dword [rsp + 0x48]
mov dword [rsp + 0x44], eax
cmp dword [rsp + 0x44], 0
jne 0x14000c102
mov eax, 0xd
jmp 0x14000c182
xor eax, eax
test eax, eax
jne 0x14000c0cf
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]
inc eax
mov dword [rsp + 0x40], eax
mov eax, dword [rsp + 0x40]
mov rcx, qword [rsp + 0x38]
lea rax, [rcx + rax*2]
mov qword [rsp + 0x38], rax
mov eax, dword [rsp + 0x40]
mov ecx, dword [rsp + 0x30]
lea rax, [rcx + rax*2]
mov dword [rsp + 0x30], eax
cmp dword [rsp + 0x40], 1
jne 0x14000c11a
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 rax, qword [rsp + 0x60]
mov rcx, qword [rax]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
add rsp, 0x58
ret
Function at 0x14001cfb0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x1c8
call fcn.14000d8e0
mov qword [rsp + 0x30], 0xffffffffffffffff
mov r8d, 5
mov rdx, qword [rsp + 0x1d8]
mov rcx, qword [rsp + 0x1d0]
call qword [sym.imp.KERNEL32.dll_FindResourceW]
mov qword [rsp + 0x38], rax
cmp qword [rsp + 0x38], 0
je 0x14001d18d
mov r8d, 0xf0
mov rdx, qword [rsp + 0x1d8]
mov rcx, qword [rsp + 0x1d0]
call qword [sym.imp.KERNEL32.dll_FindResourceW]
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x50], 0
mov qword [rsp + 0x40], 0
cmp qword [rsp + 0x60], 0
je 0x14001d075
mov rdx, qword [rsp + 0x60]
mov rcx, qword [rsp + 0x1d0]
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov qword [rsp + 0x50], rax
xor eax, eax
test eax, eax
jne 0x14001d059
xor eax, eax
test eax, eax
jne 0x14001d059
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_LockResource]
mov qword [rsp + 0x40], rax
mov dword [rsp + 0x58], 0
mov rdx, qword [rsp + 0x38]
mov rcx, qword [rsp + 0x1d0]
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov qword [rsp + 0x48], rax
cmp qword [rsp + 0x48], 0
je 0x14001d172
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.KERNEL32.dll_LockResource]
mov qword [rsp + 0x68], rax
cmp qword [rsp + 0x68], 0
je 0x14001d166
mov rdx, qword [rsp + 0x40]
mov rcx, qword [rsp + 0x68]
call fcn.14001d1a0
mov qword [rsp + 0x70], rax
mov rax, qword [rsp + 0x1f0]
mov qword [rsp + 0x20], rax
mov r9, qword [rsp + 0x1e8]
mov r8, qword [rsp + 0x1e0]
mov rdx, qword [rsp + 0x70]
mov rcx, qword [rsp + 0x1d0]
call qword [sym.imp.USER32.dll_DialogBoxIndirectParamW]
mov qword [rsp + 0x30], rax
cmp qword [rsp + 0x30], 0
je 0x14001d123
cmp qword [rsp + 0x30], 0xffffffffffffffff
je 0x14001d123
mov dword [rsp + 0x1b0], 1
jmp 0x14001d12e
mov dword [rsp + 0x1b0], 0
movzx eax, byte [rsp + 0x1b0]
test eax, eax
jne 0x14001d144
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x58], eax
mov rax, qword [rsp + 0x68]
cmp qword [rsp + 0x70], rax
je 0x14001d164
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.KERNEL32.dll_GlobalHandle]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GlobalFree]
jmp 0x14001d170
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x58], eax
jmp 0x14001d17c
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x58], eax
cmp dword [rsp + 0x58], 0
je 0x14001d18d
mov ecx, dword [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov rax, qword [rsp + 0x30]
add rsp, 0x1c8
ret

Function at 0x140021ee0
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x3b8
mov rax, qword [rsp + 0x3c0]
mov byte [rax + 0x190], 0
mov rax, qword [rsp + 0x3c0]
mov rax, qword [rax + 0x60]
mov qword [rsp + 0x20], rax
mov rcx, qword [rsp + 0x20]
call fcn.1400228c0
mov r8, qword [rsp + 0x3c0]
xor edx, edx
lea rcx, [0x1400384e0]
call fcn.140252174
add rsp, 0x3b8
ret
Function at 0x140022430
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x3b8
mov rax, qword [rsp + 0x3c0]
mov byte [rax + 0x198], 0
mov rax, qword [rsp + 0x3c0]
mov rax, qword [rax + 0x60]
mov qword [rsp + 0x20], rax
mov rcx, qword [rsp + 0x20]
call fcn.1400228c0
mov rax, qword [rsp + 0x3c0]
add rax, 0x170
mov r8, rax
mov rdx, qword [rsp + 0x3c8]
mov rcx, qword [rsp + 0x3c0]
call fcn.1400387f0
movzx eax, al
test eax, eax
je 0x1400224ae
mov r8, qword [rsp + 0x3c0]
xor edx, edx
lea rcx, [0x140038950]
call fcn.140252174
add rsp, 0x3b8
ret
Function at 0x1400647b0
Capabilities:
Delete file

Disassembly:
mov dword [rsp + 0x20], r9d
mov dword [rsp + 0x18], r8d
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x118
mov qword [rsp + 0xf0], 0xfffffffffffffffe
movsxd rax, dword [rsp + 0x138]
mov rcx, qword [rsp + 0x120]
add rcx, 8
mov r8, rax
mov rdx, qword [rsp + 0x128]
call fcn.14006a9c0
mov rax, qword [rsp + 0x120]
mov rax, qword [rax + 0x140]
add rax, 0xd8
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov rax, qword [rax + 0x10]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x120]
add rax, 0x110
mov r9d, dword [rsp + 0x148]
mov r8d, dword [rsp + 0x140]
mov rdx, rax
mov rcx, qword [rsp + 0x28]
call fcn.140064940
mov rax, qword [rsp + 0x120]
mov rax, qword [rax + 0x140]
add rax, 8
mov rcx, rax
call fcn.14002aba0
mov rax, qword [rsp + 0x120]
mov rax, qword [rax + 0x140]
movzx eax, byte [rax + 0x118]
mov byte [rsp + 0xb0], al
movzx eax, byte [rsp + 0xb0]
test eax, eax
je 0x14006492b
mov rax, qword [rsp + 0x120]
add rax, 8
mov rcx, rax
call fcn.14006b070
mov rax, qword [rsp + 0x120]
mov rax, qword [rax + 0x118]
mov qword [rsp + 0xd0], rax
mov rcx, qword [rsp + 0xd0]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
call sym.DriverReviver.exe_private:_static_class_ReviverSoft::Core::COperationManager____ptr64___cdecl_boost::serialization::singleton_class_ReviverSoft::Core::COperationManager_::get_instance_void_
mov qword [rsp + 0xe0], rax
mov rax, qword [rsp + 0xe0]
add rax, 0x7c8
lea rdx, [rsp + 0x20]
mov rcx, rax
call fcn.140044cc0
mov qword [rsp + 0xf8], rax
mov rax, qword [rsp + 0xf8]
mov qword [rsp + 0x100], rax
mov rcx, qword [rsp + 0x100]
call fcn.1401fcd60
nop
lea rcx, [rsp + 0x20]
call fcn.140203610
xor al, al
jmp 0x14006492d
mov al, 1
add rsp, 0x118
ret