joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140021788
Capabilities:
Query or enumerate registry value

Disassembly:
push rbx
push rsi
push rdi
sub rsp, 0xd0
mov rax, qword [0x14010bfc0]
xor rax, rsp
mov qword [rsp + 0xc0], rax
mov rdi, r8
mov rbx, rdx
lea rcx, [0x14010f570]
lea r8, str.CIOUninstaller::GetParentIDPrefix__
mov edx, 2
mov rsi, r9
call fcn.140001000
and dword [rsp + 0x28], 0
lea rax, [rsp + 0x38]
mov r9d, 0x20019
xor r8d, r8d
mov rdx, rdi
mov rcx, rbx
mov qword [rsp + 0x20], rax
call fcn.14004e070
cmp qword [rsp + 0x38], 0xffffffffffffffff
je 0x140021870
mov ebx, 0x63
lea rcx, [rsp + 0x51]
xor edx, edx
mov r8, rbx
mov byte [rsp + 0x50], 0
call fcn.1400988d0
mov rcx, qword [rsp + 0x38]
lea rax, [rsp + 0x40]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x50]
lea r9, [rsp + 0x30]
lea rdx, str.ParentIdPrefix
xor r8d, r8d
mov dword [rsp + 0x30], 1
mov qword [rsp + 0x20], rax
mov dword [rsp + 0x40], ebx
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov ebx, eax
test eax, eax
jne 0x140021864
lea rcx, [rsp + 0x50]
call fcn.1400980d0
lea rdx, [rsp + 0x50]
mov rcx, rsi
mov r8, rax
call fcn.14000352c
mov rcx, qword [rsp + 0x38]
call fcn.14004e608
jmp 0x140021878
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
lea r8, str.CIOUninstaller::GetParentIDPrefix___returns_error_d
lea rcx, [0x14010f570]
mov r9d, ebx
mov edx, 4
call fcn.140001000
mov eax, ebx
mov rcx, qword [rsp + 0xc0]
xor rcx, rsp
call fcn.140061100
add rsp, 0xd0
pop rdi
pop rsi
pop rbx
ret
Function at 0x140029b04
Capabilities:
Get disk information

Disassembly:
mov r11, rsp
push rdi
sub rsp, 0x80
mov qword [rsp + 0x48], 0xfffffffffffffffe
mov qword [r11 + 0x10], rbx
mov qword [r11 + 0x18], rbp
mov qword [r11 + 0x20], rsi
mov rax, qword [0x14010bfc0]
xor rax, rsp
mov qword [rsp + 0x70], rax
mov rbp, rcx
mov byte [rsp + 0x60], 0
xor eax, eax
mov qword [r11 - 0x27], rax
mov dword [rsp + 0x69], eax
mov word [rsp + 0x6d], ax
mov byte [rsp + 0x6f], al
mov byte [rsp + 0x50], al
mov qword [r11 - 0x37], rax
mov dword [rsp + 0x59], eax
mov word [rsp + 0x5d], ax
mov byte [rsp + 0x5f], al
xor esi, esi
lea r9d, [rsi + 0x61]
lea r8, str._c:_
mov edx, reloc.OLEAUT32.dll_SafeArrayGetDim
lea rcx, [rsp + 0x60]
call fcn.14009841c
lea rcx, [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_GetDriveTypeA]
cmp eax, 4
jne 0x140029c5d
lea rcx, [0x1400cc8b8]
call fcn.1400980d0
mov r9, rax
lea r8, [rsp + 0x60]
mov edx, reloc.OLEAUT32.dll_SafeArrayGetDim
lea rcx, [rsp + 0x50]
call fcn.140097ed0
mov qword [rsp + 0x40], reloc.OLEAUT32.dll_SafeArrayDestroy
and qword [rsp + 0x38], 0
mov byte [rsp + 0x28], 0
lea rcx, [rsp + 0x50]
call fcn.1400980d0
mov r8, rax
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x20]
call fcn.14000352c
nop
mov rdi, qword [rbp + 0x28]
lea r9, [rsp + 0x20]
mov r8, qword [rdi + 8]
mov rdx, rdi
mov rcx, rbp
call fcn.14000739c
mov rbx, rax
mov edx, 1
mov rcx, rbp
call fcn.1400064b0
mov qword [rdi + 8], rbx
mov rcx, qword [rbx + 8]
mov qword [rcx], rbx
cmp qword [rsp + 0x40], 0x10
jb 0x140029c2c
mov rcx, qword [rsp + 0x28]
call fcn.14006127c
mov qword [rsp + 0x40], reloc.OLEAUT32.dll_SafeArrayDestroy
and qword [rsp + 0x38], 0
mov byte [rsp + 0x28], 0
lea r9, [rsp + 0x50]
lea r8, str.CNetworkDriveUninstaller:Adding_to_lDrive:_s__for_GetNetworkDriveList
mov edx, reloc.OLEAUT32.dll_SafeArrayGetDim
lea rcx, [0x14010f570]
call fcn.140001000
inc esi
cmp esi, 0x1a
jl 0x140029b65
xor eax, eax
mov rcx, qword [rsp + 0x70]
xor rcx, rsp
call fcn.140061100
lea r11, [rsp + 0x80]
mov rbx, qword [r11 + 0x18]
mov rbp, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret
Function at 0x14002dba4
Capabilities:
Check for time delay via gettickcount

