joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4343c8
Capabilities:
Reference sql statements

Disassembly:
push 0x14
mov eax, 0x4b0d10
call fcn.0046ac08
mov ebx, ecx
mov eax, dword [0x516068]
add eax, 0xfffffff0
push eax
call main
lea esi, [eax + 0x10]
mov dword [ebp - 0x20], esi
xor edi, edi
mov dword [ebp - 4], edi
mov dword [ebp - 0x10], edi
mov dword [ebp - 0x14], edi
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x18]
mov dword [esp], str.SELECT__FileSequences__FROM__ProductUpgrades__WHERE__UpgradeMatch_
call fcn.00402829
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x18]
push dword [esi - 0xc]
push esi
call main
push 0x4ef018
lea ecx, [ebp - 0x18]
call fcn.0041035e
cmp dword [ebp - 0x10], edi
je 0x434433
push dword [ebp - 0x10]
call dword [sym.imp.msi.dll_MsiConfigureFeatureFromDescriptorA]
lea eax, [ebp - 0x10]
mov dword [ebp - 0x10], edi
push eax
push dword [ebp - 0x18]
push dword [ebx + 4]
call dword [sym.imp.msi.dll_MsiEnumClientsA]
test eax, eax
je 0x43445d
push 0x4ef01c
lea ecx, [ebp - 0x1c]
call fcn.00402829
mov byte [ebp - 4], 4
jmp 0x43447c
push edi
push dword [ebp - 0x10]
call dword [sym.imp.msi.dll_MsiViewModify]
test eax, eax
je 0x43449b
push 0x4ef028
lea ecx, [ebp - 0x1c]
call fcn.00402829
mov byte [ebp - 4], 5
xor ecx, ecx
lea edx, [ebp - 0x1c]
mov edi, 0x3d32
inc ecx
push edi
call fcn.004175da
pop ecx
mov ecx, dword [ebp - 0x1c]
lea ecx, [ecx - 0x10]
call fcn.00402e64
jmp 0x4344cd
cmp dword [ebp - 0x14], 0
je 0x4344aa
push dword [ebp - 0x14]
call dword [sym.imp.msi.dll_MsiConfigureFeatureFromDescriptorA]
lea eax, [ebp - 0x14]
mov dword [ebp - 0x14], edi
push eax
push dword [ebp - 0x10]
call dword [sym.imp.msi.dll_MsiDatabaseIsTablePersistentA]
test eax, eax
jne 0x4344cd
push dword [ebp + 8]
mov ecx, dword [ebp - 0x14]
xor edx, edx
inc edx
call main
pop ecx
mov ecx, dword [ebp - 0x18]
lea ecx, [ecx - 0x10]
call fcn.00402e64
cmp dword [ebp - 0x14], 0
je 0x4344e7
push dword [ebp - 0x14]
call dword [sym.imp.msi.dll_MsiConfigureFeatureFromDescriptorA]
cmp dword [ebp - 0x10], 0
je 0x4344f6
push dword [ebp - 0x10]
call dword [sym.imp.msi.dll_MsiConfigureFeatureFromDescriptorA]
lea ecx, [esi - 0x10]
call fcn.00402e64
mov eax, edi
call fcn.0046abd1
ret 4
Function at 0x4384d2
Capabilities:
Get common file path

