joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14007f6b0
Capabilities:
Check if file exists
Query or enumerate registry key

Disassembly:
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x260
mov rax, qword [0x1403a0088]
xor rax, rsp
mov qword [rsp + 0x250], rax
movzx eax, word [0x140455b60]
lea rcx, str.X:windows_system32configSOFTWARE
xor edi, edi
mov word [str.X:windows_system32configSOFTWARE], ax
mov esi, edi
mov qword [rsp + 0x30], rdi
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x14007f80b
lea r8, str.X:windows_system32configSOFTWARE
mov rcx, 0xffffffff80000002
lea rdx, [0x1403269d0]
call qword [sym.imp.ADVAPI32.dll_RegLoadKeyW]
test eax, eax
jne 0x14007f80b
lea rax, [rsp + 0x30]
mov r9d, 0x20019
lea r8d, [rdi + 4]
mov qword [rsp + 0x20], rax
lea rdx, str.PESOFTWAREMicrosoftWindows_NTCurrentVersionProfileList
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x14007f7f7
mov rcx, qword [rsp + 0x30]
lea r8, [rsp + 0x40]
mov r9d, 0x104
xor edx, edx
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyW]
cmp eax, 0x103
je 0x14007f7ec
mov qword [rsp + 0x270], rbx
nop word [rax + rax]
mov rcx, qword [rsp + 0x30]
lea r8, str.ProfileImagePath
lea rdx, [rsp + 0x40]
inc edi
call fcn.14005f970
mov rbx, rax
test rax, rax
je 0x14007f7b7
xor r8d, r8d
lea rdx, str.:Users
mov rcx, rax
call qword [sym.imp.SHLWAPI.dll_PathMatchSpecExW]
test eax, eax
je 0x14007f7d8
mov rcx, qword [rsp + 0x30]
lea r8, [rsp + 0x40]
mov r9d, 0x104
mov edx, edi
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyW]
cmp eax, 0x103
jne 0x14007f780
jmp 0x14007f7e4
mov rcx, rbx
call qword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
mov rsi, rax
mov rbx, qword [rsp + 0x270]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea rdx, [0x140326a80]
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegUnLoadKeyW]
mov rax, rsi
mov rcx, qword [rsp + 0x250]
xor rcx, rsp
call fcn.140125a70
mov rsi, qword [rsp + 0x278]
add rsp, 0x260
pop rdi
ret
Function at 0x14007f830
Capabilities:
Check if file exists

Disassembly:
push rbx
sub rsp, 0x20
cmp dword [0x140455d78], 0
mov ebx, 2
je 0x14007f930
mov word [str.X:windows_system32configSYSTEM], cx
lea rdx, [0x140326b68]
mov word [str.X:windows_system32configSOFTWARE], cx
mov word [str.X:windows_system32configDEFAULT], cx
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegUnLoadKeyW]
lea rdx, [0x140326b80]
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegUnLoadKeyW]
lea rdx, [0x140326b38]
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegUnLoadKeyW]
lea rcx, str.X:windows_system32configSYSTEM
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x14007f8c7
lea r8, str.X:windows_system32configSYSTEM
mov rcx, 0xffffffff80000002
lea rdx, [0x140326b50]
call qword [sym.imp.ADVAPI32.dll_RegLoadKeyW]
mov ebx, eax
lea rcx, str.X:windows_system32configSOFTWARE
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x14007f8f5
lea r8, str.X:windows_system32configSOFTWARE
mov rcx, 0xffffffff80000002
lea rdx, [0x140326bc8]
call qword [sym.imp.ADVAPI32.dll_RegLoadKeyW]
mov ebx, eax
lea rcx, str.X:windows_system32configDEFAULT
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x14007f923
lea r8, str.X:windows_system32configDEFAULT
mov rcx, 0xffffffff80000002
lea rdx, [0x140326be0]
call qword [sym.imp.ADVAPI32.dll_RegLoadKeyW]
mov ebx, eax
xor eax, eax
test ebx, ebx
sete al
add rsp, 0x20
pop rbx
ret
mov eax, 1
add rsp, 0x20
pop rbx
ret