Disassembly:
mov rax, rsp
push rdi
sub rsp, 0x60
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov qword [rax + 0x18], rbx
mov rax, qword [0x14010bfc0]
xor rax, rsp
mov qword [rsp + 0x50], rax
mov rdi, rdx
mov rbx, rcx
lea r8, str.CUninstallerProgress::SetText___n
mov edx, 2
lea rcx, [0x14010f570]
call fcn.140001000
lea rcx, [rbx + 0x3d0]
test rcx, rcx
je 0x14002dbf6
mov rcx, qword [rcx + 0x40]
call qword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x14002dccb
call qword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [rbx + 0xaec]
cmp eax, 0x64
jbe 0x14002dccb
mov qword [rsp + 0x48], reloc.OLEAUT32.dll_SafeArrayDestroy
and qword [rsp + 0x40], 0
mov byte [rsp + 0x30], 0
lea rdx, [rbx + 0x680]
or r9, 0xffffffffffffffff
xor r8d, r8d
lea rcx, [rsp + 0x28]
call fcn.140002458
nop
test rdi, rdi
je 0x14002dc90
mov rcx, rdi
call fcn.1400980d0
test rax, rax
je 0x14002dc90
lea rcx, [0x1400c5cbc]
call fcn.1400980d0
mov r8, rax
lea rdx, [0x1400c5cbc]
lea rcx, [rsp + 0x28]
call fcn.14000627c
mov rcx, rdi
call fcn.1400980d0
mov r8, rax
mov rdx, rdi
lea rcx, [rsp + 0x28]
call fcn.14000627c
lea rdx, [rsp + 0x30]
cmp qword [rsp + 0x48], 0x10
cmovae rdx, qword [rsp + 0x30]
lea rcx, [rbx + 0x328]
call fcn.14006ccf0
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [rbx + 0xaec], eax
cmp qword [rsp + 0x48], 0x10
jb 0x14002dccb
mov rcx, qword [rsp + 0x30]
call fcn.14006127c
lea r8, str.CUninstallerProgress::SetText___n
mov edx, 4
lea rcx, [0x14010f570]
call fcn.140001000
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.140061100
mov rbx, qword [rsp + 0x80]
add rsp, 0x60
pop rdi
ret
Function at 0x14002f740
Capabilities:
Resume thread

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x30
mov rdi, rcx
lea rsi, [0x14010f570]
lea r8, str.CUninstallerProgress::Run___n
mov rcx, rsi
mov edx, 2
call fcn.140001000
mov r11, qword [rdi + 0xaf0]
cmp dword [r11 + 0x204], 0
jne 0x14002f838
and qword [rsp + 0x28], 0
lea rcx, [0x14002f6c4]
xor r9d, r9d
xor r8d, r8d
mov rdx, rdi
mov dword [rsp + 0x20], 4
call fcn.140086794
mov rbx, rax
test rax, rax
jne 0x14002f7ca
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea r8, str.AfxBeginThread__ThreadProcStub___progress___return_error_0x_x__n
lea edx, [rbx + 8]
mov r9d, eax
mov rcx, rsi
call fcn.140001000
jmp 0x14002f838
mov rcx, qword [rax + 0x58]
and dword [rax + 0x50], 0
call qword [sym.imp.KERNEL32.dll_ResumeThread]
cmp eax, 0xffffffff
jne 0x14002f7fc
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea r8, str.pThread__ResumeThread___returned__1__error___d__n
mov edx, 8
mov r9d, eax
mov rcx, rsi
call fcn.140001000
jmp 0x14002f82a
lea r8, str.Going_to_Display_the_Progress_Dialog.
mov edx, 1
mov rcx, rsi
call fcn.140001000
mov r11, qword [rdi]
mov rcx, rdi
call qword [r11 + 0x298]
mov rcx, qword [rbx + 0x58]
or edx, 0xffffffff
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rax, qword [rbx]
mov edx, 1
mov rcx, rbx
call qword [rax + reloc.oledlg.dll_OleUIBusyA]
lea r8, str.CUninstallerProgress::Run___n
mov edx, 4
mov rcx, rsi
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
jmp fcn.140001000