Disassembly:
push 0x210
mov eax, 0x4b15eb
call fcn.0046ac3c
mov edi, ecx
push dword [edx]
push str._INSTALLDIR_
call main
test eax, eax
jne 0x4385ed
call fcn.00450db1
push eax
lea ecx, [ebp - 0x21c]
call main
xor ebx, ebx
mov esi, str._WindowsFolder_
push ebx
push esi
mov ecx, edi
mov dword [ebp - 4], ebx
call main
cmp eax, 0xffffffff
je 0x438524
push 0x24
jmp 0x43857e
push ebx
mov esi, str._SystemFolder_
mov ecx, edi
push esi
call main
cmp eax, 0xffffffff
je 0x43853b
push 0x25
jmp 0x43857e
push ebx
mov esi, str._ProgramFilesFolder_
mov ecx, edi
push esi
call main
cmp eax, 0xffffffff
je 0x438552
push 0x26
jmp 0x43857e
push ebx
mov esi, str._CommonFilesFolder_
mov ecx, edi
push esi
call main
cmp eax, 0xffffffff
je 0x438569
push 0x2b
jmp 0x43857e
push ebx
mov esi, str._LocalAppDataFolder_
mov ecx, edi
push esi
call main
cmp eax, 0xffffffff
je 0x4385df
push 0x1c
pop ebx
push esi
lea ecx, [ebp - 0x21c]
call main
push 0x208
xor esi, esi
lea eax, [ebp - 0x218]
push esi
push eax
call fcn.004830a0
add esp, 0xc
lea eax, [ebp - 0x218]
push eax
push esi
push esi
push ebx
push esi
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
jne 0x4385df
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.kernel32.dll_lstrlenW]
test eax, eax
je 0x4385df
mov esi, dword [ebp - 0x21c]
lea eax, [ebp - 0x218]
push eax
push esi
mov ecx, edi
call main
jmp 0x4385e5
mov esi, dword [ebp - 0x21c]
lea ecx, [esi - 0x10]
call fcn.00402e64
call fcn.0046abe6
ret
Function at 0x4388bb
Capabilities:
Enumerate gui resources

Disassembly:
push 0x3d4
mov eax, 0x4b16a3
call fcn.0046ac08
push str.DisplayFilesInUse...
lea ecx, [ebp - 0x14]
call fcn.00402829
and dword [ebp - 4], 0
lea edx, [ebp - 0x14]
push 0
push 2
pop ecx
call fcn.004174f1
or dword [ebp - 4], 0xffffffff
pop ecx
mov ecx, dword [ebp - 0x14]
lea ecx, [ecx - 0x10]
call fcn.00402e64
mov eax, dword [0x515fec]
add eax, 0xfffffff0
push eax
call main
add eax, 0x10
pop ecx
mov dword [ebp - 0x18], eax
xor eax, eax
inc eax
mov dword [ebp - 4], eax
push 0xffffffffffffffff
xor edi, edi
mov ecx, 0x51639c
push edi
call main
xor ebx, ebx
cmp dword [0x515fa8], ebx
jle 0x438a59
push ebx
mov ecx, 0x515fa0
call main
mov esi, eax
mov dword [ebp - 0x1c], esi
mov eax, dword [esi]
test eax, eax
je 0x438a4c
cmp dword [eax + 0x4c], 0
je 0x43895d
cmp dword [0x515f2c], 0
je 0x438a4c
mov eax, dword [eax + 8]
and dword [ebp - 0x14], 0
sub eax, 0x10
push eax
call main
add eax, 0x10
mov dword [ebp - 0x10], eax
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x10]
mov dword [esp], 0x4f2dcc
call main
lea ecx, [ebp - 0x10]
test eax, eax
je 0x4389dc
lea edx, [ebp - 0x18]
call fcn.004384d2
mov esi, dword [ebp - 0x10]
push 0x5c
push esi
call main
pop ecx
pop ecx
mov ecx, eax
test ecx, ecx
jne 0x4389ad
or ecx, 0xffffffff
jmp 0x4389b1
sub ecx, esi
sar ecx, 1
mov eax, dword [esi - 0xc]
dec eax
cmp ecx, eax
je 0x4389c6
push 0x4cead0
lea ecx, [ebp - 0x10]
call main
mov esi, dword [ebp - 0x1c]
lea ecx, [ebp - 0x10]
mov eax, dword [esi]
mov eax, dword [eax + 4]
push dword [eax - 0xc]
push eax
call main
jmp 0x4389e7
mov eax, dword [esi]
add eax, 4
push eax
call main
mov eax, dword [esi]
mov esi, dword [ebp - 0x10]
cmp dword [eax + 0x1c], 7
jne 0x438a0b
push 0
push 1
lea edx, [ebp - 0x14]
mov ecx, esi
call main
pop ecx
pop ecx
test eax, eax
je 0x438a2a
xor edi, edi
inc edi
jmp 0x438a2a
cmp dword [eax + 0x1c], 0
jne 0x438a3e
push dword [eax + 4]
lea edx, [ebp - 0x14]
mov ecx, esi
push 0
call main
pop ecx
pop ecx
test eax, eax
push 1
pop eax
cmovne edi, eax
cmp dword [ebp - 0x14], 0
je 0x438a3e
push dword [ebp - 0x14]
push 0x438430
call dword [sym.imp.USER32.dll_EnumWindows]
xor eax, eax
lea ecx, [esi - 0x10]
inc eax
mov byte [ebp - 4], al
call fcn.00402e64
inc ebx
cmp ebx, dword [0x515fa8]
jl 0x438930
test edi, edi
je 0x438a92
push dword [0x5163f0]
lea ecx, [ebp - 0x3e0]
call fcn.00428d66
lea ecx, [ebp - 0x3e0]
mov byte [ebp - 4], 3
call fcn.00457550
mov esi, eax
lea ecx, [ebp - 0x3e0]
xor eax, eax
inc eax
mov byte [ebp - 4], al
call fcn.00428ec3
jmp 0x438a97
xor eax, eax
lea esi, [eax + 1]
cmp esi, 4
je 0x438913
mov ecx, dword [ebp - 0x18]
lea ecx, [ecx - 0x10]
call fcn.00402e64
mov eax, esi
call fcn.0046abd1
ret
Function at 0x43b6ec
Capabilities:
Shutdown system