Function at 0x14007fad0
Capabilities:
Delete directory
Set file attributes

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
mov edx, 1
mov rbx, rcx
lea r8d, [rdx + 2]
call fcn.140052070
mov rdi, rax
cmp rax, 0xffffffffffffffff
je 0x14007fb12
xor r9d, r9d
lea rdx, [0x14007f9a0]
mov r8, rbx
mov rcx, rax
call fcn.140052330
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov edx, 0x80
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_SetFileAttributesW]
mov rcx, rbx
mov rbx, qword [rsp + 0x50]
add rsp, 0x40
pop rdi
jmp qword [sym.imp.KERNEL32.dll_RemoveDirectoryW]

Function at 0x14007fb40
Capabilities:
Check if file exists

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x470
mov rax, qword [0x1403a0088]
xor rax, rsp
mov qword [rsp + 0x460], rax
cmp dword [0x140455d78], 0
mov ebx, r8d
mov edi, edx
mov rsi, rcx
jne 0x14007fbda
lea rcx, str.X:WindowsSystem32cmd.exe
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x14007fbda
xor edx, edx
lea rcx, [rsp + 0x50]
mov r8d, 0x410
call fcn.1402767a0
lea r9, str.X:WindowsSystem32cmd.exe
mov qword [rsp + 0x20], rsi
lea r8, [0x140326bf8]
mov edx, 0x208
lea rcx, [rsp + 0x50]
call fcn.14005f700
neg ebx
lea rcx, [rsp + 0x50]
mov qword [rsp + 0x38], rcx
sbb eax, eax
mov dword [rsp + 0x28], edi
add eax, 2
mov dword [rsp + 0x20], eax
call fcn.14005dea0
jmp 0x14007fbdc
xor eax, eax
mov rcx, qword [rsp + 0x460]
xor rcx, rsp
call fcn.140125a70
lea r11, [rsp + 0x470]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret
Function at 0x14007fc10
Capabilities:
Check if file exists
Set file attributes

