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

Disassembly:
push 0x14
mov eax, 0x489e88
call fcn.00464e48
mov edi, ecx
push str.InitUpdateFromProductUpdatesTable...
lea ecx, [ebp - 0x1c]
call fcn.0040279b
xor esi, esi
lea edx, [ebp - 0x1c]
push esi
push 2
pop ecx
mov dword [ebp - 4], esi
call fcn.00413e51
or dword [ebp - 4], 0xffffffff
pop ecx
mov ecx, dword [ebp - 0x1c]
lea ecx, [ecx - 0x10]
call fcn.00402def
push str.SELECT__FROM__ProductUpdates__WHERE__ProductCode_
lea ecx, [ebp - 0x14]
call fcn.0040279b
mov eax, dword [ebp + 8]
lea ecx, [ebp - 0x14]
xor ebx, ebx
inc ebx
mov dword [ebp - 4], ebx
mov eax, dword [eax]
push dword [eax - 0xc]
push eax
call fcn.00402556
push str._AND__ProductVersion_
lea ecx, [ebp - 0x14]
call fcn.0040945f
mov eax, dword [ebp + 0xc]
lea ecx, [ebp - 0x14]
mov eax, dword [eax]
push dword [eax - 0xc]
push eax
call fcn.00402556
push 0x4c00b0
lea ecx, [ebp - 0x14]
call fcn.0040945f
mov dword [ebp - 0x10], esi
lea eax, [ebp - 0x18]
mov byte [ebp - 4], 3
push eax
push dword [ebp - 0x14]
mov dword [ebp - 0x18], esi
push dword [edi + 4]
call dword [sym.imp.msi.dll_MsiEnumClientsA]
mov esi, eax
test esi, esi
je 0x42de46
push 0x4c00b4
lea ecx, [ebp - 0x1c]
call fcn.0040279b
mov byte [ebp - 4], 4
jmp 0x42de68
push 0
push dword [ebp - 0x18]
call dword [sym.imp.msi.dll_MsiViewModify]
mov esi, eax
test esi, esi
je 0x42de79
push 0x4c00c0
lea ecx, [ebp - 0x1c]
call fcn.0040279b
mov byte [ebp - 4], 5
push esi
lea edx, [ebp - 0x1c]
mov ecx, ebx
call fcn.00413f25
pop ecx
mov ecx, dword [ebp - 0x1c]
jmp 0x42dede
cmp dword [ebp - 0x10], 0
je 0x42de88
push dword [ebp - 0x10]
call dword [sym.imp.msi.dll_MsiConfigureFeatureFromDescriptorA]
and dword [ebp - 0x10], 0
lea eax, [ebp - 0x10]
push eax
push dword [ebp - 0x18]
call dword [sym.imp.msi.dll_MsiDatabaseIsTablePersistentA]
xor ebx, ebx
test eax, eax
sete bl
test eax, eax
jne 0x42debd
lea eax, [ebp - 0x20]
mov dword [ebp - 0x20], 3
push eax
push dword [ebp - 0x10]
mov ecx, edi
call fcn.0042e124
mov esi, eax
jmp 0x42deeb
push 0x4c00c8
lea ecx, [ebp - 0x20]
call fcn.0040279b
xor ecx, ecx
mov byte [ebp - 4], 6
push ebx
lea edx, [ebp - 0x20]
inc ecx
call fcn.00413f25
pop ecx
mov ecx, dword [ebp - 0x20]
lea ecx, [ecx - 0x10]
call fcn.00402def
mov esi, 0x3d32
cmp dword [ebp - 0x10], 0
je 0x42defa
push dword [ebp - 0x10]
call dword [sym.imp.msi.dll_MsiConfigureFeatureFromDescriptorA]
cmp dword [ebp - 0x18], 0
je 0x42df09
push dword [ebp - 0x18]
call dword [sym.imp.msi.dll_MsiConfigureFeatureFromDescriptorA]
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
call fcn.00402def
mov eax, esi
call fcn.00464e11
ret 8
Function at 0x4328c0
Capabilities:
Reference sql statements