Disassembly:
push 0x20
mov eax, 0x4b1c48
call fcn.0046ac3c
lea eax, [ebp - 0x2c]
push eax
push 0x28
call dword [sym.imp.kernel32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
jne 0x43b73b
push str.OpenProcessToken_failed_in_RebootOS.
lea ecx, [ebp - 0x24]
call fcn.00402829
and dword [ebp - 4], 0
call dword [sym.imp.kernel32.dll_GetLastError]
push eax
push 2
pop ecx
lea edx, [ebp - 0x24]
call fcn.004174f1
pop ecx
mov ecx, dword [ebp - 0x24]
jmp 0x43b7c5
lea eax, [ebp - 0x1c]
xor esi, esi
push eax
push str.SeShutdownPrivilege
push esi
call dword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueW]
push 2
pop edi
push esi
push esi
push esi
lea eax, [ebp - 0x20]
mov dword [ebp - 0x14], edi
push eax
push esi
push dword [ebp - 0x2c]
xor ebx, ebx
inc ebx
mov dword [ebp - 0x20], ebx
call dword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
call dword [sym.imp.kernel32.dll_GetLastError]
test eax, eax
je 0x43b78f
push str.AdjustTokenPrivileges_failed_in_RebootOS.
lea ecx, [ebp - 0x24]
call fcn.00402829
mov dword [ebp - 4], ebx
call dword [sym.imp.kernel32.dll_GetLastError]
push eax
mov ecx, edi
jmp 0x43b72a
push SysReAllocString
push 0x12
call dword [sym.imp.USER32.dll_ExitWindowsEx]
test eax, eax
jne 0x43b7cd
push str.ExitWindowsEx_failed_in_RebootOS.
lea ecx, [ebp - 0x28]
call fcn.00402829
mov dword [ebp - 4], edi
call dword [sym.imp.kernel32.dll_GetLastError]
push eax
lea edx, [ebp - 0x28]
mov ecx, edi
call fcn.004174f1
pop ecx
mov ecx, dword [ebp - 0x28]
lea ecx, [ecx - 0x10]
call fcn.00402e64
call fcn.0046abe6
ret
Function at 0x43b7d3
Capabilities:
Create process on windows

