joyce8/EMBER2024-capa huggingface dataset:
Function at 0x43531f
Capabilities:
Get common file path

Disassembly:
push 8
mov eax, 0x468f8a
call fcn.004529c4
call fcn.0043eec2
push eax
lea ecx, [ebp - 0x10]
call fcn.004013a1
xor esi, esi
push 0x104
lea ecx, [ebp - 0x10]
mov dword [ebp - 4], esi
call fcn.0040165f
push eax
push esi
push esi
push 0x2b
push esi
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
push 0xffffffffffffffff
lea ecx, [ebp - 0x10]
mov edi, eax
call fcn.00407662
cmp edi, esi
jne 0x435390
mov ecx, dword [ebp + 8]
lea eax, [ebp - 0x10]
push eax
call fcn.00407768
mov ecx, dword [ebp + 8]
push str.AdobeARM1.0AdobeARM.exe
call fcn.004075b6
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.004017df
xor eax, eax
inc eax
jmp 0x4353ca
push str.SHGetFolderPath_in_GetCurrentExePath_failed:
lea ecx, [ebp - 0x14]
call fcn.004012e2
push edi
lea eax, [ebp - 0x14]
push eax
push 1
mov byte [ebp - 4], 1
call fcn.004117b0
mov ecx, dword [ebp - 0x14]
add esp, 0xc
add ecx, 0xfffffff0
mov esi, eax
call fcn.004017df
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.004017df
mov eax, esi
call fcn.00452a9c
ret

Function at 0x4353d0
Capabilities:
Get common file path

Disassembly:
push 0x218
mov eax, 0x46dc76
call fcn.00452a2d
xor edi, edi
mov esi, ecx
mov dword [ebp - 0x220], esi
cmp dword [ebp + 8], edi
je 0x4353ff
push 0x4b77bc
call fcn.00407768
push 0x479924
jmp 0x435448
xor eax, eax
push 0x206
mov word [ebp - 0x21c], ax
lea eax, [ebp - 0x21a]
push edi
push eax
call fcn.004507c0
add esp, 0xc
lea eax, [ebp - 0x21c]
push eax
push edi
push edi
push 0x2b
push edi
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
mov ebx, eax
cmp ebx, edi
jne 0x4354b4
lea eax, [ebp - 0x21c]
push eax
mov ecx, esi
call fcn.00401356
push str.AdobeARM1.0_
mov ecx, esi
call fcn.004075b6
push 0x4b767c
mov ecx, esi
call fcn.00401103
mov esi, dword [esi]
xor ebx, ebx
or edi, 0xffffffff
call main
test eax, eax
je 0x4354af
push dword [ebp - 0x220]
lea eax, [ebp - 0x224]
push str.Not_found_or_not_valid:
push eax
call fcn.0040107c
add esp, 0xc
mov esi, eax
mov dword [ebp - 4], 1
call dword [sym.imp.kernel32.dll_GetLastError]
push 0x1fc98
mov ecx, eax
mov edx, esi
mov ebx, 0x4b7bc0
call fcn.0040fd33
mov ecx, dword [ebp - 0x224]
jmp 0x4354df
xor eax, eax
inc eax
jmp 0x4354e9
push str.SHGetFolderPath_in_GetLauncherPath_failed:
lea ecx, [ebp - 0x220]
call fcn.004012e2
push ebx
lea eax, [ebp - 0x220]
push eax
push 1
mov dword [ebp - 4], edi
call fcn.004117b0
mov ecx, dword [ebp - 0x220]
add esp, 0xc
add ecx, 0xfffffff0
call fcn.004017df
xor eax, eax
call fcn.00452ab0
ret
Function at 0x4354ef
Capabilities:
Get file version info