Disassembly:
push 0x14
mov eax, 0x48acd0
call fcn.00464e48
mov ebx, ecx
mov eax, dword [0x4e21a0]
add eax, 0xfffffff0
push eax
call fcn.00402d2a
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.0040279b
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x18]
push dword [esi - 0xc]
push esi
call fcn.00402556
push 0x4c00b0
lea ecx, [ebp - 0x18]
call fcn.0040945f
cmp dword [ebp - 0x10], edi
je 0x43292b
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 0x432955
push 0x4c00b4
lea ecx, [ebp - 0x1c]
call fcn.0040279b
mov byte [ebp - 4], 4
jmp 0x432974
push edi
push dword [ebp - 0x10]
call dword [sym.imp.msi.dll_MsiViewModify]
test eax, eax
je 0x432993
push 0x4c00c0
lea ecx, [ebp - 0x1c]
call fcn.0040279b
mov byte [ebp - 4], 5
xor ecx, ecx
lea edx, [ebp - 0x1c]
mov edi, 0x3d32
inc ecx
push edi
call fcn.00413e51
pop ecx
mov ecx, dword [ebp - 0x1c]
lea ecx, [ecx - 0x10]
call fcn.00402def
jmp 0x4329c5
cmp dword [ebp - 0x14], 0
je 0x4329a2
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 0x4329c5
push dword [ebp + 8]
mov ecx, dword [ebp - 0x14]
xor edx, edx
inc edx
call fcn.0044518f
pop ecx
mov ecx, dword [ebp - 0x18]
lea ecx, [ecx - 0x10]
call fcn.00402def
cmp dword [ebp - 0x14], 0
je 0x4329df
push dword [ebp - 0x14]
call dword [sym.imp.msi.dll_MsiConfigureFeatureFromDescriptorA]
cmp dword [ebp - 0x10], 0
je 0x4329ee
push dword [ebp - 0x10]
call dword [sym.imp.msi.dll_MsiConfigureFeatureFromDescriptorA]
lea ecx, [esi - 0x10]
call fcn.00402def
mov eax, edi
call fcn.00464e11
ret 4
Function at 0x434f96
Capabilities:
Find taskbar

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x4dd554]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 8]
mov ebx, str.Shell_TrayWnd
push edi
xor edi, edi
push edi
push ebx
push edi
push edi
call dword [sym.imp.USER32.dll_FindWindowExW]
test eax, eax
je 0x434fe0
push edi
push str.TrayNotifyWnd
push edi
push eax
call dword [sym.imp.USER32.dll_FindWindowExW]
test eax, eax
je 0x434fe0
push esi
push eax
call dword [sym.imp.USER32.dll_GetWindowRect]
jmp 0x4350a2
lea eax, [ebp - 0x28]
mov dword [ebp - 0x28], 0x24
push eax
push 5
call dword [sym.imp.SHELL32.dll_SHAppBarMessage]
test eax, eax
je 0x435046
mov eax, dword [ebp - 0x1c]
sub eax, edi
je 0x43502a
sub eax, 1
je 0x435011
sub eax, 1
je 0x43502a
sub eax, 1
jne 0x4350a2
mov ecx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x14]
mov dword [esi + 4], eax
mov eax, dword [ebp - 0xc]
mov dword [esi + 0xc], eax
lea eax, [ecx - 0x64]
mov dword [esi], eax
lea eax, [ecx - 0x10]
jmp 0x435041
mov ecx, dword [ebp - 0xc]
lea eax, [ecx - 0x64]
mov dword [esi + 4], eax
lea eax, [ecx - 0x10]
mov dword [esi + 0xc], eax
mov eax, dword [ebp - 0x18]
mov dword [esi], eax
mov eax, dword [ebp - 0x10]
mov dword [esi + 8], eax
jmp 0x4350a2
push edi
push ebx
push edi
push edi
call dword [sym.imp.USER32.dll_FindWindowExW]
test eax, eax
je 0x435084
push esi
push eax
call dword [sym.imp.USER32.dll_GetWindowRect]
mov ecx, dword [esi + 8]
mov eax, ecx
sub eax, dword [esi]
cmp eax, 0x96
jle 0x435072
lea eax, [ecx - 0x96]
mov dword [esi], eax
mov ecx, dword [esi + 0xc]
mov eax, ecx
sub eax, dword [esi + 4]
cmp eax, 0x1e
jle 0x4350a2
lea eax, [ecx - 0x1e]
jmp 0x43509f
push edi
push esi
push edi
push 0x30
call dword [sym.imp.USER32.dll_SystemParametersInfoW]
mov eax, dword [esi + 8]
sub eax, 0x96
mov dword [esi], eax
mov eax, dword [esi + 0xc]
sub eax, 0x1e
mov dword [esi + 4], eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0046486a
leave
ret 4
Function at 0x435272
Capabilities:
Get common file path

