joyce8/EMBER2024-capa huggingface dataset:
Function at 0x421f01
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x258
mov eax, dword [0x4b2d60]
xor eax, esp
mov dword [esp + 0x254], eax
test esi, esi
jne 0x421f23
push 0xd
jmp 0x421f8b
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x421f89
and dword [esp], 0
push 0x24c
lea eax, [esp + 8]
push 0
push eax
call fcn.00450cb0
add esp, 0xc
lea eax, [esp]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
cmp eax, 0xffffffff
je 0x421f89
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
cmp edi, 0xffffffff
je 0x421f70
cmp dword [esp + 0x20], edi
je 0x421f70
mov eax, 0x5b6
jmp 0x421f8c
push ebx
push esi
call fcn.004212d8
neg eax
sbb eax, eax
pop ecx
and eax, 0xfffffc12
pop ecx
add eax, 0x3ee
jmp 0x421f8c
push 2
pop eax
mov ecx, dword [esp + 0x254]
xor ecx, esp
call fcn.0044ff92
mov esp, ebp
pop ebp
ret
Function at 0x4224e2
Capabilities:
Reference sql statements

Disassembly:
push 0x14
mov eax, 0x46feb1
call fcn.00452eb4
push str.InitUpdateFromProductUpdatesTable...
lea ecx, [ebp - 0x1c]
call fcn.004012e2
xor esi, esi
push esi
lea eax, [ebp - 0x1c]
push eax
push 2
mov dword [ebp - 4], esi
call fcn.00411806
or dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x1c]
add esp, 0xc
add ecx, 0xfffffff0
call fcn.004017df
push str.SELECT__FROM__ProductUpdates__WHERE__ProductCode_
lea ecx, [ebp - 0x18]
call fcn.004012e2
xor edi, edi
inc edi
mov dword [ebp - 4], edi
push dword [ebp + 8]
lea ecx, [ebp - 0x18]
call fcn.00401103
push str._AND__ProductVersion_
lea eax, [ebp - 0x18]
push eax
call fcn.00407162
push dword [ebp + 0xc]
lea ecx, [ebp - 0x18]
call fcn.00401103
push 0x497b98
lea eax, [ebp - 0x18]
push eax
call fcn.00407162
mov dword [ebp - 0x10], esi
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 3
mov eax, dword [ebx + 4]
push ecx
push dword [ebp - 0x18]
mov dword [ebp - 0x14], esi
push eax
call sub.msi.dll_MsiEnumClientsA
mov dword [ebp + 8], eax
cmp eax, esi
je 0x4225e2
push 0x497b9c
lea ecx, [ebp + 0xc]
call fcn.004012e2
mov byte [ebp - 4], 4
push dword [ebp + 8]
lea eax, [ebp + 0xc]
push eax
push edi
call fcn.00411806
mov ecx, dword [ebp + 0xc]
add esp, 0xc
add ecx, 0xfffffff0
call fcn.004017df
cmp dword [ebp - 0x10], esi
je 0x4225bd
push dword [ebp - 0x10]
call sub.msi.dll_MsiConfigureFeatureFromDescriptorA
cmp dword [ebp - 0x14], esi
je 0x4225ca
push dword [ebp - 0x14]
call sub.msi.dll_MsiConfigureFeatureFromDescriptorA
mov ecx, dword [ebp - 0x18]
add ecx, 0xfffffff0
call fcn.004017df
mov eax, 0x3d32
call fcn.00452f8c
ret 8
push esi
push dword [ebp - 0x14]
call sub.msi.dll_MsiViewModify
mov dword [ebp + 8], eax
cmp eax, esi
je 0x42264c
push 0x497ba8
lea ecx, [ebp + 0xc]
call fcn.004012e2
mov byte [ebp - 4], 5
push dword [ebp + 8]
lea eax, [ebp + 0xc]
push eax
push edi
call fcn.00411806
mov ecx, dword [ebp + 0xc]
add esp, 0xc
add ecx, 0xfffffff0
call fcn.004017df
cmp dword [ebp - 0x10], esi
je 0x42262b
push dword [ebp - 0x10]
call sub.msi.dll_MsiConfigureFeatureFromDescriptorA
cmp dword [ebp - 0x14], esi
je 0x422638
push dword [ebp - 0x14]
call sub.msi.dll_MsiConfigureFeatureFromDescriptorA
mov esi, 0x3d32
mov ecx, dword [ebp - 0x18]
add ecx, 0xfffffff0
call fcn.004017df
mov eax, esi
jmp 0x4225da
cmp dword [ebp - 0x10], esi
je 0x422659
push dword [ebp - 0x10]
call sub.msi.dll_MsiConfigureFeatureFromDescriptorA
lea eax, [ebp - 0x10]
push eax
push dword [ebp - 0x14]
mov dword [ebp - 0x10], esi
call sub.msi.dll_MsiDatabaseIsTablePersistentA
neg eax
sbb eax, eax
inc eax
lea ecx, [ebp + 8]
je 0x4226a2
push dword [ebp - 0x10]
mov dword [ebp + 8], 3
push ebx
call fcn.00422923
mov edi, eax
cmp dword [ebp - 0x10], esi
je 0x422691
push dword [ebp - 0x10]
call sub.msi.dll_MsiConfigureFeatureFromDescriptorA
cmp dword [ebp - 0x14], esi
je 0x42269e
push dword [ebp - 0x14]
call sub.msi.dll_MsiConfigureFeatureFromDescriptorA
mov esi, edi
jmp 0x42263d
push 0x497bb0
call fcn.004012e2
push esi
lea eax, [ebp + 8]
push eax
push edi
mov byte [ebp - 4], 6
call fcn.00411806
mov ecx, dword [ebp + 8]
jmp 0x422613
Function at 0x426bfa
Capabilities:
Reference sql statements