Function at 0x14002f928
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
sub rsp, 0x850
mov rax, qword [0x14010bfc0]
xor rax, rsp
mov qword [rsp + 0x840], rax
mov rbp, r8
mov rdi, rcx
mov rsi, rdx
lea r8, str.CRegistryDeviceInstanceFilter::IsKnownSubKey____n
lea rcx, [0x14010f570]
mov edx, 2
call fcn.140001000
xor ebx, ebx
mov r8, rbp
mov rdx, rsi
mov rcx, rdi
mov qword [rsp + 0x30], rbx
call fcn.14002f904
cmp eax, ebx
je 0x14002f98d
mov ebx, 1
jmp 0x14002fa32
lea rax, [rsp + 0x30]
mov r9d, 0x20019
xor r8d, r8d
mov rdx, rbp
mov rcx, rsi
mov dword [rsp + 0x28], ebx
mov qword [rsp + 0x20], rax
call fcn.14004e070
cmp eax, ebx
jne 0x14002fa32
lea rcx, [rsp + 0x41]
xor edx, edx
mov r8d, 0x7ff
mov byte [rsp + 0x40], bl
call fcn.1400988d0
mov edx, 0x800
lea rcx, [rsp + 0x40]
mov dword [rsp + 0x38], edx
call fcn.1400990e0
mov rcx, qword [rsp + 0x30]
lea r11, [rsp + 0x38]
lea rax, [rsp + 0x40]
mov qword [rsp + 0x28], r11
lea rdx, str.DeviceInstance
xor r9d, r9d
xor r8d, r8d
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
cmp eax, ebx
jne 0x14002fa28
mov rax, qword [rdi]
lea r8, [rdi + 8]
lea rdx, [rsp + 0x40]
mov rcx, rdi
call qword [rax + 0x20]
mov ecx, 1
cmp eax, ebx
cmovne ebx, ecx
mov rcx, qword [rsp + 0x30]
call fcn.14004e608
lea r8, str.CRegistryDeviceInstanceFilter::IsKnownSubKey____n
lea rcx, [0x14010f570]
mov edx, 4
call fcn.140001000
mov eax, ebx
mov rcx, qword [rsp + 0x840]
xor rcx, rsp
call fcn.140061100
mov rbx, qword [rsp + 0x888]
add rsp, 0x850
pop rdi
pop rsi
pop rbp
ret
Function at 0x14002fa70
Capabilities:
Query or enumerate registry key

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
sub rsp, 0x1a0
mov rax, qword [0x14010bfc0]
xor rax, rsp
mov qword [rsp + 0x190], rax
mov rbp, rcx
mov rbx, rdx
mov qword [rsp + 0x70], rdx
lea rcx, [0x14010f570]
lea r8, str.CRegistryUninstaller::RegCountKeys____n
mov edx, 2
call fcn.140001000
xor edi, edi
lea rcx, [rsp + 0x81]
xor edx, edx
mov r8d, 0x103
mov esi, edi
mov byte [rsp + 0x80], dil
call fcn.1400988d0
mov qword [rsp + 0x58], rdi
mov qword [rsp + 0x50], rdi
mov qword [rsp + 0x48], rdi
mov qword [rsp + 0x40], rdi
mov qword [rsp + 0x38], rdi
lea rax, [rsp + 0x60]
mov qword [rsp + 0x30], rdi
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, rbx
mov qword [rsp + 0x28], rdi
mov qword [rsp + 0x68], rdi
mov qword [rsp + 0x20], rax
mov dword [rsp + 0x60], edi
call qword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyA]
mov r11d, dword [rsp + 0x60]
cmp r11d, edi
je 0x14002fc0a
test r11d, r11d
je 0x14002fc0a
lea r8, [rsp + 0x80]
mov r9d, 0x103
mov edx, edi
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyA]
and dword [rsp + 0x28], 0
lea rax, [rsp + 0x68]
lea rdx, [rsp + 0x80]
mov r9d, 0x20019
xor r8d, r8d
mov rcx, rbx
mov qword [rsp + 0x20], rax
call fcn.14004e070
lea rdx, str.PnpResources
lea rcx, [rsp + 0x80]
mov ebx, eax
call fcn.14009a818
mov ecx, dword [0x14011f4c0]
test eax, eax
mov eax, 1
cmove ecx, eax
mov dword [0x14011f4c0], ecx
test ebx, ebx
jne 0x14002fbf9
movsx ecx, byte [rsp + 0x80]
call fcn.14009a8b0
test eax, eax
je 0x14002fbf9
lea eax, [rbx + 1]
cmp dword [0x14011f4c0], eax
jne 0x14002fbe0
lea rdx, str.Wow6432Node
lea rcx, [rsp + 0x80]
call fcn.14009a818
test eax, eax
jne 0x14002fbe0
and dword [0x14011f4c0], eax
jmp 0x14002fbf9
mov rdx, qword [rsp + 0x68]
mov rcx, rbp
call fcn.14002fa70
mov rcx, qword [rsp + 0x68]
add esi, eax
call fcn.14004e608
mov rbx, qword [rsp + 0x70]
inc edi
cmp edi, dword [rsp + 0x60]
jb 0x14002fb33
lea r8, str.CRegistryUninstaller::RegCountKeys____n
lea rcx, [0x14010f570]
mov edx, 4
call fcn.140001000
mov eax, dword [rsp + 0x60]
add eax, esi
mov rcx, qword [rsp + 0x190]
xor rcx, rsp
call fcn.140061100
mov rbx, qword [rsp + 0x1d0]
add rsp, 0x1a0
pop rdi
pop rsi
pop rbp
ret
Function at 0x14003035c
Capabilities:
Delete registry value