Disassembly:
push 0x18
mov eax, 0x46a7a5
call fcn.004529c4
cmp dword [ebp + 0x10], 0
je 0x435534
push str.GetFileVersion__:
lea ecx, [ebp - 0x10]
call fcn.004012e2
and dword [ebp - 4], 0
push 0
push dword [ebp + 8]
lea eax, [ebp - 0x10]
push eax
push 2
call fcn.004112e0
or dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x10]
add esp, 0x10
add ecx, 0xfffffff0
call fcn.004017df
mov eax, dword [ebp + 8]
mov eax, dword [eax]
lea ecx, [ebp - 0x1c]
push ecx
push eax
call sub.version.dll_GetFileVersionInfoSizeW
mov dword [ebp - 0x14], eax
test eax, eax
je 0x435685
push eax
call main
pop ecx
mov dword [ebp - 0x10], eax
push dword [ebp - 0x10]
mov eax, dword [ebp + 8]
push dword [ebp - 0x14]
mov eax, dword [eax]
push 0
push eax
call sub.version.dll_GetFileVersionInfoW
test eax, eax
je 0x435645
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x18]
push eax
push 0x479924
push dword [ebp - 0x10]
call sub.version.dll_VerQueryValueW
cmp eax, 1
jne 0x435629
mov eax, dword [ebp - 0x18]
movzx ecx, word [eax + 0xa]
mov edx, dword [ebp + 0xc]
push dword [ebp - 0x10]
mov dword [edx], ecx
movzx ecx, word [eax + 8]
mov dword [ebx], ecx
movzx ecx, word [eax + 0xe]
mov dword [edi], ecx
movzx eax, word [eax + 0xc]
mov dword [esi], eax
call main
cmp dword [ebp + 0x10], 0
pop ecx
je 0x435621
call fcn.0043eec2
push eax
lea ecx, [ebp + 0x10]
call fcn.004013a1
push str.File_version:__1_u_._2_u_._3_u_._4_u_
lea ecx, [ebp + 8]
mov dword [ebp - 4], 1
call fcn.004012e2
mov eax, dword [ebp + 0xc]
mov byte [ebp - 4], 2
push dword [esi]
push dword [edi]
push dword [ebx]
push dword [eax]
lea eax, [ebp + 0x10]
push dword [ebp + 8]
push eax
call main
push 0
lea eax, [ebp + 0x10]
push eax
push 2
call fcn.004117b0
mov ecx, dword [ebp + 8]
add esp, 0x24
add ecx, 0xfffffff0
call fcn.004017df
mov ecx, dword [ebp + 0x10]
add ecx, 0xfffffff0
call fcn.004017df
xor eax, eax
inc eax
jmp 0x4356bc
cmp dword [ebp + 0x10], 0
je 0x43567a
push str.VerQueryValue___failed_in_GetFileVersion__.
lea ecx, [ebp + 0x10]
call fcn.004012e2
mov dword [ebp - 4], 3
jmp 0x43565f
cmp dword [ebp + 0x10], 0
je 0x43567a
push str.GetFileVersionInfo___failed_in_GetFileVersion__.
lea ecx, [ebp + 0x10]
call fcn.004012e2
mov dword [ebp - 4], 4
push 0
lea eax, [ebp + 0x10]
push eax
push 1
call fcn.004117b0
mov ecx, dword [ebp + 0x10]
add esp, 0xc
add ecx, 0xfffffff0
call fcn.004017df
push dword [ebp - 0x10]
call main
pop ecx
jmp 0x4356ba
cmp dword [ebp + 0x10], 0
je 0x4356ba
push str.GetFileVersionInfoSize___failed_in_GetFileVersion__.
lea ecx, [ebp - 0x14]
call fcn.004012e2
push 0
lea eax, [ebp - 0x14]
push eax
push 1
mov dword [ebp - 4], 5
call fcn.004117b0
mov ecx, dword [ebp - 0x14]
add esp, 0xc
add ecx, 0xfffffff0
call fcn.004017df
xor eax, eax
call fcn.00452a9c
ret
Function at 0x438474
Capabilities:
Query service status