Disassembly:
push rbx
push rbp
sub rsp, 0x448
mov rax, qword [0x1403a0088]
xor rax, rsp
mov qword [rsp + 0x430], rax
mov ebp, edx
mov rbx, rcx
test rcx, rcx
jne 0x14007fc3d
xor eax, eax
jmp 0x14007fda6
cmp dword [0x140455d78], 0
mov qword [rsp + 0x470], rsi
jne 0x14007fc5b
call fcn.14005db60
mov rdx, rbx
call fcn.14005ec40
mov edx, 0x80
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_SetFileAttributesW]
mov rcx, rbx
call qword [sym.imp.SHLWAPI.dll_PathIsDirectoryW]
cmp dword [0x140455d78], 0
mov esi, eax
jne 0x14007fd1d
mov rcx, rbx
test eax, eax
je 0x14007fcac
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x14007fcf7
mov rcx, rbx
call fcn.14005f250
mov rcx, rbx
call fcn.140060640
mov rcx, rbx
call fcn.140054130
jmp 0x14007fcf7
mov qword [rsp + 0x440], rdi
call fcn.14004baa0
mov rcx, rax
mov rdi, rax
call qword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
test rdi, rdi
je 0x14007fcef
mov rcx, rdi
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x14007fcef
mov rcx, rdi
call fcn.14005f250
mov rcx, rdi
call fcn.140060640
mov rcx, rdi
call fcn.140054130
mov rdi, qword [rsp + 0x440]
cmp dword [0x140455d78], 0
jne 0x14007fd1d
mov rcx, rbx
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x14007fd1d
mov rdx, rbx
call fcn.140051630
mov rcx, rbx
call fcn.140051300
test esi, esi
mov rsi, qword [rsp + 0x470]
je 0x14007fd94
lea rcx, str.X:WindowsSystem32cmd.exe
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x14007fd8a
mov r8d, 1
mov edx, ebp
mov rcx, rbx
call fcn.14007fb40
test eax, eax
jne 0x14007fd81
mov r9, rbx
lea r8, [0x140326c28]
mov edx, 0x208
lea rcx, [rsp + 0x20]
call fcn.14005f700
mov r9d, 1
lea rdx, [rsp + 0x20]
mov r8d, ebp
lea rcx, str.X:WindowsSystem32cmd.exe
call fcn.14005e960
cmp ebp, 0xffffffff
jne 0x14007fc36
mov rcx, rbx
call fcn.14007fad0
jmp 0x14007fd9c
mov rcx, rbx
call fcn.1400545f0
mov ebx, eax
call qword [sym.imp.ADVAPI32.dll_RevertToSelf]
mov eax, ebx
mov rcx, qword [rsp + 0x430]
xor rcx, rsp
call fcn.140125a70
add rsp, 0x448
pop rbp
pop rbx
ret
Function at 0x14007fea0
Capabilities:
Check if file exists

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rdi, rcx
mov ebx, 1
test rcx, rcx
je 0x14007fefc
call qword [sym.imp.SHLWAPI.dll_PathIsRootW]
test eax, eax
jne 0x14007fefc
mov rcx, rdi
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x14007fefc
or rcx, 0xffffffffffffffff
inc rcx
cmp word [rdi + rcx*2], 0
jne 0x14007fed2
cmp rcx, 2
jbe 0x14007fefc
mov r8d, ebx
lea rdx, str.:_Recycle.Bin_:_Recycle.Bin_:BOOT_:BOOT_:EFI_:EFI_:System_Volume_Information_:System_Volume_Information_:Recovery_:Recovery__HOMEDRIVE___USERPROFILE___HOMEPATH___temp___PATH___SystemDrive___APPDATA___ProgramFiles_x86____ProgramFiles___windir___windir___systemroot___systemroot____systemroot__:Windows_:Windows_:Users_:Documents_and_Settings_:ProgramData_:ProgramDataPackages_:ProgramDataPackages_:Program_Files__x86__:Program_Files__x86_Microsoft_:Program_Files__x86_Microsoft_:Program_Files__x86_Microsoft__:Program_Files__x86_Microsoft__:Program_Files__x86_Windows_:Program_Files__x86_Windows_:Program_Files__x86_Windows__:Program_Files__x86_Windows__:Program_Files_:Program_FilesMicrosoft_:Program_FilesMicrosoft_:Program_FilesMicrosoft__:Program_FilesMicrosoft__:Program_FilesWindows_:Program_FilesWindows_:Program_FilesWindows__:Program_FilesWindows__:Program_FilesWindowsApps_:Program_FilesWindowsApps_:UsersAppDataLocalTemp_:UsersAppDataLocal_:UsersAppDataLocalOneDrive_:UsersAppDataLocalPackages_:UsersAppDataLocalPackages_:UsersAppDataLocalMicrosoft_:UsersAppDataLocalMicrosoft_:UsersAppDataLocalMicrosoft__:UsersAppDataLocalLow_:UsersAppDataLocalLowMicrosoft_:UsersAppDataLocalLowMicrosoft_:UsersAppDataRoaming_:UsersAppDataRoamingMicrosoft_:UsersAppDataRoamingMicrosoft__:UsersAppData_:UsersDocuments_:UsersDesktop_:UsersOneDrive_
mov rcx, rdi
call qword [sym.imp.SHLWAPI.dll_PathMatchSpecExW]
xor ecx, ecx
test eax, eax
cmovne ebx, ecx
mov eax, ebx
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
Function at 0x14007ff10
Capabilities:
Check if file exists

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
cmp dword [0x140455d78], 0
mov rdi, rcx
mov ebx, 1
jne 0x14007ff7a
test rcx, rcx
je 0x14007ff7a
call qword [sym.imp.SHLWAPI.dll_PathIsRootW]
test eax, eax
jne 0x14007ff7a
mov rcx, rdi
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x14007ff7a
or rcx, 0xffffffffffffffff
nop dword [rax + rax]
inc rcx
cmp word [rdi + rcx*2], 0
jne 0x14007ff50
cmp rcx, 2
jbe 0x14007ff7a
mov r8d, ebx
lea rdx, str.:_AttrDef_:_BadClus_:_BitMap_:_Boot_:_LogFile_:_Mft_:_MftMirr_:_Secure_:_TxfLog_:_UpCase_:_Volume_:_Extend_:_Extend_:_bootmgr_:_bootmgr.efi_:NTLDR_:BOOTMGR_:BOOT_:BOOT_:EFI_:EFI_:System_Volume_Information_:System_Volume_Information_:Recovery__HOMEDRIVE___USERPROFILE___HOMEPATH___temp___PATH___SystemDrive___APPDATA___ProgramFiles_x86____ProgramFiles___windir___systemroot__:Windows_:WindowsWinSxS_:WindowsWinSxSManifests_:WindowsWinSxSFileMaps_:WindowsInstaller_:WindowsFonts_:WindowsINF_:WindowsSystemApps_:WindowsServiceProfiles_:WindowsServiceProfilesLocalService_:WindowsServiceProfilesNetworkService_:WindowsServiceProfilesAppData_:WindowsServiceProfilesAppDataLocal_:WindowsServiceProfilesAppDataLocalLow_:WindowsServiceProfilesAppDataRoaming_:WindowsBoot_:WindowsBoot_:WindowsMicrosoft.NET_:Windows_assembly_:WindowsSysWOW64_:WindowsSystem32_:WindowsSystem32Boot_:WindowsSystem32Boot_:WindowsSystem32config_:WindowsSystem32config_:WindowsSystem32drivers_:WindowsSystem32drivers_:WindowsSystem32DriverStore_:WindowsSystem32DriverStore_:Documents_and_Settings_:ProgramData_:Program_Files__x86__:Program_Files__x86_Microsoft_:Program_Files__x86_Windows_:Program_Files_:Program_FilesWindowsApps_:Program_FilesMicrosoft_:Program_FilesWindows_:Users_:UsersAppData_:UsersAppDataLocal_:UsersAppDataLocalMicrosoft_:UsersAppDataLocalMicrosoftWindows_:UsersAppDataLocalLow_:UsersAppDataLocalLowMicrosoft_:UsersAppDataRoaming_:UsersAppDataRoamingMicrosoft_:UsersOneDrive_:UsersDocuments_:UsersDesktop_
mov rcx, rdi
call qword [sym.imp.SHLWAPI.dll_PathMatchSpecExW]
xor ecx, ecx
test eax, eax
cmovne ebx, ecx
mov eax, ebx
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
Function at 0x14007ff90
Capabilities:
Check if file exists

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rdi, rcx
mov ebx, 1
test rcx, rcx
je 0x14007ffec
call qword [sym.imp.SHLWAPI.dll_PathIsRootW]
test eax, eax
jne 0x14007ffec
mov rcx, rdi
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x14007ffec
or rcx, 0xffffffffffffffff
inc rcx
cmp word [rdi + rcx*2], 0
jne 0x14007ffc2
cmp rcx, 2
jbe 0x14007ffec
mov r8d, ebx
lea rdx, str.:_Extend_:_Recycle.Bin_:BOOT_:EFI__HOMEDRIVE___USERPROFILE___HOMEPATH___temp___PATH___SystemDrive___APPDATA___ProgramFiles_x86____ProgramFiles___windir___windir___systemroot___systemroot____systemroot__:Windows_:Windows_:Users_:Documents_and_Settings_:ProgramData_:ProgramDataPackages_:ProgramDataPackages_:ProgramDataPackage_Cache_:ProgramDataPackage_Cache_:Program_Files__x86__:Program_Files__x86_Microsoft_:Program_Files_:Program_FilesMicrosoft_:Program_FilesWindows_:Program_FilesWindowsApps_:UsersAppData_:UsersAppDataLocal_:UsersAppDataLocalOneDrive_:UsersAppDataLocalPackages_:UsersAppDataLocalTemp_:UsersAppDataLocalMicrosoft_:UsersAppDataLocalMicrosoftWindows_:UsersAppDataLocalLow_:UsersAppDataLocalLowMicrosoft_:UsersAppDataRoaming_:UsersAppDataRoamingMicrosoft_:UsersOneDrive_:UsersDocuments_:UsersDesktop_
mov rcx, rdi
call qword [sym.imp.SHLWAPI.dll_PathMatchSpecExW]
xor ecx, ecx
test eax, eax
cmovne ebx, ecx
mov eax, ebx
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
Function at 0x140080000
Capabilities:
Check if file exists

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rdi, rcx
mov ebx, 1
test rcx, rcx
je 0x140080073
call qword [sym.imp.SHLWAPI.dll_PathIsRootW]
test eax, eax
jne 0x140080073
mov rcx, rdi
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x140080073
or rax, 0xffffffffffffffff
inc rax
cmp word [rdi + rax*2], 0
jne 0x140080032
cmp rax, 2
jbe 0x140080073
mov r8d, ebx
lea rdx, str.:_AttrDef_:_BadClus_:_BitMap_:_Boot_:_LogFile_:_Mft_:_MftMirr_:_Secure_:_TxfLog_:_UpCase_:_Volume_:_Extend_:BOOT_:EFI_:_Recycle.Bin_:UsersDesktop_:UsersOneDrive_:UsersAppDataRoamingkingsoftwps_addonspoolwin_i386_:WindowsSystem32DriverStoreFileRepository_:Windows_servicing_:WindowsSoftwareDistribution_:WindowsCbsTemp_:WindowsSystemApps_:WindowsWeb_:WindowsINF_:WindowsFonts_:WindowsInstaller_:WindowsWinSxS_:WindowsSystemApps_:ProgramDataPackage_Cache_:ProgramDataPackages_:ProgramDataMicrosoftVisualStudioPackages_:Program_FilesWindowsApps_
mov rcx, rdi
call qword [sym.imp.SHLWAPI.dll_PathMatchSpecExW]
test eax, eax
je 0x140080073
mov r8d, ebx
lea rdx, str.:_Extend_:_Recycle.Bin_:BOOT_:EFI_:System_Volume_Information__HOMEDRIVE___USERPROFILE___HOMEPATH___PATH___SystemDrive___APPDATA___ProgramFiles_x86____ProgramFiles___windir___windir___systemroot___systemroot____systemroot__:Windows_:Windows_:ProgramDataPackages_:ProgramDataPackage_Cache_:ProgramDataMicrosoft_:ProgramDataMicrosoft_:ProgramDataWindows_:ProgramDataPackages_:Documents_and_Settings_:Program_Files__x86_Common_Files_:Program_Files__x86_Microsoft_:Program_Files__x86_Microsoft_:Program_Files__x86_Windows_:Program_Files__x86_Windows_:Program_FilesCommon_Files_:Program_FilesMicrosoft_:Program_FilesMicrosoft_:Program_FilesWindows_:Program_FilesWindowsApps_:UsersAppDataLocalOneDrive_:UsersAppDataLocalPackages_:UsersAppDataLocalTemp_:UsersAppDataLocalMicrosoft_:UsersAppDataLocalMicrosoft_:UsersAppDataLocalMicrosoftWindows_:UsersAppDataLocalLowMicrosoft_:UsersAppDataLocalLowMicrosoft_:UsersAppDataRoamingMicrosoft_:UsersAppDataRoamingMicrosoft_:UsersOneDrive_:UsersDocuments_:UsersDesktop_
mov rcx, rdi
call qword [sym.imp.SHLWAPI.dll_PathMatchSpecExW]
xor ecx, ecx
test eax, eax
cmovne ebx, ecx
mov eax, ebx
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
Function at 0x1400803b0
Capabilities:
Check if file exists

