joyce8/EMBER2024-capa huggingface dataset:
Function at 0x427a37
Capabilities:
Delete registry key

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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x45e764
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push ebx
push esi
push edi
mov eax, dword [0x498d50]
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 0x427b99
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.00411fb7
mov ecx, dword [esp + 0x1c]
jmp 0x427c2b
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 0x427bf6
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 0x427b8b
push 0x80000001
push 0x12
call dword [sym.imp.USER32.dll_ExitWindowsEx]
test eax, eax
jne 0x427c36
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.00411fb7
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 0x428cbd
Capabilities:
Create process on windows
Persist via run registry key

Disassembly:
push 8
mov eax, 0x45ce64
call fcn.0044806b
push str.Run_SpeedLauncher:
lea ecx, [ebp - 0x10]
call fcn.00402060
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.00411b31
or dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x10]
add esp, 0x10
add ecx, 0xfffffff0
call fcn.0040253e
mov eax, dword [esi]
cmp dword [eax - 0xc], edi
jne 0x428d2b
push str.Empty_sl_path:
lea ecx, [ebp - 0x10]
call fcn.00402060
mov dword [ebp - 4], 1
push edi
push esi
lea eax, [ebp - 0x10]
push eax
push ebx
call fcn.00411b31
add esp, 0x10
jmp 0x428df2
mov eax, esi
call fcn.00401000
test eax, eax
jne 0x428d48
push str.sl_not_found:
lea ecx, [ebp - 0x10]
call fcn.00402060
mov dword [ebp - 4], ebx
jmp 0x428d17
call fcn.00434892
push eax
lea ecx, [ebp - 0x10]
call fcn.0040210b
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 0x80000002
call fcn.0042e34e
mov eax, dword [ebp - 0x10]
add esp, 0x10
cmp dword [eax - 0xc], edi
je 0x428dad
push 0x22
lea eax, [ebp - 0x10]
push eax
call fcn.0040c498
push dword [esi]
lea ecx, [ebp - 0x10]
call fcn.00409001
test eax, eax
jne 0x428dad
push str.Registered_in_Run_already___will_not_launch:
lea ecx, [ebp - 0x14]
call fcn.00402060
mov byte [ebp - 4], 4
jmp 0x428dd8
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 0x428dcb
mov eax, str.Launched:
push eax
lea ecx, [ebp - 0x14]
call fcn.00402060
mov byte [ebp - 4], 5
push edi
push esi
lea eax, [ebp - 0x14]
push eax
push ebx
call fcn.00411b31
mov ecx, dword [ebp - 0x14]
add esp, 0x10
add ecx, 0xfffffff0
call fcn.0040253e
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.0040253e
call fcn.00448143
ret

Function at 0x42a98b
Capabilities:
Get disk information

Disassembly:
push ebp
lea ebp, [esp - 0x3a8]
sub esp, 0x428
mov eax, dword [0x498d50]
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.004462a0
xor eax, eax
push esi
mov word [ebp + 0x198], ax
lea eax, [ebp + 0x19a]
push edi
push eax
call fcn.004462a0
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 0x486950
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 0x42aa24
push 0xa
push esi
push ebx
push dword [ebp - 0x78]
call fcn.00446adb
add esp, 0x10
push ebx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
cmp eax, 0x10
jge 0x42aa3e
push str.thsnYaViMRAeBoda
mov eax, esi
mov ecx, ebx
call fcn.004126db
mov ecx, dword [ebp + 0x3a4]
pop edi
xor ecx, ebp
pop esi
call fcn.0044546a
add ebp, 0x3a8
leave
ret
Function at 0x42e042
Capabilities:
Get token membership

Disassembly:
push ebp
mov ebp, esp
test esi, esi
je 0x42e071
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 0x42e071
cmp dword [ebp + 0xc], 0
setne al
mov byte [esi], al
mov al, 1
jmp 0x42e073
xor al, al
pop ebp
ret 8