Disassembly:
push 0x34
mov eax, 0x46a299
call fcn.004529c4
xor esi, esi
push 4
push esi
push esi
mov dword [ebp - 0x14], esi
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov ebx, eax
cmp ebx, esi
jne 0x4384d3
push str.OpenSCManager_failed_in_IsMsiBusy:
lea ecx, [ebp - 0x10]
call fcn.004012e2
mov dword [ebp - 4], esi
call dword [sym.imp.kernel32.dll_GetLastError]
push eax
lea eax, [ebp - 0x10]
push eax
push 2
call fcn.004117b0
or dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x10]
add esp, 0xc
add ecx, 0xfffffff0
call fcn.004017df
call fcn.004385a7
jmp 0x4385a1
push 4
push str.MSIServer
push ebx
call dword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov edi, eax
cmp edi, esi
jne 0x438528
push str.OpenService_failed_in_IsMsiBusy:
lea ecx, [ebp - 0x10]
call fcn.004012e2
mov dword [ebp - 4], 1
call dword [sym.imp.kernel32.dll_GetLastError]
push eax
lea eax, [ebp - 0x10]
push eax
push 2
call fcn.004117b0
or dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x10]
add esp, 0xc
add ecx, 0xfffffff0
call fcn.004017df
push ebx
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
jmp 0x4384c9
lea eax, [ebp - 0x18]
push eax
push 0x24
lea eax, [ebp - 0x3c]
push eax
push esi
push edi
call dword [sym.imp.ADVAPI32.dll_QueryServiceStatusEx]
cmp eax, esi
jne 0x438585
push str.QueryServiceStatusEx_failed_in_IsMsiBusy:
lea ecx, [ebp - 0x14]
call fcn.004012e2
push 2
pop esi
mov dword [ebp - 4], esi
call dword [sym.imp.kernel32.dll_GetLastError]
push eax
lea eax, [ebp - 0x14]
push eax
push esi
call fcn.004117b0
or dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x14]
add esp, 0xc
add ecx, 0xfffffff0
call fcn.004017df
mov esi, dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
push edi
call esi
push ebx
call esi
jmp 0x4384c9
cmp dword [ebp - 0x34], 4
jne 0x438592
mov dword [ebp - 0x14], 1
mov esi, dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
push edi
call esi
push ebx
call esi
mov eax, dword [ebp - 0x14]
call fcn.00452a9c
ret

Function at 0x4385a7
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 0x4385c8
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 0x4385c4
xor eax, eax
ret
Function at 0x439272
Capabilities:
Check if file exists
Delete directory
Set file attributes