Disassembly:
push 0x10
mov eax, 0x46bedc
call fcn.00452eb4
push 0x4b78c4
lea ecx, [ebp - 0x1c]
call fcn.00401326
xor edi, edi
mov dword [ebp - 4], edi
mov dword [ebp - 0x10], edi
mov dword [ebp - 0x14], edi
push str.SELECT__FileSequences__FROM__ProductUpgrades__WHERE__UpgradeMatch_
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 2
call fcn.004012e2
mov byte [ebp - 4], 3
mov ebx, dword [ebp - 0x1c]
push dword [ebx - 0xc]
lea ecx, [ebp - 0x18]
push ebx
call fcn.00401163
push 0x497b98
lea eax, [ebp - 0x18]
push eax
call fcn.00407162
cmp dword [ebp - 0x10], edi
je 0x426c5d
push dword [ebp - 0x10]
call sub.msi.dll_MsiConfigureFeatureFromDescriptorA
mov eax, dword [ebp + 8]
mov eax, dword [eax + 4]
lea ecx, [ebp - 0x10]
push ecx
push dword [ebp - 0x18]
mov dword [ebp - 0x10], edi
push eax
call sub.msi.dll_MsiEnumClientsA
cmp eax, edi
je 0x426cde
push 0x497b9c
lea ecx, [ebp + 8]
call fcn.004012e2
mov byte [ebp - 4], 4
mov esi, 0x3d32
push esi
lea eax, [ebp + 8]
push eax
push 1
call fcn.00411806
mov ecx, dword [ebp + 8]
add esp, 0xc
add ecx, 0xfffffff0
call fcn.004017df
mov ecx, dword [ebp - 0x18]
add ecx, 0xfffffff0
call fcn.004017df
cmp dword [ebp - 0x14], edi
je 0x426cbf
push dword [ebp - 0x14]
call sub.msi.dll_MsiConfigureFeatureFromDescriptorA
cmp dword [ebp - 0x10], edi
je 0x426ccc
push dword [ebp - 0x10]
call sub.msi.dll_MsiConfigureFeatureFromDescriptorA
lea ecx, [ebx - 0x10]
call fcn.004017df
mov eax, esi
call fcn.00452f8c
ret 8
push edi
push dword [ebp - 0x10]
call sub.msi.dll_MsiViewModify
cmp eax, edi
je 0x426cfe
push 0x497ba8
lea ecx, [ebp + 8]
call fcn.004012e2
mov byte [ebp - 4], 5
jmp 0x426c88
cmp dword [ebp - 0x14], edi
je 0x426d0b
push dword [ebp - 0x14]
call sub.msi.dll_MsiConfigureFeatureFromDescriptorA
lea eax, [ebp - 0x14]
push eax
push dword [ebp - 0x10]
mov dword [ebp - 0x14], edi
call sub.msi.dll_MsiDatabaseIsTablePersistentA
test eax, eax
jne 0x426d2e
push dword [ebp + 0xc]
push 1
push dword [ebp - 0x14]
call fcn.0043a023
add esp, 0xc
mov ecx, dword [ebp - 0x18]
add ecx, 0xfffffff0
call fcn.004017df
cmp dword [ebp - 0x14], edi
je 0x426d46
push dword [ebp - 0x14]
call sub.msi.dll_MsiConfigureFeatureFromDescriptorA
cmp dword [ebp - 0x10], edi
je 0x426d53
push dword [ebp - 0x10]
call sub.msi.dll_MsiConfigureFeatureFromDescriptorA
xor esi, esi
jmp 0x426ccc
Function at 0x428fe5
Capabilities:
Find taskbar

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
push ebx
push edi
mov edi, dword [sym.imp.USER32.dll_FindWindowExW]
xor ebx, ebx
push ebx
push str.Shell_TrayWnd
push ebx
push ebx
call edi
cmp eax, ebx
je 0x42901e
push ebx
push str.TrayNotifyWnd
push ebx
push eax
call edi
cmp eax, ebx
je 0x42901e
push esi
push eax
call dword [sym.imp.USER32.dll_GetWindowRect]
jmp 0x4290da
lea eax, [ebp - 0x24]
push eax
push 5
mov dword [ebp - 0x24], 0x24
call dword [sym.imp.SHELL32.dll_SHAppBarMessage]
test eax, eax
je 0x42907e
mov eax, dword [ebp - 0x18]
sub eax, ebx
je 0x429062
dec eax
je 0x429049
dec eax
je 0x429062
dec eax
jne 0x4290da
mov eax, dword [ebp - 0x10]
mov dword [esi + 4], eax
mov eax, dword [ebp - 8]
mov dword [esi + 0xc], eax
mov eax, dword [ebp - 0xc]
lea ecx, [eax - 0x64]
mov dword [esi], ecx
add eax, 0xfffffff0
jmp 0x429079
mov eax, dword [ebp - 8]
lea ecx, [eax - 0x64]
add eax, 0xfffffff0
mov dword [esi + 0xc], eax
mov eax, dword [ebp - 0x14]
mov dword [esi], eax
mov eax, dword [ebp - 0xc]
mov dword [esi + 4], ecx
mov dword [esi + 8], eax
jmp 0x4290da
push ebx
push str.Shell_TrayWnd
push ebx
push ebx
call edi
cmp eax, ebx
je 0x4290bc
push esi
push eax
call dword [sym.imp.USER32.dll_GetWindowRect]
mov eax, dword [esi + 8]
mov ecx, eax
sub ecx, dword [esi]
cmp ecx, 0x96
jle 0x4290aa
add eax, 0xffffff6a
mov dword [esi], eax
mov eax, dword [esi + 0xc]
mov ecx, eax
sub ecx, dword [esi + 4]
cmp ecx, 0x1e
jle 0x4290da
add eax, 0xffffffe2
jmp 0x4290d7
push ebx
push esi
push ebx
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
pop edi
pop ebx
leave
ret
Function at 0x4292e3
Capabilities:
Get common file path

