joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140019a70
Capabilities:
Create process on windows
Get common file path

Disassembly:
push rdi
mov eax, 0x1100
call fcn.14019e810
sub rsp, rax
mov qword [rsp + 0x78], 0xfffffffffffffffe
mov qword [rsp + 0x1118], rbx
mov rax, qword [0x14026fdb0]
xor rax, rsp
mov qword [rsp + 0x10f0], rax
mov rdi, rcx
xor r8d, r8d
lea rdx, str.ServiceStartFromCmdLine
lea rcx, [rsp + 0x50]
call fcn.140001190
nop
mov r9, rdi
lea r8, str.lpszService___s
mov edx, 1
lea rcx, [rsp + 0x50]
call fcn.140001370
xor edx, edx
mov r8d, 0x400
lea rcx, [rsp + 0xf0]
call fcn.14019d7c0
xor edx, edx
mov r8d, 0x400
lea rcx, [rsp + 0x4f0]
call fcn.14019d7c0
mov edx, 0x200
lea rcx, [rsp + 0xf0]
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
lea rcx, [rsp + 0xf0]
call qword [sym.imp.SHLWAPI.dll_PathAddBackslashW]
lea r9, str.cmd.exe
lea r8, [rsp + 0xf0]
lea rdx, [0x14021c280]
lea rcx, [rsp + 0x4f0]
call qword [sym.imp.USER32.dll_wsprintfW]
xor edx, edx
lea r8d, [rdx + 0x68]
lea rcx, [rsp + 0x80]
call fcn.14019d7c0
mov dword [rsp + 0x80], VarBstrFromDisp
xor ebx, ebx
mov word [rsp + 0xc0], bx
mov dword [rsp + 0xbc], 1
mov r9, rdi
lea r8, str._C_net_start___s___Y
mov edx, 0x400
lea rcx, [rsp + 0x8f0]
call fcn.140198b60
xor edx, edx
mov rcx, rdi
call fcn.14001a2e0
lea r11, [rsp + 0x60]
mov qword [rsp + 0x48], r11
lea rax, [rsp + 0x80]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], rbx
mov qword [rsp + 0x30], rbx
mov dword [rsp + 0x28], ebx
mov dword [rsp + 0x20], ebx
xor r9d, r9d
xor r8d, r8d
lea rdx, [rsp + 0x8f0]
lea rcx, [rsp + 0x4f0]
call qword [sym.imp.KERNEL32.dll_CreateProcessW]
mov ebx, eax
test eax, eax
je 0x140019c1b
mov edx, 1
mov rcx, rdi
call fcn.14001a2e0
mov ebx, eax
mov edx, 0xea60
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov r9d, ebx
lea r8, str.return___08x
mov edx, 2
lea rcx, [rsp + 0x50]
call fcn.140001370
nop
lea rcx, [rsp + 0x50]
call fcn.140001320
mov eax, ebx
mov rcx, qword [rsp + 0x10f0]
xor rcx, rsp
call fcn.140198b40
mov rbx, qword [rsp + 0x1118]
add rsp, 0x1100
pop rdi
ret
Function at 0x14001a190
Capabilities:
Query service status

