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

Disassembly:
push 0x14
mov eax, 0x461512
call fcn.00447d5b
push str.InitUpdateFromProductUpdatesTable...
lea ecx, [ebp - 0x1c]
call fcn.00402060
xor esi, esi
push esi
lea eax, [ebp - 0x1c]
push eax
push 2
mov dword [ebp - 4], esi
call fcn.00411fad
or dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x1c]
add esp, 0xc
add ecx, 0xfffffff0
call fcn.0040253e
push str.SELECT__FROM__ProductUpdates__WHERE__ProductCode_
lea ecx, [ebp - 0x18]
call fcn.00402060
xor edi, edi
inc edi
mov dword [ebp - 4], edi
push dword [ebp + 8]
lea ecx, [ebp - 0x18]
call fcn.00401e6a
push str._AND__ProductVersion_
lea eax, [ebp - 0x18]
push eax
call fcn.00408ceb
push dword [ebp + 0xc]
lea ecx, [ebp - 0x18]
call fcn.00401e6a
push 0x4816f8
lea eax, [ebp - 0x18]
push eax
call fcn.00408ceb
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 0x420114
push 0x4816fc
lea ecx, [ebp + 0xc]
call fcn.00402060
mov byte [ebp - 4], 4
push dword [ebp + 8]
lea eax, [ebp + 0xc]
push eax
push edi
call fcn.00411fad
mov ecx, dword [ebp + 0xc]
add esp, 0xc
add ecx, 0xfffffff0
call fcn.0040253e
cmp dword [ebp - 0x10], esi
je 0x4200ef
push dword [ebp - 0x10]
call sub.msi.dll_MsiConfigureFeatureFromDescriptorA
cmp dword [ebp - 0x14], esi
je 0x4200fc
push dword [ebp - 0x14]
call sub.msi.dll_MsiConfigureFeatureFromDescriptorA
mov ecx, dword [ebp - 0x18]
add ecx, 0xfffffff0
call fcn.0040253e
mov eax, 0x3d32
call fcn.00447e33
ret 8
push esi
push dword [ebp - 0x14]
call sub.msi.dll_MsiViewModify
mov dword [ebp + 8], eax
cmp eax, esi
je 0x42017e
push 0x481708
lea ecx, [ebp + 0xc]
call fcn.00402060
mov byte [ebp - 4], 5
push dword [ebp + 8]
lea eax, [ebp + 0xc]
push eax
push edi
call fcn.00411fad
mov ecx, dword [ebp + 0xc]
add esp, 0xc
add ecx, 0xfffffff0
call fcn.0040253e
cmp dword [ebp - 0x10], esi
je 0x42015d
push dword [ebp - 0x10]
call sub.msi.dll_MsiConfigureFeatureFromDescriptorA
cmp dword [ebp - 0x14], esi
je 0x42016a
push dword [ebp - 0x14]
call sub.msi.dll_MsiConfigureFeatureFromDescriptorA
mov esi, 0x3d32
mov ecx, dword [ebp - 0x18]
add ecx, 0xfffffff0
call fcn.0040253e
mov eax, esi
jmp 0x42010c
cmp dword [ebp - 0x10], esi
je 0x42018b
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
je 0x4201d5
lea eax, [ebp + 8]
push eax
push dword [ebp - 0x10]
mov dword [ebp + 8], 3
push ebx
call fcn.0042045a
mov edi, eax
cmp dword [ebp - 0x10], esi
je 0x4201c4
push dword [ebp - 0x10]
call sub.msi.dll_MsiConfigureFeatureFromDescriptorA
cmp dword [ebp - 0x14], esi
je 0x4201d1
push dword [ebp - 0x14]
call sub.msi.dll_MsiConfigureFeatureFromDescriptorA
mov esi, edi
jmp 0x42016f
push 0x481710
lea ecx, [ebp + 8]
call fcn.00402060
push esi
lea eax, [ebp + 8]
push eax
push edi
mov byte [ebp - 4], 6
call fcn.00411fad
mov ecx, dword [ebp + 8]
jmp 0x420145
Function at 0x42346e
Capabilities:
Reference sql statements

