joyce8/EMBER2024-capa huggingface dataset:
Function at 0x444263
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
lea eax, [ebp - 4]
mov esi, edx
push eax
mov edi, ecx
xor ebx, ebx
push esi
push edi
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyW]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [ebp - 4]
push eax
push 0xf003f
push ebx
push esi
push edi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x4442c3
push 4
lea eax, [ebp + 0xc]
push eax
push 4
push ebx
push dword [ebp + 8]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push dword [ebp - 4]
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
inc eax
test esi, esi
cmove ebx, eax
pop edi
pop esi
mov eax, ebx
pop ebx
leave
ret

Function at 0x4442ca
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
lea eax, [ebp - 4]
push esi
push eax
push 0x20019
push 0
push 0x4cb968
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov esi, eax
test esi, esi
jne 0x444325
lea eax, [ebp - 8]
mov dword [ebp - 0xc], 0xb
push eax
push dword [ebp + 0xc]
lea eax, [ebp - 0xc]
mov dword [ebp - 8], 8
push eax
push esi
push str.iSpeedLauncherLogonTime
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [ebp - 4]
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
leave
ret

Function at 0x44432a
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push edi
lea eax, [ebp - 8]
xor edi, edi
push eax
lea eax, [ebp - 4]
push eax
push edi
push 0xf003f
push edi
push edi
push edi
push 0x4cb968
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x444383
push esi
push 8
lea eax, [ebp + 0xc]
push eax
push 0xb
push edi
push str.iSpeedLauncherLogonTime
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push dword [ebp - 4]
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
inc eax
test esi, esi
pop esi
cmove edi, eax
mov eax, edi
pop edi
leave
ret

Function at 0x444388
Capabilities:
Delete registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
lea eax, [ebp - 4]
push eax
push 0xf003f
push 0
push edx
push ecx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x4443af
push dword [ebp + 8]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
push ebx
push dword [ebp - 4]
xor ebx, ebx
test eax, eax
sete bl
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, ebx
pop ebx
leave
ret
Function at 0x4447b4
Capabilities:
Delete file

Disassembly:
push 0x60
mov eax, 0x4b1eb8
call fcn.004696cc
mov esi, ecx
xor ebx, ebx
push ebx
call fcn.00487e7e
push eax
call fcn.00487de9
call fcn.00487dc8
push 0xa
mov edx, eax
lea edi, [ebp - 0x38]
pop ecx
xor eax, eax
rep stosd dword es:[edi], eax
push 0xa
lea eax, [ebp - 0x38]
push eax
push edx
call fcn.004889d9
push 0x4cdd40
lea eax, [ebp - 0x44]
push esi
push eax
call fcn.00402459
lea ecx, [ebp - 0x38]
mov dword [ebp - 4], ebx
push ecx
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.00402459
push str..txt
push eax
lea eax, [ebp - 0x3c]
mov byte [ebp - 4], 1
push eax
call fcn.00402459
add esp, 0x38
mov ecx, dword [ebp - 0x40]
lea ecx, [ecx - 0x10]
call fcn.00402e64
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x44]
lea ecx, [ecx - 0x10]
call fcn.00402e64
lea ecx, [ebp - 0x6c]
call fcn.0044f940
push ebx
push 0xffffffffffffffff
push ebx
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 5
call fcn.004026c3
lea eax, [ebp - 0x58]
mov byte [ebp - 4], 6
push eax
push 0x1021
push dword [ebp - 0x3c]
lea ecx, [ebp - 0x6c]
call fcn.0044feb0
test eax, eax
je 0x444884
lea ecx, [ebp - 0x6c]
call fcn.0044fc00
push dword [ebp - 0x3c]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
jmp 0x444887
mov ebx, dword [ebp - 0x50]
mov ecx, dword [ebp - 0x48]
add ecx, 0xfffffff0
mov dword [ebp - 0x58], vtable.CFileException.0
call fcn.00402e64
lea ecx, [ebp - 0x6c]
call fcn.0044f970
mov ecx, dword [ebp - 0x3c]
add ecx, 0xfffffff0
call fcn.00402e64
mov eax, ebx
call fcn.00469676
ret
Function at 0x445425
Capabilities:
Get common file path