Disassembly:
push 0x24
mov eax, 0x46a1b1
call fcn.004529c4
and dword [ebp - 4], 0
mov ecx, dword [ebp + 8]
mov eax, dword [ecx - 0xc]
test eax, eax
je 0x4393f5
cmp eax, 4
jb 0x4393f5
lea eax, [ebp + 8]
push eax
lea ecx, [ebp - 0x10]
call fcn.00401326
push 0x5c
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 1
call fcn.00408b0c
cmp eax, 0xffffffff
je 0x4392ec
mov ecx, dword [ebp - 0x10]
mov ecx, dword [ecx - 0xc]
dec ecx
cmp eax, ecx
jne 0x4392ec
push eax
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp - 0x10]
call main
push eax
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 2
call fcn.00407768
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
call fcn.004017df
push 0x478b48
lea ecx, [ebp - 0x10]
call fcn.004075b6
lea ecx, [ebp - 0x30]
call fcn.00441464
mov byte [ebp - 4], 3
mov edi, dword [ebp - 0x10]
push 0
push edi
lea ecx, [ebp - 0x30]
call main
test eax, eax
je 0x4393a1
lea ecx, [ebp - 0x30]
call fcn.004411f9
lea ecx, [ebp - 0x30]
mov ebx, eax
call fcn.00441425
test eax, eax
jne 0x439399
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp - 0x30]
call fcn.00441729
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0x30]
push 0x10
lea ecx, [ebp - 0x30]
call dword [eax + 0x38]
test eax, eax
je 0x439382
cmp dword [ebp + 0xc], 0
je 0x439368
push dword [ebp + 0xc]
xor ecx, ecx
lea esi, [ebp - 0x14]
call fcn.0040737b
cmp eax, 0xffffffff
jne 0x43938a
push 0
push ecx
lea eax, [ebp - 0x14]
mov dword [ebp - 0x18], esp
mov ecx, esp
push eax
call fcn.00401326
call fcn.00439272
pop ecx
pop ecx
jmp 0x43938a
lea ecx, [ebp - 0x14]
call fcn.00439403
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
call fcn.004017df
test ebx, ebx
jne 0x43931b
lea ecx, [ebp - 0x30]
call fcn.00441113
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 0x4393de
call dword [sym.imp.kernel32.dll_GetLastError]
cmp eax, 2
je 0x4393de
push eax
lea eax, [ebp + 8]
push eax
push 2
call fcn.004117b0
add esp, 0xc
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 1
call fcn.0044148d
lea ecx, [edi - 0x10]
call fcn.004017df
mov ecx, dword [ebp + 8]
add ecx, 0xfffffff0
call fcn.004017df
call fcn.00452a9c
ret
Function at 0x439403
Capabilities:
Check if file exists
Delete file

Disassembly:
push 0xc
mov eax, 0x46fa68
call fcn.004529c4
mov esi, ecx
mov eax, esi
call fcn.00401000
test eax, eax
je 0x4394c7
push str.ArmUI.ini
xor ecx, ecx
call fcn.0040737b
mov edi, dword [sym.imp.kernel32.dll_GetLastError]
cmp eax, 0xffffffff
je 0x43949b
xor ebx, ebx
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 dword [ebp - 0x14], eax
cmp eax, ebx
je 0x43949b
call edi
push dword [ebp - 0x14]
cmp eax, 0xb7
sete byte [ebp - 0xd]
call dword [sym.imp.kernel32.dll_CloseHandle]
cmp byte [ebp - 0xd], bl
je 0x43949b
push str.pdf_ownership_takeover_in_process__will_not_cleanup_ArmUI.ini_file
lea ecx, [ebp - 0x14]
call fcn.004012e2
push ebx
lea eax, [ebp - 0x14]
push eax
push 2
mov dword [ebp - 4], ebx
call fcn.004117b0
mov ecx, dword [ebp - 0x14]
add esp, 0xc
add ecx, 0xfffffff0
call fcn.004017df
jmp 0x4394c7
push 0x80
push dword [esi]
call dword [sym.imp.kernel32.dll_SetFileAttributesW]
push dword [esi]
call dword [sym.imp.kernel32.dll_DeleteFileW]
test eax, eax
jne 0x4394c7
call edi
cmp eax, 2
je 0x4394c7
push eax
push esi
push 2
call fcn.004117b0
add esp, 0xc
call fcn.00452a9c
ret

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

Disassembly:
mov eax, dword [esi]
cmp dword [eax - 0xc], 0
je 0x43950c
mov eax, dword [esp + 4]
cmp dword [eax], 0
jne 0x4394e5
mov ecx, esi
jmp fcn.00439403
mov eax, esi
call fcn.00401000
test eax, eax
je 0x43950c
mov eax, dword [ebx]
cmp dword [eax - 0xc], 0
je 0x439504
push 0x4a10e8
mov ecx, ebx
call fcn.004075b6
push esi
mov ecx, ebx
call fcn.00401103
ret
Function at 0x439991
Capabilities:
Reference sql statements