Disassembly:
mov r11, rsp
push rdi
sub rsp, 0x70
mov qword [rsp + 0x38], 0xfffffffffffffffe
mov qword [r11 + 0x10], rbx
mov qword [r11 + 0x18], rbp
mov qword [r11 + 0x20], rsi
mov rax, qword [0x14026fdb0]
xor rax, rsp
mov qword [rsp + 0x60], rax
mov rbx, rcx
xor r8d, r8d
lea rdx, str.GetServiceStartAndStopStatus
lea rcx, [r11 - 0x50]
call fcn.140001190
nop
mov r9, rbx
lea r8, str.lpszService___s
mov edx, 1
lea rcx, [rsp + 0x28]
call fcn.140001370
call fcn.140059f20
mov rcx, qword [rax + 8]
call fcn.14005a4ac
nop
xor edi, edi
xor edx, edx
xor ecx, ecx
mov r8d, 0xf003f
call qword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov rbp, rax
test rax, rax
je 0x14001a282
lea r8d, [rdi + 4]
mov rdx, rbx
mov rcx, rax
call qword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov rsi, rax
test rax, rax
je 0x14001a269
mov ebx, edi
nop
lea rdx, [rsp + 0x40]
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_QueryServiceStatus]
cmp eax, 1
je 0x14001a25a
mov ecx, 0x64
call qword [sym.imp.KERNEL32.dll_Sleep]
inc ebx
cmp ebx, 0x96
jb 0x14001a230
jmp 0x14001a25e
mov edi, dword [rsp + 0x44]
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
jmp 0x14001a279
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, 0x424
cmp eax, ecx
cmove edi, ecx
mov rcx, rbp
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov r9d, edi
lea r8, str.return___08x
mov edx, 2
lea rcx, [rsp + 0x28]
call fcn.140001370
nop
lea rcx, [rsp + 0x20]
call fcn.14000f190
nop
lea rcx, [rsp + 0x28]
call fcn.140001320
mov eax, edi
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.140198b40
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x18]
mov rbp, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret
Function at 0x14001bb40
Capabilities:
Get common file path

Disassembly:
push rdi
sub rsp, 0x40
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov qword [rsp + 0x60], rbx
xor r8d, r8d
lea rdx, str.Tool_ShoutCutCreateFolder
lea rcx, [rsp + 0x28]
call fcn.140001190
nop
mov r9d, 0x17
lea r8, str.nFolder___d
lea edx, [r9 - 0x16]
lea rcx, [rsp + 0x28]
call fcn.140001370
mov qword [rsp + 0x50], 0
mov ecx, 0x208
call qword [sym.imp.ole32.dll_CoTaskMemAlloc]
mov rbx, rax
test rax, rax
jne 0x14001bbcf
call qword [sym.imp.KERNEL32.dll_GetLastError]
xor r9d, r9d
lea r8, str.return___s
lea edx, [rbx + 2]
lea rcx, [rsp + 0x28]
call fcn.140001370
nop
lea rcx, [rsp + 0x28]
call fcn.140001320
xor eax, eax
jmp 0x14001bc72
lea r8, [rsp + 0x50]
mov edx, 0x17
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
mov edi, eax
mov rdx, rbx
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
test eax, eax
jne 0x14001bbfe
mov rcx, rbx
call qword [sym.imp.ole32.dll_CoTaskMemFree]
test edi, edi
jne 0x14001bc4b
cmp qword [rsp + 0x50], 0
je 0x14001bc4b
mov qword [rsp + 0x58], 0
lea rcx, [rsp + 0x58]
call qword [sym.imp.SHELL32.dll_SHGetMalloc]
test eax, eax
js 0x14001bc4b
mov rcx, qword [rsp + 0x58]
test rcx, rcx
je 0x14001bc4b
mov rax, qword [rcx]
mov rdx, qword [rsp + 0x50]
call qword [rax + 0x28]
mov rcx, qword [rsp + 0x58]
mov rax, qword [rcx]
call qword [rax + 0x10]
mov qword [rsp + 0x50], 0
mov r9, rbx
lea r8, str.return___s
mov edx, 2
lea rcx, [rsp + 0x28]
call fcn.140001370
nop
lea rcx, [rsp + 0x28]
call fcn.140001320
mov rax, rbx
mov rbx, qword [rsp + 0x60]
add rsp, 0x40
pop rdi
ret
Function at 0x14001c450
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
sub rsp, 0x50
mov qword [rsp + 0x38], 0xfffffffffffffffe
mov esi, ecx
xor r8d, r8d
lea rdx, str.CheckConIme
lea rcx, [rsp + 0x40]
call fcn.140001190
nop
mov r9d, esi
lea r8, str.nMode___d
mov ebx, 1
mov edx, ebx
lea rcx, [rsp + 0x40]
call fcn.140001370
xor r12d, r12d
mov qword [rsp + 0x30], r12
mov dword [rsp + 0x98], r12d
mov dword [rsp + 0x90], r12d
mov dword [rsp + 0x88], r12d
mov edi, r12d
call fcn.140059f20
mov rbp, qword [rax + 8]
mov dword [rbp + 0xa80], r12d
lea rax, [rsp + 0x30]
mov qword [rsp + 0x20], rax
mov r9d, 0xf003f
xor r8d, r8d
lea rdx, str.Console
mov rcx, 0xffffffff80000001
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x14001c5c5
mov dword [rsp + 0x98], 4
mov dword [rsp + 0x90], 4
lea rax, [rsp + 0x90]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x88]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x98]
xor r8d, r8d
lea rdx, str.LoadConIme
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x14001c5b5
mov dword [rsp + 0x90], 4
test esi, esi
je 0x14001c56e
cmp dword [rsp + 0x88], r12d
je 0x14001c575
mov dword [rsp + 0x88], r12d
mov edi, ebx
jmp 0x14001c575
mov dword [rsp + 0x88], ebx
mov dword [rsp + 0x28], 4
lea rax, [rsp + 0x88]
mov qword [rsp + 0x20], rax
mov r9d, 4
xor r8d, r8d
lea rdx, str.LoadConIme
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
jne 0x14001c5b5
test edi, edi
je 0x14001c5b8
mov dword [rbp + 0xa80], ebx
jmp 0x14001c5b8
mov ebx, r12d
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x14001c5c8
mov ebx, r12d
mov r9d, ebx
lea r8, str.return___08x
mov edx, 2
lea rcx, [rsp + 0x40]
call fcn.140001370
nop
lea rcx, [rsp + 0x40]
call fcn.140001320
mov eax, ebx
add rsp, 0x50
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x14001ddf0
Capabilities:
Create process on windows
Query or enumerate registry value