Disassembly:
push 0xc
mov eax, 0x4b20f0
call fcn.00469698
mov esi, ecx
call fcn.0044f841
push eax
lea ecx, [ebp - 0x10]
call fcn.00402899
xor edi, edi
lea ecx, [ebp - 0x10]
push 0x104
mov dword [ebp - 4], edi
call fcn.00402bd2
push eax
push edi
push edi
push 0x2b
push edi
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
push 0xffffffffffffffff
lea ecx, [ebp - 0x10]
mov edi, eax
call fcn.0040a128
test edi, edi
jne 0x44548b
lea eax, [ebp - 0x10]
mov ecx, esi
push eax
call fcn.00402e14
push str.AdobeARM1.0AdobeARM.exe
mov ecx, esi
call fcn.0040259d
xor esi, esi
inc esi
jmp 0x4454b6
push str.SHGetFolderPath_in_GetCurrentExePath_failed:
lea ecx, [ebp - 0x14]
call fcn.00402829
xor ecx, ecx
mov byte [ebp - 4], 1
push edi
lea edx, [ebp - 0x14]
inc ecx
call fcn.00414cf1
pop ecx
mov ecx, dword [ebp - 0x14]
mov esi, eax
lea ecx, [ecx - 0x10]
call fcn.00402e64
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.00402e64
mov eax, esi
call fcn.00469661
ret

Function at 0x4454c9
Capabilities:
Get common file path

Disassembly:
push 0x214
mov eax, 0x4b2126
call fcn.004696cc
mov esi, ecx
xor ebx, ebx
test edx, edx
je 0x4454f1
push 0x515f68
call fcn.00402e14
push 0x4cdd40
jmp 0x445531
push 0x208
lea eax, [ebp - 0x218]
push ebx
push eax
call fcn.00481b00
add esp, 0xc
lea eax, [ebp - 0x218]
push eax
push ebx
push ebx
push 0x2b
push ebx
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
mov edi, eax
test edi, edi
jne 0x44559a
lea eax, [ebp - 0x218]
mov ecx, esi
push eax
call fcn.0040286d
push str.AdobeARM1.0_
mov ecx, esi
call fcn.0040259d
mov eax, dword [0x515e0c]
mov ecx, esi
push dword [eax - 0xc]
push eax
call fcn.004025c6
mov ecx, dword [esi]
or edx, 0xffffffff
push ebx
call fcn.0042f189
pop ecx
test eax, eax
je 0x445595
push esi
lea eax, [ebp - 0x220]
push str.Not_found_or_not_valid:
push eax
call fcn.004023f1
add esp, 0xc
mov esi, eax
mov dword [ebp - 4], 1
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push esi
push 0x1fc98
mov ecx, 0x5163b4
call fcn.00412ea3
mov ecx, dword [ebp - 0x220]
jmp 0x4455c3
xor eax, eax
inc eax
jmp 0x4455cd
push str.SHGetFolderPath_in_GetLauncherPath_failed:
lea ecx, [ebp - 0x21c]
call fcn.00402829
xor ecx, ecx
mov dword [ebp - 4], ebx
push edi
lea edx, [ebp - 0x21c]
inc ecx
call fcn.00414cf1
pop ecx
mov ecx, dword [ebp - 0x21c]
lea ecx, [ecx - 0x10]
call fcn.00402e64
xor eax, eax
call fcn.00469676
ret
Function at 0x4455d3
Capabilities:
Get file version info

