joyce8/EMBER2024-capa huggingface dataset:
Function at 0x43b9a3
Capabilities:
Create process on windows

Disassembly:
push 0x70
mov eax, 0x4b3488
call fcn.0046c338
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.004174d1
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.004847f0
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.004847f0
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 0x43ba36
mov dword [ebp - 0x20], 0x420
jmp 0x43ba6f
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.004174d1
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 fcn.00451da2
mov edi, eax
pop ecx
test edi, edi
jne 0x43bad7
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.004174d1
pop ecx
mov ecx, dword [ebp - 0x1c]
lea ecx, [ecx - 0x10]
call fcn.00402e64
push 8
pop esi
jmp 0x43bb70
mov eax, dword [ebp - 0x18]
push eax
mov ecx, dword [eax - 0xc]
lea eax, [ecx + 1]
push eax
push edi
call fcn.0048cee3
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 0x43bb40
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.004174d1
pop ecx
mov ecx, dword [ebp - 0x20]
lea ecx, [ecx - 0x10]
call fcn.00402e64
cmp dword [ebp - 0x14], 0
je 0x43bb4f
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.00451d9d
pop ecx
mov ecx, dword [ebp - 0x18]
add ecx, 0xfffffff0
call fcn.00402e64
mov eax, esi
call fcn.0046c301
ret
Function at 0x43d28d
Capabilities:
Check if file exists
Create process on windows
Get file attributes
Persist via run registry key

Disassembly:
push 8
mov eax, 0x4b3890
call fcn.0046c338
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.00416da0
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 0x43d2fc
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.00416da0
pop ecx
pop ecx
jmp 0x43d3cb
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x43d31e
push str.sl_not_found:
lea ecx, [ebp - 0x10]
call fcn.00402829
mov dword [ebp - 4], 2
jmp 0x43d2e8
call fcn.004524e1
push eax
lea ecx, [ebp - 0x10]
call fcn.00402899
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 fcn.004443cf
mov eax, dword [ebp - 0x10]
add esp, 0xc
cmp dword [eax - 0xc], 0
je 0x43d386
push 0x22
lea ecx, [ebp - 0x10]
call fcn.0043dd30
push dword [esi]
lea ecx, [ebp - 0x10]
call fcn.00409b05
test eax, eax
jne 0x43d386
push str.Registered_in_Run_already___will_not_launch:
lea ecx, [ebp - 0x14]
call fcn.00402829
mov byte [ebp - 4], 4
jmp 0x43d3b1
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.00416da0
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 0x43ff6d
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push 8
mov eax, 0x4b4028
call fcn.0046c338
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.004174d1
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 0x43ffd7
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.004174d1
pop ecx
jmp 0x4400c6
push ebx
push str.7AD7_
lea ecx, [esi + 0x50]
call fcn.0040982e
cmp eax, 0xffffffff
mov eax, dword [esi + 0x68]
sete bl
sub eax, 0x10
push eax
call fcn.00402d9f
pop ecx
lea esi, [eax + 0x10]
mov dword [ebp - 0x10], esi
push 0x5c
push esi
mov dword [ebp - 4], 2
call fcn.00485207
pop ecx
pop ecx
mov ecx, eax
test ecx, ecx
jne 0x44001a
or ecx, 0xffffffff
jmp 0x44001e
sub ecx, esi
sar ecx, 1
mov eax, dword [esi - 0xc]
dec eax
cmp ecx, eax
je 0x440033
push 0x4d0aa0
lea ecx, [ebp - 0x10]
call fcn.0040259d
mov ecx, str.ReaderAcroRd32.exe
test bl, bl
mov eax, str.AcrobatAcrobat.exe
cmove eax, ecx
lea ecx, [ebp - 0x10]
push eax
call fcn.0040259d
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
lea ecx, [ebp - 0x14]
cmp eax, 0xffffffff
je 0x44009a
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.00416da0
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 fcn.00402e14
jmp 0x4400c6
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.00416da0
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 4
Function at 0x444357
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push esi
push edi
push dword [ebp + 0xc]
mov edi, ecx
mov esi, edx
lea ecx, [ebp - 8]
xor ebx, ebx
call fcn.00402829
mov eax, dword [ebp - 8]
mov eax, dword [eax - 0xc]
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 4]
push eax
push ebx
push 0xf003f
push ebx
push ebx
push ebx
push esi
push edi
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x4443bd
mov eax, dword [ebp - 0xc]
add eax, eax
push eax
push dword [ebp + 0xc]
push 1
push ebx
push dword [ebp + 8]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push dword [ebp - 4]
neg eax
sbb ebx, ebx
inc ebx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 8]
add ecx, 0xfffffff0
call fcn.00402e64
pop edi
pop esi
mov eax, ebx
pop ebx
leave
ret

