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

Disassembly:
push 0x14
mov eax, 0x4b24f0
call fcn.0046c418
mov ebx, ecx
mov eax, dword [0x51af34]
add eax, 0xfffffff0
push eax
call fcn.00402d9f
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 fcn.004025c6
push 0x4f11f0
lea ecx, [ebp - 0x18]
call fcn.00413402
cmp dword [ebp - 0x10], edi
je 0x43141c
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 0x431446
push 0x4f11f4
lea ecx, [ebp - 0x1c]
call fcn.00402829
mov byte [ebp - 4], 4
jmp 0x431465
push edi
push dword [ebp - 0x10]
call dword [sym.imp.msi.dll_MsiViewModify]
test eax, eax
je 0x431484
push 0x4f1200
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.00414e00
pop ecx
mov ecx, dword [ebp - 0x1c]
lea ecx, [ecx - 0x10]
call fcn.00402e64
jmp 0x4314b6
cmp dword [ebp - 0x14], 0
je 0x431493
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 0x4314b6
push dword [ebp + 8]
mov ecx, dword [ebp - 0x14]
xor edx, edx
inc edx
call fcn.00447843
pop ecx
mov ecx, dword [ebp - 0x18]
lea ecx, [ecx - 0x10]
call fcn.00402e64
cmp dword [ebp - 0x14], 0
je 0x4314d0
push dword [ebp - 0x14]
call dword [sym.imp.msi.dll_MsiConfigureFeatureFromDescriptorA]
cmp dword [ebp - 0x10], 0
je 0x4314df
push dword [ebp - 0x10]
call dword [sym.imp.msi.dll_MsiConfigureFeatureFromDescriptorA]
lea ecx, [esi - 0x10]
call fcn.00402e64
mov eax, edi
call fcn.0046c3e1
ret 4
Function at 0x434686
Capabilities:
Find taskbar

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x515554]
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 0x4346d0
push edi
push str.TrayNotifyWnd
push edi
push eax
call dword [sym.imp.USER32.dll_FindWindowExW]
test eax, eax
je 0x4346d0
push esi
push eax
call dword [sym.imp.USER32.dll_GetWindowRect]
jmp 0x434792
lea eax, [ebp - 0x28]
mov dword [ebp - 0x28], 0x24
push eax
push 5
call dword [sym.imp.SHELL32.dll_SHAppBarMessage]
test eax, eax
je 0x434736
mov eax, dword [ebp - 0x1c]
sub eax, edi
je 0x43471a
sub eax, 1
je 0x434701
sub eax, 1
je 0x43471a
sub eax, 1
jne 0x434792
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 0x434731
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 0x434792
push edi
push ebx
push edi
push edi
call dword [sym.imp.USER32.dll_FindWindowExW]
test eax, eax
je 0x434774
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 0x434762
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 0x434792
lea eax, [ecx - 0x1e]
jmp 0x43478f
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.0046be3a
leave
ret 4
Function at 0x435852
Capabilities:
Get common file path

Disassembly:
push 0x210
mov eax, 0x4b2e2b
call fcn.0046c44c
mov edi, ecx
push dword [edx]
push str._INSTALLDIR_
call fcn.0040aa38
test eax, eax
jne 0x43596d
call fcn.00452601
push eax
lea ecx, [ebp - 0x21c]
call fcn.00402899
xor ebx, ebx
mov esi, str._WindowsFolder_
push ebx
push esi
mov ecx, edi
mov dword [ebp - 4], ebx
call fcn.0040a9fe
cmp eax, 0xffffffff
je 0x4358a4
push 0x24
jmp 0x4358fe
push ebx
mov esi, str._SystemFolder_
mov ecx, edi
push esi
call fcn.0040a9fe
cmp eax, 0xffffffff
je 0x4358bb
push 0x25
jmp 0x4358fe
push ebx
mov esi, str._ProgramFilesFolder_
mov ecx, edi
push esi
call fcn.0040a9fe
cmp eax, 0xffffffff
je 0x4358d2
push 0x26
jmp 0x4358fe
push ebx
mov esi, str._CommonFilesFolder_
mov ecx, edi
push esi
call fcn.0040a9fe
cmp eax, 0xffffffff
je 0x4358e9
push 0x2b
jmp 0x4358fe
push ebx
mov esi, str._LocalAppDataFolder_
mov ecx, edi
push esi
call fcn.0040a9fe
cmp eax, 0xffffffff
je 0x43595f
push 0x1c
pop ebx
push esi
lea ecx, [ebp - 0x21c]
call fcn.0040286d
push 0x208
xor esi, esi
lea eax, [ebp - 0x218]
push esi
push eax
call fcn.00484bc0
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 0x43595f
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
test eax, eax
je 0x43595f
mov esi, dword [ebp - 0x21c]
lea eax, [ebp - 0x218]
push eax
push esi
mov ecx, edi
call fcn.0040aa38
jmp 0x435965
mov esi, dword [ebp - 0x21c]
lea ecx, [esi - 0x10]
call fcn.00402e64
call fcn.0046c3f6
ret
Function at 0x435c3b
Capabilities:
Enumerate gui resources