Disassembly:
push 0x1c
mov eax, 0x4b2180
call fcn.00469698
mov dword [ebp - 0x14], edx
mov ebx, ecx
mov dword [ebp - 0x18], ebx
mov esi, dword [ebp + 0x14]
xor edi, edi
test esi, esi
je 0x44561e
push str.GetFileVersion__:
lea ecx, [ebp - 0x10]
call fcn.00402829
push edi
push ebx
push 2
lea edx, [ebp - 0x10]
mov dword [ebp - 4], edi
pop ecx
call fcn.004145c0
or dword [ebp - 4], 0xffffffff
pop ecx
pop ecx
mov ecx, dword [ebp - 0x10]
lea ecx, [ecx - 0x10]
call fcn.00402e64
lea eax, [ebp - 0x20]
push eax
push dword [ebx]
call dword [sym.imp.VERSION.dll_GetFileVersionInfoSizeW]
mov ebx, eax
test ebx, ebx
je 0x445768
push ebx
call fcn.0044f102
pop ecx
mov edi, eax
mov eax, dword [ebp - 0x18]
push edi
push ebx
xor ebx, ebx
push ebx
push dword [eax]
call dword [sym.imp.VERSION.dll_GetFileVersionInfoW]
test eax, eax
je 0x44572f
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x1c]
push eax
push 0x4cdd40
push edi
call dword [sym.imp.VERSION.dll_VerQueryValueW]
cmp eax, 1
jne 0x445715
mov ecx, dword [ebp - 0x1c]
mov ebx, dword [ebp - 0x14]
mov edx, dword [ebp + 8]
push edi
movzx eax, word [ecx + 0xa]
mov dword [ebx], eax
movzx eax, word [ecx + 8]
mov dword [edx], eax
movzx eax, word [ecx + 0xe]
mov edx, dword [ebp + 0xc]
mov dword [edx], eax
movzx eax, word [ecx + 0xc]
mov ecx, dword [ebp + 0x10]
mov dword [ecx], eax
call fcn.0044f0fd
pop ecx
test esi, esi
je 0x44570d
call fcn.0044f841
push eax
lea ecx, [ebp - 0x10]
call fcn.00402899
push str.File_version:__1_u_._2_u_._3_u_._4_u_
lea ecx, [ebp - 0x14]
mov dword [ebp - 4], 1
call fcn.00402829
mov eax, dword [ebp + 0x10]
mov byte [ebp - 4], 2
push dword [eax]
mov eax, dword [ebp + 0xc]
push dword [eax]
mov eax, dword [ebp + 8]
push dword [eax]
lea eax, [ebp - 0x10]
push dword [ebx]
push dword [ebp - 0x14]
push eax
call fcn.004135d0
push 0
push 2
lea edx, [ebp - 0x10]
pop ecx
call fcn.00414cf1
mov ecx, dword [ebp - 0x14]
add esp, 0x1c
add ecx, 0xfffffff0
call fcn.00402e64
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.00402e64
xor eax, eax
inc eax
jmp 0x44579a
test esi, esi
je 0x44575f
push str.VerQueryValue___failed_in_GetFileVersion__.
lea ecx, [ebp - 0x14]
call fcn.00402829
mov dword [ebp - 4], 3
jmp 0x445747
test esi, esi
je 0x44575f
push str.GetFileVersionInfo___failed_in_GetFileVersion__.
lea ecx, [ebp - 0x14]
call fcn.00402829
mov dword [ebp - 4], 4
xor ecx, ecx
lea edx, [ebp - 0x14]
push ebx
inc ecx
call fcn.00414cf1
pop ecx
mov ecx, dword [ebp - 0x14]
lea ecx, [ecx - 0x10]
call fcn.00402e64
push edi
call fcn.0044f0fd
pop ecx
jmp 0x445798
test esi, esi
je 0x445798
push str.GetFileVersionInfoSize___failed_in_GetFileVersion__.
lea ecx, [ebp - 0x18]
call fcn.00402829
xor ecx, ecx
mov dword [ebp - 4], 5
push edi
lea edx, [ebp - 0x18]
inc ecx
call fcn.00414cf1
pop ecx
mov ecx, dword [ebp - 0x18]
lea ecx, [ecx - 0x10]
call fcn.00402e64
xor eax, eax
call fcn.00469661
ret
Function at 0x4481c1
Capabilities:
Query service status

