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

Disassembly:
push 0x14
mov eax, 0x4b0e00
call fcn.0046af88
mov ebx, ecx
mov eax, dword [0x518f2c]
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 0x4ef6b0
lea ecx, [ebp - 0x18]
call fcn.00412742
cmp dword [ebp - 0x10], edi
je 0x43064c
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 0x430676
push 0x4ef6b4
lea ecx, [ebp - 0x1c]
call fcn.00402829
mov byte [ebp - 4], 4
jmp 0x430695
push edi
push dword [ebp - 0x10]
call dword [sym.imp.msi.dll_MsiViewModify]
test eax, eax
je 0x4306b4
push 0x4ef6c0
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.00414122
pop ecx
mov ecx, dword [ebp - 0x1c]
lea ecx, [ecx - 0x10]
call fcn.00402e64
jmp 0x4306e6
cmp dword [ebp - 0x14], 0
je 0x4306c3
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 0x4306e6
push dword [ebp + 8]
mov ecx, dword [ebp - 0x14]
xor edx, edx
inc edx
call fcn.004464ad
pop ecx
mov ecx, dword [ebp - 0x18]
lea ecx, [ecx - 0x10]
call fcn.00402e64
cmp dword [ebp - 0x14], 0
je 0x430700
push dword [ebp - 0x14]
call dword [sym.imp.msi.dll_MsiConfigureFeatureFromDescriptorA]
cmp dword [ebp - 0x10], 0
je 0x43070f
push dword [ebp - 0x10]
call dword [sym.imp.msi.dll_MsiConfigureFeatureFromDescriptorA]
lea ecx, [esi - 0x10]
call fcn.00402e64
mov eax, edi
call fcn.0046af51
ret 4
Function at 0x4338a6
Capabilities:
Find taskbar

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x513554]
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 0x4338f0
push edi
push str.TrayNotifyWnd
push edi
push eax
call dword [sym.imp.USER32.dll_FindWindowExW]
test eax, eax
je 0x4338f0
push esi
push eax
call dword [sym.imp.USER32.dll_GetWindowRect]
jmp 0x4339b2
lea eax, [ebp - 0x28]
mov dword [ebp - 0x28], 0x24
push eax
push 5
call dword [sym.imp.SHELL32.dll_SHAppBarMessage]
test eax, eax
je 0x433956
mov eax, dword [ebp - 0x1c]
sub eax, edi
je 0x43393a
sub eax, 1
je 0x433921
sub eax, 1
je 0x43393a
sub eax, 1
jne 0x4339b2
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 0x433951
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 0x4339b2
push edi
push ebx
push edi
push edi
call dword [sym.imp.USER32.dll_FindWindowExW]
test eax, eax
je 0x433994
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 0x433982
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 0x4339b2
lea eax, [ecx - 0x1e]
jmp 0x4339af
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.0046a9aa
leave
ret 4
Function at 0x434a72
Capabilities:
Get common file path

Disassembly:
push 0x210
mov eax, 0x4b173b
call fcn.0046afbc
mov edi, ecx
push dword [edx]
push str._INSTALLDIR_
call fcn.00409cc8
test eax, eax
jne 0x434b8d
call fcn.00451171
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.00409c8e
cmp eax, 0xffffffff
je 0x434ac4
push 0x24
jmp 0x434b1e
push ebx
mov esi, str._SystemFolder_
mov ecx, edi
push esi
call fcn.00409c8e
cmp eax, 0xffffffff
je 0x434adb
push 0x25
jmp 0x434b1e
push ebx
mov esi, str._ProgramFilesFolder_
mov ecx, edi
push esi
call fcn.00409c8e
cmp eax, 0xffffffff
je 0x434af2
push 0x26
jmp 0x434b1e
push ebx
mov esi, str._CommonFilesFolder_
mov ecx, edi
push esi
call fcn.00409c8e
cmp eax, 0xffffffff
je 0x434b09
push 0x2b
jmp 0x434b1e
push ebx
mov esi, str._LocalAppDataFolder_
mov ecx, edi
push esi
call fcn.00409c8e
cmp eax, 0xffffffff
je 0x434b7f
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.00483730
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 0x434b7f
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
test eax, eax
je 0x434b7f
mov esi, dword [ebp - 0x21c]
lea eax, [ebp - 0x218]
push eax
push esi
mov ecx, edi
call fcn.00409cc8
jmp 0x434b85
mov esi, dword [ebp - 0x21c]
lea ecx, [esi - 0x10]
call fcn.00402e64
call fcn.0046af66
ret
Function at 0x434e5c
Capabilities:
Enumerate gui resources