Disassembly:
push 0x70
mov eax, 0x4b1c98
call fcn.0046ac08
mov edi, edx
mov dword [ebp - 0x24], ecx
push str.LaunchProcessAsUser...
lea ecx, [ebp - 0x1c]
call fcn.00402829
xor esi, esi
lea edx, [ebp - 0x1c]
push esi
push 2
pop eax
mov ecx, eax
mov dword [ebp - 4], esi
call fcn.004174f1
or dword [ebp - 4], 0xffffffff
pop ecx
mov ecx, dword [ebp - 0x1c]
lea ecx, [ecx - 0x10]
call fcn.00402e64
push 0x44
pop ebx
push ebx
lea eax, [ebp - 0x7c]
push esi
push eax
call fcn.004830a0
add esp, 0xc
mov dword [ebp - 0x7c], ebx
lea eax, [ebp - 0x34]
mov dword [ebp - 0x74], str.winsta0default
push 0x10
push esi
push eax
call fcn.004830a0
mov ebx, dword [ebp + 8]
lea eax, [ebp - 0x14]
add esp, 0xc
mov dword [ebp - 0x14], esi
mov dword [ebp - 0x20], 0x20
push 1
push dword [ebx]
push eax
call dword [sym.imp.USERENV.dll_CreateEnvironmentBlock]
test eax, eax
je 0x43b866
mov dword [ebp - 0x20], 0x420
jmp 0x43b89f
push str.CreateEnvironmentBlock_failed
lea ecx, [ebp - 0x1c]
mov dword [ebp - 0x14], esi
call fcn.00402829
mov dword [ebp - 4], 1
call dword [sym.imp.kernel32.dll_GetLastError]
xor ecx, ecx
lea edx, [ebp - 0x1c]
push eax
inc ecx
call fcn.004174f1
or dword [ebp - 4], 0xffffffff
pop ecx
mov ecx, dword [ebp - 0x1c]
lea ecx, [ecx - 0x10]
call fcn.00402e64
push edi
lea eax, [ebp - 0x18]
push str._Skip
push eax
call fcn.004023f1
add esp, 0xc
push 2
pop edx
mov dword [ebp - 4], edx
xor ecx, ecx
mov eax, dword [ebp - 0x18]
mov eax, dword [eax - 0xc]
inc eax
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call main
mov edi, eax
pop ecx
test edi, edi
jne 0x43b907
push str.operator_new_failed
lea ecx, [ebp - 0x1c]
call fcn.00402829
xor ecx, ecx
mov byte [ebp - 4], 3
push esi
lea edx, [ebp - 0x1c]
inc ecx
call fcn.004174f1
pop ecx
mov ecx, dword [ebp - 0x1c]
lea ecx, [ecx - 0x10]
call fcn.00402e64
push 8
pop esi
jmp 0x43b9a0
mov eax, dword [ebp - 0x18]
push eax
mov ecx, dword [eax - 0xc]
lea eax, [ecx + 1]
push eax
push edi
call main
add esp, 0xc
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x7c]
push eax
mov eax, dword [ebp - 0x24]
push esi
push dword [ebp - 0x14]
push dword [ebp - 0x20]
push esi
push esi
push esi
push edi
push dword [eax]
push dword [ebx]
call dword [sym.imp.ADVAPI32.dll_CreateProcessAsUserW]
test eax, eax
jne 0x43b970
call dword [sym.imp.kernel32.dll_GetLastError]
push str.CreateProcessAsUser_failed:
lea ecx, [ebp - 0x20]
mov esi, eax
call fcn.00402829
xor ecx, ecx
mov byte [ebp - 4], 4
push esi
lea edx, [ebp - 0x20]
inc ecx
call fcn.004174f1
pop ecx
mov ecx, dword [ebp - 0x20]
lea ecx, [ecx - 0x10]
call fcn.00402e64
cmp dword [ebp - 0x14], 0
je 0x43b97f
push dword [ebp - 0x14]
call dword [sym.imp.USERENV.dll_DestroyEnvironmentBlock]
push dword [ebx]
call dword [sym.imp.kernel32.dll_CloseHandle]
push dword [ebp - 0x34]
call dword [sym.imp.kernel32.dll_CloseHandle]
push dword [ebp - 0x30]
call dword [sym.imp.kernel32.dll_CloseHandle]
push edi
call fcn.0045066d
pop ecx
mov ecx, dword [ebp - 0x18]
add ecx, 0xfffffff0
call fcn.00402e64
mov eax, esi
call fcn.0046abd1
ret
Function at 0x43d0ae
Capabilities:
Check if file exists
Create process on windows
Get file attributes
Persist via run registry key