Disassembly:
mov rax, rsp
push rbp
lea rbp, [rax - 0x238]
sub rsp, 0x330
mov qword [rbp - 0x70], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rdi
mov rax, qword [0x14026fdb0]
xor rax, rsp
mov qword [rbp + 0x220], rax
xor r8d, r8d
lea rdx, str.Tool_DIASDeleteService
lea rcx, [rsp + 0x60]
call fcn.140001190
nop
xor edx, edx
lea r8d, [rdx + 0x68]
lea rcx, [rbp - 0x60]
call fcn.14019d7c0
xor r11d, r11d
mov qword [rsp + 0x70], r11
mov qword [rsp + 0x78], r11
mov qword [rbp - 0x80], r11
xor edx, edx
mov r8d, 0x208
lea rcx, [rbp + 0x10]
call fcn.14019d7c0
xor ebx, ebx
mov qword [rsp + 0x58], rbx
mov dword [rsp + 0x50], ebx
mov dword [rsp + 0x54], ebx
lea rax, [rsp + 0x58]
mov qword [rsp + 0x20], rax
mov r9d, 0x20119
xor r8d, r8d
lea rdx, str.SOFTWARECanonDIASSETUP
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x14001decc
xor r9d, r9d
lea r8, str.return___08x
lea edx, [rbx + 2]
lea rcx, [rsp + 0x60]
call fcn.140001370
nop
lea rcx, [rsp + 0x60]
call fcn.140001320
xor eax, eax
jmp 0x14001e02c
mov dword [rsp + 0x54], 0x208
mov dword [rsp + 0x50], 1
lea rax, [rsp + 0x54]
mov qword [rsp + 0x28], rax
lea rax, [rbp + 0x10]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x50]
xor r8d, r8d
lea rdx, str.Path
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov rcx, qword [rsp + 0x58]
test eax, eax
je 0x14001df42
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor r9d, r9d
lea r8, str.return___08x
lea edx, [r9 + 2]
lea rcx, [rsp + 0x60]
call fcn.140001370
nop
lea rcx, [rsp + 0x60]
call fcn.140001320
xor eax, eax
jmp 0x14001e02c
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [rbp - 0x60], 0x68
mov dword [rbp - 0x24], 1
mov word [rbp - 0x20], bx
lea rcx, [rbp + 0x10]
call qword [sym.imp.KERNEL32.dll_lstrlenW]
movsxd rcx, eax
cmp word [rbp + rcx*2 + 0xe], 0x5c
je 0x14001df80
lea rdx, [0x14021d21c]
lea rcx, [rbp + 0x10]
call qword [sym.imp.KERNEL32.dll_lstrcatW]
lea rdx, str.CnxDIAS.EXE
lea rcx, [rbp + 0x10]
call qword [sym.imp.KERNEL32.dll_lstrcatW]
lea r11, [rsp + 0x70]
mov qword [rsp + 0x48], r11
lea rax, [rbp - 0x60]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], rbx
mov qword [rsp + 0x30], rbx
mov dword [rsp + 0x28], ebx
mov dword [rsp + 0x20], ebx
xor r9d, r9d
xor r8d, r8d
lea rdx, str.__remove
lea rcx, [rbp + 0x10]
call qword [sym.imp.KERNEL32.dll_CreateProcessW]
mov edi, eax
mov rbx, qword [rsp + 0x70]
mov rcx, qword [rsp + 0x78]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
or edx, 0xffffffff
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0xffffffff
je 0x14001dffd
lea rdx, [rbp - 0x78]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov r9d, edi
lea r8, str.return___08x
mov edx, 2
lea rcx, [rsp + 0x60]
call fcn.140001370
nop
lea rcx, [rsp + 0x60]
call fcn.140001320
mov eax, edi
mov rcx, qword [rbp + 0x220]
xor rcx, rsp
call fcn.140198b40
lea r11, [rsp + 0x330]
mov rbx, qword [r11 + 0x10]
mov rdi, qword [r11 + 0x18]
mov rsp, r11
pop rbp
ret
Function at 0x14001e050
Capabilities:
Delete registry key
Query or enumerate registry value