Disassembly:
mov rax, rsp
push rbp
push rsi
push rdi
sub rsp, 0x880
mov qword [rsp + 0x38], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov rax, qword [0x14010bfc0]
xor rax, rsp
mov qword [rsp + 0x870], rax
mov rdi, r9
mov rsi, r8
mov rbx, rdx
lea r8, str.CRegistryUninstaller::RegDeleteValue____n
mov edx, 2
lea rbp, [0x14010f570]
mov rcx, rbp
call fcn.140001000
and qword [rsp + 0x30], 0
mov byte [rsp + 0x70], 0
xor edx, edx
mov r8d, 0x7ff
lea rcx, [rsp + 0x71]
call fcn.1400988d0
mov qword [rsp + 0x20], rdi
mov r9, rsi
lea r8, str._s__s
mov edx, 0x800
lea rcx, [rsp + 0x70]
call fcn.14009841c
mov qword [rsp + 0x60], reloc.OLEAUT32.dll_SafeArrayDestroy
and qword [rsp + 0x58], 0
mov byte [rsp + 0x48], 0
lea r8, [rsp + 0x30]
xor edx, edx
mov rcx, rbx
call fcn.14002f85c
mov ebx, eax
test eax, eax
je 0x140030488
mov ecx, 2
call fcn.14003ff90
lea rcx, [rsp + 0x40]
call fcn.14004d614
lea r9, [rsp + 0x48]
cmp qword [rsp + 0x60], 0x10
cmovae r9, qword [rsp + 0x48]
mov qword [rsp + 0x20], rsi
lea r8, str._s__when_OpenRegSecureKey__s_n
mov edx, 0x20
mov rcx, rbp
call fcn.140001000
mov ecx, ebx
call fcn.14004d8f0
mov r9, rax
lea r8, str.RegOpenKeyEx
lea rdx, str._s_failed_with__s_n
mov rcx, rbp
call fcn.14004b7ec
nop
cmp qword [rsp + 0x60], 0x10
jb 0x140030481
mov rcx, qword [rsp + 0x48]
call fcn.14006127c
mov eax, ebx
jmp 0x140030529
mov r9, rdi
lea r8, str.Deleting_value__s
mov edx, 0x20
mov rcx, rbp
call fcn.140001000
mov rdx, rdi
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
mov ebx, eax
test eax, eax
je 0x1400304f6
mov ecx, 2
call fcn.14003ff90
lea rcx, [rsp + 0x40]
call fcn.14004d614
lea r9, [rsp + 0x48]
cmp qword [rsp + 0x60], 0x10
cmovae r9, qword [rsp + 0x48]
lea rax, [rsp + 0x70]
mov qword [rsp + 0x20], rax
lea r8, str._s__when_RegDeleteValue___s_n
mov edx, 0x20
mov rcx, rbp
call fcn.140001000
mov rcx, qword [rsp + 0x30]
call fcn.14004e608
lea r8, str.CRegistryUninstaller::RegDeleteValue____n
mov edx, 4
mov rcx, rbp
call fcn.140001000
nop
cmp qword [rsp + 0x60], 0x10
jb 0x140030527
mov rcx, qword [rsp + 0x48]
call fcn.14006127c
mov eax, ebx
mov rcx, qword [rsp + 0x870]
xor rcx, rsp
call fcn.140061100
mov rbx, qword [rsp + 0x8a0]
add rsp, 0x880
pop rdi
pop rsi
pop rbp
ret
Function at 0x140038e54
Capabilities:
Link many functions at runtime

