joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140010550
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 [0x140260d50]
xor rax, rsp
mov qword [rsp + 0x60], rax
mov rbx, rcx
xor r8d, r8d
lea rdx, str.GetServiceStartAndStopStatus
lea rcx, [r11 - 0x50]
call fcn.14000b870
nop
mov r9, rbx
lea r8, str.lpszService___s
mov edx, 1
lea rcx, [rsp + 0x28]
call fcn.14000ba50
call fcn.140050920
mov rcx, qword [rax + 8]
call fcn.140059edc
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 0x140010642
lea r8d, [rdi + 4]
mov rdx, rbx
mov rcx, rax
call qword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov rsi, rax
test rax, rax
je 0x140010629
mov ebx, edi
nop
lea rdx, [rsp + 0x40]
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_QueryServiceStatus]
cmp eax, 1
je 0x14001061a
mov ecx, 0x64
call qword [sym.imp.KERNEL32.dll_Sleep]
inc ebx
cmp ebx, 0x96
jb 0x1400105f0
jmp 0x14001061e
mov edi, dword [rsp + 0x44]
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
jmp 0x140010639
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.14000ba50
nop
lea rcx, [rsp + 0x20]
call fcn.14000b6e0
nop
lea rcx, [rsp + 0x28]
call fcn.14000ba00
mov eax, edi
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.14018e5d0
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 0x140011ed0
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.14000b870
nop
mov r9d, 0x17
lea r8, str.nFolder___d
lea edx, [r9 - 0x16]
lea rcx, [rsp + 0x28]
call fcn.14000ba50
mov ecx, 0x208
call qword [sym.imp.ole32.dll_CoTaskMemAlloc]
mov rbx, rax
test rax, rax
jne 0x140011f56
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.14000ba50
nop
lea rcx, [rsp + 0x28]
call fcn.14000ba00
xor eax, eax
jmp 0x140011ff3
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 0x140011f85
mov rcx, rbx
call qword [sym.imp.ole32.dll_CoTaskMemFree]
test edi, edi
jne 0x140011fcc
cmp qword [rsp + 0x50], 0
je 0x140011fcc
xor edi, edi
mov qword [rsp + 0x58], rdi
lea rcx, [rsp + 0x58]
call qword [sym.imp.SHELL32.dll_SHGetMalloc]
test eax, eax
js 0x140011fcc
mov rcx, qword [rsp + 0x58]
test rcx, rcx
je 0x140011fcc
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], rdi
mov r9, rbx
lea r8, str.return___s
mov edx, 2
lea rcx, [rsp + 0x28]
call fcn.14000ba50
nop
lea rcx, [rsp + 0x28]
call fcn.14000ba00
mov rax, rbx
mov rbx, qword [rsp + 0x60]
add rsp, 0x40
pop rdi
ret
Function at 0x1400127c0
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
push rbp
push rsi
push rdi
sub rsp, 0x50
mov qword [rsp + 0x38], 0xfffffffffffffffe
mov qword [rsp + 0x70], rbx
mov esi, ecx
xor r8d, r8d
lea rdx, str.CheckConIme
lea rcx, [rsp + 0x40]
call fcn.14000b870
nop
mov r9d, esi
lea r8, str.nMode___d
mov ebx, 1
mov edx, ebx
lea rcx, [rsp + 0x40]
call fcn.14000ba50
mov dword [rsp + 0x78], 0
xor edi, edi
call fcn.140050920
mov rbp, qword [rax + 8]
mov dword [rbp + 0xa88], edi
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 0x14001290b
mov dword [rsp + 0x88], 4
mov dword [rsp + 0x80], 4
lea rax, [rsp + 0x80]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x78]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x88]
xor r8d, r8d
lea rdx, str.LoadConIme
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x1400128fc
mov dword [rsp + 0x80], 4
test esi, esi
je 0x1400128bb
cmp dword [rsp + 0x78], edi
je 0x1400128bf
mov dword [rsp + 0x78], edi
mov edi, ebx
jmp 0x1400128bf
mov dword [rsp + 0x78], ebx
mov dword [rsp + 0x28], 4
lea rax, [rsp + 0x78]
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 0x1400128fc
test edi, edi
je 0x1400128fe
mov dword [rbp + 0xa88], ebx
jmp 0x1400128fe
xor ebx, ebx
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x14001290d
xor ebx, ebx
mov r9d, ebx
lea r8, str.return___08x
mov edx, 2
lea rcx, [rsp + 0x40]
call fcn.14000ba50
nop
lea rcx, [rsp + 0x40]
call fcn.14000ba00
mov eax, ebx
mov rbx, qword [rsp + 0x70]
add rsp, 0x50
pop rdi
pop rsi
pop rbp
ret
Function at 0x1400140e0
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 - 0x68], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rdi
mov rax, qword [0x140260d50]
xor rax, rsp
mov qword [rbp + 0x220], rax
xor r8d, r8d
lea rdx, str.Tool_DIASDeleteService
lea rcx, [rsp + 0x68]
call fcn.14000b870
nop
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 0x14001417d
xor r9d, r9d
lea r8, str.return___08x
lea edx, [r9 + 2]
lea rcx, [rsp + 0x68]
call fcn.14000ba50
nop
lea rcx, [rsp + 0x68]
call fcn.14000ba00
xor eax, eax
jmp 0x1400142fb
mov dword [rsp + 0x60], 0x208
mov dword [rsp + 0x50], 1
lea rax, [rsp + 0x60]
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 0x1400141f3
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor r9d, r9d
lea r8, str.return___08x
lea edx, [r9 + 2]
lea rcx, [rsp + 0x68]
call fcn.14000ba50
nop
lea rcx, [rsp + 0x68]
call fcn.14000ba00
xor eax, eax
jmp 0x1400142fb
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor edx, edx
lea r8d, [rdx + 0x68]
lea rcx, [rbp - 0x60]
call fcn.140193010
xor r11d, r11d
mov qword [rbp - 0x80], r11
mov qword [rbp - 0x78], r11
mov qword [rbp - 0x70], r11
mov dword [rbp - 0x60], 0x68
mov dword [rbp - 0x24], 1
xor ebx, ebx
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 0x140014251
lea rdx, [0x14021120c]
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, [rbp - 0x80]
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 [rbp - 0x80]
mov rcx, qword [rbp - 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 0x1400142cc
lea rdx, [rsp + 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 + 0x68]
call fcn.14000ba50
nop
lea rcx, [rsp + 0x68]
call fcn.14000ba00
mov eax, edi
mov rcx, qword [rbp + 0x220]
xor rcx, rsp
call fcn.14018e5d0
lea r11, [rsp + 0x330]
mov rbx, qword [r11 + 0x10]
mov rdi, qword [r11 + 0x18]
mov rsp, r11
pop rbp
ret
Function at 0x140014320
Capabilities:
Delete registry key
Query or enumerate registry value

Disassembly:
push rbx
sub rsp, 0x290
mov qword [rsp + 0x60], 0xfffffffffffffffe
mov rax, qword [0x140260d50]
xor rax, rsp
mov qword [rsp + 0x280], rax
xor r8d, r8d
lea rdx, str.Tool_DeleteRegOfPortSetUserID
lea rcx, [rsp + 0x50]
call fcn.14000b870
nop
xor ebx, ebx
call fcn.140050920
lea r11, [rsp + 0x40]
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 0x1400143f5
lea edx, [rbx + 1]
mov rcx, qword [rsp + 0x40]
call fcn.140014440
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]
xor edx, edx
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.ADVAPI32.dll_RegEnumValueW]
test eax, eax
je 0x1400143e8
lea rdx, str.SOFTWARECanonPortSetPortSetUser
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
mov ebx, 1
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x1400143fa
mov ebx, 1
mov r9d, ebx
lea r8, str.return___08x
mov edx, 2
lea rcx, [rsp + 0x50]
call fcn.14000ba50
nop
lea rcx, [rsp + 0x50]
call fcn.14000ba00
mov eax, ebx
mov rcx, qword [rsp + 0x280]
xor rcx, rsp
call fcn.14018e5d0
add rsp, 0x290
pop rbx
ret
Function at 0x140014440
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 [0x140260d50]
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.14000b870
nop
mov r9d, ebp
lea r8, str.bDeleteKey___d
mov edx, 1
lea rcx, [rsp + 0x50]
call fcn.14000ba50
xor ebx, ebx
mov esi, ebx
call fcn.140050920
mov rdi, qword [rax + 8]
mov rcx, qword [rsp + 0x40]
test rcx, rcx
jne 0x140014516
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 0x140014511
xor r9d, r9d
lea r8, str.return___08x
lea edx, [rbx + 2]
lea rcx, [rsp + 0x50]
call fcn.14000ba50
nop
lea rcx, [rsp + 0x50]
call fcn.14000ba00
xor eax, eax
jmp 0x1400145bf
mov rcx, qword [rsp + 0x40]
test ebp, ebp
jne 0x140014552
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 0x14001458a
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 0x14001458a
mov rdx, qword [rdi + 0x1b8]
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
mov ebx, 1
test esi, esi
je 0x140014599
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.14000ba50
nop
lea rcx, [rsp + 0x50]
call fcn.14000ba00
mov eax, ebx
mov rcx, qword [rsp + 0x280]
xor rcx, rsp
call fcn.14018e5d0
mov rbx, qword [rsp + 0x2c0]
add rsp, 0x290
pop rdi
pop rsi
pop rbp
ret
Function at 0x1400146e0
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 [0x140260d50]
xor rax, rsp
mov qword [rbp + 0x590], rax
xor r8d, r8d
lea rdx, str.Tool_DeleteRestoreFile
lea rcx, [rsp + 0x40]
call fcn.14000b870
nop
call fcn.140050920
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.140193010
xor edx, edx
mov r8d, 0x208
lea rcx, [rsp + 0x60]
call fcn.140193010
xor edx, edx
mov r8d, 0x208
lea rcx, [rbp + 0x380]
call fcn.140193010
xor r8d, r8d
lea rdx, str.Tool_GetProgramFilesFolder
lea rcx, [rsp + 0x30]
call fcn.14000b870
nop
mov r9d, 0x208
lea r8, str.dwSize___08x
mov esi, 1
mov edx, esi
lea rcx, [rsp + 0x30]
call fcn.14000ba50
lea rcx, [rsp + 0x60]
call fcn.140014960
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.14000ba50
nop
lea rcx, [rsp + 0x30]
call fcn.14000ba00
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 0x140014906
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 0x1400148c9
lea rcx, [rsp + 0x60]
call fcn.140014a30
lea rcx, [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
lea rcx, [rbp + 0x380]
call fcn.140015a90
cmp eax, 1
jne 0x1400148f7
lea rcx, [rbp + 0x170]
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x1400148f7
lea rcx, [rbp + 0x170]
call fcn.140014a30
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.14000ba50
nop
lea rcx, [rsp + 0x40]
call fcn.14000ba00
mov eax, edi
mov rcx, qword [rbp + 0x590]
xor rcx, rsp
call fcn.14018e5d0
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 0x140014960
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.14000b870
nop
mov r9d, 0x26
lea r8, str.nCsidl___d
lea edx, [r9 - 0x25]
lea rcx, [rsp + 0x38]
call fcn.14000ba50
xor ebx, ebx
lea r8, [rsp + 0x68]
lea edx, [rbx + 0x26]
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
test eax, eax
js 0x1400149f8
mov rdx, rdi
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
mov ebx, eax
lea rcx, [rsp + 0x70]
call qword [sym.imp.SHELL32.dll_SHGetMalloc]
test eax, eax
js 0x1400149f8
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.14000ba50
nop
lea rcx, [rsp + 0x38]
call fcn.14000ba00
mov eax, ebx
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rdi
ret
Function at 0x140014a30
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 [0x140260d50]
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.14000b870
nop
mov r9, rsi
lea r8, str.lpszDirectory___s
mov edx, 1
lea rcx, [rsp + 0x30]
call fcn.14000ba50
xor ebx, ebx
test rsi, rsi
je 0x140014c11
xor edx, edx
mov r8d, 0x208
lea rcx, [rbp + 0x5c0]
call fcn.140193010
xor edx, edx
mov r8d, 0x208
lea rcx, [rbp + 0x1a0]
call fcn.140193010
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 rdi, rax
cmp rax, 0xffffffffffffffff
je 0x140014c11
lea rdx, [0x140213bcc]
lea rcx, [rsp + 0x7c]
call qword [sym.imp.KERNEL32.dll_lstrcmpW]
test eax, eax
je 0x140014be4
lea rdx, [0x140213bd0]
lea rcx, [rsp + 0x7c]
call qword [sym.imp.KERNEL32.dll_lstrcmpW]
test eax, eax
je 0x140014be4
mov eax, dword [rsp + 0x50]
test al, 0x10
jne 0x140014ba6
lea rax, [rsp + 0x7c]
mov qword [rsp + 0x28], rax
lea rax, [rbp + 0x1a0]
mov qword [rsp + 0x20], rax
lea r9, [0x140212328]
or r8, 0xffffffffffffffff
mov edx, 0x104
lea rcx, [rbp + 0x3b0]
call fcn.14019119c
lea rcx, [rbp + 0x3b0]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
mov eax, dword [rsp + 0x50]
test al, 0x10
je 0x140014be4
lea rax, [rsp + 0x7c]
mov qword [rsp + 0x28], rax
lea rax, [rbp + 0x1a0]
mov qword [rsp + 0x20], rax
lea r9, [0x140212328]
or r8, 0xffffffffffffffff
mov edx, 0x104
lea rcx, [rbp + 0x3b0]
call fcn.14019119c
lea rcx, [rbp + 0x3b0]
call fcn.140014a30
lea rdx, [rsp + 0x50]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x140014b23
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FindClose]
mov ebx, 1
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
mov r9d, ebx
lea r8, str.return___08x
mov edx, 2
lea rcx, [rsp + 0x30]
call fcn.14000ba50
nop
lea rcx, [rsp + 0x30]
call fcn.14000ba00
mov eax, ebx
mov rcx, qword [rbp + 0x7d0]
xor rcx, rsp
call fcn.14018e5d0
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 0x140015760
Capabilities:
Get common file path