Disassembly:
push 0x34
mov eax, 0x4b2a58
call fcn.004696cc
push 4
xor esi, esi
push esi
push esi
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov edi, eax
test edi, edi
jne 0x448217
push str.OpenSCManager_failed_in_IsMsiBusy:
lea ecx, [ebp - 0x38]
call fcn.00402829
mov dword [ebp - 4], esi
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 2
lea edx, [ebp - 0x38]
pop ecx
call fcn.00414dc6
pop ecx
mov ecx, dword [ebp - 0x38]
lea ecx, [ecx - 0x10]
call fcn.00402e64
call fcn.004482d5
jmp 0x4482cf
push 4
push str.MSIServer
push edi
call dword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov ebx, eax
test ebx, ebx
jne 0x448266
push str.OpenService_failed_in_IsMsiBusy:
lea ecx, [ebp - 0x38]
call fcn.00402829
mov dword [ebp - 4], 1
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 2
lea edx, [ebp - 0x38]
pop ecx
call fcn.00414dc6
pop ecx
mov ecx, dword [ebp - 0x38]
lea ecx, [ecx - 0x10]
call fcn.00402e64
push edi
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
jmp 0x44820d
lea eax, [ebp - 0x40]
push eax
push 0x24
lea eax, [ebp - 0x34]
push eax
push esi
push ebx
call dword [sym.imp.ADVAPI32.dll_QueryServiceStatusEx]
test eax, eax
jne 0x4482b5
push str.QueryServiceStatusEx_failed_in_IsMsiBusy:
lea ecx, [ebp - 0x3c]
call fcn.00402829
push 2
pop esi
mov dword [ebp - 4], esi
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea edx, [ebp - 0x3c]
mov ecx, esi
call fcn.00414dc6
pop ecx
mov ecx, dword [ebp - 0x3c]
lea ecx, [ecx - 0x10]
call fcn.00402e64
push ebx
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
jmp 0x44825d
xor eax, eax
inc eax
cmp dword [ebp - 0x2c], 4
push ebx
cmove esi, eax
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
push edi
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov eax, esi
call fcn.00469676
ret

Function at 0x4482d5
Capabilities:
Check if file exists
Check mutex on windows

Disassembly:
push str.Global_MSIExecute
push 0
push 0x100000
call dword [sym.imp.KERNEL32.dll_OpenMutexW]
test eax, eax
je 0x4482f6
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
inc eax
ret
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
jne 0x4482f2
xor eax, eax
ret
Function at 0x4490e1
Capabilities:
Check if file exists
Delete directory
Set file attributes

Disassembly:
push 0x2c
mov eax, 0x4b2ca0
call fcn.00469698
mov ebx, ecx
and dword [ebp - 4], 0
mov eax, dword [ebp + 8]
cmp dword [eax - 0xc], 0
je 0x4492a5
cmp dword [eax - 0xc], 4
jb 0x4492a5
add eax, 0xfffffff0
push eax
call fcn.00402d9f
lea esi, [eax + 0x10]
mov dword [ebp - 0x14], esi
push 0x5c
push esi
mov byte [ebp - 4], 1
call fcn.00482517
mov ecx, eax
add esp, 0xc
test ecx, ecx
je 0x449168
sub ecx, esi
sar ecx, 1
cmp ecx, 0xffffffff
je 0x449168
mov eax, dword [esi - 0xc]
dec eax
cmp ecx, eax
jne 0x449168
push ecx
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp - 0x14]
call fcn.00409b19
push eax
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 2
call fcn.00402e14
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x10]
lea ecx, [ecx - 0x10]
call fcn.00402e64
push 0x4cdc0c
lea ecx, [ebp - 0x14]
call fcn.0040259d
lea ecx, [ebp - 0x38]
call fcn.004522c3
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x38]
mov esi, dword [ebp - 0x14]
push 0
push esi
call fcn.004524b0
test eax, eax
je 0x44922e
lea ecx, [ebp - 0x38]
call fcn.00452660
lea ecx, [ebp - 0x38]
mov dword [ebp - 0x18], eax
call fcn.00452a50
test eax, eax
jne 0x449224
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp - 0x38]
call fcn.00452770
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0x38]
push 0x10
mov edi, dword [eax + 0x38]
mov ecx, edi
call dword [0x4b77e4]
lea ecx, [ebp - 0x38]
call edi
test eax, eax
je 0x44920d
test ebx, ebx
je 0x4491eb
push 0
push ebx
lea ecx, [ebp - 0x10]
call fcn.00409b5e
cmp eax, 0xffffffff
jne 0x449215
mov eax, dword [ebp - 0x10]
push ecx
add eax, 0xfffffff0
mov edi, esp
push eax
mov dword [ebp - 0x1c], edi
call fcn.00402d9f
pop ecx
add eax, 0x10
xor ecx, ecx
mov dword [edi], eax
call fcn.004490e1
pop ecx
jmp 0x449215
lea ecx, [ebp - 0x10]
call fcn.004492b3
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x10]
lea ecx, [ecx - 0x10]
call fcn.00402e64
cmp dword [ebp - 0x18], 0
jne 0x449197
lea ecx, [ebp - 0x38]
call fcn.00452450
push 0x80
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
test eax, eax
jne 0x449292
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
cmp edi, 2
je 0x449292
cmp edi, 3
je 0x449292
lea eax, [ebp + 8]
push eax
lea eax, [ebp - 0x18]
push str.Remove_Directory_failed_for:
push eax
call fcn.004023f1
push edi
push 2
mov edx, eax
mov byte [ebp - 4], 5
pop ecx
call fcn.00414dc6
mov ecx, dword [ebp - 0x18]
add esp, 0x10
lea ecx, [ecx - 0x10]
call fcn.00402e64
lea ecx, [ebp - 0x38]
call fcn.004523c9
lea ecx, [esi - 0x10]
call fcn.00402e64
mov eax, dword [ebp + 8]
lea ecx, [eax - 0x10]
call fcn.00402e64
call fcn.00469661
ret
Function at 0x4492b3
Capabilities:
Check if file exists
Delete file
Get file attributes