Function at 0x42e2db
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 0x42e33d
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 0x42e34e
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 0x42e3ea
push esi
push 0x208
call fcn.00445ca6
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 0x42e3dc
push edi
call fcn.00445bc9
mov eax, dword [ebp - 4]
add eax, eax
push eax
call fcn.00445ca6
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 0x42e3ea
mov ecx, dword [ebp + 0x14]
push edi
call fcn.004020d4
push edi
call fcn.00445bc9
pop ecx
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
mov eax, ebx
pop ebx
leave
ret

Function at 0x42e400
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 0x42e450
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 0x42e455
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, 0x4693e8
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 0x42e4c1
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 0x42e4c1
mov dword [ebp - 8], 1
mov eax, dword [ebp - 8]
pop edi
pop esi
pop ebx
leave
ret

Function at 0x42e506
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push esi
lea eax, [ebp - 8]
push eax
xor esi, esi
lea eax, [ebp - 4]
push eax
push esi
push 0xf003f
push esi
push esi
push esi
push 0x4693e8
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x42e55c
push edi
push 8
lea eax, [ebp + 8]
push eax
push 0xb
push esi
push str.iSpeedLauncherLogonTime
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push dword [ebp - 4]
mov edi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp edi, esi
pop edi
jne 0x42e55c
inc esi
mov eax, esi
pop esi
leave
ret

Function at 0x42e561
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 0x42e593
push dword [ebp + 0x10]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
cmp eax, esi
jne 0x42e593
inc esi
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
leave
ret

Function at 0x42e836
Capabilities:
Check os version

Disassembly:
push 0x12c
mov eax, 0x45e024
call fcn.004480d4
mov esi, 0x11c
push esi
xor ebx, ebx
lea eax, [ebp - 0x130]
push ebx
push eax
xor edi, edi
call fcn.004462a0
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 0x42e88f
lea eax, [ebp - 0x130]
push eax
mov dword [ebp - 0x130], 0x114
call esi
cmp eax, ebx
je 0x42e89b
cmp dword [ebp - 0x12c], 6
jb 0x42e89b
xor edi, edi
inc edi
cmp byte [0x49dd21], bl
jne 0x42e90f
cmp edi, ebx
je 0x42e8d1
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.00411fb7
mov ecx, dword [ebp - 0x138]
jmp 0x42e8fd
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.00411fb7
mov ecx, dword [ebp - 0x134]
add esp, 0xc
add ecx, 0xfffffff0
call fcn.0040253e
mov byte [0x49dd21], 1
mov eax, edi
call fcn.00448157
ret
Function at 0x42e917
Capabilities:
Check os version

Disassembly:
push 0x12c
mov eax, 0x45dfe6
call fcn.004480d4
mov esi, 0x11c
push esi
lea eax, [ebp - 0x130]
push 0
push eax
call fcn.004462a0
add esp, 0xc
lea eax, [ebp - 0x130]
mov dword [ebp - 0x130], esi
mov esi, dword [sym.imp.KERNEL32.dll_GetVersionExW]
push eax
call esi
test eax, eax
jne 0x42e96d
lea eax, [ebp - 0x130]
push eax
mov dword [ebp - 0x130], 0x114
call esi
test eax, eax
je 0x42e9b0
cmp dword [ebp - 0x12c], 5
jne 0x42e9b0
push str.IsXP_returns_1
lea ecx, [ebp - 0x134]
call fcn.00402060
and dword [ebp - 4], 0
push 0
lea eax, [ebp - 0x134]
push eax
push 2
call fcn.00411fb7
mov ecx, dword [ebp - 0x134]
add esp, 0xc
add ecx, 0xfffffff0
call fcn.0040253e
xor eax, eax
inc eax
jmp 0x42e9b2
xor eax, eax
call fcn.00448157
ret
Function at 0x42f0b1
Capabilities:
Check os version
Get token membership