Disassembly:
push rbx
sub rsp, 0x20
and qword [rcx + 8], 0
and qword [rcx + 0x10], 0
and qword [rcx + 0x18], 0
and qword [rcx + 0x20], 0
and qword [rcx + 0x28], 0
and qword [rcx + 0x30], 0
lea rax, vtable.CNtmsApi.0
mov rbx, rcx
mov qword [rcx], rax
lea rcx, str.ntmsapi.dll
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov qword [rbx + 8], rax
test rax, rax
jne 0x140038ec0
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call fcn.14004d8f0
lea rdx, str.LoadLibrary__ntmsapi.dll___failed_with__s_n
lea rcx, [0x14010f570]
mov r8, rax
call fcn.14004b7ec
jmp 0x140038f28
lea rdx, str.OpenNtmsSessionA
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [rbx + 8]
lea rdx, str.CloseNtmsSession
mov qword [rbx + 0x10], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [rbx + 8]
lea rdx, str.EnumerateNtmsObject
mov qword [rbx + 0x18], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [rbx + 8]
lea rdx, str.GetNtmsObjectInformationA
mov qword [rbx + 0x20], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [rbx + 8]
lea rdx, str.DeleteNtmsDrive
mov qword [rbx + 0x28], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rbx + 0x30], rax
mov rax, rbx
add rsp, 0x20
pop rbx
ret
Function at 0x14003ea68
Capabilities:
Query or enumerate registry value

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov dword [rax + 0x10], edx
push rdi
sub rsp, 0x30
and dword [rax - 0x10], 0
lea rax, [rax + 0x18]
mov rdi, rcx
lea rdx, str.SoftwareMicrosoftWindowsCurrentVersion
mov r9d, 0x20019
xor r8d, r8d
mov rcx, 0xffffffff80000002
mov qword [rsp + 0x20], rax
call fcn.14004e070
mov ebx, eax
test eax, eax
jne 0x14003eadc
mov rcx, qword [rsp + 0x50]
lea rax, [rsp + 0x48]
lea rdx, str.ProgramFilesDir
mov qword [rsp + 0x28], rax
xor r9d, r9d
xor r8d, r8d
mov qword [rsp + 0x20], rdi
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov rcx, qword [rsp + 0x50]
mov ebx, eax
call fcn.14004e608
mov eax, ebx
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rdi
ret