Disassembly:
push 0xc
mov eax, 0x4aad80
call fcn.00469698
mov edi, ecx
push dword [edi]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x449393
xor ebx, ebx
mov ecx, edi
push ebx
push str.ArmUI.ini
call fcn.00409b5e
cmp eax, 0xffffffff
je 0x44933d
push ebx
call dword [sym.imp.KERNEL32.dll_SetLastError]
push str.GlobalPdfOnershipInProcessEvent
push ebx
push 1
push ebx
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov ebx, eax
test ebx, ebx
je 0x44933d
call dword [sym.imp.KERNEL32.dll_GetLastError]
push ebx
mov esi, eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp esi, 0xb7
jne 0x44933d
push str.pdf_ownership_takeover_in_process__will_not_cleanup_ArmUI.ini_file
lea ecx, [ebp - 0x10]
call fcn.00402829
and dword [ebp - 4], 0
lea edx, [ebp - 0x10]
push 0
push 2
pop ecx
call fcn.00414cf1
pop ecx
mov ecx, dword [ebp - 0x10]
jmp 0x44938b
push 0x80
push dword [edi]
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
push dword [edi]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x449393
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
cmp esi, 2
je 0x449393
push edi
lea eax, [ebp - 0x14]
push str.Delete_file_failed_for:
push eax
call fcn.004023f1
add esp, 0xc
push esi
push 2
mov edx, eax
mov dword [ebp - 4], 1
pop ecx
call fcn.00414dc6
pop ecx
mov ecx, dword [ebp - 0x14]
lea ecx, [ecx - 0x10]
call fcn.00402e64
call fcn.00469661
ret

Function at 0x449399
Capabilities:
Check if file exists
Delete file
Get file attributes
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
mov edi, ecx
mov esi, edx
mov ecx, dword [edi]
cmp dword [ecx - 0xc], 0
je 0x4493e9
mov eax, dword [ebp + 8]
cmp dword [eax], 0
jne 0x4493bc
mov ecx, edi
pop edi
pop esi
pop ebp
jmp fcn.004492b3
push ecx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x4493e9
mov eax, dword [esi]
cmp dword [eax - 0xc], 0
je 0x4493dc
push 0x4f9810
mov ecx, esi
call fcn.0040259d
mov eax, dword [edi]
mov ecx, esi
push dword [eax - 0xc]
push eax
call fcn.004025c6
pop edi
pop esi
pop ebp
ret
Function at 0x449841
Capabilities:
Reference sql statements