Disassembly:
push rbx
sub rsp, 0x8c0
mov qword [rsp + 0x60], 0xfffffffffffffffe
mov rax, qword [0x140260d50]
xor rax, rsp
mov qword [rsp + 0x8b0], rax
xor r8d, r8d
lea rdx, str.Tool_CheckTempUninstaller
lea rcx, [rsp + 0x50]
call fcn.14000b870
nop
xor ebx, ebx
mov word [rsp + 0x70], bx
xor edx, edx
mov r8d, 0x206
lea rcx, [rsp + 0x72]
call fcn.140193010
mov word [rsp + 0x6a0], bx
xor edx, edx
mov r8d, 0x206
lea rcx, [rsp + 0x6a2]
call fcn.140193010
mov word [rsp + 0x490], bx
xor edx, edx
mov r8d, 0x206
lea rcx, [rsp + 0x492]
call fcn.140193010
mov word [rsp + 0x280], bx
xor edx, edx
mov r8d, 0x206
lea rcx, [rsp + 0x282]
call fcn.140193010
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.1401912a0
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.140191794
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.14000ba50
nop
lea rcx, [rsp + 0x50]
call fcn.14000ba00
mov eax, ebx
mov rcx, qword [rsp + 0x8b0]
xor rcx, rsp
call fcn.14018e5d0
add rsp, 0x8c0
pop rbx
ret
Function at 0x140015910
Capabilities:
Check if file exists
Delete file
Get common file path
Move file
Set file attributes