Disassembly:
push 0x10
mov eax, 0x46a16e
call fcn.004529c4
call fcn.0043eec2
push eax
lea ecx, [ebp - 0x18]
call fcn.004013a1
xor esi, esi
mov dword [ebp - 4], esi
mov dword [ebp - 0x10], esi
mov dword [ebp - 0x14], esi
mov ecx, dword [ebp + 0x10]
push 0x478cfc
mov byte [ebp - 4], 2
call fcn.004076d8
mov eax, dword [ebp + 0xc]
push dword [eax]
lea eax, [ebp - 0x18]
push str.SELECT_Value_FROM_Property_WHERE_Property.Property_s
push eax
call fcn.004012c2
add esp, 0xc
cmp dword [ebp - 0x10], esi
je 0x4399ea
push dword [ebp - 0x10]
call sub.msi.dll_MsiConfigureFeatureFromDescriptorA
mov ebx, dword [ebp - 0x18]
lea eax, [ebp - 0x10]
push eax
push ebx
push dword [ebp + 8]
mov dword [ebp - 0x10], esi
call sub.msi.dll_MsiEnumClientsA
mov edi, eax
cmp edi, esi
je 0x439a58
push str.MsiDatabaseOpenView__
lea ecx, [ebp + 0xc]
call fcn.004012e2
mov byte [ebp - 4], 3
push edi
lea eax, [ebp + 0xc]
push eax
push 2
call fcn.004117b0
mov ecx, dword [ebp + 0xc]
add esp, 0xc
add ecx, 0xfffffff0
call fcn.004017df
cmp dword [ebp - 0x14], esi
je 0x439a3b
push dword [ebp - 0x14]
call sub.msi.dll_MsiConfigureFeatureFromDescriptorA
cmp dword [ebp - 0x10], esi
je 0x439a48
push dword [ebp - 0x10]
call sub.msi.dll_MsiConfigureFeatureFromDescriptorA
lea ecx, [ebx - 0x10]
call fcn.004017df
mov eax, edi
call fcn.00452a9c
ret
push esi
push dword [ebp - 0x10]
call sub.msi.dll_MsiViewModify
mov edi, eax
cmp edi, esi
je 0x439a7a
push str.MsiViewExecute__
lea ecx, [ebp + 0xc]
call fcn.004012e2
mov byte [ebp - 4], 4
jmp 0x439a14
cmp dword [ebp - 0x14], esi
je 0x439a87
push dword [ebp - 0x14]
call sub.msi.dll_MsiConfigureFeatureFromDescriptorA
lea eax, [ebp - 0x14]
push eax
push dword [ebp - 0x10]
mov dword [ebp - 0x14], esi
call sub.msi.dll_MsiDatabaseIsTablePersistentA
mov edi, eax
cmp edi, esi
jne 0x439a2e
push dword [ebp + 0x10]
push 1
push dword [ebp - 0x14]
call main
mov edi, eax
add esp, 0xc
cmp edi, esi
je 0x439b08
push str.MsiGetRecordString__
lea ecx, [ebp + 0xc]
call fcn.004012e2
push edi
lea eax, [ebp + 0xc]
push eax
push 2
mov byte [ebp - 4], 5
call fcn.004117b0
mov ecx, dword [ebp + 0xc]
add esp, 0xc
add ecx, 0xfffffff0
call fcn.004017df
cmp dword [ebp - 0x14], esi
je 0x439aea
push dword [ebp - 0x14]
call sub.msi.dll_MsiConfigureFeatureFromDescriptorA
cmp dword [ebp - 0x10], esi
je 0x439af7
push dword [ebp - 0x10]
call sub.msi.dll_MsiConfigureFeatureFromDescriptorA
mov esi, edi
lea ecx, [ebx - 0x10]
call fcn.004017df
mov eax, esi
jmp 0x439a52
cmp dword [ebp - 0x14], esi
je 0x439b15
push dword [ebp - 0x14]
call sub.msi.dll_MsiConfigureFeatureFromDescriptorA
cmp dword [ebp - 0x10], esi
je 0x439af9
push dword [ebp - 0x10]
call sub.msi.dll_MsiConfigureFeatureFromDescriptorA
jmp 0x439af9
Function at 0x439e06
Capabilities:
Get disk information