Disassembly:
push rbx
sub rsp, 0x290
mov qword [rsp + 0x60], 0xfffffffffffffffe
mov rax, qword [0x14026fdb0]
xor rax, rsp
mov qword [rsp + 0x280], rax
xor r8d, r8d
lea rdx, str.Tool_DeleteRegOfPortSetUserID
lea rcx, [rsp + 0x50]
call fcn.140001190
nop
xor ebx, ebx
mov qword [rsp + 0x48], rbx
mov dword [rsp + 0x40], ebx
xor edx, edx
mov r8d, 0x208
lea rcx, [rsp + 0x70]
call fcn.14019d7c0
lea r11, [rsp + 0x48]
mov qword [rsp + 0x20], r11
mov r9d, 0x2011f
xor r8d, r8d
lea rdx, str.SOFTWARECanonPortSetPortSetUser
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x14001e13b
lea edx, [rbx + 1]
mov rcx, qword [rsp + 0x48]
call fcn.14001e180
mov dword [rsp + 0x40], 0x104
mov qword [rsp + 0x38], rbx
mov qword [rsp + 0x30], rbx
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0x20], rbx
lea r9, [rsp + 0x40]
lea r8, [rsp + 0x70]
xor edx, edx
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.ADVAPI32.dll_RegEnumValueW]
test eax, eax
je 0x14001e12e
lea rdx, str.SOFTWARECanonPortSetPortSetUser
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
mov ebx, 1
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x14001e140
mov ebx, 1
mov r9d, ebx
lea r8, str.return___08x
mov edx, 2
lea rcx, [rsp + 0x50]
call fcn.140001370
nop
lea rcx, [rsp + 0x50]
call fcn.140001320
mov eax, ebx
mov rcx, qword [rsp + 0x280]
xor rcx, rsp
call fcn.140198b40
add rsp, 0x290
pop rbx
ret
Function at 0x14001e180
Capabilities:
Delete registry value
Query or enumerate registry value