Disassembly:
push ebp
sub esp, 0x208
lea ebp, [esp - 4]
mov eax, dword [0x4b2d60]
xor eax, ebp
mov dword [ebp + 0x208], eax
push 4
mov eax, 0x46921b
call fcn.00452eb4
mov eax, dword [ebp + 0x214]
push dword [eax]
mov esi, ecx
push str._INSTALLDIR_
push esi
call fcn.0040724c
test eax, eax
jne 0x4293fc
call fcn.0043f3c0
push eax
lea ecx, [ebp - 0x10]
call fcn.004013a1
and dword [ebp - 4], 0
mov edi, str._WindowsFolder_
push edi
xor ecx, ecx
call fcn.004073c6
or ebx, 0xffffffff
cmp eax, ebx
je 0x42934e
push 0x24
jmp 0x4293a0
mov edi, str._SystemFolder_
push edi
xor ecx, ecx
call fcn.004073c6
cmp eax, ebx
je 0x429363
push 0x25
jmp 0x4293a0
mov edi, str._ProgramFilesFolder_
push edi
xor ecx, ecx
call fcn.004073c6
cmp eax, ebx
je 0x429378
push 0x26
jmp 0x4293a0
mov edi, str._CommonFilesFolder_
push edi
xor ecx, ecx
call fcn.004073c6
cmp eax, ebx
je 0x42938d
push 0x2b
jmp 0x4293a0
mov edi, str._LocalAppDataFolder_
push edi
xor ecx, ecx
call fcn.004073c6
cmp eax, ebx
je 0x4293f1
push 0x1c
pop ebx
push edi
lea ecx, [ebp - 0x10]
call fcn.00401356
xor eax, eax
push 0x206
mov word [ebp], ax
xor edi, edi
lea eax, [ebp + 2]
push edi
push eax
call fcn.00450cb0
add esp, 0xc
lea eax, [ebp]
push eax
push edi
push edi
push ebx
push edi
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
jne 0x4293f1
lea eax, [ebp]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
test eax, eax
je 0x4293f1
lea eax, [ebp]
push eax
push dword [ebp - 0x10]
push esi
call fcn.0040724c
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.004017df
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x208]
xor ecx, ebp
call fcn.0044ff92
add ebp, 0x20c
leave
ret
Function at 0x42972c
Capabilities:
Enumerate gui resources