Function at 0x14003eaec
Capabilities:
Check mutex on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov rdi, rcx
lea rsi, [0x14010f570]
lea r8, str.IsFirstInstance_n
mov rcx, rsi
mov edx, 2
call fcn.140001000
lea r8, str.Uninstaller_Mutex_39217DC6_7A0F_419A_A460_38818CBD9518
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateMutexA]
xor ebx, ebx
mov qword [rdi + 0x758], rax
cmp rax, rbx
je 0x14003eb73
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x14003eb6a
mov rcx, qword [rdi + 0x758]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rdx, str.CreateMutex__ERROR_ALREADY_EXISTS_n
mov rcx, rsi
mov qword [rdi + 0x758], rbx
call fcn.14004b9f0
jmp 0x14003eb87
lea rdx, str.Uninstaller_MUTEX_was_created_n
jmp 0x14003eb7a
lea rdx, str.Uninstaller_MUTEX_was_not_created_n
mov rcx, rsi
call fcn.14004b9f0
mov ebx, 1
lea r8, str.IsFirstInstance_n
mov edx, 4
mov rcx, rsi
call fcn.140001000
mov rsi, qword [rsp + 0x38]
mov eax, ebx
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret

Function at 0x14003ebfc
Capabilities:
Move file

Disassembly:
push rbx
sub rsp, 0x20
mov rcx, rdx
xor edx, edx
lea r8d, [rdx + 4]
call qword [sym.imp.KERNEL32.dll_MoveFileExA]
xor ebx, ebx
cmp eax, ebx
je 0x14003ec21
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetLastError]
jmp 0x14003ec29
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov eax, ebx
add rsp, 0x20
pop rbx
ret
Function at 0x140041d9c
Capabilities:
Get common file path

Disassembly:
push rbx
sub rsp, 0x140
mov rax, qword [0x14010bfc0]
xor rax, rsp
mov qword [rsp + 0x130], rax
mov rax, qword [str._windows__]
lea rcx, [rsp + 0x20]
mov rbx, rdx
mov qword [rcx], rax
movzx eax, word [0x1400d2570]
xor edx, edx
mov word [rcx + 8], ax
mov al, byte [0x1400d2572]
mov r8d, 0xf9
mov byte [rcx + 0xa], al
lea rcx, [rsp + 0x2b]
call fcn.1400988d0
call fcn.14004c628
test eax, eax
jne 0x140041e15
call fcn.14004c7b0
test eax, eax
jne 0x140041e15
lea r8d, [rax + 0x23]
lea rdx, [rsp + 0x20]
xor r9d, r9d
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathA]
lea rcx, [rsp + 0x20]
call fcn.1400980d0
lea rdx, [rsp + 0x20]
mov rcx, rbx
mov r8, rax
call fcn.14000352c
lea rcx, str.hpzinstall.log
call fcn.1400980d0
lea rdx, str.hpzinstall.log
mov rcx, rbx
mov r8, rax
call fcn.14000627c
mov rcx, qword [rsp + 0x130]
xor rcx, rsp
call fcn.140061100
add rsp, 0x140
pop rbx
ret
Function at 0x140041e68
Capabilities:
Enumerate files on windows
Enumerate files recursively