Disassembly:
push 8
mov eax, 0x4b20a0
call fcn.0046ac08
mov edi, edx
mov esi, ecx
push str.Run_SpeedLauncher:
lea ecx, [ebp - 0x10]
call fcn.00402829
xor ebx, ebx
lea edx, [ebp - 0x10]
push ebx
push esi
push 2
pop ecx
mov dword [ebp - 4], ebx
call fcn.00416dc0
or dword [ebp - 4], 0xffffffff
pop ecx
pop ecx
mov ecx, dword [ebp - 0x10]
lea ecx, [ecx - 0x10]
call fcn.00402e64
mov eax, dword [esi]
cmp dword [eax - 0xc], ebx
jne 0x43d11d
push str.Empty_sl_path:
lea ecx, [ebp - 0x10]
call fcn.00402829
mov dword [ebp - 4], 1
push ebx
push esi
push 2
lea edx, [ebp - 0x10]
pop ecx
call fcn.00416dc0
pop ecx
pop ecx
jmp 0x43d1ec
push eax
call dword [sym.imp.kernel32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x43d13f
push str.sl_not_found:
lea ecx, [ebp - 0x10]
call fcn.00402829
mov dword [ebp - 4], 2
jmp 0x43d109
call fcn.00450db1
push eax
lea ecx, [ebp - 0x10]
call main
lea eax, [ebp - 0x14]
mov dword [ebp - 4], 3
push eax
lea eax, [ebp - 0x10]
mov dword [ebp - 0x14], ebx
push eax
push dword [edi]
mov edx, str.SOFTWAREMicrosoftWindowsCurrentVersionRun
mov ecx, reloc.OLEAUT32.dll_SysReAllocString
call main
mov eax, dword [ebp - 0x10]
add esp, 0xc
cmp dword [eax - 0xc], 0
je 0x43d1a7
push 0x22
lea ecx, [ebp - 0x10]
call main
push dword [esi]
lea ecx, [ebp - 0x10]
call main
test eax, eax
jne 0x43d1a7
push str.Registered_in_Run_already___will_not_launch:
lea ecx, [ebp - 0x14]
call fcn.00402829
mov byte [ebp - 4], 4
jmp 0x43d1d2
push 5
push ebx
push ebx
push dword [esi]
push ebx
push ebx
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
cmp eax, 0x21
mov edx, str.Launched:
mov ecx, str.Unable_to_launch:
cmovge ecx, edx
push ecx
lea ecx, [ebp - 0x14]
call fcn.00402829
mov byte [ebp - 4], 5
push ebx
push esi
push 2
lea edx, [ebp - 0x14]
pop ecx
call fcn.00416dc0
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.0046abd1
ret
Function at 0x43fd83
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push 8
mov eax, 0x4b2838
call fcn.0046ac08
mov esi, ecx
push str.GetLaunchInstalledOnDemand...
lea ecx, [ebp - 0x10]
call fcn.00402829
xor ebx, ebx
lea edx, [ebp - 0x10]
push ebx
push 2
pop ecx
mov dword [ebp - 4], ebx
call fcn.004174f1
or dword [ebp - 4], 0xffffffff
pop ecx
mov ecx, dword [ebp - 0x10]
lea ecx, [ecx - 0x10]
call fcn.00402e64
mov eax, dword [esi + 0x68]
cmp dword [eax - 0xc], ebx
jne 0x43fded
push str.Empty_ProductInstallDir
lea ecx, [ebp - 0x10]
call fcn.00402829
push ebx
push 2
lea edx, [ebp - 0x10]
mov dword [ebp - 4], 1
pop ecx
call fcn.004174f1
pop ecx
jmp 0x43fedc
push ebx
push str.7AD7_
lea ecx, [esi + 0x50]
call main
cmp eax, 0xffffffff
mov eax, dword [esi + 0x68]
sete bl
sub eax, 0x10
push eax
call main
pop ecx
lea esi, [eax + 0x10]
mov dword [ebp - 0x10], esi
push 0x5c
push esi
mov dword [ebp - 4], 2
call main
pop ecx
pop ecx
mov ecx, eax
test ecx, ecx
jne 0x43fe30
or ecx, 0xffffffff
jmp 0x43fe34
sub ecx, esi
sar ecx, 1
mov eax, dword [esi - 0xc]
dec eax
cmp ecx, eax
je 0x43fe49
push 0x4cead0
lea ecx, [ebp - 0x10]
call main
mov ecx, str.ReaderAcroRd32.exe
test bl, bl
mov eax, str.AcrobatAcrobat.exe
cmove eax, ecx
lea ecx, [ebp - 0x10]
push eax
call main
push dword [ebp - 0x10]
call dword [sym.imp.kernel32.dll_GetFileAttributesW]
lea ecx, [ebp - 0x14]
cmp eax, 0xffffffff
je 0x43feb0
push str.valid_launch_path_found:
call fcn.00402829
push 0
lea eax, [ebp - 0x10]
mov byte [ebp - 4], 3
push eax
push 2
lea edx, [ebp - 0x14]
pop ecx
call fcn.00416dc0
pop ecx
pop ecx
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x14]
lea ecx, [ecx - 0x10]
call fcn.00402e64
mov ecx, dword [ebp + 8]
lea eax, [ebp - 0x10]
push eax
call main
jmp 0x43fedc
push str.valid_launch_path_not_found
call fcn.00402829
push 0
lea eax, [ebp - 0x10]
mov byte [ebp - 4], 4
push eax
push 2
lea edx, [ebp - 0x14]
pop ecx
call fcn.00416dc0
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.0046abd1
ret 4
Function at 0x4448d2
Capabilities:
Delete file