Disassembly:
push 0x14
mov eax, 0x45f971
call fcn.00447d5b
push 0x49ca00
lea ecx, [ebp - 0x1c]
call fcn.004020a4
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.00402060
mov byte [ebp - 4], 3
mov ebx, dword [ebp - 0x1c]
push dword [ebx - 0xc]
lea ecx, [ebp - 0x18]
push ebx
call fcn.00401eca
push 0x4816f8
lea eax, [ebp - 0x18]
push eax
call fcn.00408ceb
cmp dword [ebp - 0x10], edi
je 0x4234d1
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 0x423552
push 0x4816fc
lea ecx, [ebp + 8]
call fcn.00402060
mov byte [ebp - 4], 4
mov esi, 0x3d32
push esi
lea eax, [ebp + 8]
push eax
push 1
call fcn.00411fad
mov ecx, dword [ebp + 8]
add esp, 0xc
add ecx, 0xfffffff0
call fcn.0040253e
mov ecx, dword [ebp - 0x18]
add ecx, 0xfffffff0
call fcn.0040253e
cmp dword [ebp - 0x14], edi
je 0x423533
push dword [ebp - 0x14]
call sub.msi.dll_MsiConfigureFeatureFromDescriptorA
cmp dword [ebp - 0x10], edi
je 0x423540
push dword [ebp - 0x10]
call sub.msi.dll_MsiConfigureFeatureFromDescriptorA
lea ecx, [ebx - 0x10]
call fcn.0040253e
mov eax, esi
call fcn.00447e33
ret 8
push edi
push dword [ebp - 0x10]
call sub.msi.dll_MsiViewModify
cmp eax, edi
je 0x423572
push 0x481708
lea ecx, [ebp + 8]
call fcn.00402060
mov byte [ebp - 4], 5
jmp 0x4234fc
cmp dword [ebp - 0x14], edi
je 0x42357f
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 0x4235a2
push dword [ebp + 0xc]
push 1
push dword [ebp - 0x14]
call fcn.00432b8b
add esp, 0xc
mov ecx, dword [ebp - 0x18]
add ecx, 0xfffffff0
call fcn.0040253e
cmp dword [ebp - 0x14], edi
je 0x4235ba
push dword [ebp - 0x14]
call sub.msi.dll_MsiConfigureFeatureFromDescriptorA
cmp dword [ebp - 0x10], edi
je 0x4235c7
push dword [ebp - 0x10]
call sub.msi.dll_MsiConfigureFeatureFromDescriptorA
xor esi, esi
jmp 0x423540
Function at 0x42536e
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 0x4253a7
push ebx
push str.TrayNotifyWnd
push ebx
push eax
call edi
cmp eax, ebx
je 0x4253a7
push esi
push eax
call dword [sym.imp.USER32.dll_GetWindowRect]
jmp 0x425463
lea eax, [ebp - 0x24]
push eax
push 5
mov dword [ebp - 0x24], 0x24
call dword [sym.imp.SHELL32.dll_SHAppBarMessage]
test eax, eax
je 0x425407
mov eax, dword [ebp - 0x18]
sub eax, ebx
je 0x4253eb
dec eax
je 0x4253d2
dec eax
je 0x4253eb
dec eax
jne 0x425463
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 0x425402
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 0x425463
push ebx
push str.Shell_TrayWnd
push ebx
push ebx
call edi
cmp eax, ebx
je 0x425445
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 0x425433
add eax, 0xffffff6a
mov dword [esi], eax
mov eax, dword [esi + 0xc]
mov ecx, eax
sub ecx, dword [esi + 4]
cmp ecx, 0x1e
jle 0x425463
add eax, 0xffffffe2
jmp 0x425460
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 0x42559c
Capabilities:
Get common file path