Disassembly:
push rbx
push rsi
push rdi
sub rsp, 0x3d0
mov qword [rsp + 0x58], 0xfffffffffffffffe
mov rax, qword [0x14010bfc0]
xor rax, rsp
mov qword [rsp + 0x3c0], rax
mov rdi, rcx
mov qword [rsp + 0x20], rdx
mov r9, r8
lea r8, [0x1400c63b8]
mov edx, 0x104
lea rcx, [rsp + 0x2b0]
call fcn.14009841c
lea rdx, [rsp + 0x2b0]
mov rcx, qword [rdi + 8]
call fcn.14002dba4
lea rdx, [rsp + 0x60]
lea rcx, [rsp + 0x2b0]
call qword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov rsi, rax
cmp rax, 0xffffffffffffffff
jne 0x140041ee7
lea eax, [rsi + 0x13]
jmp 0x1400420e3
lea rdx, [0x1400c6360]
lea rcx, [rsp + 0x8c]
call qword [sym.imp.KERNEL32.dll_lstrcmpA]
test eax, eax
je 0x140042069
lea rdx, [0x1400c635c]
lea rcx, [rsp + 0x8c]
call qword [sym.imp.KERNEL32.dll_lstrcmpA]
test eax, eax
je 0x140042069
mov byte [rsp + 0x1a0], 0
mov r8d, 0x104
lea rdx, [rsp + 0x1a0]
lea rcx, [rsp + 0x2b0]
call fcn.140054e54
lea r11, [rsp + 0x1a0]
test r11, r11
je 0x140041f85
lea rcx, [rsp + 0x1a0]
call fcn.1400980d0
test rax, rax
je 0x140041f85
cmp byte [rsp + rax + 0x19f], 0x5c
je 0x140041f85
lea rdx, [rax + 2]
lea r8, [0x1400c55c0]
lea rcx, [rsp + 0x1a0]
call fcn.140098ed8
lea r8, [rsp + 0x8c]
mov edx, 0x104
lea rcx, [rsp + 0x1a0]
call fcn.140098ed8
lea r9, [rsp + 0x1a0]
lea r8, str.Found__s_n
mov edx, 0x20
lea rcx, [0x14010f570]
call fcn.140001000
test byte [rsp + 0x60], 0x10
je 0x140041ffd
lea r9, [rsp + 0x1a0]
lea r8, str.Deleting_all_files_from_directory__s_n
mov edx, 1
lea rcx, [0x14010f570]
call fcn.140001000
lea r8, [rsp + 0x1a0]
lea rdx, [0x1400c63c0]
mov rcx, rdi
call fcn.140041e68
mov qword [rsp + 0x50], reloc.OLEAUT32.dll_SafeArrayDestroy
and qword [rsp + 0x48], 0
mov byte [rsp + 0x38], 0
lea rcx, [rsp + 0x1a0]
call fcn.1400980d0
mov r8, rax
lea rdx, [rsp + 0x1a0]
lea rcx, [rsp + 0x30]
call fcn.14000352c
nop
lea rdx, [rsp + 0x30]
lea rcx, [0x14011f4d0]
call fcn.1400418f8
nop
cmp qword [rsp + 0x50], 0x10
jb 0x140042058
mov rcx, qword [rsp + 0x38]
call fcn.14006127c
lea rdx, [rsp + 0x2b0]
mov rcx, qword [rdi + 8]
call fcn.14002dba4
lea rdx, [rsp + 0x60]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
je 0x140042088
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetLastError]
jmp 0x140041ee7
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
cmp eax, 0x12
je 0x1400420c5
test eax, eax
je 0x140041ee7
mov ecx, eax
call fcn.14004d8f0
mov r9, rax
lea r8, str.FindNextFile
lea rdx, str._s_failed_returning__s_n
lea rcx, [0x14010f570]
call fcn.14004b7ec
mov eax, ebx
jmp 0x1400420e3
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_FindClose]
lea rdx, [0x1400c49dc]
mov rcx, qword [rdi + 8]
call fcn.14002dba4
mov eax, reloc.OLEAUT32.dll_SafeArrayGetUBound
mov rcx, qword [rsp + 0x3c0]
xor rcx, rsp
call fcn.140061100
add rsp, 0x3d0
pop rdi
pop rsi
pop rbx
ret
Function at 0x14004b348
Capabilities:
Enumerate gui resources

Disassembly:
sub rsp, 0x28
cmp qword [rcx + 0x68], 0
je 0x14004b363
mov rdx, rcx
lea rcx, [0x14004b2bc]
call qword [sym.imp.USER32.dll_EnumWindows]
xor eax, eax
add rsp, 0x28
ret

Function at 0x14004b454
Capabilities:
Print debug messages
Write file on windows