Disassembly:
push ebp
lea ebp, [esp - 0x3a8]
sub esp, 0x428
mov eax, dword [0x4b2d60]
xor eax, ebp
mov dword [ebp + 0x3a4], eax
push ebx
push esi
push edi
xor eax, eax
mov esi, 0x208
push esi
mov word [ebp - 0x74], ax
xor ebx, ebx
lea eax, [ebp - 0x72]
push ebx
push eax
mov edi, ecx
call fcn.004507c0
xor eax, eax
push esi
mov word [ebp + 0x198], ax
lea eax, [ebp + 0x19a]
push ebx
push eax
call fcn.004507c0
add esp, 0x18
mov eax, 0x105
push eax
lea ecx, [ebp + 0x198]
push ecx
lea ecx, [ebp - 0x80]
push ecx
lea ecx, [ebp - 0x7c]
push ecx
lea ecx, [ebp - 0x78]
push ecx
push eax
lea eax, [ebp - 0x74]
push eax
push 0x49ca00
mov dword [ebp - 0x78], ebx
mov dword [ebp - 0x7c], ebx
mov dword [ebp - 0x80], ebx
call dword [sym.imp.kernel32.dll_GetVolumeInformationW]
test eax, eax
je 0x439eb9
mov eax, dword [ebp - 0x78]
xor ecx, ecx
cmp ecx, 0x103
je 0x439eb3
xor edx, edx
push 0xa
pop esi
div esi
mov dx, word [edx*2 + str.0123456789]
mov word [edi + ecx*2], dx
inc ecx
cmp eax, ebx
ja 0x439e93
xor eax, eax
mov word [edi + ecx*2], ax
push edi
call dword [sym.imp.kernel32.dll_lstrlenW]
cmp eax, 0x10
jge 0x439ed4
push str.thsnYaVieBoda
push 0x104
call main
mov ecx, dword [ebp + 0x3a4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0044fa93
add ebp, 0x3a8
leave
ret
Function at 0x439eec
Capabilities:
Encrypt data using dpapi

Disassembly:
push 0x3c
mov eax, 0x46a0ba
call fcn.00452a2d
mov esi, edx
mov dword [ebp - 0x38], ecx
xor ebx, ebx
call fcn.00401547
push 8
lea eax, [ebp - 0x48]
push ebx
push eax
call fcn.004507c0
add esp, 0xc
push 8
lea eax, [ebp - 0x30]
push ebx
push eax
call fcn.004507c0
add esp, 0xc
push 8
lea eax, [ebp - 0x40]
push ebx
push eax
call fcn.004507c0
add esp, 0xc
push esi
lea ecx, [ebp - 0x28]
call fcn.00401326
lea ecx, [ebp - 0x28]
mov dword [ebp - 4], ebx
call fcn.0040fc95
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x28]
mov eax, dword [eax - 0xc]
lea eax, [eax + eax + 2]
mov ecx, 0x4b7698
mov dword [ebp - 0x48], eax
call fcn.0040fc95
mov dword [ebp - 0x3c], eax
mov eax, dword [0x4b7698]
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 0x439fe6
mov esi, str.0123456789ABCDEF
lea edi, [ebp - 0x24]
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]
xor esi, esi
cmp dword [ebp - 0x30], ebx
jbe 0x439fd8
mov eax, dword [ebp - 0x2c]
movzx eax, byte [eax + esi]
mov ecx, dword [ebp - 0x38]
shr eax, 4
movzx eax, byte [ebp + eax - 0x24]
push eax
call fcn.0043d005
mov eax, dword [ebp - 0x2c]
movzx eax, byte [eax + esi]
mov ecx, dword [ebp - 0x38]
and eax, 0xf
movzx eax, byte [ebp + eax - 0x24]
push eax
call fcn.0043d005
inc esi
cmp esi, dword [ebp - 0x30]
jb 0x439fa2
push dword [ebp - 0x2c]
xor ebx, ebx
inc ebx
call dword [sym.imp.kernel32.dll_LocalFree]
jmp 0x43a014
push str.Encryption_failed.
lea ecx, [ebp - 0x34]
call fcn.004012e2
push ebx
lea eax, [ebp - 0x34]
push eax
push 1
mov byte [ebp - 4], 1
call fcn.004117b0
mov byte [ebp - 4], bl
mov ecx, dword [ebp - 0x34]
add esp, 0xc
add ecx, 0xfffffff0
call fcn.004017df
push 0xffffffffffffffff
lea ecx, [ebp - 0x28]
call fcn.00407662
push 0xffffffffffffffff
mov ecx, 0x4b7698
call fcn.00407662
mov ecx, dword [ebp - 0x28]
add ecx, 0xfffffff0
call fcn.004017df
mov eax, ebx
call fcn.00452ab0
ret
Function at 0x43a9dd
Capabilities:
Get common file path