Disassembly:
push 0x29c
mov eax, 0x46baab
call fcn.00452eb4
push 0x4b7844
lea ecx, [ebp - 0x20]
call fcn.00401326
xor ebx, ebx
mov dword [ebp - 4], ebx
push 0xffffffffffffffff
push ebx
mov ecx, 0x4b7bc4
mov dword [ebp - 0x1c], ebx
call fcn.00440530
cmp dword [0x4b7800], ebx
mov dword [ebp - 0x14], ebx
jle 0x4298be
push dword [ebp - 0x14]
mov ecx, 0x4b77f8
call fcn.004076d7
mov esi, eax
mov eax, dword [esi]
cmp eax, ebx
je 0x429874
cmp dword [eax + 0x20], ebx
je 0x42979c
mov eax, 0x4b7c0c
call fcn.00401cfa
test eax, eax
je 0x429874
mov eax, dword [esi]
add eax, 8
push eax
lea ecx, [ebp - 0x10]
mov dword [ebp - 0x18], ebx
call fcn.00401326
push 0x49a600
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 1
call fcn.004074fe
lea ecx, [ebp - 0x10]
test eax, eax
je 0x429801
lea eax, [ebp - 0x20]
push eax
call fcn.004292e3
pop ecx
push 0x5c
lea ecx, [ebp - 0x10]
call fcn.00408b57
mov ecx, dword [ebp - 0x10]
mov ecx, dword [ecx - 0xc]
dec ecx
cmp eax, ecx
je 0x4297f1
push 0x479944
lea ecx, [ebp - 0x10]
call fcn.00407601
mov eax, dword [esi]
add eax, 4
push eax
lea ecx, [ebp - 0x10]
call fcn.00401103
jmp 0x42980c
mov eax, dword [esi]
add eax, 4
push eax
call fcn.004077b3
mov esi, dword [esi]
mov eax, dword [esi + 0x1c]
mov edi, dword [ebp - 0x10]
cmp eax, 6
jne 0x429835
xor esi, esi
push ebx
inc esi
lea eax, [ebp - 0x18]
push esi
push eax
mov ecx, edi
call fcn.00429e91
add esp, 0xc
test eax, eax
je 0x429856
mov dword [ebp - 0x1c], esi
jmp 0x429856
cmp eax, ebx
jne 0x429869
push dword [esi + 4]
lea eax, [ebp - 0x18]
push ebx
push eax
mov ecx, edi
call fcn.00429e91
add esp, 0xc
test eax, eax
je 0x429856
mov dword [ebp - 0x1c], 1
cmp dword [ebp - 0x18], ebx
je 0x429869
push dword [ebp - 0x18]
push 0x429241
call dword [sym.imp.USER32.dll_EnumWindows]
lea ecx, [edi - 0x10]
mov byte [ebp - 4], bl
call fcn.004017df
inc dword [ebp - 0x14]
mov eax, dword [ebp - 0x14]
cmp eax, dword [0x4b7800]
jl 0x42976c
cmp dword [ebp - 0x1c], ebx
je 0x4298be
push dword [0x4b7c18]
lea eax, [ebp - 0x2a8]
push eax
call fcn.0041d6e6
lea ecx, [ebp - 0x2a8]
mov byte [ebp - 4], 2
call fcn.0044b432
lea ecx, [ebp - 0x2a8]
mov esi, eax
mov byte [ebp - 4], bl
call fcn.0041d7fb
jmp 0x4298c1
xor esi, esi
inc esi
cmp esi, 4
je 0x42974d
mov ecx, dword [ebp - 0x20]
add ecx, 0xfffffff0
call fcn.004017df
mov eax, esi
call fcn.00452f8c
ret
Function at 0x42a10d
Capabilities:
Enumerate process modules

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x644
mov eax, dword [0x4b2d60]
xor eax, ebp
mov dword [ebp - 8], eax
push esi
push edi
push dword [ebp + 8]
xor edi, edi
push 8
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov dword [ebp - 0x640], eax
cmp eax, 0xffffffff
jne 0x42a149
xor eax, eax
mov ecx, dword [ebp - 8]
pop edi
xor ecx, ebp
pop esi
call fcn.0044ff92
leave
ret
lea ecx, [ebp - 0x63c]
push ecx
push eax
mov dword [ebp - 0x63c], 0x428
call sub.KERNEL32.dll_Module32FirstW
test eax, eax
jne 0x42a176
xor edi, edi
push dword [ebp - 0x640]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, edi
jmp 0x42a13b
push 0x479944
push ebx
call fcn.00450d2a
pop ecx
pop ecx
push dword [ebp + 8]
mov esi, eax
neg esi
push 0
sbb esi, esi
push 0x2000000
neg esi
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov dword [ebp - 0x644], eax
test esi, esi
jne 0x42a1af
push ebx
lea eax, [ebp - 0x61c]
push eax
jmp 0x42a1ff
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x214], ax
lea eax, [ebp - 0x212]
push eax
call fcn.00450cb0
add esp, 0xc
cmp dword [ebp - 0x644], 0
je 0x42a20d
push 0x104
lea eax, [ebp - 0x214]
push eax
push dword [ebp - 0x620]
push dword [ebp - 0x644]
call sub.PSAPI.DLL_GetModuleFileNameExW
test eax, eax
jbe 0x42a20d
lea eax, [ebp - 0x214]
push eax
push ebx
call fcn.00452253
mov edi, eax
neg edi
sbb edi, edi
pop ecx
inc edi
pop ecx
lea eax, [ebp - 0x63c]
push eax
push dword [ebp - 0x640]
call sub.KERNEL32.dll_Module32NextW
test eax, eax
je 0x42a166
test edi, edi
je 0x42a1a1
jmp 0x42a166