Disassembly:
push 0x3d4
mov eax, 0x4b17f3
call fcn.0046af88
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.00414071
or dword [ebp - 4], 0xffffffff
pop ecx
mov ecx, dword [ebp - 0x14]
lea ecx, [ecx - 0x10]
call fcn.00402e64
mov eax, dword [0x518ec4]
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, 0x519264
push edi
call fcn.00453a1d
xor ebx, ebx
cmp dword [0x518e80], ebx
jle 0x434ffa
push ebx
mov ecx, 0x518e78
call fcn.0040a0f5
mov esi, eax
mov dword [ebp - 0x1c], esi
mov eax, dword [esi]
test eax, eax
je 0x434fed
cmp dword [eax + 0x4c], 0
je 0x434efe
cmp dword [0x518e04], 0
je 0x434fed
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], 0x4f3184
call fcn.00409edf
lea ecx, [ebp - 0x10]
test eax, eax
je 0x434f7d
lea edx, [ebp - 0x18]
call fcn.00434a72
mov esi, dword [ebp - 0x10]
push 0x5c
push esi
call fcn.00484080
pop ecx
pop ecx
mov ecx, eax
test ecx, ecx
jne 0x434f4e
or ecx, 0xffffffff
jmp 0x434f52
sub ecx, esi
sar ecx, 1
mov eax, dword [esi - 0xc]
dec eax
cmp ecx, eax
je 0x434f67
push 0x4cfdb8
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 0x434f88
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 0x434fac
push 0
push 1
lea edx, [ebp - 0x14]
mov ecx, esi
call fcn.00435597
pop ecx
pop ecx
test eax, eax
je 0x434fcb
xor edi, edi
inc edi
jmp 0x434fcb
cmp dword [eax + 0x1c], 0
jne 0x434fdf
push dword [eax + 4]
lea edx, [ebp - 0x14]
mov ecx, esi
push 0
call fcn.00435597
pop ecx
pop ecx
test eax, eax
push 1
pop eax
cmovne edi, eax
cmp dword [ebp - 0x14], 0
je 0x434fdf
push dword [ebp - 0x14]
push 0x4349d0
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 [0x518e80]
jl 0x434ed1
test edi, edi
je 0x435033
push dword [0x5192bc]
lea ecx, [ebp - 0x3e0]
call fcn.00425516
lea ecx, [ebp - 0x3e0]
mov byte [ebp - 4], 3
call fcn.00457090
mov esi, eax
lea ecx, [ebp - 0x3e0]
xor eax, eax
inc eax
mov byte [ebp - 4], al
call fcn.00425673
jmp 0x435038
xor eax, eax
lea esi, [eax + 1]
cmp esi, 4
je 0x434eb4
mov ecx, dword [ebp - 0x18]
lea ecx, [ecx - 0x10]
call fcn.00402e64
mov eax, esi
call fcn.0046af51
ret
Function at 0x43597f
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 0x4359a8
mov al, 1
jmp 0x4359fb
mov edi, dword [0x518cc0]
push esi
xor esi, esi
mov dword [ebp - 4], esi
test edi, edi
jne 0x4359df
push str.kernel32
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x4359f5
push str.IsWow64Process
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edi, eax
mov dword [0x518cc0], edi
test edi, edi
je 0x4359f2
lea eax, [ebp - 4]
mov ecx, edi
push eax
push ebx
call dword [0x4b97ec]
call edi
test eax, eax
je 0x4359f5
mov esi, dword [ebp - 4]
test esi, esi
pop esi
setne al
pop edi
pop ebx
leave
ret
Function at 0x4359ff
Capabilities:
Enumerate process modules

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov eax, 0x143c
call fcn.0046b130
mov eax, dword [0x513554]
xor eax, esp
mov dword [esp + 0x1438], eax
push ebx
push esi
push edi
mov eax, ecx
mov ebx, edx
push 0x4cfdb8
xor esi, esi
mov dword [esp + 0x18], ebx
push eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x14], esi
call fcn.00483e04
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 0x435b43
mov ecx, ebx
call fcn.0043597f
test al, al
jne 0x435a94
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.004340da
pop ecx
pop ecx
test eax, eax
jne 0x435b43
mov esi, dword [esp + 0xc]
jmp 0x435b8a
test edi, edi
je 0x435b11
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 0x435b0e
xor edi, edi
mov eax, dword [esp + 0xc]
shr eax, 2
cmp edi, eax
jae 0x435b0e
push 0x208
lea eax, [esp + 0x1c]
push 0
push eax
call fcn.00483730
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 0x435b09
lea eax, [esp + 0x18]
push eax
push dword [esp + 0x14]
call fcn.0048c332
mov esi, eax
neg esi
pop ecx
sbb esi, esi
pop ecx
inc esi
inc edi
test esi, esi
je 0x435ab7
push ebx
jmp 0x435b84
push dword [esp + 0x14]
push 8
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov edi, eax
cmp edi, 0xffffffff
je 0x435b43
lea eax, [esp + 0x18]
mov dword [esp + 0x18], 0x428
push eax
push edi
call dword [sym.imp.KERNEL32.dll_Module32FirstW]
test eax, eax
jne 0x435b5a
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.0046a9aa
mov esp, ebp
pop ebp
ret
push dword [esp + 0x10]
lea eax, [esp + 0x3c]
push eax
call fcn.0048c332
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 0x435b83
test esi, esi
je 0x435b5a
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, esi
jmp 0x435b45
Function at 0x437a0b
Capabilities:
Delete registry key

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
test ecx, ecx
je 0x437a46
mov edx, dword [0x518d04]
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.0044058f
add esp, 0xc
test eax, eax
jne 0x437a46
cmp dword [ebp - 4], 1
jae 0x437a7d
lea eax, [ebp - 4]
push eax
push 0xf003f
push 0
push dword [0x518d04]
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x437a7d
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 0x437bef
Capabilities:
Shutdown system