Disassembly:
push ebp
lea ebp, [esp - 0xf4]
sub esp, 0x174
mov eax, dword [0x498d50]
xor eax, ebp
mov dword [ebp + 0xf0], eax
push esi
push edi
lea eax, [ebp - 0x6c]
push eax
xor edi, edi
push 1
push 0xa
mov dword [ebp - 0x74], edi
mov dword [ebp - 0x70], edi
mov dword [ebp - 0x6c], edi
call dword [sym.imp.KERNEL32.dll_GetCurrentThread]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenThreadToken]
test eax, eax
jne 0x42f10d
lea eax, [ebp - 0x6c]
push eax
push 0xa
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x42f1b1
lea eax, [ebp - 0x68]
push eax
mov dword [ebp - 0x68], 0x114
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x42f1b1
cmp dword [ebp - 0x64], 6
jb 0x42f162
mov esi, dword [sym.imp.ADVAPI32.dll_GetTokenInformation]
lea eax, [ebp - 0x7c]
push eax
push 4
lea eax, [ebp - 0x78]
push eax
push 0x12
push dword [ebp - 0x6c]
call esi
test eax, eax
je 0x42f1b1
cmp dword [ebp - 0x78], 3
jne 0x42f162
lea eax, [ebp - 0x7c]
push eax
push 4
lea eax, [ebp - 0x70]
push eax
push 0x13
push dword [ebp - 0x6c]
call esi
test eax, eax
je 0x42f1b1
cmp dword [ebp - 0x70], edi
jne 0x42f17a
lea eax, [ebp - 0x70]
push eax
push 1
push dword [ebp - 0x6c]
call dword [sym.imp.ADVAPI32.dll_DuplicateToken]
test eax, eax
je 0x42f1b1
lea eax, [ebp - 0x80]
push eax
lea eax, [ebp + 0xac]
push eax
push edi
push 0x1a
mov dword [ebp - 0x80], 0x44
call dword [sym.imp.ADVAPI32.dll_CreateWellKnownSid]
test eax, eax
je 0x42f1b1
lea eax, [ebp - 0x74]
push eax
lea eax, [ebp + 0xac]
push eax
push dword [ebp - 0x70]
call dword [sym.imp.ADVAPI32.dll_CheckTokenMembership]
test eax, eax
jne 0x42f1b7
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 0x6c], edi
je 0x42f1ca
push dword [ebp - 0x6c]
call esi
mov dword [ebp - 0x6c], edi
cmp dword [ebp - 0x70], edi
je 0x42f1d4
push dword [ebp - 0x70]
call esi
mov ecx, dword [ebp + 0xf0]
mov eax, dword [ebp - 0x74]
pop edi
xor ecx, ebp
pop esi
call fcn.0044546a
add ebp, 0xf4
leave
ret
Function at 0x42f2dd
Capabilities:
Get common file path

Disassembly:
push 8
mov eax, 0x45df61
call fcn.0044806b
call fcn.00434892
push eax
lea ecx, [ebp - 0x10]
call fcn.0040210b
xor esi, esi
push 0x104
lea ecx, [ebp - 0x10]
mov dword [ebp - 4], esi
call fcn.004023c9
push eax
push esi
push esi
push 0x2b
push esi
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
push 0xffffffffffffffff
lea ecx, [ebp - 0x10]
mov edi, eax
call fcn.0040c514
cmp edi, esi
jne 0x42f34e
mov ecx, dword [ebp + 8]
lea eax, [ebp - 0x10]
push eax
call fcn.00409162
mov ecx, dword [ebp + 8]
push str.AdobeARM1.0AdobeARM.exe
call fcn.00409023
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.0040253e
xor eax, eax
inc eax
jmp 0x42f388
push str.SHGetFolderPath_in_GetCurrentExePath_failed:
lea ecx, [ebp - 0x14]
call fcn.00402060
push edi
lea eax, [ebp - 0x14]
push eax
push 1
mov byte [ebp - 4], 1
call fcn.00411fb7
mov ecx, dword [ebp - 0x14]
add esp, 0xc
add ecx, 0xfffffff0
mov esi, eax
call fcn.0040253e
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.0040253e
mov eax, esi
call fcn.00448143
ret

Function at 0x42f38e
Capabilities:
Get common file path