Disassembly:
push rbp
push rsi
push rdi
sub rsp, 0x290
mov qword [rsp + 0x60], 0xfffffffffffffffe
mov qword [rsp + 0x2c0], rbx
mov rax, qword [0x14026fdb0]
xor rax, rsp
mov qword [rsp + 0x280], rax
mov ebp, edx
mov qword [rsp + 0x40], rcx
xor r8d, r8d
lea rdx, str.Tool_DeleteRegValueOfPortSetUserID
lea rcx, [rsp + 0x50]
call fcn.140001190
nop
mov r9d, ebp
lea r8, str.bDeleteKey___d
mov edx, 1
lea rcx, [rsp + 0x50]
call fcn.140001370
xor ebx, ebx
mov esi, ebx
call fcn.140059f20
mov rdi, qword [rax + 8]
mov rcx, qword [rsp + 0x40]
test rcx, rcx
jne 0x14001e256
lea rax, [rsp + 0x40]
mov qword [rsp + 0x20], rax
mov r9d, 0x2011f
xor r8d, r8d
lea rdx, str.SOFTWARECanonPortSetPortSetUser
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
lea esi, [rbx + 1]
test eax, eax
je 0x14001e251
xor r9d, r9d
lea r8, str.return___08x
lea edx, [rbx + 2]
lea rcx, [rsp + 0x50]
call fcn.140001370
nop
lea rcx, [rsp + 0x50]
call fcn.140001320
xor eax, eax
jmp 0x14001e2ff
mov rcx, qword [rsp + 0x40]
test ebp, ebp
jne 0x14001e292
mov dword [rsp + 0x48], 0x104
mov qword [rsp + 0x38], rbx
mov qword [rsp + 0x30], rbx
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0x20], rbx
lea r9, [rsp + 0x48]
lea r8, [rsp + 0x70]
lea edx, [rbp + 1]
call qword [sym.imp.ADVAPI32.dll_RegEnumValueW]
test eax, eax
jne 0x14001e2ca
mov rcx, qword [rsp + 0x40]
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0x20], rbx
xor r9d, r9d
xor r8d, r8d
mov rdx, qword [rdi + 0x1b8]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x14001e2ca
mov rdx, qword [rdi + 0x1b8]
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
mov ebx, 1
test esi, esi
je 0x14001e2d9
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov r9d, ebx
lea r8, str.return___08x
mov edx, 2
lea rcx, [rsp + 0x50]
call fcn.140001370
nop
lea rcx, [rsp + 0x50]
call fcn.140001320
mov eax, ebx
mov rcx, qword [rsp + 0x280]
xor rcx, rsp
call fcn.140198b40
mov rbx, qword [rsp + 0x2c0]
add rsp, 0x290
pop rdi
pop rsi
pop rbp
ret
Function at 0x14001e420
Capabilities:
Check if file exists
Delete directory