Disassembly:
push 0x10
mov eax, 0x4b2de0
call fcn.00469698
mov esi, edx
mov edi, ecx
call fcn.0044f841
push eax
lea ecx, [ebp - 0x18]
call fcn.00402899
xor ebx, ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0x14], ebx
mov ecx, dword [ebp + 8]
push 0x4cdd56
mov byte [ebp - 4], 2
call fcn.0040a16c
push dword [esi]
lea eax, [ebp - 0x18]
push str.SELECT_Value_FROM_Property_WHERE_Property.Property_s
push eax
call fcn.004027d2
add esp, 0xc
cmp dword [ebp - 0x10], ebx
je 0x44989c
push dword [ebp - 0x10]
call dword [sym.imp.msi.dll_MsiConfigureFeatureFromDescriptorA]
mov esi, dword [ebp - 0x18]
lea eax, [ebp - 0x10]
push eax
push esi
push edi
mov dword [ebp - 0x10], ebx
call dword [sym.imp.msi.dll_MsiEnumClientsA]
mov edi, eax
test edi, edi
je 0x4498c7
push str.MDOV_error:
lea ecx, [ebp - 0x1c]
call fcn.00402829
mov byte [ebp - 4], 3
jmp 0x449935
push ebx
push dword [ebp - 0x10]
call dword [sym.imp.msi.dll_MsiViewModify]
mov edi, eax
test edi, edi
je 0x4498ea
push str.MVE_error:
lea ecx, [ebp - 0x1c]
call fcn.00402829
mov byte [ebp - 4], 4
jmp 0x449935
cmp dword [ebp - 0x14], 0
je 0x4498f9
push dword [ebp - 0x14]
call dword [sym.imp.msi.dll_MsiConfigureFeatureFromDescriptorA]
lea eax, [ebp - 0x14]
mov dword [ebp - 0x14], ebx
push eax
push dword [ebp - 0x10]
call dword [sym.imp.msi.dll_MsiDatabaseIsTablePersistentA]
mov edi, eax
test edi, edi
jne 0x44994d
push dword [ebp + 8]
mov ecx, dword [ebp - 0x14]
xor edx, edx
inc edx
call fcn.0044997d
mov edi, eax
pop ecx
test edi, edi
je 0x44994f
push str.MGRS_error:
lea ecx, [ebp - 0x1c]
call fcn.00402829
mov byte [ebp - 4], 5
push edi
push 2
lea edx, [ebp - 0x1c]
pop ecx
call fcn.00414dc6
pop ecx
mov ecx, dword [ebp - 0x1c]
lea ecx, [ecx - 0x10]
call fcn.00402e64
mov ebx, edi
cmp dword [ebp - 0x14], 0
je 0x44995e
push dword [ebp - 0x14]
call dword [sym.imp.msi.dll_MsiConfigureFeatureFromDescriptorA]
cmp dword [ebp - 0x10], 0
je 0x44996d
push dword [ebp - 0x10]
call dword [sym.imp.msi.dll_MsiConfigureFeatureFromDescriptorA]
lea ecx, [esi - 0x10]
call fcn.00402e64
mov eax, ebx
call fcn.00469661
ret
Function at 0x449c3e
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x428
mov eax, dword [0x510554]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov ebx, 0x20a
lea eax, [ebp - 0x41c]
push ebx
xor esi, esi
mov edi, ecx
push esi
push eax
call fcn.00481b00
push ebx
lea eax, [ebp - 0x210]
push esi
push eax
call fcn.00481b00
add esp, 0x18
mov dword [ebp - 0x420], esi
mov ecx, 0x105
mov dword [ebp - 0x428], esi
lea eax, [ebp - 0x210]
mov dword [ebp - 0x424], esi
push ecx
push eax
lea eax, [ebp - 0x424]
push eax
lea eax, [ebp - 0x428]
push eax
lea eax, [ebp - 0x420]
push eax
push ecx
lea eax, [ebp - 0x41c]
push eax
push 0x4cf6c0
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationW]
test eax, eax
je 0x449cf7
mov ecx, dword [ebp - 0x420]
cmp esi, 0x103
je 0x449cf1
mov eax, ecx
xor edx, edx
push 0xa
pop ecx
div ecx
mov ecx, eax
mov ax, word [edx*2 + str.0123456789]
mov word [edi + esi*2], ax
inc esi
test ecx, ecx
jne 0x449ccd
xor eax, eax
mov word [edi + esi*2], ax
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
cmp eax, 0x10
jge 0x449d14
push str.thsnYaVieBoda
mov edx, 0x104
mov ecx, edi
call fcn.0040e1cf
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004690ba
leave
ret
Function at 0x449d23
Capabilities:
Encrypt data using dpapi