Function at 0x42ba8c
Capabilities:
Delete registry key

Disassembly:
push ebp
mov ebp, esp
cmp dword [ebp + 8], 0
je 0x42babf
and dword [ebp + 8], 0
lea eax, [ebp + 8]
push eax
push str.iLogLevel
push dword [0x4b76a8]
push reloc.OLEAUT32.dll_SysReAllocString
call fcn.00434644
add esp, 0x10
test eax, eax
jne 0x42babf
cmp dword [ebp + 8], 1
jae 0x42baf6
lea eax, [ebp + 8]
push eax
push 0xf003f
push 0
push dword [0x4b76a8]
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x42baf6
push str.CollectData
push dword [ebp + 8]
call dword [sym.imp.SHLWAPI.dll_SHDeleteKeyW]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop ebp
ret
Function at 0x42bb7b
Capabilities:
Shutdown system

Disassembly:
push 0x1c
mov eax, 0x46b98e
call fcn.00452eb4
lea eax, [ebp - 0x18]
push eax
push 0x28
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
jne 0x42bbc9
push str.OpenProcessToken_failed_in_RebootOS.
lea ecx, [ebp - 0x10]
call fcn.004012e2
and dword [ebp - 4], 0
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea eax, [ebp - 0x10]
push eax
push 2
call fcn.00411806
mov ecx, dword [ebp - 0x10]
jmp 0x42bc4f
lea eax, [ebp - 0x24]
push eax
push str.SeShutdownPrivilege
xor esi, esi
push esi
call dword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueW]
push 2
pop edi
push esi
push esi
push esi
lea eax, [ebp - 0x28]
push eax
push esi
push dword [ebp - 0x18]
xor ebx, ebx
inc ebx
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x1c], edi
call dword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
call esi
test eax, eax
je 0x42bc1e
push str.AdjustTokenPrivileges_failed_in_RebootOS.
lea ecx, [ebp - 0x10]
call fcn.004012e2
mov dword [ebp - 4], ebx
call esi
push eax
lea eax, [ebp - 0x10]
push eax
push edi
jmp 0x42bbbc
push SysReAllocString
push 0x12
call dword [sym.imp.USER32.dll_ExitWindowsEx]
test eax, eax
jne 0x42bc5a
push str.ExitWindowsEx_failed_in_RebootOS.
lea ecx, [ebp - 0x14]
call fcn.004012e2
mov dword [ebp - 4], edi
call esi
push eax
lea eax, [ebp - 0x14]
push eax
push edi
call fcn.00411806
mov ecx, dword [ebp - 0x14]
add esp, 0xc
add ecx, 0xfffffff0
call fcn.004017df
call fcn.00452f8c
ret
Function at 0x42bc60
Capabilities:
Create process on windows

