joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4494f1
Capabilities:
Check if file exists
Delete directory
Set file attributes

Disassembly:
push 0x2c
mov eax, 0x4b5910
call fcn.0046c338
mov ebx, ecx
and dword [ebp - 4], 0
mov eax, dword [ebp + 8]
cmp dword [eax - 0xc], 0
je 0x4496b5
cmp dword [eax - 0xc], 4
jb 0x4496b5
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.00485207
mov ecx, eax
add esp, 0xc
test ecx, ecx
je 0x449578
sub ecx, esi
sar ecx, 1
cmp ecx, 0xffffffff
je 0x449578
mov eax, dword [esi - 0xc]
dec eax
cmp ecx, eax
jne 0x449578
push ecx
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp - 0x14]
call fcn.004097e9
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 0x4d096c
lea ecx, [ebp - 0x14]
call fcn.0040259d
lea ecx, [ebp - 0x38]
call fcn.00454f63
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x38]
mov esi, dword [ebp - 0x14]
push 0
push esi
call fcn.00455150
test eax, eax
je 0x44963e
lea ecx, [ebp - 0x38]
call fcn.00455300
lea ecx, [ebp - 0x38]
mov dword [ebp - 0x18], eax
call fcn.004556f0
test eax, eax
jne 0x449634
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp - 0x38]
call fcn.00455410
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0x38]
push 0x10
mov edi, dword [eax + 0x38]
mov ecx, edi
call dword [0x4ba7e8]
lea ecx, [ebp - 0x38]
call edi
test eax, eax
je 0x44961d
test ebx, ebx
je 0x4495fb
push 0
push ebx
lea ecx, [ebp - 0x10]
call fcn.0040982e
cmp eax, 0xffffffff
jne 0x449625
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.004494f1
pop ecx
jmp 0x449625
lea ecx, [ebp - 0x10]
call fcn.004496c3
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x10]
lea ecx, [ecx - 0x10]
call fcn.00402e64
cmp dword [ebp - 0x18], 0
jne 0x4495a7
lea ecx, [ebp - 0x38]
call fcn.004550f0
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 0x4496a2
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
cmp edi, 2
je 0x4496a2
cmp edi, 3
je 0x4496a2
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.00417582
mov ecx, dword [ebp - 0x18]
add esp, 0x10
lea ecx, [ecx - 0x10]
call fcn.00402e64
lea ecx, [ebp - 0x38]
call fcn.00455069
lea ecx, [esi - 0x10]
call fcn.00402e64
mov eax, dword [ebp + 8]
lea ecx, [eax - 0x10]
call fcn.00402e64
call fcn.0046c301
ret
Function at 0x4496c3
Capabilities:
Check if file exists
Delete file
Get file attributes

Disassembly:
push 0xc
mov eax, 0x4ad990
call fcn.0046c338
mov edi, ecx
push dword [edi]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x4497a3
xor ebx, ebx
mov ecx, edi
push ebx
push str.ArmUI.ini
call fcn.0040982e
cmp eax, 0xffffffff
je 0x44974d
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 0x44974d
call dword [sym.imp.KERNEL32.dll_GetLastError]
push ebx
mov esi, eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp esi, 0xb7
jne 0x44974d
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.004174d1
pop ecx
mov ecx, dword [ebp - 0x10]
jmp 0x44979b
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 0x4497a3
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
cmp esi, 2
je 0x4497a3
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.00417582
pop ecx
mov ecx, dword [ebp - 0x14]
lea ecx, [ecx - 0x10]
call fcn.00402e64
call fcn.0046c301
ret

Function at 0x4497a9
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 0x4497f9
mov eax, dword [ebp + 8]
cmp dword [eax], 0
jne 0x4497cc
mov ecx, edi
pop edi
pop esi
pop ebp
jmp fcn.004496c3
push ecx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x4497f9
mov eax, dword [esi]
cmp dword [eax - 0xc], 0
je 0x4497ec
push 0x4fc018
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 0x449c5f
Capabilities:
Reference sql statements