Disassembly:
mov rax, rsp
push rbp
lea rbp, [rax - 0x5a8]
sub rsp, 0x6a0
mov qword [rsp + 0x50], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov rax, qword [0x14026fdb0]
xor rax, rsp
mov qword [rbp + 0x590], rax
xor r8d, r8d
lea rdx, str.Tool_DeleteRestoreFile
lea rcx, [rsp + 0x40]
call fcn.140001190
nop
call fcn.140059f20
mov rbx, qword [rax + 8]
xor edi, edi
mov word [rbp + 0x170], di
xor edx, edx
mov r8d, 0x206
lea rcx, [rbp + 0x172]
call fcn.14019d7c0
xor edx, edx
mov r8d, 0x208
lea rcx, [rsp + 0x60]
call fcn.14019d7c0
xor edx, edx
mov r8d, 0x208
lea rcx, [rbp + 0x380]
call fcn.14019d7c0
xor r8d, r8d
lea rdx, str.Tool_GetProgramFilesFolder
lea rcx, [rsp + 0x30]
call fcn.140001190
nop
mov r9d, 0x208
lea r8, str.dwSize___08x
mov esi, 1
mov edx, esi
lea rcx, [rsp + 0x30]
call fcn.140001370
lea rcx, [rsp + 0x60]
call fcn.14001e6a0
mov ecx, edi
test eax, eax
cmovne ecx, esi
mov dword [rsp + 0x20], ecx
lea r9, [rsp + 0x60]
lea r8, str.lpPath___s__return___08x
lea edx, [rdi + 2]
lea rcx, [rsp + 0x30]
call fcn.140001370
nop
lea rcx, [rsp + 0x30]
call fcn.140001320
lea rcx, [rsp + 0x60]
call qword [sym.imp.SHLWAPI.dll_PathAddBackslashW]
lea rdx, str.Canon_
lea rcx, [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_lstrcatW]
lea rcx, [rsp + 0x60]
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
cmove edi, esi
lea rcx, [rsp + 0x60]
call qword [sym.imp.SHLWAPI.dll_PathAddBackslashW]
lea rdx, str.InstRestore
lea rcx, [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_lstrcatW]
lea rcx, [rsp + 0x60]
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
cmove edi, esi
lea rcx, [rsp + 0x60]
call qword [sym.imp.SHLWAPI.dll_PathAddBackslashW]
lea rdx, [rsp + 0x60]
lea rcx, [rbp + 0x380]
call qword [sym.imp.KERNEL32.dll_lstrcpyW]
mov rdx, qword [rbx + 0x1b8]
lea rcx, [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_lstrcatW]
lea rdx, [rbp + 0x380]
lea rcx, [rbp + 0x170]
call qword [sym.imp.KERNEL32.dll_lstrcpyW]
lea rdx, str.color_
lea rcx, [rbp + 0x170]
call qword [sym.imp.KERNEL32.dll_lstrcatW]
test edi, edi
jne 0x14001e646
lea rcx, [rsp + 0x60]
call qword [sym.imp.SHLWAPI.dll_PathAddBackslashW]
lea rcx, [rsp + 0x60]
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x14001e609
lea rcx, [rsp + 0x60]
call fcn.14001e780
lea rcx, [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
lea rcx, [rbp + 0x380]
call fcn.14001f810
cmp eax, 1
jne 0x14001e637
lea rcx, [rbp + 0x170]
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x14001e637
lea rcx, [rbp + 0x170]
call fcn.14001e780
lea rcx, [rbp + 0x380]
call qword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
mov edi, esi
mov r9d, edi
lea r8, str.return___08x
mov edx, 2
lea rcx, [rsp + 0x40]
call fcn.140001370
nop
lea rcx, [rsp + 0x40]
call fcn.140001320
mov eax, edi
mov rcx, qword [rbp + 0x590]
xor rcx, rsp
call fcn.140198b40
lea r11, [rsp + 0x6a0]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov rsp, r11
pop rbp
ret
Function at 0x14001e6a0
Capabilities:
Get common file path
Get program files directory

Disassembly:
push rdi
sub rsp, 0x50
mov qword [rsp + 0x30], 0xfffffffffffffffe
mov qword [rsp + 0x60], rbx
mov rdi, rcx
xor r8d, r8d
lea rdx, str.Tool_GetSpecialFolder
lea rcx, [rsp + 0x38]
call fcn.140001190
nop
mov r9d, 0x26
lea r8, str.nCsidl___d
lea edx, [r9 - 0x25]
lea rcx, [rsp + 0x38]
call fcn.140001370
xor ebx, ebx
mov qword [rsp + 0x68], rbx
lea r8, [rsp + 0x68]
lea edx, [rbx + 0x26]
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
test eax, eax
js 0x14001e746
mov rdx, rdi
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
mov ebx, eax
mov qword [rsp + 0x70], 0
lea rcx, [rsp + 0x70]
call qword [sym.imp.SHELL32.dll_SHGetMalloc]
test eax, eax
js 0x14001e746
mov rcx, qword [rsp + 0x70]
mov r8, qword [rcx]
mov rdx, qword [rsp + 0x68]
call qword [r8 + 0x28]
mov rcx, qword [rsp + 0x70]
mov rdx, qword [rcx]
call qword [rdx + 0x10]
mov dword [rsp + 0x20], ebx
mov r9, rdi
lea r8, str.lpPath___s__return___08x
mov edx, 2
lea rcx, [rsp + 0x38]
call fcn.140001370
nop
lea rcx, [rsp + 0x38]
call fcn.140001320
mov eax, ebx
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rdi
ret
Function at 0x14001e780
Capabilities:
Delete directory
Delete file
Enumerate files on windows
Enumerate files recursively

Disassembly:
mov rax, rsp
push rbp
lea rbp, [rax - 0x7e8]
sub rsp, 0x8e0
mov qword [rsp + 0x40], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov rax, qword [0x14026fdb0]
xor rax, rsp
mov qword [rbp + 0x7d0], rax
mov rsi, rcx
xor r8d, r8d
lea rdx, str.Tool_DeleteFileInFolder
lea rcx, [rsp + 0x30]
call fcn.140001190
nop
mov r9, rsi
lea r8, str.lpszDirectory___s
mov edx, 1
lea rcx, [rsp + 0x30]
call fcn.140001370
xor edi, edi
xor edx, edx
mov r8d, 0x208
lea rcx, [rbp + 0x1a0]
call fcn.14019d7c0
xor edx, edx
mov r8d, 0x208
lea rcx, [rbp + 0x5c0]
call fcn.14019d7c0
xor edx, edx
mov r8d, 0x208
lea rcx, [rbp + 0x3b0]
call fcn.14019d7c0
xor edx, edx
mov r8d, 0x250
lea rcx, [rsp + 0x50]
call fcn.14019d7c0
test rsi, rsi
je 0x14001e98e
mov rdx, rsi
lea rcx, [rbp + 0x1a0]
call qword [sym.imp.KERNEL32.dll_lstrcpyW]
lea rcx, [rbp + 0x1a0]
call qword [sym.imp.SHLWAPI.dll_PathAddBackslashW]
lea r8, [rbp + 0x1a0]
lea rdx, str._s.
lea rcx, [rbp + 0x5c0]
call qword [sym.imp.USER32.dll_wsprintfW]
lea rdx, [rsp + 0x50]
lea rcx, [rbp + 0x5c0]
call qword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x14001e98e
nop dword [rax]
lea rdx, [0x14021dab4]
lea rcx, [rsp + 0x7c]
call qword [sym.imp.KERNEL32.dll_lstrcmpW]
test eax, eax
je 0x14001e961
lea rdx, [0x14021fe4c]
lea rcx, [rsp + 0x7c]
call qword [sym.imp.KERNEL32.dll_lstrcmpW]
test eax, eax
je 0x14001e961
mov eax, dword [rsp + 0x50]
test al, 0x10
jne 0x14001e923
lea rax, [rsp + 0x7c]
mov qword [rsp + 0x28], rax
lea rax, [rbp + 0x1a0]
mov qword [rsp + 0x20], rax
lea r9, [0x14021c280]
or r8, 0xffffffffffffffff
mov edx, 0x104
lea rcx, [rbp + 0x3b0]
call fcn.140198b84
lea rcx, [rbp + 0x3b0]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
mov eax, dword [rsp + 0x50]
test al, 0x10
je 0x14001e961
lea rax, [rsp + 0x7c]
mov qword [rsp + 0x28], rax
lea rax, [rbp + 0x1a0]
mov qword [rsp + 0x20], rax
lea r9, [0x14021c280]
or r8, 0xffffffffffffffff
mov edx, 0x104
lea rcx, [rbp + 0x3b0]
call fcn.140198b84
lea rcx, [rbp + 0x3b0]
call fcn.14001e780
lea rdx, [rsp + 0x50]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x14001e8a0
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FindClose]
mov edi, 1
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
mov r9d, edi
lea r8, str.return___08x
mov edx, 2
lea rcx, [rsp + 0x30]
call fcn.140001370
nop
lea rcx, [rsp + 0x30]
call fcn.140001320
mov eax, edi
mov rcx, qword [rbp + 0x7d0]
xor rcx, rsp
call fcn.140198b40
lea r11, [rsp + 0x8e0]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret
Function at 0x14001f4e0
Capabilities:
Get common file path