Disassembly:
push 0x210
mov eax, 0x48b1eb
call fcn.00464e7c
mov edi, ecx
push dword [edx]
push str._INSTALLDIR_
call fcn.00409248
test eax, eax
jne 0x43538d
call fcn.0044afe1
push eax
lea ecx, [ebp - 0x21c]
call fcn.00402824
xor ebx, ebx
mov esi, 0x4c2f5c
push ebx
push esi
mov ecx, edi
mov dword [ebp - 4], ebx
call fcn.0040920e
cmp eax, 0xffffffff
je 0x4352c4
push 0x24
jmp 0x43531e
push ebx
mov esi, str._SystemFolder_
mov ecx, edi
push esi
call fcn.0040920e
cmp eax, 0xffffffff
je 0x4352db
push 0x25
jmp 0x43531e
push ebx
mov esi, str._ProgramFilesFolder_
mov ecx, edi
push esi
call fcn.0040920e
cmp eax, 0xffffffff
je 0x4352f2
push 0x26
jmp 0x43531e
push ebx
mov esi, str._CommonFilesFolder_
mov ecx, edi
push esi
call fcn.0040920e
cmp eax, 0xffffffff
je 0x435309
push 0x2b
jmp 0x43531e
push ebx
mov esi, str._LocalAppDataFolder_
mov ecx, edi
push esi
call fcn.0040920e
cmp eax, 0xffffffff
je 0x43537f
push 0x1c
pop ebx
push esi
lea ecx, [ebp - 0x21c]
call fcn.004027df
push 0x208
xor esi, esi
lea eax, [ebp - 0x218]
push esi
push eax
call fcn.00466990
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 0x43537f
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
test eax, eax
je 0x43537f
mov esi, dword [ebp - 0x21c]
lea eax, [ebp - 0x218]
push eax
push esi
mov ecx, edi
call fcn.00409248
jmp 0x435385
mov esi, dword [ebp - 0x21c]
lea ecx, [esi - 0x10]
call fcn.00402def
call fcn.00464e26
ret
Function at 0x43565b
Capabilities:
Enumerate gui resources