Disassembly:
push 0x10
mov eax, 0x4b5a50
call fcn.0046c338
mov esi, edx
mov edi, ecx
call fcn.004524e1
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 0x4d0ab6
mov byte [ebp - 4], 2
call fcn.00409dac
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 0x449cba
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 0x449ce5
push str.MDOV_error:
lea ecx, [ebp - 0x1c]
call fcn.00402829
mov byte [ebp - 4], 3
jmp 0x449d53
push ebx
push dword [ebp - 0x10]
call dword [sym.imp.msi.dll_MsiViewModify]
mov edi, eax
test edi, edi
je 0x449d08
push str.MVE_error:
lea ecx, [ebp - 0x1c]
call fcn.00402829
mov byte [ebp - 4], 4
jmp 0x449d53
cmp dword [ebp - 0x14], 0
je 0x449d17
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 0x449d6b
push dword [ebp + 8]
mov ecx, dword [ebp - 0x14]
xor edx, edx
inc edx
call fcn.00449d9b
mov edi, eax
pop ecx
test edi, edi
je 0x449d6d
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.00417582
pop ecx
mov ecx, dword [ebp - 0x1c]
lea ecx, [ecx - 0x10]
call fcn.00402e64
mov ebx, edi
cmp dword [ebp - 0x14], 0
je 0x449d7c
push dword [ebp - 0x14]
call dword [sym.imp.msi.dll_MsiConfigureFeatureFromDescriptorA]
cmp dword [ebp - 0x10], 0
je 0x449d8b
push dword [ebp - 0x10]
call dword [sym.imp.msi.dll_MsiConfigureFeatureFromDescriptorA]
lea ecx, [esi - 0x10]
call fcn.00402e64
mov eax, ebx
call fcn.0046c301
ret
Function at 0x44a05c
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x428
mov eax, dword [0x513554]
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.004847f0
push ebx
lea eax, [ebp - 0x210]
push esi
push eax
call fcn.004847f0
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 0x4d2448
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationW]
test eax, eax
je 0x44a115
mov ecx, dword [ebp - 0x420]
cmp esi, 0x103
je 0x44a10f
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 0x44a0eb
xor eax, eax
mov word [edi + esi*2], ax
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
cmp eax, 0x10
jge 0x44a132
push str.thsnYaVieBoda
mov edx, 0x104
mov ecx, edi
call fcn.0040ddaf
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0046bd5a
leave
ret
Function at 0x44a141
Capabilities:
Encrypt data using dpapi

Disassembly:
push 0x3c
mov eax, 0x4b5ae0
call fcn.0046c36c
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.004847f0
add esp, 0xc
lea eax, [ebp - 0x30]
push 8
push ebx
push eax
call fcn.004847f0
add esp, 0xc
lea eax, [ebp - 0x40]
push 8
push ebx
push eax
call fcn.004847f0
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 0x44a1b3
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 [0x518e1c]
cmp dword [eax - 4], 1
jle 0x44a1e0
push dword [eax - 0xc]
mov ecx, 0x518e1c
call fcn.00402aac
mov eax, dword [0x518e1c]
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 0x44a26a
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 0x44a25c
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.00427bf8
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.00427bf8
inc ebx
cmp ebx, dword [ebp - 0x30]
jb 0x44a220
push dword [ebp - 0x2c]
xor ebx, ebx
inc ebx
call dword [sym.imp.KERNEL32.dll_LocalFree]
jmp 0x44a296
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.004174d1
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.00409d68
push 0xffffffffffffffff
mov ecx, 0x518e1c
call fcn.00409d68
mov ecx, dword [ebp - 0x28]
add ecx, 0xfffffff0
call fcn.00402e64
mov eax, ebx
call fcn.0046c316
ret
Function at 0x44ab6f
Capabilities:
Get common file path