Disassembly:
push 0x6c
mov eax, 0x46b95b
call fcn.00452eb4
push str.LaunchProcessAsUser...
lea ecx, [ebp - 0x18]
call fcn.004012e2
xor esi, esi
push esi
lea eax, [ebp - 0x18]
push eax
push 2
mov dword [ebp - 4], esi
call fcn.00411806
or dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x18]
add esp, 0xc
add ecx, 0xfffffff0
call fcn.004017df
push 0x44
pop ebx
push ebx
lea eax, [ebp - 0x78]
push esi
push eax
call fcn.00450cb0
add esp, 0xc
push 0x10
lea eax, [ebp - 0x2c]
push esi
push eax
mov dword [ebp - 0x78], ebx
mov dword [ebp - 0x70], str.winsta0default
call fcn.00450cb0
add esp, 0xc
xor ebx, ebx
inc ebx
push ebx
push dword [edi]
lea eax, [ebp - 0x10]
push eax
mov dword [ebp - 0x10], esi
mov dword [ebp - 0x1c], 0x20
call dword [sym.imp.USERENV.dll_CreateEnvironmentBlock]
test eax, eax
je 0x42bced
mov dword [ebp - 0x1c], 0x420
jmp 0x42bd23
push str.CreateEnvironmentBlock_failed
lea ecx, [ebp - 0x18]
mov dword [ebp - 0x10], esi
call fcn.004012e2
mov dword [ebp - 4], ebx
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea eax, [ebp - 0x18]
push eax
push ebx
call fcn.00411806
or dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x18]
add esp, 0xc
add ecx, 0xfffffff0
call fcn.004017df
push dword [ebp + 0xc]
lea eax, [ebp - 0x14]
push str._Skip
push eax
call fcn.0040107c
add esp, 0xc
push 2
pop ecx
mov dword [ebp - 4], ecx
mov eax, dword [ebp - 0x14]
mov eax, dword [eax - 0xc]
xor ebx, ebx
inc eax
mul ecx
seto bl
neg ebx
or ebx, eax
push ebx
call fcn.0043f017
mov ebx, eax
pop ecx
cmp ebx, esi
jne 0x42bd9d
push str.operator_new_failed
lea ecx, [ebp - 0x18]
call fcn.004012e2
push esi
lea eax, [ebp - 0x18]
push eax
push 1
mov byte [ebp - 4], 3
call fcn.00411806
mov ecx, dword [ebp - 0x18]
add esp, 0xc
add ecx, 0xfffffff0
call fcn.004017df
push 8
pop esi
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
call fcn.004017df
mov eax, esi
call fcn.00452f8c
ret
mov ecx, dword [ebp - 0x14]
mov eax, dword [ecx - 0xc]
push ecx
inc eax
push eax
push ebx
call fcn.004519d8
mov eax, dword [ebp + 8]
mov eax, dword [eax]
add esp, 0xc
lea ecx, [ebp - 0x2c]
push ecx
lea ecx, [ebp - 0x78]
push ecx
push esi
push dword [ebp - 0x10]
push dword [ebp - 0x1c]
push esi
push esi
push esi
push ebx
push eax
push dword [edi]
call dword [sym.imp.ADVAPI32.dll_CreateProcessAsUserW]
mov dword [ebp - 0x18], esi
cmp eax, esi
jne 0x42be11
call dword [sym.imp.KERNEL32.dll_GetLastError]
push str.CreateProcessAsUser_failed:
lea ecx, [ebp - 0x1c]
mov dword [ebp - 0x18], eax
call fcn.004012e2
mov byte [ebp - 4], 4
push dword [ebp - 0x18]
lea eax, [ebp - 0x1c]
push eax
push 1
call fcn.00411806
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x1c]
add esp, 0xc
add ecx, 0xfffffff0
call fcn.004017df
push dword [ebp - 0x10]
call dword [sym.imp.USERENV.dll_DestroyEnvironmentBlock]
push dword [edi]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push dword [ebp - 0x2c]
call esi
push dword [ebp - 0x28]
call esi
push ebx
call fcn.0043f022
mov esi, dword [ebp - 0x18]
pop ecx
jmp 0x42bd8a
Function at 0x42cff8
Capabilities:
Create process on windows
Persist via run registry key