Disassembly:
push 0x20
mov eax, 0x4b1d98
call fcn.0046afbc
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 0x437c3e
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.00414071
pop ecx
mov ecx, dword [ebp - 0x24]
jmp 0x437cc8
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 0x437c92
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 0x437c2d
push SysReAllocString
push 0x12
call dword [sym.imp.USER32.dll_ExitWindowsEx]
test eax, eax
jne 0x437cd0
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.00414071
pop ecx
mov ecx, dword [ebp - 0x28]
lea ecx, [ecx - 0x10]
call fcn.00402e64
call fcn.0046af66
ret
Function at 0x437cd6
Capabilities:
Create process on windows

Disassembly:
push 0x68
mov eax, 0x4b1de8
call fcn.0046af88
mov edi, edx
mov dword [ebp - 0x20], ecx
push str.LaunchProcessAsUser...
lea ecx, [ebp - 0x18]
call fcn.00402829
xor esi, esi
lea edx, [ebp - 0x18]
push esi
push 2
pop eax
mov ecx, eax
mov dword [ebp - 4], esi
call fcn.00414071
or dword [ebp - 4], 0xffffffff
pop ecx
mov ecx, dword [ebp - 0x18]
lea ecx, [ecx - 0x10]
call fcn.00402e64
push 0x44
pop ebx
push ebx
lea eax, [ebp - 0x74]
push esi
push eax
call fcn.00483730
push 0x10
lea eax, [ebp - 0x30]
mov dword [ebp - 0x74], ebx
push esi
push eax
mov dword [ebp - 0x6c], str.winsta0default
call fcn.00483730
mov ebx, dword [ebp + 8]
lea eax, [ebp - 0x10]
add esp, 0x18
mov dword [ebp - 0x10], esi
mov dword [ebp - 0x1c], 0x20
push 1
push dword [ebx]
push eax
call dword [sym.imp.USERENV.dll_CreateEnvironmentBlock]
test eax, eax
je 0x437d66
mov dword [ebp - 0x1c], 0x420
jmp 0x437d9f
push str.CreateEnvironmentBlock_failed
lea ecx, [ebp - 0x18]
mov dword [ebp - 0x10], esi
call fcn.00402829
mov dword [ebp - 4], 1
call dword [sym.imp.KERNEL32.dll_GetLastError]
xor ecx, ecx
lea edx, [ebp - 0x18]
push eax
inc ecx
call fcn.00414071
or dword [ebp - 4], 0xffffffff
pop ecx
mov ecx, dword [ebp - 0x18]
lea ecx, [ecx - 0x10]
call fcn.00402e64
push edi
lea eax, [ebp - 0x14]
push str._Skip
push eax
call fcn.004023f1
push 2
pop edx
mov dword [ebp - 4], edx
xor ecx, ecx
mov eax, dword [ebp - 0x14]
mov eax, dword [eax - 0xc]
inc eax
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00450a32
mov edi, eax
add esp, 0x10
test edi, edi
jne 0x437e06
push str.operator_new_failed
lea ecx, [ebp - 0x18]
call fcn.00402829
xor ecx, ecx
mov byte [ebp - 4], 3
push esi
lea edx, [ebp - 0x18]
inc ecx
call fcn.00414071
pop ecx
mov ecx, dword [ebp - 0x18]
lea ecx, [ecx - 0x10]
call fcn.00402e64
push 8
pop esi
jmp 0x437e9f
mov eax, dword [ebp - 0x14]
push eax
mov ecx, dword [eax - 0xc]
lea eax, [ecx + 1]
push eax
push edi
call fcn.0048bbc3
add esp, 0xc
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x74]
push eax
mov eax, dword [ebp - 0x20]
push esi
push dword [ebp - 0x10]
push dword [ebp - 0x1c]
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 0x437e6f
call dword [sym.imp.KERNEL32.dll_GetLastError]
push str.CreateProcessAsUser_failed:
lea ecx, [ebp - 0x1c]
mov esi, eax
call fcn.00402829
xor ecx, ecx
mov byte [ebp - 4], 4
push esi
lea edx, [ebp - 0x1c]
inc ecx
call fcn.00414071
pop ecx
mov ecx, dword [ebp - 0x1c]
lea ecx, [ecx - 0x10]
call fcn.00402e64
cmp dword [ebp - 0x10], 0
je 0x437e7e
push dword [ebp - 0x10]
call dword [sym.imp.USERENV.dll_DestroyEnvironmentBlock]
push dword [ebx]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push dword [ebp - 0x30]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push dword [ebp - 0x2c]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push edi
call fcn.00450a2d
pop ecx
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
call fcn.00402e64
mov eax, esi
call fcn.0046af51
ret
Function at 0x4395bc
Capabilities:
Check if file exists
Create process on windows
Get file attributes
Persist via run registry key