Disassembly:
push 0x424
mov eax, 0x4b5ccc
call fcn.0046c36c
mov dword [ebp - 0x430], edx
mov ebx, ecx
mov eax, dword fs:[0x2c]
mov edi, 0x5194b4
mov ecx, dword [eax]
mov eax, dword [0x5194b0]
cmp eax, dword [ecx + 4]
jle 0x44abd4
mov esi, 0x5194b0
push esi
call fcn.0046c116
cmp dword [0x5194b0], 0xffffffff
pop ecx
jne 0x44abd4
call fcn.004524e1
push eax
mov ecx, edi
call fcn.00402899
push 0x4b93d0
call fcn.0046bfdd
pop ecx
push esi
call fcn.0046c0cc
pop ecx
mov eax, dword [0x5194b4]
cmp dword [eax - 0xc], 0
jne 0x44ace2
call fcn.004524e1
push eax
lea ecx, [ebp - 0x428]
call fcn.00402899
xor esi, esi
lea eax, [ebp - 0x218]
push 0x208
push esi
push eax
mov dword [ebp - 4], esi
call fcn.004847f0
add esp, 0xc
lea eax, [ebp - 0x218]
push eax
push esi
push esi
push 0x2b
push esi
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
mov edi, eax
test edi, edi
jne 0x44ad34
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x428]
call fcn.0040286d
push str.AdobeARM1.0_armsvc.exe
lea ecx, [ebp - 0x428]
call fcn.0040259d
push 0x208
lea eax, [ebp - 0x420]
push esi
push eax
call fcn.004847f0
add esp, 0xc
mov dword [ebp - 0x42c], 0x104
lea eax, [ebp - 0x42c]
push esi
push esi
mov esi, dword [ebp - 0x428]
push eax
lea eax, [ebp - 0x420]
push eax
push esi
call dword [sym.imp.msi.dll_MsiMessageBoxW]
mov edi, eax
test edi, edi
jne 0x44ad00
lea eax, [ebp - 0x420]
mov edi, 0x5194b4
push eax
mov ecx, edi
call fcn.0040286d
push str.found_service_version:
lea ecx, [ebp - 0x424]
call fcn.00402829
push 0
push edi
push 2
lea edx, [ebp - 0x424]
mov byte [ebp - 4], 2
pop ecx
call fcn.00416da0
pop ecx
pop ecx
mov ecx, dword [ebp - 0x424]
lea ecx, [ecx - 0x10]
call fcn.00402e64
or dword [ebp - 4], 0xffffffff
lea ecx, [esi - 0x10]
call fcn.00402e64
mov edx, ebx
mov ecx, edi
call fcn.00445e27
mov ecx, dword [ebp - 0x430]
test eax, eax
setne al
mov byte [ecx], al
xor eax, eax
call fcn.0046c316
ret
push str.unable_to_determine_service_version:
lea ecx, [ebp - 0x424]
call fcn.00402829
push edi
push 2
lea edx, [ebp - 0x424]
mov byte [ebp - 4], 3
pop ecx
call fcn.00417582
pop ecx
mov ecx, dword [ebp - 0x424]
lea ecx, [ecx - 0x10]
call fcn.00402e64
jmp 0x44ad6c
push str.SHGetFolderPath_failed:
lea ecx, [ebp - 0x424]
call fcn.00402829
push edi
push 2
lea edx, [ebp - 0x424]
mov byte [ebp - 4], 1
pop ecx
call fcn.00417582
pop ecx
mov ecx, dword [ebp - 0x424]
lea ecx, [ecx - 0x10]
call fcn.00402e64
mov esi, dword [ebp - 0x428]
lea ecx, [esi - 0x10]
call fcn.00402e64
mov eax, edi
jmp 0x44acfa
Function at 0x44bbe7
Capabilities:
Set registry value