Disassembly:
mov qword [rsp + 0x20], rbx
push rdi
sub rsp, 0x20
xor edi, edi
mov rbx, rcx
test rcx, rcx
je 0x140080534
call qword [sym.imp.SHLWAPI.dll_PathIsRootW]
test eax, eax
jne 0x140080534
mov rcx, rbx
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x140080534
or rax, 0xffffffffffffffff
nop dword [rax + rax]
inc rax
cmp word [rbx + rax*2], di
jne 0x1400803f0
cmp rax, 2
jbe 0x140080534
mov qword [rsp + 0x40], r14
lea rdx, str.:UsersAppDataMicrosoft_:UsersAppDataPackages_:ProgramDataPackage_Cache_:ProgramDataPackages_:ProgramDataMicrosoft_:ProgramDataMicrosoft__:ProgramDataAutodesk_:ProgramDataAutodesk_:ProgramDataAdobe_:ProgramDataAdobe_:ProgramDataChaos_Group_:ProgramDataChaos_Group_:Program_FilesWindowsApps_:Program_FilesCommon_Files_:Program_FilesMicrosoft__:Program_FilesWindows__:Program_FilesAutodesk_:Program_FilesAutodesk_:Program_FilesAdobe_:Program_FilesAdobe_:Program_FilesChaos_Group_:Program_FilesChaos_Group_:Program_Files__x86_Chaos_Group_:Program_Files__x86_Chaos_Group_:Program_Files__x86_Autodesk_:Program_Files__x86_Autodesk_:Program_Files__x86_Adobe_:Program_Files__x86_Adobe_:Program_Files__x86_Common_Files_:Program_Files__x86_Microsoft_:Program_Files__x86_Microsoft__:Program_Files__x86_Windows__:Windows_:Windows
mov r14d, 1
mov rcx, rbx
mov r8d, r14d
call qword [sym.imp.SHLWAPI.dll_PathMatchSpecExW]
test eax, eax
jne 0x14008043a
mov edi, r14d
mov r14, qword [rsp + 0x40]
mov eax, edi
mov rbx, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
ret
mov rcx, rbx
call qword [sym.imp.SHLWAPI.dll_PathIsDirectoryW]
test eax, eax
jne 0x14008052f
mov qword [rsp + 0x30], rbp
mov rcx, rbx
mov qword [rsp + 0x38], rsi
call fcn.14004c7f0
mov rsi, rax
test rax, rax
jne 0x14008048d
mov rcx, rbx
call fcn.14004c420
mov rbp, rax
test rax, rax
je 0x1400804b1
mov rcx, rax
call fcn.14004c7f0
mov rcx, rbp
mov rsi, rax
call fcn.140125e14
test rsi, rsi
je 0x1400804b1
mov r8d, r14d
lea rdx, [0x14032a360]
mov rcx, rsi
call qword [sym.imp.SHLWAPI.dll_PathMatchSpecExW]
test eax, eax
jne 0x1400804a9
mov edi, r14d
jmp 0x140080525
mov rcx, rsi
call fcn.140125e14
mov rdx, rbx
lea rcx, [0x1403294f8]
call fcn.14004c240
mov rsi, rax
test rax, rax
je 0x1400804ed
mov r8d, r14d
lea rdx, str.Microsoft_Autodesk_Adobe_
mov rcx, rax
call qword [sym.imp.SHLWAPI.dll_PathMatchSpecExW]
test eax, eax
mov rcx, rsi
cmove edi, r14d
call fcn.140125e14
test edi, edi
jne 0x140080525
mov rdx, rbx
lea rcx, [0x14032ab78]
call fcn.14004c240
mov rbx, rax
test rax, rax
je 0x140080525
mov r8d, r14d
lea rdx, str.Microsoft_Autodesk_Adobe_
mov rcx, rax
call qword [sym.imp.SHLWAPI.dll_PathMatchSpecExW]
test eax, eax
mov rcx, rbx
cmove edi, r14d
call fcn.140125e14
mov rsi, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x30]
mov r14, qword [rsp + 0x40]
mov eax, edi
mov rbx, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
ret
Function at 0x140085890
Capabilities:
Get hostname