Disassembly:
push ebp
sub esp, 0x208
lea ebp, [esp - 4]
mov eax, dword [0x497d50]
xor eax, ebp
mov dword [ebp + 0x208], eax
push 4
mov eax, 0x45c2f3
call fcn.00447d5b
mov eax, dword [ebp + 0x214]
push dword [eax]
mov esi, ecx
push 0x483644
push esi
call fcn.00408dd5
test eax, eax
jne 0x4256a0
call fcn.00434582
push eax
lea ecx, [ebp - 0x10]
call fcn.0040210b
and dword [ebp - 4], 0
mov edi, str._WindowsFolder_
push edi
xor ecx, ecx
call fcn.00408f4f
or ebx, 0xffffffff
cmp eax, ebx
je 0x425607
push 0x24
jmp 0x425644
mov edi, str._SystemFolder_
push edi
xor ecx, ecx
call fcn.00408f4f
cmp eax, ebx
je 0x42561c
push 0x25
jmp 0x425644
mov edi, str._ProgramFilesFolder_
push edi
xor ecx, ecx
call fcn.00408f4f
cmp eax, ebx
je 0x425631
push 0x26
jmp 0x425644
mov edi, str._CommonFilesFolder_
push edi
xor ecx, ecx
call fcn.00408f4f
cmp eax, ebx
je 0x425695
push 0x2b
pop ebx
push edi
lea ecx, [ebp - 0x10]
call fcn.004020d4
xor eax, eax
push 0x206
mov word [ebp], ax
xor edi, edi
lea eax, [ebp + 2]
push edi
push eax
call fcn.00445f90
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 0x425695
lea eax, [ebp]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
test eax, eax
je 0x425695
lea eax, [ebp]
push eax
push dword [ebp - 0x10]
push esi
call fcn.00408dd5
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.0040253e
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.00445157
add ebp, 0x20c
leave
ret
Function at 0x4259d0
Capabilities:
Enumerate gui resources

Disassembly:
push 0x29c
mov eax, 0x45e545
call fcn.00447d5b
push 0x49c9a4
lea ecx, [ebp - 0x20]
call fcn.004020a4
xor ebx, ebx
mov dword [ebp - 4], ebx
push 0xffffffffffffffff
push ebx
mov ecx, 0x49ccac
mov dword [ebp - 0x1c], ebx
call fcn.004364cd
cmp dword [0x49c958], ebx
mov dword [ebp - 0x14], ebx
jle 0x425b52
push dword [ebp - 0x14]
mov ecx, 0x49c950
call fcn.0040907c
mov esi, eax
mov eax, dword [esi]
cmp eax, ebx
je 0x425b08
cmp dword [eax + 0x20], ebx
jne 0x425b08
add eax, 8
push eax
lea ecx, [ebp - 0x10]
mov dword [ebp - 0x18], ebx
call fcn.004020a4
push 0x483870
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 1
call fcn.00408ff7
lea ecx, [ebp - 0x10]
test eax, eax
je 0x425a95
lea eax, [ebp - 0x20]
push eax
call fcn.0042559c
pop ecx
push 0x5c
lea ecx, [ebp - 0x10]
call fcn.0040a4e4
mov ecx, dword [ebp - 0x10]
mov ecx, dword [ecx - 0xc]
dec ecx
cmp eax, ecx
je 0x425a85
push 0x469efc
lea ecx, [ebp - 0x10]
call fcn.00409019
mov eax, dword [esi]
add eax, 4
push eax
lea ecx, [ebp - 0x10]
call fcn.00401e6a
jmp 0x425aa0
mov eax, dword [esi]
add eax, 4
push eax
call fcn.00409158
mov esi, dword [esi]
mov eax, dword [esi + 0x1c]
mov edi, dword [ebp - 0x10]
cmp eax, 6
jne 0x425ac9
xor esi, esi
push ebx
inc esi
lea eax, [ebp - 0x18]
push esi
push eax
mov ecx, edi
call fcn.0042601b
add esp, 0xc
test eax, eax
je 0x425aea
mov dword [ebp - 0x1c], esi
jmp 0x425aea
cmp eax, ebx
jne 0x425afd
push dword [esi + 4]
lea eax, [ebp - 0x18]
push ebx
push eax
mov ecx, edi
call fcn.0042601b
add esp, 0xc
test eax, eax
je 0x425aea
mov dword [ebp - 0x1c], 1
cmp dword [ebp - 0x18], ebx
je 0x425afd
push dword [ebp - 0x18]
push 0x4254fa
call dword [sym.imp.USER32.dll_EnumWindows]
lea ecx, [edi - 0x10]
mov byte [ebp - 4], bl
call fcn.0040253e
inc dword [ebp - 0x14]
mov eax, dword [ebp - 0x14]
cmp eax, dword [0x49c958]
jl 0x425a10
cmp dword [ebp - 0x1c], ebx
je 0x425b52
push dword [0x49cd00]
lea eax, [ebp - 0x2a8]
push eax
call fcn.0041a5ee
lea ecx, [ebp - 0x2a8]
mov byte [ebp - 4], 2
call fcn.0043fe2b
lea ecx, [ebp - 0x2a8]
mov esi, eax
mov byte [ebp - 4], bl
call fcn.0041a713
jmp 0x425b55
xor esi, esi
inc esi
cmp esi, 4
je 0x4259f1
mov ecx, dword [ebp - 0x20]
add ecx, 0xfffffff0
call fcn.0040253e
mov eax, esi
call fcn.00447e33
ret
Function at 0x426297
Capabilities:
Enumerate process modules

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x644
mov eax, dword [0x497d50]
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 0x4262d3
xor eax, eax
mov ecx, dword [ebp - 8]
pop edi
xor ecx, ebp
pop esi
call fcn.00445157
leave
ret
lea ecx, [ebp - 0x63c]
push ecx
push eax
mov dword [ebp - 0x63c], 0x428
call sub.KERNEL32.dll_Module32FirstW
test eax, eax
jne 0x426300
xor edi, edi
push dword [ebp - 0x640]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, edi
jmp 0x4262c5
push 0x469efc
push ebx
call fcn.0044600a
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 0x426339
push ebx
lea eax, [ebp - 0x61c]
push eax
jmp 0x426389
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x214], ax
lea eax, [ebp - 0x212]
push eax
call fcn.00445f90
add esp, 0xc
cmp dword [ebp - 0x644], 0
je 0x426397
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 0x426397
lea eax, [ebp - 0x214]
push eax
push ebx
call fcn.004471c0
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 0x4262f0
test edi, edi
je 0x42632b
jmp 0x4262f0
Function at 0x427999
Capabilities:
Delete registry key