Disassembly:
push 8
mov eax, 0x469a63
call fcn.00452eb4
push str.Run_SpeedLauncher:
lea ecx, [ebp - 0x10]
call fcn.004012e2
xor edi, edi
push edi
push esi
lea eax, [ebp - 0x10]
push eax
push 2
pop ebx
push ebx
mov dword [ebp - 4], edi
call fcn.00411336
or dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x10]
add esp, 0x10
add ecx, 0xfffffff0
call fcn.004017df
mov eax, dword [esi]
cmp dword [eax - 0xc], edi
jne 0x42d066
push str.Empty_sl_path:
lea ecx, [ebp - 0x10]
call fcn.004012e2
mov dword [ebp - 4], 1
push edi
push esi
lea eax, [ebp - 0x10]
push eax
push ebx
call fcn.00411336
add esp, 0x10
jmp 0x42d12b
mov eax, esi
call fcn.00401000
test eax, eax
jne 0x42d083
push str.sl_not_found:
lea ecx, [ebp - 0x10]
call fcn.004012e2
mov dword [ebp - 4], ebx
jmp 0x42d052
call fcn.0043f3c0
push eax
lea ecx, [ebp - 0x10]
call fcn.004013a1
mov eax, dword [ebp + 8]
lea ecx, [ebp - 0x10]
push ecx
mov dword [ebp - 4], 3
mov eax, dword [eax]
push eax
push str.SOFTWAREMicrosoftWindowsCurrentVersionRun
push reloc.OLEAUT32.dll_SysReAllocString
call fcn.00434592
mov eax, dword [ebp - 0x10]
add esp, 0x10
cmp dword [eax - 0xc], edi
je 0x42d0e6
lea eax, [ebp - 0x10]
push eax
call fcn.0042d60f
push dword [esi]
lea ecx, [ebp - 0x10]
call fcn.004074fe
test eax, eax
jne 0x42d0e6
push str.Registered_in_Run_already___will_not_launch:
lea ecx, [ebp - 0x14]
call fcn.004012e2
mov byte [ebp - 4], 4
jmp 0x42d111
mov eax, dword [esi]
push 5
push edi
push edi
push eax
push edi
push edi
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
cmp eax, 0x21
mov eax, str.Unable_to_launch:
jl 0x42d104
mov eax, str.Launched:
push eax
lea ecx, [ebp - 0x14]
call fcn.004012e2
mov byte [ebp - 4], 5
push edi
push esi
lea eax, [ebp - 0x14]
push eax
push ebx
call fcn.00411336
mov ecx, dword [ebp - 0x14]
add esp, 0x10
add ecx, 0xfffffff0
call fcn.004017df
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.004017df
call fcn.00452f8c
ret