Disassembly:
push 0x60
mov eax, 0x4b3338
call fcn.0046ac3c
mov esi, ecx
xor ebx, ebx
push ebx
call main
push eax
call main
call fcn.00489368
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 main
push 0x4cead0
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 main
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 main
test eax, eax
je 0x4449a2
lea ecx, [ebp - 0x6c]
call fcn.00451170
push dword [ebp - 0x3c]
call dword [sym.imp.kernel32.dll_DeleteFileW]
jmp 0x4449a5
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 main
mov ecx, dword [ebp - 0x3c]
add ecx, 0xfffffff0
call fcn.00402e64
mov eax, ebx
call fcn.0046abe6
ret
Function at 0x44554a
Capabilities:
Get common file path

Disassembly:
push 0xc
mov eax, 0x4b3570
call fcn.0046ac08
mov esi, ecx
call fcn.00450db1
push eax
lea ecx, [ebp - 0x10]
call main
xor edi, edi
lea ecx, [ebp - 0x10]
push 0x104
mov dword [ebp - 4], edi
call main
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 main
test edi, edi
jne 0x4455b0
lea eax, [ebp - 0x10]
mov ecx, esi
push eax
call main
push str.AdobeARM1.0AdobeARM.exe
mov ecx, esi
call main
xor esi, esi
inc esi
jmp 0x4455db
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.004174f1
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.0046abd1
ret