Disassembly:
mov r11, rsp
push rbp
sub rsp, 0x60
mov rax, qword [0x1403a0088]
xor rax, rsp
mov qword [rsp + 0x48], rax
cmp dword [0x140456198], 0
mov rbp, rcx
jne 0x140085a7a
cmp dword [0x14045619c], 0
jne 0x140085a7a
cmp dword [0x1404565b8], 0
jne 0x140085a7a
cmp dword [0x140455d78], 0
jne 0x140085a7a
xor ecx, ecx
mov qword [r11 + 0x10], rbx
mov dword [rbp + 0xa78], ecx
lea rax, [0x140457e38]
cmp qword [0x140457e50], 0x10
lea rdx, [0x14032bc58]
mov qword [0x140457e48], rcx
mov r8b, 1
cmovae rax, qword [0x140457e38]
mov qword [r11 + 0x18], rsi
mov qword [r11 - 0x10], rdi
mov qword [r11 - 0x18], r14
mov byte [rax], cl
lea rax, [0x140457e78]
cmp qword [0x140457e90], 0x10
mov qword [0x140457e88], rcx
cmovae rax, qword [0x140457e78]
mov byte [rax], cl
mov qword [rbp + 0xa80], rcx
lea rcx, [rbp + 0x638]
call fcn.1400c38b0
mov r8b, 1
mov qword [rbp + 0xa70], rax
lea rdx, [0x14032bc38]
lea rcx, [rbp + 0x638]
call fcn.1400c38b0
mov qword [rbp + 0xa68], rax
lea rsi, [rbp + 0xa98]
xor eax, eax
mov dword [rsp + 0x40], reloc.WS2_32.dll_recv
lea r14, [rbp + 0xa88]
xor edx, edx
mov qword [r14], rax
lea rcx, [rbp + 0xac0]
mov qword [r14 + 8], rax
mov r8d, 0x104
mov qword [rsi], rax
mov qword [rsi + 8], rax
mov qword [rsi + 0x10], rax
mov qword [rsi + 0x18], rax
mov qword [rbp + 0xab8], rax
call fcn.1402767a0
lea rdx, [rsp + 0x40]
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_GetComputerNameA]
call fcn.14007eea0
lea rdx, [0x14032bc18]
mov rcx, qword [rax]
mov qword [rbp + 0xab8], rcx
movzx eax, byte [rbp + 0xabd]
movzx r10d, byte [rbp + 0xabc]
movzx r11d, byte [rbp + 0xabb]
movzx ebx, byte [rbp + 0xaba]
movzx r9d, byte [rbp + 0xab9]
mov dword [rsp + 0x38], eax
mov dword [rsp + 0x30], r10d
movzx r8d, cl
mov rcx, rsi
mov dword [rsp + 0x28], r11d
mov dword [rsp + 0x20], ebx
call fcn.140056ae0
mov r9, rsi
mov qword [rsp + 0x20], r14
lea r8, str.device_mac_sdevice_name_s
mov edx, 0x104
lea rcx, [rbp + 0xac0]
call fcn.14005d460
mov rcx, rbp
call fcn.1400869d0
mov r14, qword [rsp + 0x50]
mov rdi, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x80]
mov rbx, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.140125a70
add rsp, 0x60
pop rbp
ret
mov rcx, qword [rcx + 8]
xor r9d, r9d
xor r8d, r8d
mov edx, 0x401
call qword [sym.imp.USER32.dll_PostMessageW]
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.140125a70
add rsp, 0x60
pop rbp
ret
Function at 0x140086f50
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push rbx
push rsi
push rdi
mov eax, 0x1a00
call fcn.140126870
sub rsp, rax
mov rax, qword [0x1403a0088]
xor rax, rsp
mov qword [rsp + 0x19f0], rax
mov rdi, rcx
lea rdx, [0x14032c328]
lea rcx, [0x14032bee8]
mov rsi, r8
call qword [sym.imp.USER32.dll_FindWindowW]
mov rbx, rax
test rax, rax
je 0x140086fc9
test rsi, rsi
je 0x140086fad
lea rdx, [0x14032bee8]
mov rcx, rsi
call fcn.1402779b8
test eax, eax
je 0x140086fc9
mov edx, 9
mov rcx, rbx
call qword [sym.imp.USER32.dll_ShowWindowAsync]
mov rcx, rbx
call qword [sym.imp.USER32.dll_SetForegroundWindow]
jmp 0x140087200
call fcn.14007f120
test eax, eax
jne 0x140087200
lea r8, str.ZIPRES
mov rcx, rdi
lea rdx, str.IDR_ZIPRES
call qword [sym.imp.KERNEL32.dll_FindResourceW]
mov rbx, rax
test rax, rax
jne 0x140086fff
mov eax, 1
jmp 0x140087202
mov rdx, rbx
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov rsi, rax
test rax, rax
je 0x140086ff5
mov rdx, rbx
mov qword [rsp + 0x1a28], rbp
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_SizeofResource]
mov ebp, eax
test eax, eax
je 0x140087040
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_LockResource]
mov rcx, rax
mov edx, ebp
call fcn.1400bb8e0
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeResource]
mov qword [0x140457268], rdi
call fcn.14004be00
mov ax, word [0x7ffe0030]
mov word [0x140455f88], ax
mov word [0x140455b60], ax
xor eax, eax
mov word [0x140455f8e], ax
mov qword [0x14043bd80], 0x7ffe0000
mov dword [0x140455f8a], 0x5c003a
call fcn.14004cb70
mov rbp, qword [rsp + 0x1a28]
mov dword [0x140455d78], eax
test eax, eax
je 0x140087173
xor edx, edx
lea rcx, [rsp + 0x50]
mov r8d, 0xa78
call fcn.1402767a0
lea rcx, [rsp + 0x50]
call fcn.1400a23b0
mov dword [rsp + 0x40], 0x80000000
lea r8, [0x14032c328]
mov dword [rsp + 0x38], 0x80000000
lea rcx, [rsp + 0x50]
mov dword [rsp + 0x30], 0x80000000
mov r9d, 0x10cf0000
mov dword [rsp + 0x28], 0x80000000
xor edx, edx
mov dword [rsp + 0x20], 0x100
call fcn.1400c5e80
lea rcx, [rsp + 0x50]
call fcn.1400c6160
lea rcx, [rsp + 0x50]
call fcn.1400c6030
lea rax, vtable.Seldiskdialog.2.0
mov qword [rsp + 0x50], rax
lea rcx, [rsp + 0x50]
lea rax, vtable.Seldiskdialog.0
mov qword [rsp + 0x70], rax
lea rax, vtable.Seldiskdialog.1.0
mov qword [rsp + 0x88], rax
lea rax, vtable.Seldiskdialog.5.0
mov qword [rsp + 0x90], rax
lea rax, vtable.Seldiskdialog.4.0
mov qword [rsp + 0x98], rax
lea rax, vtable.Seldiskdialog.3.0
mov qword [rsp + 0xa0], rax
call fcn.1400657a0
xor edx, edx
lea rcx, [rsp + 0xad0]
mov r8d, 0xf20
call fcn.1402767a0
lea rcx, [rsp + 0xad0]
call fcn.140087260
mov dword [rsp + 0x40], 0x80000000
lea r8, [0x14032c328]
mov dword [rsp + 0x38], 0x80000000
lea rcx, [rsp + 0xad0]
mov dword [rsp + 0x30], 0x80000000
mov r9d, 0x10cf0000
mov dword [rsp + 0x28], 0x80000000
xor edx, edx
mov dword [rsp + 0x20], 0x100
call fcn.1400c5e80
lea rcx, [rsp + 0xad0]
call fcn.1400c6160
lea rcx, [rsp + 0xad0]
call fcn.1400c6030
lea rcx, [rsp + 0xad0]
call fcn.140088700
xor eax, eax
mov rcx, qword [rsp + 0x19f0]
xor rcx, rsp
call fcn.140125a70
add rsp, 0x1a00
pop rdi
pop rsi
pop rbx
ret