Disassembly:
mov rax, rsp
push rdi
sub rsp, 0x470
mov qword [rsp + 0x30], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov rax, qword [0x140260d50]
xor rax, rsp
mov qword [rsp + 0x460], rax
xor r8d, r8d
lea rdx, str.Tool_DeleteTempUninstaller
lea rcx, [rsp + 0x20]
call fcn.14000b870
nop
call fcn.140050920
mov rbx, qword [rax + 8]
mov edi, 1
xor esi, esi
mov word [rsp + 0x250], si
xor edx, edx
mov r8d, 0x206
lea rcx, [rsp + 0x252]
call fcn.140193010
mov word [rsp + 0x40], si
xor edx, edx
mov r8d, 0x206
lea rcx, [rsp + 0x42]
call fcn.140193010
cmp dword [rbx + 0x780], esi
je 0x140015a42
mov edx, 0x104
lea rcx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
lea r9, str.UNINSTAL.tmp
lea r8, [rsp + 0x40]
lea rdx, str._s_s
lea rcx, [rsp + 0x40]
call qword [sym.imp.USER32.dll_wsprintfW]
lea edx, [rdi + 0x7f]
lea rcx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_SetFileAttributesW]
lea rcx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
mov r8d, 0x104
lea rdx, [rsp + 0x250]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea rcx, [rsp + 0x250]
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x140015a42
lea r8d, [rdi + 1]
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x250]
call qword [sym.imp.KERNEL32.dll_MoveFileExW]
test eax, eax
je 0x140015a40
xor edx, edx
lea r8d, [rdi + 3]
lea rcx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_MoveFileExW]
jmp 0x140015a42
mov edi, esi
mov r9d, edi
lea r8, str.return___08x
mov edx, 2
lea rcx, [rsp + 0x20]
call fcn.14000ba50
nop
lea rcx, [rsp + 0x20]
call fcn.14000ba00
mov eax, edi
mov rcx, qword [rsp + 0x460]
xor rcx, rsp
call fcn.14018e5d0
lea r11, [rsp + 0x470]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rsp, r11
pop rdi
ret
Function at 0x140015a90
Capabilities:
Enumerate files on windows