Disassembly:
push rbx
sub rsp, 0x8c0
mov qword [rsp + 0x60], 0xfffffffffffffffe
mov rax, qword [0x14026fdb0]
xor rax, rsp
mov qword [rsp + 0x8b0], rax
xor r8d, r8d
lea rdx, str.Tool_CheckTempUninstaller
lea rcx, [rsp + 0x50]
call fcn.140001190
nop
xor ebx, ebx
mov word [rsp + 0x70], bx
xor edx, edx
mov r8d, 0x206
lea rcx, [rsp + 0x72]
call fcn.14019d7c0
mov word [rsp + 0x6a0], bx
xor edx, edx
mov r8d, 0x206
lea rcx, [rsp + 0x6a2]
call fcn.14019d7c0
mov word [rsp + 0x490], bx
xor edx, edx
mov r8d, 0x206
lea rcx, [rsp + 0x492]
call fcn.14019d7c0
mov word [rsp + 0x280], bx
xor edx, edx
mov r8d, 0x206
lea rcx, [rsp + 0x282]
call fcn.14019d7c0
mov r8d, 0x104
lea rdx, [rsp + 0x70]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
mov qword [rsp + 0x40], rbx
mov qword [rsp + 0x38], rbx
mov qword [rsp + 0x30], rbx
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0x20], 0x104
lea r9, [rsp + 0x490]
mov r8d, 0x104
lea rdx, [rsp + 0x6a0]
lea rcx, [rsp + 0x70]
call fcn.14019a34c
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0x20], rbx
lea r9, [rsp + 0x490]
lea r8, [rsp + 0x6a0]
mov edx, 0x104
lea rcx, [rsp + 0x70]
call fcn.14019bf84
lea rcx, [rsp + 0x70]
call qword [sym.imp.SHLWAPI.dll_PathAddBackslashW]
lea rdx, [rsp + 0x280]
mov ecx, 0x104
call qword [sym.imp.KERNEL32.dll_GetTempPathW]
lea rcx, [rsp + 0x280]
call qword [sym.imp.SHLWAPI.dll_PathAddBackslashW]
lea rdx, [rsp + 0x280]
lea rcx, [rsp + 0x70]
call qword [sym.imp.KERNEL32.dll_lstrcmpiW]
mov ecx, 1
test eax, eax
cmove ebx, ecx
mov r9d, ebx
lea r8, str.return___08x
lea edx, [rcx + 1]
lea rcx, [rsp + 0x50]
call fcn.140001370
nop
lea rcx, [rsp + 0x50]
call fcn.140001320
mov eax, ebx
mov rcx, qword [rsp + 0x8b0]
xor rcx, rsp
call fcn.140198b40
add rsp, 0x8c0
pop rbx
ret