Function at 0x4443cf
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [ebp + 0x10]
push ebx
xor ebx, ebx
mov dword [ebp - 0xc], 1
push esi
cmp dword [eax], ebx
lea eax, [ebp - 4]
push edi
mov edi, ebx
mov dword [ebp - 8], 0x104
push eax
je 0x4443fc
push 0x20119
jmp 0x444401
push 0x20019
push ebx
push edx
push ecx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov esi, eax
test esi, esi
jne 0x444477
push 0x208
call fcn.0048ced8
pop ecx
mov edi, eax
lea eax, [ebp - 8]
push eax
push edi
lea eax, [ebp - 0xc]
push eax
push ebx
push dword [ebp + 8]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov esi, eax
cmp esi, 0xea
jne 0x44446a
push edi
call fcn.0048cebd
mov eax, dword [ebp - 8]
add eax, eax
push eax
call fcn.0048ced8
pop ecx
pop ecx
mov edi, eax
lea eax, [ebp - 8]
push eax
push edi
lea eax, [ebp - 0xc]
push eax
push ebx
push dword [ebp + 8]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov esi, eax
test esi, esi
jne 0x444477
mov ecx, dword [ebp + 0xc]
push edi
call fcn.0040286d
push edi
call fcn.0048cebd
pop ecx
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret

Function at 0x44448e
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0x10]
sub esp, 0xc
push esi
push edi
xor edi, edi
cmp dword [eax], edi
lea eax, [ebp - 4]
push eax
je 0x4444aa
push 0x20119
jmp 0x4444af
push 0x20019
push edi
push edx
push ecx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov esi, eax
test esi, esi
jne 0x4444ea
push 4
pop eax
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], eax
lea eax, [ebp - 8]
push eax
push dword [ebp + 0xc]
lea eax, [ebp - 0xc]
push eax
push edi
push dword [ebp + 8]
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]
pop edi
mov eax, esi
pop esi
leave
ret
Function at 0x4444f0
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 0x444550
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 0x444557
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 0x4ce868
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov esi, eax
test esi, esi
jne 0x4445b2
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 0x4445b7
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 0x4ce868
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x444610
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 0x444615
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 0x44463c
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 0x444a7c
Capabilities:
Delete file

Disassembly:
push 0x60
mov eax, 0x4b4b28
call fcn.0046c36c
mov esi, ecx
xor ebx, ebx
push ebx
call fcn.0048ab6e
push eax
call fcn.0048aad9
call fcn.0048aab8
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.0048c72a
push 0x4d0aa0
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.004525e0
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.00452b50
test eax, eax
je 0x444b4c
lea ecx, [ebp - 0x6c]
call fcn.004528a0
push dword [ebp - 0x3c]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
jmp 0x444b4f
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.00452610
mov ecx, dword [ebp - 0x3c]
add ecx, 0xfffffff0
call fcn.00402e64
mov eax, ebx
call fcn.0046c316
ret
Function at 0x4456f4
Capabilities:
Get common file path