Disassembly:
push 0x220
mov eax, 0x4b5fbc
call fcn.0046c36c
call dword [sym.imp.KERNEL32.dll_GetTickCount64]
mov esi, eax
xor ebx, ebx
push 0x208
lea eax, [ebp - 0x218]
mov dword [ebp - 0x22c], esi
push ebx
push eax
call fcn.004847f0
push 0xa
push 0x104
lea eax, [ebp - 0x218]
push eax
push esi
call fcn.0048c75f
add esp, 0x1c
lea eax, [ebp - 0x218]
lea ecx, [ebp - 0x220]
push eax
call fcn.00402829
push str.Server_to_set_iNotify_value_in_HKEY_CURRENT_USER:
lea ecx, [ebp - 0x224]
mov dword [ebp - 4], ebx
call fcn.00402829
push ebx
lea eax, [ebp - 0x220]
mov byte [ebp - 4], 1
push eax
push 2
lea edx, [ebp - 0x224]
pop ecx
call fcn.00416da0
pop ecx
pop ecx
mov ecx, dword [ebp - 0x224]
lea ecx, [ecx - 0x10]
call fcn.00402e64
or dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x220]
lea ecx, [ecx - 0x10]
call fcn.00402e64
lea eax, [ebp - 0x21c]
mov edi, 0x4ce868
push eax
push edi
mov esi, SysReAllocString
push esi
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyW]
push dword [ebp - 0x21c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [ebp - 0x21c]
push eax
push 0xf003f
push ebx
push edi
push esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x44bd38
push 4
lea eax, [ebp - 0x22c]
push eax
push 4
push ebx
push str.iNotify
push dword [ebp - 0x21c]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push dword [ebp - 0x21c]
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegFlushKey]
push dword [ebp - 0x21c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
je 0x44bd6d
push str.Server__RegSetValueEx__failed_to_set_iNotify_value_in_HKEY_CURRENT_USER
lea ecx, [ebp - 0x220]
call fcn.00402829
push ebx
push 2
lea edx, [ebp - 0x220]
mov dword [ebp - 4], 2
pop ecx
call fcn.004174d1
pop ecx
mov ecx, dword [ebp - 0x220]
jmp 0x44bd65
push str.Server__RegOpenKeyEx__failed_to_set_iNotify_value_in_HKEY_CURRENT_USER
lea ecx, [ebp - 0x228]
call fcn.00402829
push ebx
push 2
lea edx, [ebp - 0x228]
mov dword [ebp - 4], 3
pop ecx
call fcn.004174d1
pop ecx
mov ecx, dword [ebp - 0x228]
lea ecx, [ecx - 0x10]
call fcn.00402e64
call fcn.0046c316
ret
Function at 0x44cca6
Capabilities:
Get common file path

Disassembly:
push 0x21c
mov eax, 0x4b630c
call fcn.0046c36c
push str.CleanupUpgradeCache...
lea ecx, [ebp - 0x220]
call fcn.00402829
xor edi, edi
lea edx, [ebp - 0x220]
push edi
push 2
pop ebx
mov ecx, ebx
mov dword [ebp - 4], edi
call fcn.004174d1
or dword [ebp - 4], 0xffffffff
pop ecx
mov ecx, dword [ebp - 0x220]
lea ecx, [ecx - 0x10]
call fcn.00402e64
lea eax, [ebp - 0x21c]
push eax
push edi
push edi
push 0x8023
push edi
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
mov esi, eax
test esi, esi
jns 0x44cd44
push str.SHGetFolderPath_failed
lea ecx, [ebp - 0x220]
call fcn.00402829
push esi
lea edx, [ebp - 0x220]
mov dword [ebp - 4], 1
mov ecx, ebx
call fcn.00417582
pop ecx
mov ecx, dword [ebp - 0x220]
lea ecx, [ecx - 0x10]
call fcn.00402e64
mov eax, esi
jmp 0x44cde4
lea eax, [ebp - 0x21c]
push eax
lea ecx, [ebp - 0x224]
call fcn.00402829
push 0x518ff4
lea eax, [ebp - 0x228]
mov dword [ebp - 4], ebx
push str.AdobeARMUpgradeCache_
push eax
call fcn.004023f1
add esp, 0xc
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x224]
mov eax, dword [eax]
push dword [eax - 0xc]
push eax
call fcn.004025c6
mov byte [ebp - 4], bl
mov ecx, dword [ebp - 0x228]
add ecx, 0xfffffff0
call fcn.00402e64
push ecx
mov esi, esp
mov dword [ebp - 0x228], esi
mov eax, dword [ebp - 0x224]
add eax, 0xfffffff0
push eax
call fcn.00402d9f
pop ecx
add eax, 0x10
mov ecx, edi
mov dword [esi], eax
call fcn.004494f1
pop ecx
push dword [0x518e48]
mov edx, 0x4ce868
mov ecx, SysReAllocString
call fcn.00444615
pop ecx
mov ecx, dword [ebp - 0x224]
lea ecx, [ecx - 0x10]
call fcn.00402e64
xor eax, eax
call fcn.0046c316
ret
Function at 0x44e121
Capabilities:
Query environment variable