Function at 0x42f40e
Capabilities:
Get disk information

Disassembly:
push ebp
lea ebp, [esp - 0x3a8]
sub esp, 0x428
mov eax, dword [0x4b2d60]
xor eax, ebp
mov dword [ebp + 0x3a4], eax
push ebx
push esi
push edi
xor eax, eax
mov esi, 0x208
push esi
mov word [ebp - 0x74], ax
xor ebx, ebx
lea eax, [ebp - 0x72]
push ebx
push eax
mov edi, ecx
call fcn.00450cb0
xor eax, eax
push esi
mov word [ebp + 0x198], ax
lea eax, [ebp + 0x19a]
push ebx
push eax
call fcn.00450cb0
add esp, 0x18
mov eax, 0x105
push eax
lea ecx, [ebp + 0x198]
push ecx
lea ecx, [ebp - 0x80]
push ecx
lea ecx, [ebp - 0x7c]
push ecx
lea ecx, [ebp - 0x78]
push ecx
push eax
lea eax, [ebp - 0x74]
push eax
push 0x49caa8
mov dword [ebp - 0x78], ebx
mov dword [ebp - 0x7c], ebx
mov dword [ebp - 0x80], ebx
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationW]
mov esi, 0x104
test eax, eax
je 0x42f4aa
push 0xa
push esi
push edi
push dword [ebp - 0x78]
call fcn.004514ca
add esp, 0x10
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
cmp eax, 0x10
jge 0x42f4c1
push str.thsnYaViMRAeBoda
push esi
call fcn.00412c14
mov ecx, dword [ebp + 0x3a4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0044ff92
add ebp, 0x3a8
leave
ret