Disassembly:
test r8, r8
je 0x14004b4c4
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x30
mov rbx, r8
mov edi, edx
mov rsi, rcx
call fcn.14004b3cc
and dword [rsp + 0x50], 0
mov rcx, rbx
call fcn.1400980d0
mov rcx, qword [rsi + 0xfb98]
and qword [rsp + 0x20], 0
lea r9, [rsp + 0x50]
mov r8, rax
mov rdx, rbx
call qword [sym.imp.KERNEL32.dll_WriteFile]
bt edi, 8
jb 0x14004b4ac
bt edi, 0xb
jae 0x14004b4b5
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret
Function at 0x14004c55c
Capabilities:
Check os version

Disassembly:
sub rsp, 0x28
cmp dword [0x14011fee0], 0
jne 0x14004c5f6
lea rcx, [0x14011fee0]
mov dword [0x14011fee0], 0x9c
call qword [sym.imp.KERNEL32.dll_GetVersionExA]
test eax, eax
jne 0x14004c59f
lea rcx, [0x14011fee0]
mov dword [0x14011fee0], 0x94
call qword [sym.imp.KERNEL32.dll_GetVersionExA]
mov ecx, dword [0x14011fee4]
mov dl, byte [0x14011ff7a]
mov r8d, 1
mov dword [0x14011ff7c], r8d
lea r9d, [r8 + 1]
cmp ecx, 5
jne 0x14004c5da
cmp dword [0x14011fee8], r9d
jne 0x14004c5f6
cmp dl, r8b
jne 0x14004c5f6
mov eax, r8d
mov dword [0x14011fee8], eax
jmp 0x14004c5e0
mov eax, dword [0x14011fee8]
cmp ecx, 6
jne 0x14004c5f6
test eax, eax
jne 0x14004c5f6
cmp dl, r8b
cmovne eax, r9d
mov dword [0x14011fee8], eax
add rsp, 0x28
ret
Function at 0x14004e6ec
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r12
sub rsp, 0x20
mov esi, edx
shr edx, 4
mov ebp, 1
add dx, bp
movzx r9d, r8w
mov rbx, rcx
movzx r8d, dx
lea edx, [rbp + 5]
and esi, 0xf
call qword [sym.imp.KERNEL32.dll_FindResourceExA]
xor r12d, r12d
cmp rax, r12
je 0x14004e778
mov rdx, rax
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LoadResource]
cmp rax, r12
je 0x14004e778
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
mov rdi, rax
cmp rax, r12
je 0x14004e778
mov ecx, r12d
cmp word [rdi], r12w
je 0x14004e76d
movzx ebx, word [rdi]
cmp ecx, esi
je 0x14004e795
movsxd rax, ebx
lea rdi, [rdi + rax*2 + 2]
jmp 0x14004e771
add rdi, 2
add ecx, ebp
cmp ecx, 0x10
jl 0x14004e756
xor eax, eax
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop r12
ret
lea ecx, [rbx + 1]
mov eax, 2
movsxd rbp, ecx
mov rcx, 0xffffffffffffffff
mul rbp
cmovo rax, rcx
mov rcx, rax
call fcn.140061284
mov rsi, rax
cmp rax, r12
je 0x14004e7d5
lea r8, [rdi + 2]
mov r9, rbx
mov rdx, rbp
mov rcx, rax
call fcn.14009be70
mov word [rsi + rbx*2], r12w
mov rax, rsi
jmp 0x14004e77a

Function at 0x14004ee40
Capabilities:
Identify system language via api

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r12
sub rsp, 0x20
mov rdi, r9
mov ebp, r8d
mov r12, rdx
mov rsi, rcx
test r9, r9
je 0x14004ee86
mov rdx, r9
call fcn.14004e800
mov rdx, rdi
mov rcx, rsi
movzx ebx, ax
shl bx, 0xa
call fcn.14004e7dc
jmp 0x14004eeac
call qword [sym.imp.KERNEL32.dll_GetUserDefaultLangID]
mov rcx, rsi
movzx edx, ax
call fcn.14004e81c
movzx ebx, ax
shl bx, 0xa
call qword [sym.imp.KERNEL32.dll_GetUserDefaultLangID]
mov ecx, 0x3ff
and ax, cx
or ax, bx
mov r8d, ebp
mov rdx, r12
movzx r9d, ax
mov rcx, rsi
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop r12
jmp fcn.14004e874