Disassembly:
push 0x218
mov eax, 0x45df29
call fcn.004480d4
xor esi, esi
cmp dword [ebp + 8], esi
je 0x42f3b7
push 0x49d560
mov ecx, edi
call fcn.00409162
push 0x46aefc
jmp 0x42f400
xor eax, eax
push 0x206
mov word [ebp - 0x21c], ax
lea eax, [ebp - 0x21a]
push esi
push eax
call fcn.004462a0
add esp, 0xc
lea eax, [ebp - 0x21c]
push eax
push esi
push esi
push 0x2b
push esi
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
mov ebx, eax
cmp ebx, esi
jne 0x42f464
lea eax, [ebp - 0x21c]
push eax
mov ecx, edi
call fcn.004020d4
push str.AdobeARM1.0_
mov ecx, edi
call fcn.00409023
push 0x49d434
mov ecx, edi
call fcn.00401e6a
mov esi, dword [edi]
or ebx, 0xffffffff
call fcn.0041e29e
test eax, eax
jne 0x42f45f
push edi
lea eax, [ebp - 0x224]
push str.Not_found_or_not_valid:
push eax
call fcn.00401dd1
add esp, 0xc
mov esi, eax
mov dword [ebp - 4], 1
call dword [sym.imp.KERNEL32.dll_GetLastError]
push esi
push 0x1fc98
mov ecx, eax
mov edx, 0x49dcc0
call fcn.00410436
mov ecx, dword [ebp - 0x224]
jmp 0x42f48f
xor eax, eax
inc eax
jmp 0x42f499
push str.SHGetFolderPath_in_GetLauncherPath_failed:
lea ecx, [ebp - 0x220]
call fcn.00402060
push ebx
lea eax, [ebp - 0x220]
push eax
push 1
mov dword [ebp - 4], esi
call fcn.00411fb7
mov ecx, dword [ebp - 0x220]
add esp, 0xc
add ecx, 0xfffffff0
call fcn.0040253e
xor eax, eax
call fcn.00448157
ret
Function at 0x42f49f
Capabilities:
Get file version info

Disassembly:
push 0x18
mov eax, 0x45def8
call fcn.0044806b
cmp dword [ebp + 0x10], 0
je 0x42f4e4
push str.GetFileVersion__:
lea ecx, [ebp - 0x10]
call fcn.00402060
and dword [ebp - 4], 0
push 0
push dword [ebp + 8]
lea eax, [ebp - 0x10]
push eax
push 2
call fcn.00411b31
or dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x10]
add esp, 0x10
add ecx, 0xfffffff0
call fcn.0040253e
mov eax, dword [ebp + 8]
mov eax, dword [eax]
lea ecx, [ebp - 0x1c]
push ecx
push eax
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov dword [ebp - 0x14], eax
test eax, eax
je 0x42f635
push eax
call fcn.004344eb
pop ecx
mov dword [ebp - 0x10], eax
push dword [ebp - 0x10]
mov eax, dword [ebp + 8]
push dword [ebp - 0x14]
mov eax, dword [eax]
push 0
push eax
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
je 0x42f5f5
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x18]
push eax
push 0x46aefc
push dword [ebp - 0x10]
call sub.VERSION.dll_VerQueryValueW
cmp eax, 1
jne 0x42f5d9
mov eax, dword [ebp - 0x18]
movzx ecx, word [eax + 0xa]
mov edx, dword [ebp + 0xc]
push dword [ebp - 0x10]
mov dword [edx], ecx
movzx ecx, word [eax + 8]
mov dword [ebx], ecx
movzx ecx, word [eax + 0xe]
mov dword [edi], ecx
movzx eax, word [eax + 0xc]
mov dword [esi], eax
call fcn.004344f6
cmp dword [ebp + 0x10], 0
pop ecx
je 0x42f5d1
call fcn.00434892
push eax
lea ecx, [ebp + 0x10]
call fcn.0040210b
push str.File_version:__1_u_._2_u_._3_u_._4_u_
lea ecx, [ebp + 8]
mov dword [ebp - 4], 1
call fcn.00402060
mov eax, dword [ebp + 0xc]
mov byte [ebp - 4], 2
push dword [esi]
push dword [edi]
push dword [ebx]
push dword [eax]
lea eax, [ebp + 0x10]
push dword [ebp + 8]
push eax
call fcn.00410ab9
push 0
lea eax, [ebp + 0x10]
push eax
push 2
call fcn.00411fb7
mov ecx, dword [ebp + 8]
add esp, 0x24
add ecx, 0xfffffff0
call fcn.0040253e
mov ecx, dword [ebp + 0x10]
add ecx, 0xfffffff0
call fcn.0040253e
xor eax, eax
inc eax
jmp 0x42f66c
cmp dword [ebp + 0x10], 0
je 0x42f62a
push str.VerQueryValue___failed_in_GetFileVersion__.
lea ecx, [ebp + 0x10]
call fcn.00402060
mov dword [ebp - 4], 3
jmp 0x42f60f
cmp dword [ebp + 0x10], 0
je 0x42f62a
push str.GetFileVersionInfo___failed_in_GetFileVersion__.
lea ecx, [ebp + 0x10]
call fcn.00402060
mov dword [ebp - 4], 4
push 0
lea eax, [ebp + 0x10]
push eax
push 1
call fcn.00411fb7
mov ecx, dword [ebp + 0x10]
add esp, 0xc
add ecx, 0xfffffff0
call fcn.0040253e
push dword [ebp - 0x10]
call fcn.004344f6
pop ecx
jmp 0x42f66a
cmp dword [ebp + 0x10], 0
je 0x42f66a
push str.GetFileVersionInfoSize___failed_in_GetFileVersion__.
lea ecx, [ebp - 0x14]
call fcn.00402060
push 0
lea eax, [ebp - 0x14]
push eax
push 1
mov dword [ebp - 4], 5
call fcn.00411fb7
mov ecx, dword [ebp - 0x14]
add esp, 0xc
add ecx, 0xfffffff0
call fcn.0040253e
xor eax, eax
call fcn.00448143
ret
Function at 0x431f29
Capabilities:
Query service status