Disassembly:
push 0x42c
mov eax, 0x469fcf
call fcn.00452a2d
test byte [0x4b7c40], 1
mov eax, dword [ebp + 8]
mov dword [ebp - 0x438], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x434], eax
mov esi, 0x4b7c3c
jne 0x43aa2b
or dword [0x4b7c40], 1
call fcn.0043eec2
push eax
mov ecx, esi
call fcn.004013a1
push 0x4706e5
call main
pop ecx
mov eax, dword [0x4b7c3c]
mov eax, dword [eax - 0xc]
xor edi, edi
cmp eax, edi
jne 0x43ab4b
call fcn.0043eec2
push eax
lea ecx, [ebp - 0x428]
call fcn.004013a1
xor eax, eax
mov ebx, 0x206
mov dword [ebp - 4], edi
push ebx
mov word [ebp - 0x218], ax
lea eax, [ebp - 0x216]
push edi
push eax
call fcn.004507c0
add esp, 0xc
lea eax, [ebp - 0x218]
push eax
push edi
push edi
push 0x2b
push edi
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
mov dword [ebp - 0x42c], eax
cmp eax, edi
jne 0x43abaa
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x428]
call fcn.00401356
push str.AdobeARM1.0_armsvc.exe
lea ecx, [ebp - 0x428]
call fcn.004075b6
xor eax, eax
push ebx
mov word [ebp - 0x420], ax
lea eax, [ebp - 0x41e]
push edi
push eax
call fcn.004507c0
mov ebx, dword [ebp - 0x428]
add esp, 0xc
push edi
push edi
lea eax, [ebp - 0x430]
push eax
lea eax, [ebp - 0x420]
push eax
push ebx
mov dword [ebp - 0x430], 0x104
call sub.msi.dll_MsiMessageBoxW
mov dword [ebp - 0x42c], eax
cmp eax, edi
jne 0x43ab6e
lea eax, [ebp - 0x420]
push eax
mov ecx, esi
call fcn.00401356
push str.found_service_version:
lea ecx, [ebp - 0x424]
call fcn.004012e2
push edi
push esi
lea eax, [ebp - 0x424]
push eax
push 2
mov byte [ebp - 4], 2
call fcn.004112e0
mov ecx, dword [ebp - 0x424]
add esp, 0x10
add ecx, 0xfffffff0
call fcn.004017df
or dword [ebp - 4], 0xffffffff
lea ecx, [ebx - 0x10]
call fcn.004017df
push dword [ebp - 0x438]
push esi
call main
pop ecx
test eax, eax
pop ecx
mov ecx, dword [ebp - 0x434]
setne al
mov byte [ecx], al
xor eax, eax
call fcn.00452ab0
ret
push str.unable_to_determine_service_version:
lea ecx, [ebp - 0x424]
call fcn.004012e2
mov esi, dword [ebp - 0x42c]
push esi
lea eax, [ebp - 0x424]
push eax
push 2
mov byte [ebp - 4], 3
call fcn.004117b0
mov ecx, dword [ebp - 0x424]
add esp, 0xc
add ecx, 0xfffffff0
call fcn.004017df
jmp 0x43abea
push str.SHGetFolderPath_failed:
lea ecx, [ebp - 0x424]
call fcn.004012e2
mov esi, dword [ebp - 0x42c]
push esi
lea eax, [ebp - 0x424]
push eax
push 2
mov byte [ebp - 4], 1
call fcn.004117b0
mov ecx, dword [ebp - 0x424]
add esp, 0xc
add ecx, 0xfffffff0
call fcn.004017df
mov ebx, dword [ebp - 0x428]
lea ecx, [ebx - 0x10]
call fcn.004017df
mov eax, esi
jmp 0x43ab68
Function at 0x43b9b4
Capabilities:
Set registry value