Disassembly:
push rdi
sub rsp, 0x6c0
mov qword [rsp + 0x30], 0xfffffffffffffffe
mov qword [rsp + 0x6d8], rbx
mov rax, qword [0x140260d50]
xor rax, rsp
mov qword [rsp + 0x6b0], rax
mov rdi, rcx
xor r8d, r8d
lea rdx, str.Tool_GetFileCountInFolder
lea rcx, [rsp + 0x20]
call fcn.14000b870
nop
mov r9, rdi
lea r8, str.lpszDirectory___s
mov edx, 1
lea rcx, [rsp + 0x20]
call fcn.14000ba50
xor ebx, ebx
test rdi, rdi
jne 0x140015afc
or ebx, 0xffffffff
jmp 0x140015bc9
xor edx, edx
mov r8d, 0x208
lea rcx, [rsp + 0x4a0]
call fcn.140193010
xor edx, edx
mov r8d, 0x208
lea rcx, [rsp + 0x290]
call fcn.140193010
mov rdx, rdi
lea rcx, [rsp + 0x290]
call qword [sym.imp.KERNEL32.dll_lstrcpyW]
lea rcx, [rsp + 0x290]
call qword [sym.imp.SHLWAPI.dll_PathAddBackslashW]
lea r8, [rsp + 0x290]
lea rdx, str._s.
lea rcx, [rsp + 0x4a0]
call qword [sym.imp.USER32.dll_wsprintfW]
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x4a0]
call qword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov rdi, rax
cmp rax, 0xffffffffffffffff
je 0x140015bc9
nop
lea rdx, [0x140213bcc]
lea rcx, [rsp + 0x6c]
call qword [sym.imp.KERNEL32.dll_lstrcmpW]
test eax, eax
je 0x140015bae
lea rdx, [0x140213bd0]
lea rcx, [rsp + 0x6c]
call qword [sym.imp.KERNEL32.dll_lstrcmpW]
test eax, eax
je 0x140015bae
inc ebx
lea rdx, [rsp + 0x40]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x140015b80
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FindClose]
mov r9d, ebx
lea r8, str.return___08x
mov edx, 2
lea rcx, [rsp + 0x20]
call fcn.14000ba50
nop
lea rcx, [rsp + 0x20]
call fcn.14000ba00
mov eax, ebx
mov rcx, qword [rsp + 0x6b0]
xor rcx, rsp
call fcn.14018e5d0
mov rbx, qword [rsp + 0x6d8]
add rsp, 0x6c0
pop rdi
ret