Disassembly:
push ebp
mov ebp, esp
cmp dword [ebp + 8], 0
je 0x4279cc
and dword [ebp + 8], 0
lea eax, [ebp + 8]
push eax
push str.iLogLevel
push dword [0x49c460]
push 0x80000002
call fcn.0042e197
add esp, 0x10
test eax, eax
jne 0x4279cc
cmp dword [ebp + 8], 1
jae 0x427a03
lea eax, [ebp + 8]
push eax
push 0xf003f
push 0
push dword [0x49c460]
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x427a03
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 0x427a88
Capabilities:
Shutdown system

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x45e438
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push ebx
push esi
push edi
mov eax, dword [0x497d50]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
lea eax, [esp + 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 0x427afb
push str.OpenProcessToken_failed_in_RebootOS.
lea ecx, [esp + 0x14]
call fcn.00402060
and dword [esp + 0x38], 0
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea eax, [esp + 0x14]
push eax
push 2
call fcn.00411fad
mov ecx, dword [esp + 0x1c]
jmp 0x427b8d
lea eax, [esp + 0x20]
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, [esp + 0x28]
push eax
push esi
push dword [esp + 0x2c]
xor ebx, ebx
inc ebx
mov dword [esp + 0x34], ebx
mov dword [esp + 0x40], edi
call dword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
call esi
test eax, eax
je 0x427b58
push str.AdjustTokenPrivileges_failed_in_RebootOS.
lea ecx, [esp + 0x14]
call fcn.00402060
mov dword [esp + 0x38], ebx
call esi
push eax
lea eax, [esp + 0x14]
push eax
push edi
jmp 0x427aed
push 0x80000001
push 0x12
call dword [sym.imp.USER32.dll_ExitWindowsEx]
test eax, eax
jne 0x427b98
push str.ExitWindowsEx_failed_in_RebootOS.
lea ecx, [esp + 0x18]
call fcn.00402060
mov dword [esp + 0x38], edi
call esi
push eax
lea eax, [esp + 0x18]
push eax
push edi
call fcn.00411fad
mov ecx, dword [esp + 0x20]
add esp, 0xc
add ecx, 0xfffffff0
call fcn.0040253e
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x428999
Capabilities:
Create process on windows
Persist via run registry key

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x45caf6
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push edi
mov eax, dword [0x497d50]
xor eax, esp
push eax
lea eax, [esp + 0x18]
mov dword fs:[0], eax
push str.Run_SpeedLauncher:
lea ecx, [esp + 0x10]
call fcn.00402060
xor edi, edi
push edi
push esi
lea eax, [esp + 0x14]
push eax
push 2
pop ebx
push ebx
mov dword [esp + 0x30], edi
call fcn.00411b27
or dword [esp + 0x30], 0xffffffff
mov ecx, dword [esp + 0x1c]
add esp, 0x10
add ecx, 0xfffffff0
call fcn.0040253e
mov eax, dword [esi]
cmp dword [eax - 0xc], edi
jne 0x428a2e
push str.Empty_sl_path:
lea ecx, [esp + 0x10]
call fcn.00402060
mov dword [esp + 0x20], 1
push edi
push esi
lea eax, [esp + 0x14]
push eax
push ebx
call fcn.00411b27
add esp, 0x10
jmp 0x428b03
mov eax, esi
call fcn.00401000
test eax, eax
jne 0x428a4d
push str.sl_not_found:
lea ecx, [esp + 0x10]
call fcn.00402060
mov dword [esp + 0x20], ebx
jmp 0x428a19
call fcn.00434582
push eax
lea ecx, [esp + 0x10]
call fcn.0040210b
mov eax, dword [ebp + 8]
lea ecx, [esp + 0xc]
push ecx
mov dword [esp + 0x24], 3
mov eax, dword [eax]
push eax
push str.SOFTWAREMicrosoftWindowsCurrentVersionRun
push 0x80000002
call fcn.0042e0e5
mov eax, dword [esp + 0x1c]
add esp, 0x10
cmp dword [eax - 0xc], edi
je 0x428aba
push 0x22
lea eax, [esp + 0x10]
push eax
call fcn.0040c48e
push dword [esi]
lea ecx, [esp + 0x10]
call fcn.00408ff7
test eax, eax
jne 0x428aba
push str.Registered_in_Run_already___will_not_launch:
lea ecx, [esp + 0x14]
call fcn.00402060
mov byte [esp + 0x20], 4
jmp 0x428ae7
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 0x428ad8
mov eax, str.Launched:
push eax
lea ecx, [esp + 0x14]
call fcn.00402060
mov byte [esp + 0x20], 5
push edi
push esi
lea eax, [esp + 0x18]
push eax
push ebx
call fcn.00411b27
mov ecx, dword [esp + 0x20]
add esp, 0x10
add ecx, 0xfffffff0
call fcn.0040253e
mov ecx, dword [esp + 0xc]
add ecx, 0xfffffff0
call fcn.0040253e
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop edi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x42a6a9
Capabilities:
Get disk information

Disassembly:
push ebp
lea ebp, [esp - 0x3a8]
sub esp, 0x428
mov eax, dword [0x497d50]
xor eax, ebp
mov dword [ebp + 0x3a4], eax
push esi
push edi
xor eax, eax
mov esi, 0x208
push esi
mov word [ebp - 0x74], ax
xor edi, edi
lea eax, [ebp - 0x72]
push edi
push eax
call fcn.00445f90
xor eax, eax
push esi
mov word [ebp + 0x198], ax
lea eax, [ebp + 0x19a]
push edi
push eax
call fcn.00445f90
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 0x485960
mov dword [ebp - 0x78], edi
mov dword [ebp - 0x7c], edi
mov dword [ebp - 0x80], edi
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationW]
mov esi, 0x104
test eax, eax
je 0x42a742
push 0xa
push esi
push ebx
push dword [ebp - 0x78]
call fcn.004467cb
add esp, 0x10
push ebx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
cmp eax, 0x10
jge 0x42a75c
push str.thsnYaViMRAeBoda
mov eax, esi
mov ecx, ebx
call fcn.004126d1
mov ecx, dword [ebp + 0x3a4]
pop edi
xor ecx, ebp
pop esi
call fcn.00445157
add ebp, 0x3a8
leave
ret
Function at 0x42dd8d
Capabilities:
Get token membership