Disassembly:
push 0x3d4
mov eax, 0x48b29b
call fcn.00464e48
mov eax, dword [0x4e2124]
add eax, 0xfffffff0
push eax
call fcn.00402d2a
add eax, 0x10
pop ecx
mov dword [ebp - 0x1c], eax
and dword [ebp - 4], 0
push 0xffffffffffffffff
xor ebx, ebx
mov ecx, 0x4e24b8
push ebx
call fcn.0044c565
xor eax, eax
mov dword [ebp - 0x18], eax
cmp dword [0x4e20e0], eax
jle 0x4357d7
push eax
mov ecx, 0x4e20d8
call fcn.0040979f
mov edi, eax
mov eax, dword [edi]
test eax, eax
je 0x4357c4
cmp dword [eax + 0x4c], 0
je 0x4356d2
mov ecx, 0x4e2500
call fcn.004032be
test eax, eax
je 0x4357c4
mov eax, dword [edi]
and dword [ebp - 0x14], 0
mov eax, dword [eax + 8]
sub eax, 0x10
push eax
call fcn.00402d2a
add eax, 0x10
mov dword [ebp - 0x10], eax
xor eax, eax
lea ecx, [ebp - 0x10]
inc eax
mov byte [ebp - 4], al
mov dword [esp], 0x4c3198
call fcn.0040952b
lea ecx, [ebp - 0x10]
test eax, eax
je 0x435752
lea edx, [ebp - 0x1c]
call fcn.00435272
mov esi, dword [ebp - 0x10]
push 0x5c
push esi
call fcn.004673a7
pop ecx
pop ecx
mov ecx, eax
test ecx, ecx
jne 0x435726
or ecx, 0xffffffff
jmp 0x43572a
sub ecx, esi
sar ecx, 1
mov eax, dword [esi - 0xc]
dec eax
cmp ecx, eax
je 0x43573f
push 0x49fb68
lea ecx, [ebp - 0x10]
call fcn.0040252d
mov eax, dword [edi]
lea ecx, [ebp - 0x10]
mov eax, dword [eax + 4]
push dword [eax - 0xc]
push eax
call fcn.00402556
jmp 0x43575d
mov eax, dword [edi]
add eax, 4
push eax
call fcn.00402d9f
mov eax, dword [edi]
mov esi, dword [ebp - 0x10]
cmp dword [eax + 0x1c], 7
jne 0x435785
xor eax, eax
lea edx, [ebp - 0x14]
inc eax
mov ecx, esi
push 0
push eax
call fcn.00435d5d
pop ecx
pop ecx
test eax, eax
je 0x4357a4
xor eax, eax
lea ebx, [eax + 1]
jmp 0x4357a4
cmp dword [eax + 0x1c], 0
jne 0x4357b8
push dword [eax + 4]
lea edx, [ebp - 0x14]
mov ecx, esi
push 0
call fcn.00435d5d
pop ecx
pop ecx
test eax, eax
push 1
pop eax
cmovne ebx, eax
cmp dword [ebp - 0x14], 0
je 0x4357b8
push dword [ebp - 0x14]
push 0x4351d0
call dword [sym.imp.USER32.dll_EnumWindows]
lea ecx, [esi - 0x10]
mov byte [ebp - 4], 0
call fcn.00402def
mov eax, dword [ebp - 0x18]
inc eax
mov dword [ebp - 0x18], eax
cmp eax, dword [0x4e20e0]
jl 0x4356a3
test ebx, ebx
je 0x43580e
push dword [0x4e250c]
lea ecx, [ebp - 0x3e0]
call fcn.00425086
lea ecx, [ebp - 0x3e0]
mov byte [ebp - 4], 2
call fcn.00451780
lea ecx, [ebp - 0x3e0]
mov byte [ebp - 4], 0
mov esi, eax
call fcn.004251e3
jmp 0x435813
xor eax, eax
lea esi, [eax + 1]
cmp esi, 4
je 0x435683
mov ecx, dword [ebp - 0x1c]
lea ecx, [ecx - 0x10]
call fcn.00402def
mov eax, esi
call fcn.00464e11
ret
Function at 0x436149
Capabilities:
Enumerate process modules

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov eax, 0x143c
call fcn.00464ff0
mov eax, dword [0x4dd554]
xor eax, esp
mov dword [esp + 0x1438], eax
push ebx
push esi
push edi
mov ebx, ecx
mov edi, edx
push 0x49fb68
push ebx
mov dword [esp + 0x1c], ebx
xor esi, esi
call fcn.00467064
pop ecx
pop ecx
push edi
test eax, eax
je 0x436219
push esi
push 0x410
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov ebx, eax
test ebx, ebx
je 0x436228
lea eax, [esp + 0x10]
push eax
push 0x1000
lea eax, [esp + 0x448]
push eax
push ebx
call dword [sym.imp.PSAPI.DLL_EnumProcessModules]
test eax, eax
je 0x436216
xor edi, edi
mov eax, dword [esp + 0x10]
shr eax, 2
cmp edi, eax
jae 0x436216
push 0x208
lea eax, [esp + 0x1c]
push 0
push eax
call fcn.00466990
add esp, 0xc
lea eax, [esp + 0x18]
push 0x104
push eax
push dword [esp + edi*4 + 0x448]
push ebx
call dword [sym.imp.PSAPI.DLL_GetModuleFileNameExW]
test eax, eax
je 0x436211
lea eax, [esp + 0x18]
push eax
push dword [esp + 0x18]
call fcn.0046e4b8
mov esi, eax
neg esi
pop ecx
sbb esi, esi
pop ecx
inc esi
inc edi
test esi, esi
je 0x4361bf
push ebx
jmp 0x436274
push 8
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov edi, eax
cmp edi, 0xffffffff
jne 0x43622c
xor eax, eax
jmp 0x43627c
lea eax, [esp + 0x18]
mov dword [esp + 0x18], 0x428
push eax
push edi
call dword [sym.imp.KERNEL32.dll_Module32FirstW]
test eax, eax
jne 0x43624d
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x436228
lea eax, [esp + 0x38]
push ebx
push eax
call fcn.0046e4b8
neg eax
pop ecx
sbb esi, esi
lea eax, [esp + 0x1c]
pop ecx
push eax
push edi
inc esi
call dword [sym.imp.KERNEL32.dll_Module32NextW]
test eax, eax
je 0x436273
test esi, esi
je 0x43624d
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, esi
mov ecx, dword [esp + 0x1444]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.0046486a
mov esp, ebp
pop ebp
ret
Function at 0x437ba0
Capabilities:
Delete registry key