Disassembly:
push 0x3d4
mov eax, 0x4b2ee3
call fcn.0046c418
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.00414d4f
or dword [ebp - 4], 0xffffffff
pop ecx
mov ecx, dword [ebp - 0x14]
lea ecx, [ecx - 0x10]
call fcn.00402e64
mov eax, dword [0x51aecc]
add eax, 0xfffffff0
push eax
call fcn.00402d9f
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, 0x51b26c
push edi
call fcn.00454ead
xor ebx, ebx
cmp dword [0x51ae88], ebx
jle 0x435dd9
push ebx
mov ecx, 0x51ae80
call fcn.0040ae65
mov esi, eax
mov dword [ebp - 0x1c], esi
mov eax, dword [esi]
test eax, eax
je 0x435dcc
cmp dword [eax + 0x4c], 0
je 0x435cdd
cmp dword [0x51ae0c], 0
je 0x435dcc
mov eax, dword [eax + 8]
and dword [ebp - 0x14], 0
sub eax, 0x10
push eax
call fcn.00402d9f
add eax, 0x10
mov dword [ebp - 0x10], eax
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x10]
mov dword [esp], 0x4f4cc4
call fcn.0040ac4f
lea ecx, [ebp - 0x10]
test eax, eax
je 0x435d5c
lea edx, [ebp - 0x18]
call fcn.00435852
mov esi, dword [ebp - 0x10]
push 0x5c
push esi
call fcn.00485294
pop ecx
pop ecx
mov ecx, eax
test ecx, ecx
jne 0x435d2d
or ecx, 0xffffffff
jmp 0x435d31
sub ecx, esi
sar ecx, 1
mov eax, dword [esi - 0xc]
dec eax
cmp ecx, eax
je 0x435d46
push 0x4d1898
lea ecx, [ebp - 0x10]
call fcn.0040259d
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 fcn.004025c6
jmp 0x435d67
mov eax, dword [esi]
add eax, 4
push eax
call fcn.00402e14
mov eax, dword [esi]
mov esi, dword [ebp - 0x10]
cmp dword [eax + 0x1c], 7
jne 0x435d8b
push 0
push 1
lea edx, [ebp - 0x14]
mov ecx, esi
call fcn.00436379
pop ecx
pop ecx
test eax, eax
je 0x435daa
xor edi, edi
inc edi
jmp 0x435daa
cmp dword [eax + 0x1c], 0
jne 0x435dbe
push dword [eax + 4]
lea edx, [ebp - 0x14]
mov ecx, esi
push 0
call fcn.00436379
pop ecx
pop ecx
test eax, eax
push 1
pop eax
cmovne edi, eax
cmp dword [ebp - 0x14], 0
je 0x435dbe
push dword [ebp - 0x14]
push 0x4357b0
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 [0x51ae88]
jl 0x435cb0
test edi, edi
je 0x435e12
push dword [0x51b2c4]
lea ecx, [ebp - 0x3e0]
call fcn.004261f6
lea ecx, [ebp - 0x3e0]
mov byte [ebp - 4], 3
call fcn.00458520
mov esi, eax
lea ecx, [ebp - 0x3e0]
xor eax, eax
inc eax
mov byte [ebp - 4], al
call fcn.00426353
jmp 0x435e17
xor eax, eax
lea esi, [eax + 1]
cmp esi, 4
je 0x435c93
mov ecx, dword [ebp - 0x18]
lea ecx, [ecx - 0x10]
call fcn.00402e64
mov eax, esi
call fcn.0046c3e1
ret
Function at 0x436761
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
push ebx
push edi
push 9
mov ebx, ecx
lea edi, [ebp - 0x28]
pop ecx
xor eax, eax
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_GetNativeSystemInfo]
cmp word [ebp - 0x28], 0
jne 0x43678a
mov al, 1
jmp 0x4367dd
mov edi, dword [0x51acc4]
push esi
xor esi, esi
mov dword [ebp - 4], esi
test edi, edi
jne 0x4367c1
push str.kernel32
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x4367d7
push str.IsWow64Process
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edi, eax
mov dword [0x51acc4], edi
test edi, edi
je 0x4367d4
lea eax, [ebp - 4]
mov ecx, edi
push eax
push ebx
call dword [0x4ba7ec]
call edi
test eax, eax
je 0x4367d7
mov esi, dword [ebp - 4]
test esi, esi
pop esi
setne al
pop edi
pop ebx
leave
ret
Function at 0x4367e1
Capabilities:
Enumerate process modules

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov eax, 0x143c
call fcn.0046c5c0
mov eax, dword [0x515554]
xor eax, esp
mov dword [esp + 0x1438], eax
push ebx
push esi
push edi
mov eax, ecx
mov ebx, edx
push 0x4d1898
xor esi, esi
mov dword [esp + 0x18], ebx
push eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x14], esi
call fcn.00485336
pop ecx
pop ecx
push ebx
neg eax
push esi
sbb edi, edi
push 0x410
neg edi
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov ebx, eax
test ebx, ebx
je 0x436925
mov ecx, ebx
call fcn.00436761
test al, al
jne 0x436876
lea eax, [esp + 0xc]
push eax
push ecx
mov ecx, esp
push dword [esp + 0x18]
call fcn.00402829
mov edx, edi
mov ecx, ebx
call fcn.00434eba
pop ecx
pop ecx
test eax, eax
jne 0x436925
mov esi, dword [esp + 0xc]
jmp 0x43696c
test edi, edi
je 0x4368f3
lea eax, [esp + 0xc]
push eax
push 0x1000
lea eax, [esp + 0x448]
push eax
push ebx
call dword [sym.imp.PSAPI.DLL_EnumProcessModules]
test eax, eax
je 0x4368f0
xor edi, edi
mov eax, dword [esp + 0xc]
shr eax, 2
cmp edi, eax
jae 0x4368f0
push 0x208
lea eax, [esp + 0x1c]
push 0
push eax
call fcn.00484bc0
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 0x4368eb
lea eax, [esp + 0x18]
push eax
push dword [esp + 0x14]
call fcn.0048d7c2
mov esi, eax
neg esi
pop ecx
sbb esi, esi
pop ecx
inc esi
inc edi
test esi, esi
je 0x436899
push ebx
jmp 0x436966
push dword [esp + 0x14]
push 8
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov edi, eax
cmp edi, 0xffffffff
je 0x436925
lea eax, [esp + 0x18]
mov dword [esp + 0x18], 0x428
push eax
push edi
call dword [sym.imp.KERNEL32.dll_Module32FirstW]
test eax, eax
jne 0x43693c
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
mov ecx, dword [esp + 0x1444]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.0046be3a
mov esp, ebp
pop ebp
ret
push dword [esp + 0x10]
lea eax, [esp + 0x3c]
push eax
call fcn.0048d7c2
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 0x436965
test esi, esi
je 0x43693c
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, esi
jmp 0x436927
Function at 0x4387f8
Capabilities:
Delete registry key

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
test ecx, ecx
je 0x438833
mov edx, dword [0x51ad0c]
lea eax, [ebp - 8]
and dword [ebp - 4], 0
mov ecx, reloc.OLEAUT32.dll_SysReAllocString
and dword [ebp - 8], 0
push eax
lea eax, [ebp - 4]
push eax
push str.iLogLevel
call fcn.004418af
add esp, 0xc
test eax, eax
jne 0x438833
cmp dword [ebp - 4], 1
jae 0x43886a
lea eax, [ebp - 4]
push eax
push 0xf003f
push 0
push dword [0x51ad0c]
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x43886a
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 0x4389dc
Capabilities:
Shutdown system