Disassembly:
push 0x34
mov eax, 0x45da71
call fcn.0044806b
push 4
xor edi, edi
push edi
push edi
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov esi, 0x2722c
mov dword [ebp - 0x18], eax
cmp dword [0x49dcc8], esi
je 0x432031
cmp eax, edi
je 0x432031
push 4
push str.MSIServer
push eax
call dword [sym.imp.ADVAPI32.dll_OpenServiceW]
add esi, 0x64
mov ebx, eax
cmp dword [0x49dcc8], esi
je 0x431ff0
cmp ebx, edi
je 0x431ff0
lea eax, [ebp - 0x1c]
push eax
push 0x24
lea eax, [ebp - 0x40]
push eax
push edi
push ebx
call dword [sym.imp.ADVAPI32.dll_QueryServiceStatusEx]
mov esi, 0x27164
cmp dword [0x49dcc8], esi
je 0x431fa8
cmp eax, edi
je 0x431fa8
cmp dword [ebp - 0x38], 4
jne 0x431fde
inc edi
jmp 0x431fde
push 0x489f24
lea ecx, [ebp - 0x10]
call fcn.00402060
mov dword [ebp - 4], 2
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea ecx, [ebp - 0x10]
push ecx
push esi
mov ecx, eax
mov edx, 0x49dcc0
call fcn.00410436
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.0040253e
mov esi, dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
push ebx
call esi
push dword [ebp - 0x18]
call esi
mov eax, edi
jmp 0x432065
push str.OpenSCManager_failed:
lea ecx, [ebp - 0x14]
call fcn.00402060
mov dword [ebp - 4], 1
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea ecx, [ebp - 0x14]
push ecx
push esi
mov ecx, eax
mov edx, 0x49dcc0
call fcn.00410436
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
call fcn.0040253e
push dword [ebp - 0x18]
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
jmp 0x432063
push str.OpenSCManager_failed:
lea ecx, [ebp - 0x18]
call fcn.00402060
mov dword [ebp - 4], edi
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea ecx, [ebp - 0x18]
push ecx
push esi
mov ecx, eax
mov edx, 0x49dcc0
call fcn.00410436
mov ecx, dword [ebp - 0x18]
add ecx, 0xfffffff0
call fcn.0040253e
xor eax, eax
call fcn.00448143
ret