Disassembly:
push 8
mov eax, 0x4b66d8
call fcn.0046c338
mov ebx, edx
mov edi, ecx
push str.Entered_ExtractPath:
lea ecx, [ebp - 0x10]
call fcn.00402829
and dword [ebp - 4], 0
lea edx, [ebp - 0x10]
push ecx
push edi
call fcn.0041754b
or dword [ebp - 4], 0xffffffff
pop ecx
pop ecx
mov ecx, dword [ebp - 0x10]
lea ecx, [ecx - 0x10]
call fcn.00402e64
mov eax, dword [edi]
sub eax, 0x10
push eax
call fcn.00402d9f
add eax, 0x10
pop ecx
mov dword [ebp - 0x10], eax
lea ecx, [ebp - 0x10]
mov dword [ebp - 4], 1
call fcn.0040b140
push 0
push str..exe
lea ecx, [ebp - 0x10]
call fcn.0040982e
mov esi, eax
cmp esi, 0xffffffff
je 0x44e29b
push str.found_EXE_value_in:
lea ecx, [ebp - 0x14]
call fcn.00402829
push ecx
push edi
lea edx, [ebp - 0x14]
mov byte [ebp - 4], 2
call fcn.0041754b
pop ecx
pop ecx
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x14]
lea ecx, [ecx - 0x10]
call fcn.00402e64
cmp dword [ebp + 8], 1
jne 0x44e218
push 0
push 0x4fdff0
lea ecx, [ebp - 0x10]
call fcn.0040982e
cmp eax, 0xffffffff
je 0x44e205
cmp eax, esi
jge 0x44e205
sub esi, eax
mov ecx, edi
add esi, 4
push esi
push eax
lea eax, [ebp - 0x14]
push eax
call fcn.00409a7f
push eax
mov ecx, ebx
mov byte [ebp - 4], 3
call fcn.00402e14
jmp 0x44e290
push str.Could_not_extract_app_path_from:
lea ecx, [ebp - 0x14]
call fcn.00402829
mov byte [ebp - 4], 4
jmp 0x44e284
cmp dword [ebp + 8], 2
jne 0x44e29b
push 0
push 0x4fe03c
lea ecx, [ebp - 0x10]
call fcn.0040982e
cmp eax, 0xffffffff
je 0x44e273
cmp eax, esi
jge 0x44e273
sub esi, eax
mov ecx, edi
add esi, 4
push esi
push eax
lea eax, [ebp - 0x14]
push eax
call fcn.00409a7f
mov esi, 0x104
mov byte [ebp - 4], 5
push esi
mov ecx, ebx
call fcn.00402bd2
push esi
mov esi, dword [ebp - 0x14]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
push 0xffffffffffffffff
mov ecx, ebx
call fcn.00409d68
lea ecx, [esi - 0x10]
jmp 0x44e296
push str.Could_not_extract_app_path_from:
lea ecx, [ebp - 0x14]
call fcn.00402829
mov byte [ebp - 4], 6
push ecx
push edi
lea edx, [ebp - 0x14]
call fcn.0041754b
pop ecx
pop ecx
mov ecx, dword [ebp - 0x14]
lea ecx, [ecx - 0x10]
call fcn.00402e64
mov ecx, dword [ebp - 0x10]
lea ecx, [ecx - 0x10]
call fcn.00402e64
call fcn.0046c301
ret
Function at 0x44e2ac
Capabilities:
Check if file exists
Get file attributes
Query or enumerate registry value

Disassembly:
push 0x20
mov eax, 0x4b6728
call fcn.0046c338
lea eax, [ebp - 0x20]
push eax
push 0x20019
push 0
push dword [ecx]
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x44e2db
xor al, al
jmp 0x44e44c
call fcn.004524e1
push eax
lea ecx, [ebp - 0x24]
call fcn.00402899
and dword [ebp - 4], 0
call fcn.004524e1
push eax
lea ecx, [ebp - 0x14]
call fcn.00402899
xor ebx, ebx
mov esi, 0x400
inc ebx
mov eax, esi
mov byte [ebp - 4], bl
xor edi, edi
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x1c], eax
cmp edi, 0x32
jge 0x44e429
push eax
lea ecx, [ebp - 0x14]
call fcn.00402bd2
push dword [ebp - 0x18]
lea ecx, [ebp - 0x24]
mov esi, eax
call fcn.00402bd2
lea ecx, [ebp - 0x1c]
push ecx
push esi
lea ecx, [ebp - 0x2c]
push ecx
push 0
lea ecx, [ebp - 0x18]
push ecx
push eax
push edi
push dword [ebp - 0x20]
call dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
test eax, eax
jne 0x44e429
push 0xffffffffffffffff
lea ecx, [ebp - 0x24]
call fcn.00409d68
push 0xffffffffffffffff
lea ecx, [ebp - 0x14]
call fcn.00409d68
call fcn.004524e1
push eax
lea ecx, [ebp - 0x10]
call fcn.00402899
mov byte [ebp - 4], 2
lea edx, [ebp - 0x10]
push dword [ebp - 0x2c]
lea ecx, [ebp - 0x14]
call fcn.0044e121
mov eax, dword [ebp - 0x10]
pop ecx
cmp dword [eax - 0xc], 0
je 0x44e39b
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x44e3e8
push str.App_for_.pdf_progID_not_found:
lea ecx, [ebp - 0x28]
call fcn.00402829
push ecx
lea eax, [ebp - 0x10]
mov byte [ebp - 4], 4
push eax
lea edx, [ebp - 0x28]
call fcn.0041754b
pop ecx
pop ecx
mov ecx, dword [ebp - 0x28]
lea ecx, [ecx - 0x10]
call fcn.00402e64
mov byte [ebp - 4], bl
mov eax, 0x400
mov ecx, dword [ebp - 0x10]
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x1c], eax
lea ecx, [ecx - 0x10]
call fcn.00402e64
mov eax, dword [ebp - 0x1c]
inc edi
jmp 0x44e310
push 0x4fe040
lea ecx, [ebp - 0x28]
call fcn.00402829
push ecx
lea eax, [ebp - 0x10]
mov byte [ebp - 4], 3
push eax
lea edx, [ebp - 0x28]
call fcn.0041754b
pop ecx
pop ecx
mov ecx, dword [ebp - 0x28]
lea ecx, [ecx - 0x10]
call fcn.00402e64
push dword [ebp - 0x20]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 0x10]
lea ecx, [ecx - 0x10]
call fcn.00402e64
jmp 0x44e434
push dword [ebp - 0x20]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor bl, bl
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
call fcn.00402e64
mov ecx, dword [ebp - 0x24]
add ecx, 0xfffffff0
call fcn.00402e64
mov al, bl
call fcn.0046c301
ret
Function at 0x44e452
Capabilities:
Query or enumerate registry key