Disassembly:
push 0x20
mov eax, 0x4b3488
call fcn.0046c44c
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 0x438a2b
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.00414d4f
pop ecx
mov ecx, dword [ebp - 0x24]
jmp 0x438ab5
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 0x438a7f
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 0x438a1a
push SysReAllocString
push 0x12
call dword [sym.imp.USER32.dll_ExitWindowsEx]
test eax, eax
jne 0x438abd
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.00414d4f
pop ecx
mov ecx, dword [ebp - 0x28]
lea ecx, [ecx - 0x10]
call fcn.00402e64
call fcn.0046c3f6
ret
Function at 0x43a8a6
Capabilities:
Check if file exists
Create process on windows
Get file attributes
Persist via run registry key

Disassembly:
push 8
mov eax, 0x4b39a0
call fcn.0046c418
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.00414600
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 0x43a915
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.00414600
pop ecx
pop ecx
jmp 0x43a9e4
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x43a937
push str.sl_not_found:
lea ecx, [ebp - 0x10]
call fcn.00402829
mov dword [ebp - 4], 2
jmp 0x43a901
call fcn.00452601
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.004417f0
mov eax, dword [ebp - 0x10]
add esp, 0xc
cmp dword [eax - 0xc], 0
je 0x43a99f
push 0x22
lea ecx, [ebp - 0x10]
call fcn.0043b37a
push dword [esi]
lea ecx, [ebp - 0x10]
call fcn.0040ac4f
test eax, eax
jne 0x43a99f
push str.Registered_in_Run_already___will_not_launch:
lea ecx, [ebp - 0x14]
call fcn.00402829
mov byte [ebp - 4], 4
jmp 0x43a9ca
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.00414600
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.0046c3e1
ret
Function at 0x43d632
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push 8
mov eax, 0x4b4058
call fcn.0046c418
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.00414d4f
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 0x43d69c
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.00414d4f
pop ecx
jmp 0x43d78b
push ebx
push str.7AD7_
lea ecx, [esi + 0x50]
call fcn.0040a9fe
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.00485294
pop ecx
pop ecx
mov ecx, eax
test ecx, ecx
jne 0x43d6df
or ecx, 0xffffffff
jmp 0x43d6e3
sub ecx, esi
sar ecx, 1
mov eax, dword [esi - 0xc]
dec eax
cmp ecx, eax
je 0x43d6f8
push 0x4d1898
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 0x43d75f
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.00414600
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 0x43d78b
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.00414600
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.0046c3e1
ret 4
Function at 0x441778
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 0x4417de
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 0x4417f0
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 0x44181d
push 0x20119
jmp 0x441822
push 0x20019
push ebx
push edx
push ecx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov esi, eax
test esi, esi
jne 0x441898
push 0x208
call fcn.0048d048
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 0x44188b
push edi
call fcn.0048d02d
mov eax, dword [ebp - 8]
add eax, eax
push eax
call fcn.0048d048
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 0x441898
mov ecx, dword [ebp + 0xc]
push edi
call fcn.0040286d
push edi
call fcn.0048d02d
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 0x4418af
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 0x4418cb
push 0x20119
jmp 0x4418d0
push 0x20019
push edi
push edx
push ecx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov esi, eax
test esi, esi
jne 0x44190b
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 0x441911
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 0x441971
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 0x441978
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 0x4ce610
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov esi, eax
test esi, esi
jne 0x4419d3
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 0x4419d8
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 0x4ce610
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x441a31
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 0x441a36
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 0x441a5d
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