Function at 0x4455ee
Capabilities:
Get common file path

Disassembly:
push 0x214
mov eax, 0x4b35a6
call fcn.0046ac3c
mov esi, ecx
xor ebx, ebx
test edx, edx
je 0x445616
push 0x515f68
call main
push 0x4cead0
jmp 0x445656
push 0x208
lea eax, [ebp - 0x218]
push ebx
push eax
call fcn.004830a0
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 0x4456bf
lea eax, [ebp - 0x218]
mov ecx, esi
push eax
call main
push str.AdobeARM1.0_
mov ecx, esi
call main
mov eax, dword [0x515e0c]
mov ecx, esi
push dword [eax - 0xc]
push eax
call main
mov ecx, dword [esi]
or edx, 0xffffffff
push ebx
call main
pop ecx
test eax, eax
je 0x4456ba
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, 0x5163b0
call fcn.00415683
mov ecx, dword [ebp - 0x220]
jmp 0x4456e8
xor eax, eax
inc eax
jmp 0x4456f2
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.004174f1
pop ecx
mov ecx, dword [ebp - 0x21c]
lea ecx, [ecx - 0x10]
call fcn.00402e64
xor eax, eax
call fcn.0046abe6
ret
Function at 0x4456f8
Capabilities:
Get file version info

Disassembly:
push 0x1c
mov eax, 0x4b3600
call fcn.0046ac08
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 0x445743
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.00416dc0
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 0x44588d
push ebx
call main
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 0x445854
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x1c]
push eax
push 0x4cead0
push edi
call dword [sym.imp.version.dll_VerQueryValueW]
cmp eax, 1
jne 0x44583a
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.0045066d
pop ecx
test esi, esi
je 0x445832
call fcn.00450db1
push eax
lea ecx, [ebp - 0x10]
call main
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 main
push 0
push 2
lea edx, [ebp - 0x10]
pop ecx
call fcn.004174f1
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 0x4458bf
test esi, esi
je 0x445884
push str.VerQueryValue___failed_in_GetFileVersion__.
lea ecx, [ebp - 0x14]
call fcn.00402829
mov dword [ebp - 4], 3
jmp 0x44586c
test esi, esi
je 0x445884
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.004174f1
pop ecx
mov ecx, dword [ebp - 0x14]
lea ecx, [ecx - 0x10]
call fcn.00402e64
push edi
call fcn.0045066d
pop ecx
jmp 0x4458bd
test esi, esi
je 0x4458bd
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.004174f1
pop ecx
mov ecx, dword [ebp - 0x18]
lea ecx, [ecx - 0x10]
call fcn.00402e64
xor eax, eax
call fcn.0046abd1
ret
Function at 0x4483e8
Capabilities:
Query service status

Disassembly:
push 0x34
mov eax, 0x4b3ed8
call fcn.0046ac3c
push 4
xor esi, esi
push esi
push esi
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov edi, eax
test edi, edi
jne 0x44843e
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.004175da
pop ecx
mov ecx, dword [ebp - 0x38]
lea ecx, [ecx - 0x10]
call fcn.00402e64
call fcn.004484fc
jmp 0x4484f6
push 4
push str.MSIServer
push edi
call dword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov ebx, eax
test ebx, ebx
jne 0x44848d
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.004175da
pop ecx
mov ecx, dword [ebp - 0x38]
lea ecx, [ecx - 0x10]
call fcn.00402e64
push edi
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
jmp 0x448434
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 0x4484dc
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.004175da
pop ecx
mov ecx, dword [ebp - 0x3c]
lea ecx, [ecx - 0x10]
call fcn.00402e64
push ebx
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
jmp 0x448484
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.0046abe6
ret

Function at 0x4484fc
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 0x44851d
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 0x448519
xor eax, eax
ret