Disassembly:
push 0xc
mov eax, 0x4b4d60
call fcn.0046c338
mov esi, ecx
call fcn.004524e1
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.00409d68
test edi, edi
jne 0x44575a
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 0x445785
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.004174d1
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.0046c301
ret

Function at 0x445798
Capabilities:
Get common file path

Disassembly:
push 0x214
mov eax, 0x4b4d96
call fcn.0046c36c
mov esi, ecx
xor ebx, ebx
test edx, edx
je 0x4457c0
push 0x518f68
call fcn.00402e14
push 0x4d0aa0
jmp 0x445800
push 0x208
lea eax, [ebp - 0x218]
push ebx
push eax
call fcn.004847f0
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 0x445869
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 [0x518e0c]
mov ecx, esi
push dword [eax - 0xc]
push eax
call fcn.004025c6
mov ecx, dword [esi]
or edx, 0xffffffff
push ebx
call fcn.0042ef54
pop ecx
test eax, eax
je 0x445864
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, 0x5193ac
call fcn.00415623
mov ecx, dword [ebp - 0x220]
jmp 0x445892
xor eax, eax
inc eax
jmp 0x44589c
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.004174d1
pop ecx
mov ecx, dword [ebp - 0x21c]
lea ecx, [ecx - 0x10]
call fcn.00402e64
xor eax, eax
call fcn.0046c316
ret
Function at 0x4458a2
Capabilities:
Get file version info

Disassembly:
push 0x1c
mov eax, 0x4b4df0
call fcn.0046c338
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 0x4458ed
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.00416da0
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 0x445a37
push ebx
call fcn.00451da2
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 0x4459fe
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x1c]
push eax
push 0x4d0aa0
push edi
call dword [sym.imp.VERSION.dll_VerQueryValueW]
cmp eax, 1
jne 0x4459e4
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.00451d9d
pop ecx
test esi, esi
je 0x4459dc
call fcn.004524e1
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.00415d50
push 0
push 2
lea edx, [ebp - 0x10]
pop ecx
call fcn.004174d1
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 0x445a69
test esi, esi
je 0x445a2e
push str.VerQueryValue___failed_in_GetFileVersion__.
lea ecx, [ebp - 0x14]
call fcn.00402829
mov dword [ebp - 4], 3
jmp 0x445a16
test esi, esi
je 0x445a2e
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.004174d1
pop ecx
mov ecx, dword [ebp - 0x14]
lea ecx, [ecx - 0x10]
call fcn.00402e64
push edi
call fcn.00451d9d
pop ecx
jmp 0x445a67
test esi, esi
je 0x445a67
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.004174d1
pop ecx
mov ecx, dword [ebp - 0x18]
lea ecx, [ecx - 0x10]
call fcn.00402e64
xor eax, eax
call fcn.0046c301
ret
Function at 0x448592
Capabilities:
Query service status

Disassembly:
push 0x34
mov eax, 0x4b56c8
call fcn.0046c36c
push 4
xor esi, esi
push esi
push esi
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov edi, eax
test edi, edi
jne 0x4485e8
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.00417582
pop ecx
mov ecx, dword [ebp - 0x38]
lea ecx, [ecx - 0x10]
call fcn.00402e64
call fcn.004486a6
jmp 0x4486a0
push 4
push str.MSIServer
push edi
call dword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov ebx, eax
test ebx, ebx
jne 0x448637
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.00417582
pop ecx
mov ecx, dword [ebp - 0x38]
lea ecx, [ecx - 0x10]
call fcn.00402e64
push edi
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
jmp 0x4485de
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 0x448686
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.00417582
pop ecx
mov ecx, dword [ebp - 0x3c]
lea ecx, [ecx - 0x10]
call fcn.00402e64
push ebx
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
jmp 0x44862e
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.0046c316
ret

Function at 0x4486a6
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 0x4486c7
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 0x4486c3
xor eax, eax
ret