Disassembly:
push 8
mov eax, 0x4b21f0
call fcn.0046af88
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.00413940
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 0x43962b
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.00413940
pop ecx
pop ecx
jmp 0x4396fa
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x43964d
push str.sl_not_found:
lea ecx, [ebp - 0x10]
call fcn.00402829
mov dword [ebp - 4], 2
jmp 0x439617
call fcn.00451171
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.004404d0
mov eax, dword [ebp - 0x10]
add esp, 0xc
cmp dword [eax - 0xc], 0
je 0x4396b5
push 0x22
lea ecx, [ebp - 0x10]
call fcn.0043a05a
push dword [esi]
lea ecx, [ebp - 0x10]
call fcn.00409edf
test eax, eax
jne 0x4396b5
push str.Registered_in_Run_already___will_not_launch:
lea ecx, [ebp - 0x14]
call fcn.00402829
mov byte [ebp - 4], 4
jmp 0x4396e0
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.00413940
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.0046af51
ret
Function at 0x43c312
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push 8
mov eax, 0x4b28e8
call fcn.0046af88
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.00414071
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 0x43c37c
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.00414071
pop ecx
jmp 0x43c46b
push ebx
push str.7AD7_
lea ecx, [esi + 0x50]
call fcn.00409c8e
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.00484080
pop ecx
pop ecx
mov ecx, eax
test ecx, ecx
jne 0x43c3bf
or ecx, 0xffffffff
jmp 0x43c3c3
sub ecx, esi
sar ecx, 1
mov eax, dword [esi - 0xc]
dec eax
cmp ecx, eax
je 0x43c3d8
push 0x4cfdb8
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 0x43c43f
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.00413940
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 0x43c46b
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.00413940
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.0046af51
ret 4
Function at 0x440458
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 0x4404be
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 0x4404d0
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 0x4404fd
push 0x20119
jmp 0x440502
push 0x20019
push ebx
push edx
push ecx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov esi, eax
test esi, esi
jne 0x440578
push 0x208
call fcn.0048bbb8
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 0x44056b
push edi
call fcn.0048bb9d
mov eax, dword [ebp - 8]
add eax, eax
push eax
call fcn.0048bbb8
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 0x440578
mov ecx, dword [ebp + 0xc]
push edi
call fcn.0040286d
push edi
call fcn.0048bb9d
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 0x44058f
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 0x4405ab
push 0x20119
jmp 0x4405b0
push 0x20019
push edi
push edx
push ecx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov esi, eax
test esi, esi
jne 0x4405eb
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