Disassembly:
push 0x3c
mov eax, 0x4b2e70
call fcn.004696cc
mov eax, edx
mov dword [ebp - 0x38], eax
mov esi, ecx
mov ecx, eax
xor ebx, ebx
call fcn.00402a6b
push 8
lea eax, [ebp - 0x48]
push ebx
push eax
call fcn.00481b00
add esp, 0xc
lea eax, [ebp - 0x30]
push 8
push ebx
push eax
call fcn.00481b00
add esp, 0xc
lea eax, [ebp - 0x40]
push 8
push ebx
push eax
call fcn.00481b00
mov eax, dword [esi]
add esp, 0xc
sub eax, 0x10
push eax
call fcn.00402d9f
add eax, 0x10
pop ecx
mov dword [ebp - 0x28], eax
mov dword [ebp - 4], ebx
cmp dword [eax - 4], 1
jle 0x449d95
push dword [eax - 0xc]
lea ecx, [ebp - 0x28]
call fcn.00402aac
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x44], eax
mov eax, dword [eax - 0xc]
lea eax, [eax*2 + 2]
mov dword [ebp - 0x48], eax
mov eax, dword [0x515e1c]
cmp dword [eax - 4], 1
jle 0x449dc2
push dword [eax - 0xc]
mov ecx, 0x515e1c
call fcn.00402aac
mov eax, dword [0x515e1c]
mov dword [ebp - 0x3c], eax
mov eax, dword [eax - 0xc]
shr eax, 1
inc eax
mov dword [ebp - 0x40], eax
lea eax, [ebp - 0x30]
push eax
push ebx
push ebx
push ebx
lea eax, [ebp - 0x40]
push eax
push str.Encrypted_by_Adobe.
lea eax, [ebp - 0x48]
push eax
call dword [sym.imp.CRYPT32.dll_CryptProtectData]
test eax, eax
je 0x449e4c
cmp dword [ebp - 0x30], 0
lea edi, [ebp - 0x24]
mov esi, str.0123456789ABCDEF
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsb byte es:[edi], byte [esi]
jbe 0x449e3e
mov esi, dword [ebp - 0x38]
mov eax, dword [ebp - 0x2c]
mov ecx, esi
movzx eax, byte [eax + ebx]
shr eax, 4
movsx ax, byte [ebp + eax - 0x24]
movzx eax, ax
push eax
call fcn.00424d56
mov eax, dword [ebp - 0x2c]
mov ecx, esi
movzx eax, byte [eax + ebx]
and eax, 0xf
movsx ax, byte [ebp + eax - 0x24]
movzx eax, ax
push eax
call fcn.00424d56
inc ebx
cmp ebx, dword [ebp - 0x30]
jb 0x449e02
push dword [ebp - 0x2c]
xor ebx, ebx
inc ebx
call dword [sym.imp.KERNEL32.dll_LocalFree]
jmp 0x449e78
push str.Encryption_failed.
lea ecx, [ebp - 0x34]
call fcn.00402829
xor ecx, ecx
mov byte [ebp - 4], 1
push ebx
lea edx, [ebp - 0x34]
inc ecx
call fcn.00414cf1
pop ecx
mov byte [ebp - 4], bl
mov ecx, dword [ebp - 0x34]
lea ecx, [ecx - 0x10]
call fcn.00402e64
push 0xffffffffffffffff
lea ecx, [ebp - 0x28]
call fcn.0040a128
push 0xffffffffffffffff
mov ecx, 0x515e1c
call fcn.0040a128
mov ecx, dword [ebp - 0x28]
add ecx, 0xfffffff0
call fcn.00402e64
mov eax, ebx
call fcn.00469676
ret