Disassembly:
push ebp
mov ebp, esp
push ecx
test ecx, ecx
je 0x437bd1
mov edx, dword [0x4e1f60]
lea eax, [ebp - 4]
and dword [ebp - 4], 0
mov ecx, reloc.OLEAUT32.dll_SysReAllocString
push eax
push str.iLogLevel
call fcn.0043fb99
pop ecx
pop ecx
test eax, eax
jne 0x437bd1
cmp dword [ebp - 4], 1
jae 0x437c08
lea eax, [ebp - 4]
push eax
push 0xf003f
push 0
push dword [0x4e1f60]
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x437c08
push str.CollectData
push dword [ebp - 4]
call dword [sym.imp.SHLWAPI.dll_SHDeleteKeyW]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
leave
ret

Function at 0x437d7a
Capabilities:
Shutdown system

Disassembly:
push 0x20
mov eax, 0x48b738
call fcn.00464e7c
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 0x437dc9
push str.OpenProcessToken_failed_in_RebootOS.
lea ecx, [ebp - 0x24]
call fcn.0040279b
and dword [ebp - 4], 0
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 2
pop ecx
lea edx, [ebp - 0x24]
call fcn.00413e51
pop ecx
mov ecx, dword [ebp - 0x24]
jmp 0x437e53
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 0x437e1d
push str.AdjustTokenPrivileges_failed_in_RebootOS.
lea ecx, [ebp - 0x24]
call fcn.0040279b
mov dword [ebp - 4], ebx
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
mov ecx, edi
jmp 0x437db8
push SysReAllocString
push 0x12
call dword [sym.imp.USER32.dll_ExitWindowsEx]
test eax, eax
jne 0x437e5b
push str.ExitWindowsEx_failed_in_RebootOS.
lea ecx, [ebp - 0x28]
call fcn.0040279b
mov dword [ebp - 4], edi
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea edx, [ebp - 0x28]
mov ecx, edi
call fcn.00413e51
pop ecx
mov ecx, dword [ebp - 0x28]
lea ecx, [ecx - 0x10]
call fcn.00402def
call fcn.00464e26
ret
Function at 0x437e61
Capabilities:
Create process on windows