Disassembly:
push ebp
mov ebp, esp
test esi, esi
je 0x42ddbc
lea eax, [ebp + 0xc]
push eax
mov eax, dword [ebp + 0xc]
add eax, 4
push eax
mov eax, dword [ebp + 8]
push dword [eax + 4]
call dword [sym.imp.ADVAPI32.dll_CheckTokenMembership]
test eax, eax
je 0x42ddbc
cmp dword [ebp + 0xc], 0
setne al
mov byte [esi], al
mov al, 1
jmp 0x42ddbe
xor al, al
pop ebp
ret 8

Function at 0x42e072
Capabilities:
Set registry value

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

Function at 0x42e0e5
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push edi
lea eax, [ebp - 8]
push eax
push 0x20019
xor edi, edi
push edi
push dword [ebp + 0xc]
mov dword [ebp - 0xc], 1
push dword [ebp + 8]
mov dword [ebp - 4], 0x104
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov ebx, eax
test ebx, ebx
jne 0x42e181
push esi
push 0x208
call fcn.00445993
mov esi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
pop ecx
mov edi, eax
lea eax, [ebp - 4]
push eax
push edi
lea eax, [ebp - 0xc]
push eax
push ebx
push dword [ebp + 0x10]
push dword [ebp - 8]
call esi
mov ebx, eax
cmp ebx, 0xea
jne 0x42e173
push edi
call fcn.004458b6
mov eax, dword [ebp - 4]
add eax, eax
push eax
call fcn.00445993
pop ecx
pop ecx
mov edi, eax
lea eax, [ebp - 4]
push eax
push edi
lea eax, [ebp - 0xc]
push eax
push 0
push dword [ebp + 0x10]
push dword [ebp - 8]
call esi
mov ebx, eax
pop esi
test ebx, ebx
jne 0x42e181
mov ecx, dword [ebp + 0x14]
push edi
call fcn.004020d4
push edi
call fcn.004458b6
pop ecx
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
mov eax, ebx
pop ebx
leave
ret