Disassembly:
push 0x22c
mov eax, 0x4b677c
call fcn.0046c36c
mov edi, ecx
push str.Entered_EnumKeys:
lea ecx, [ebp - 0x228]
call fcn.00402829
push ecx
xor ebx, ebx
lea edx, [ebp - 0x228]
push edi
mov dword [ebp - 4], ebx
call fcn.0041754b
or dword [ebp - 4], 0xffffffff
pop ecx
pop ecx
mov ecx, dword [ebp - 0x228]
lea ecx, [ecx - 0x10]
call fcn.00402e64
lea eax, [ebp - 0x21c]
push eax
push 8
push ebx
push dword [edi]
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x44e600
mov esi, ebx
cmp esi, 0x32
jae 0x44e5f4
push 0x208
lea eax, [ebp - 0x218]
xorps xmm0, xmm0
push ebx
push eax
movlpd qword [ebp - 0x238], xmm0
call fcn.004847f0
add esp, 0xc
mov dword [ebp - 0x22c], 0x104
lea eax, [ebp - 0x238]
push eax
push ebx
push ebx
push ebx
lea eax, [ebp - 0x22c]
push eax
lea eax, [ebp - 0x218]
push eax
push esi
push dword [ebp - 0x21c]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
jne 0x44e5f4
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x224]
call fcn.00402829
mov dword [ebp - 4], 1
mov eax, dword [ebp - 0x224]
cmp dword [eax - 0xc], 0
je 0x44e5b6
push 0x4d0aa0
lea eax, [ebp - 0x230]
push edi
push eax
call fcn.00402459
lea ecx, [ebp - 0x224]
mov byte [ebp - 4], 2
push ecx
push eax
lea eax, [ebp - 0x220]
push eax
call fcn.004024b8
add esp, 0x18
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x230]
lea ecx, [ecx - 0x10]
call fcn.00402e64
lea ecx, [ebp - 0x220]
call fcn.0044e2ac
mov bl, al
test bl, bl
jne 0x44e5c8
lea ecx, [ebp - 0x220]
call fcn.0044e452
mov bl, al
test bl, bl
jne 0x44e5c8
mov ecx, dword [ebp - 0x220]
lea ecx, [ecx - 0x10]
call fcn.00402e64
mov eax, dword [ebp - 0x224]
xor ebx, ebx
or dword [ebp - 4], 0xffffffff
lea ecx, [eax - 0x10]
call fcn.00402e64
inc esi
jmp 0x44e4ba
push dword [ebp - 0x21c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 0x220]
lea ecx, [ecx - 0x10]
call fcn.00402e64
mov ecx, dword [ebp - 0x224]
lea ecx, [ecx - 0x10]
call fcn.00402e64
mov al, bl
jmp 0x44e602
push dword [ebp - 0x21c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor al, al
call fcn.0046c316
ret