Disassembly:
push 0x70
mov eax, 0x48b788
call fcn.00464e48
mov edi, edx
mov dword [ebp - 0x24], ecx
push str.LaunchProcessAsUser...
lea ecx, [ebp - 0x1c]
call fcn.0040279b
xor esi, esi
lea edx, [ebp - 0x1c]
push esi
push 2
pop eax
mov ecx, eax
mov dword [ebp - 4], esi
call fcn.00413e51
or dword [ebp - 4], 0xffffffff
pop ecx
mov ecx, dword [ebp - 0x1c]
lea ecx, [ecx - 0x10]
call fcn.00402def
push 0x44
pop ebx
push ebx
lea eax, [ebp - 0x7c]
push esi
push eax
call fcn.00466990
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.00466990
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 0x437ef4
mov dword [ebp - 0x20], 0x420
jmp 0x437f2d
push str.CreateEnvironmentBlock_failed
lea ecx, [ebp - 0x1c]
mov dword [ebp - 0x14], esi
call fcn.0040279b
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.00413e51
or dword [ebp - 4], 0xffffffff
pop ecx
mov ecx, dword [ebp - 0x1c]
lea ecx, [ecx - 0x10]
call fcn.00402def
push edi
lea eax, [ebp - 0x18]
push str._Skip
push eax
call fcn.00402381
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.0044a8a2
mov edi, eax
pop ecx
test edi, edi
jne 0x437f95
push str.operator_new_failed
lea ecx, [ebp - 0x1c]
call fcn.0040279b
xor ecx, ecx
mov byte [ebp - 4], 3
push esi
lea edx, [ebp - 0x1c]
inc ecx
call fcn.00413e51
pop ecx
mov ecx, dword [ebp - 0x1c]
lea ecx, [ecx - 0x10]
call fcn.00402def
push 8
pop esi
jmp 0x43802e
mov eax, dword [ebp - 0x18]
push eax
mov ecx, dword [eax - 0xc]
lea eax, [ecx + 1]
push eax
push edi
call fcn.0046de73
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 0x437ffe
call dword [sym.imp.KERNEL32.dll_GetLastError]
push str.CreateProcessAsUser_failed:
lea ecx, [ebp - 0x20]
mov esi, eax
call fcn.0040279b
xor ecx, ecx
mov byte [ebp - 4], 4
push esi
lea edx, [ebp - 0x20]
inc ecx
call fcn.00413e51
pop ecx
mov ecx, dword [ebp - 0x20]
lea ecx, [ecx - 0x10]
call fcn.00402def
cmp dword [ebp - 0x14], 0
je 0x43800d
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.0044a89d
pop ecx
mov ecx, dword [ebp - 0x18]
add ecx, 0xfffffff0
call fcn.00402def
mov eax, esi
call fcn.00464e11
ret
Function at 0x4396ff
Capabilities:
Check if file exists
Create process on windows
Get file attributes
Persist via run registry key