Function at 0x42e197
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push esi
lea eax, [ebp - 4]
push eax
push 0x20019
push 0
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov esi, eax
test esi, esi
jne 0x42e1e7
push 4
pop eax
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], eax
lea eax, [ebp - 8]
push eax
push dword [ebp + 0x14]
lea eax, [ebp - 0xc]
push eax
push esi
push dword [ebp + 0x10]
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 0x42e1ec
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
and dword [ebp - 8], 0
push ebx
push esi
push edi
lea eax, [ebp - 4]
push eax
mov edi, 0x4683e8
push edi
mov esi, 0x80000001
push esi
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyW]
push dword [ebp - 4]
mov ebx, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
call ebx
lea eax, [ebp - 4]
push eax
push 0xf003f
push 0
push edi
push esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x42e258
push 4
lea eax, [ebp + 0xc]
push eax
push 4
push 0
push dword [ebp + 8]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push dword [ebp - 4]
mov esi, eax
call ebx
test esi, esi
jne 0x42e258
mov dword [ebp - 8], 1
mov eax, dword [ebp - 8]
pop edi
pop esi
pop ebx
leave
ret

Function at 0x42e260
Capabilities:
Delete registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
lea eax, [ebp - 4]
push eax
push 0xf003f
xor esi, esi
push esi
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, esi
jne 0x42e292
push dword [ebp + 0x10]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
cmp eax, esi
jne 0x42e292
inc esi
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
leave
ret

Function at 0x42e535
Capabilities:
Check os version

Disassembly:
push 0x12c
mov eax, 0x45dd3d
call fcn.00447dc4
mov esi, 0x11c
push esi
xor ebx, ebx
lea eax, [ebp - 0x130]
push ebx
push eax
xor edi, edi
call fcn.00445f90
add esp, 0xc
lea eax, [ebp - 0x130]
mov dword [ebp - 0x130], esi
mov esi, dword [sym.imp.KERNEL32.dll_GetVersionExW]
push eax
call esi
cmp eax, ebx
jne 0x42e58e
lea eax, [ebp - 0x130]
push eax
mov dword [ebp - 0x130], 0x114
call esi
cmp eax, ebx
je 0x42e59a
cmp dword [ebp - 0x12c], 6
jb 0x42e59a
xor edi, edi
inc edi
cmp byte [0x49cd21], bl
jne 0x42e60e
cmp edi, ebx
je 0x42e5d0
push str.IsVistaOrLater_returns_1
lea ecx, [ebp - 0x138]
call fcn.00402060
push ebx
lea eax, [ebp - 0x138]
push eax
push 2
mov dword [ebp - 4], ebx
call fcn.00411fad
mov ecx, dword [ebp - 0x138]
jmp 0x42e5fc
push str.IsVistaOrLater_returns_0
lea ecx, [ebp - 0x134]
call fcn.00402060
push ebx
lea eax, [ebp - 0x134]
push eax
push 2
mov dword [ebp - 4], 1
call fcn.00411fad
mov ecx, dword [ebp - 0x134]
add esp, 0xc
add ecx, 0xfffffff0
call fcn.0040253e
mov byte [0x49cd21], 1
mov eax, edi
call fcn.00447e47
ret