Disassembly:
push 0x224
mov eax, 0x469f7b
call fcn.00452a2d
call dword [sym.imp.kernel32.dll_GetTickCount]
mov dword [ebp - 0x228], eax
xor eax, eax
push 0x206
mov word [ebp - 0x21c], ax
xor esi, esi
lea eax, [ebp - 0x21a]
push esi
push eax
call fcn.004507c0
add esp, 0xc
push 0xa
push 0x104
lea eax, [ebp - 0x21c]
push eax
push dword [ebp - 0x228]
call main
add esp, 0x10
lea eax, [ebp - 0x21c]
push eax
lea ecx, [ebp - 0x220]
call fcn.004012e2
push str.Server_to_set_iNotify_value_in_HKEY_CURRENT_USER:
lea ecx, [ebp - 0x230]
mov dword [ebp - 4], esi
call fcn.004012e2
push esi
lea eax, [ebp - 0x220]
push eax
lea eax, [ebp - 0x230]
push eax
push 2
mov byte [ebp - 4], 1
call fcn.004112e0
mov ecx, dword [ebp - 0x230]
add esp, 0x10
add ecx, 0xfffffff0
call fcn.004017df
or dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x220]
add ecx, 0xfffffff0
call fcn.004017df
lea eax, [ebp - 0x224]
push eax
mov edi, 0x477688
push edi
mov esi, SysReAllocString
push esi
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyW]
push dword [ebp - 0x224]
mov ebx, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
call ebx
lea eax, [ebp - 0x224]
push eax
push 0xf003f
push 0
push edi
push esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
xor edi, edi
cmp eax, edi
jne 0x43bb13
push 4
lea eax, [ebp - 0x228]
push eax
push 4
push edi
push str.iNotify
push dword [ebp - 0x224]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push dword [ebp - 0x224]
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegFlushKey]
push dword [ebp - 0x224]
call ebx
cmp esi, edi
je 0x43bb4a
push str.Server__RegSetValueEx__failed_to_set_iNotify_value_in_HKEY_CURRENT_USER
lea ecx, [ebp - 0x220]
call fcn.004012e2
push 2
pop eax
push edi
lea ecx, [ebp - 0x220]
push ecx
push eax
mov dword [ebp - 4], eax
call fcn.004117b0
mov ecx, dword [ebp - 0x220]
jmp 0x43bb3f
push str.Server__RegOpenKeyEx__failed_to_set_iNotify_value_in_HKEY_CURRENT_USER
lea ecx, [ebp - 0x22c]
call fcn.004012e2
push edi
lea eax, [ebp - 0x22c]
push eax
push 2
mov dword [ebp - 4], 3
call fcn.004117b0
mov ecx, dword [ebp - 0x22c]
add esp, 0xc
add ecx, 0xfffffff0
call fcn.004017df
call fcn.00452ab0
ret