Disassembly:
push 8
mov eax, 0x48bb90
call fcn.00464e48
mov edi, edx
mov esi, ecx
push str.Run_SpeedLauncher:
lea ecx, [ebp - 0x10]
call fcn.0040279b
xor ebx, ebx
lea edx, [ebp - 0x10]
push ebx
push esi
push 2
pop ecx
mov dword [ebp - 4], ebx
call fcn.00413900
or dword [ebp - 4], 0xffffffff
pop ecx
pop ecx
mov ecx, dword [ebp - 0x10]
lea ecx, [ecx - 0x10]
call fcn.00402def
mov eax, dword [esi]
cmp dword [eax - 0xc], ebx
jne 0x43976e
push str.Empty_sl_path:
lea ecx, [ebp - 0x10]
call fcn.0040279b
mov dword [ebp - 4], 1
push ebx
push esi
push 2
lea edx, [ebp - 0x10]
pop ecx
call fcn.00413900
pop ecx
pop ecx
jmp 0x439834
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x439790
push str.sl_not_found:
lea ecx, [ebp - 0x10]
call fcn.0040279b
mov dword [ebp - 4], 2
jmp 0x43975a
call fcn.0044afe1
push eax
lea ecx, [ebp - 0x10]
call fcn.00402824
lea eax, [ebp - 0x10]
mov dword [ebp - 4], 3
push eax
push dword [edi]
mov edx, str.SOFTWAREMicrosoftWindowsCurrentVersionRun
mov ecx, reloc.OLEAUT32.dll_SysReAllocString
call fcn.0043faeb
mov eax, dword [ebp - 0x10]
pop ecx
pop ecx
cmp dword [eax - 0xc], 0
je 0x4397ef
push ecx
lea ecx, [ebp - 0x10]
call fcn.00439d0a
push dword [esi]
lea ecx, [ebp - 0x10]
call fcn.0040952b
test eax, eax
jne 0x4397ef
push str.Registered_in_Run_already___will_not_launch:
lea ecx, [ebp - 0x14]
call fcn.0040279b
mov byte [ebp - 4], 4
jmp 0x43981a
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.0040279b
mov byte [ebp - 4], 5
push ebx
push esi
push 2
lea edx, [ebp - 0x14]
pop ecx
call fcn.00413900
pop ecx
pop ecx
mov ecx, dword [ebp - 0x14]
lea ecx, [ecx - 0x10]
call fcn.00402def
mov ecx, dword [ebp - 0x10]
lea ecx, [ecx - 0x10]
call fcn.00402def
call fcn.00464e11
ret
Function at 0x43b875
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push 8
mov eax, 0x48c248
call fcn.00464e48
mov esi, ecx
push str.GetLaunchInstalledOnDemand...
lea ecx, [ebp - 0x10]
call fcn.0040279b
xor ebx, ebx
lea edx, [ebp - 0x10]
push ebx
push 2
pop ecx
mov dword [ebp - 4], ebx
call fcn.00413e51
or dword [ebp - 4], 0xffffffff
pop ecx
mov ecx, dword [ebp - 0x10]
lea ecx, [ecx - 0x10]
call fcn.00402def
mov eax, dword [esi + 0x68]
cmp dword [eax - 0xc], ebx
jne 0x43b8df
push str.Empty_ProductInstallDir
lea ecx, [ebp - 0x10]
call fcn.0040279b
push ebx
push 2
lea edx, [ebp - 0x10]
mov dword [ebp - 4], 1
pop ecx
call fcn.00413e51
pop ecx
jmp 0x43b9ce
push ebx
push str.7AD7_
lea ecx, [esi + 0x50]
call fcn.0040920e
cmp eax, 0xffffffff
mov eax, dword [esi + 0x68]
sete bl
sub eax, 0x10
push eax
call fcn.00402d2a
pop ecx
lea esi, [eax + 0x10]
mov dword [ebp - 0x10], esi
push 0x5c
push esi
mov dword [ebp - 4], 2
call fcn.004673a7
pop ecx
pop ecx
mov ecx, eax
test ecx, ecx
jne 0x43b922
or ecx, 0xffffffff
jmp 0x43b926
sub ecx, esi
sar ecx, 1
mov eax, dword [esi - 0xc]
dec eax
cmp ecx, eax
je 0x43b93b
push 0x49fb68
lea ecx, [ebp - 0x10]
call fcn.0040252d
mov ecx, str.ReaderAcroRd32.exe
test bl, bl
mov eax, str.AcrobatAcrobat.exe
cmove eax, ecx
lea ecx, [ebp - 0x10]
push eax
call fcn.0040252d
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
lea ecx, [ebp - 0x14]
cmp eax, 0xffffffff
je 0x43b9a2
push str.valid_launch_path_found:
call fcn.0040279b
push 0
lea eax, [ebp - 0x10]
mov byte [ebp - 4], 3
push eax
push 2
lea edx, [ebp - 0x14]
pop ecx
call fcn.00413900
pop ecx
pop ecx
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x14]
lea ecx, [ecx - 0x10]
call fcn.00402def
mov ecx, dword [ebp + 8]
lea eax, [ebp - 0x10]
push eax
call fcn.00402d9f
jmp 0x43b9ce
push str.valid_launch_path_not_found
call fcn.0040279b
push 0
lea eax, [ebp - 0x10]
mov byte [ebp - 4], 4
push eax
push 2
lea edx, [ebp - 0x14]
pop ecx
call fcn.00413900
pop ecx
pop ecx
mov ecx, dword [ebp - 0x14]
lea ecx, [ecx - 0x10]
call fcn.00402def
mov ecx, dword [ebp - 0x10]
lea ecx, [ecx - 0x10]
call fcn.00402def
call fcn.00464e11
ret 4