joyce8/EMBER2024-capa huggingface dataset:
Function at 0x435caf
Capabilities:
Create process on windows
Persist via run registry key

Disassembly:
push 8
mov eax, 0x472c00
call fcn.0045be74
push str.Run_SpeedLauncher:
lea ecx, [ebp - 0x10]
call fcn.004020a6
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.00414e01
or dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x10]
add esp, 0x10
add ecx, 0xfffffff0
call fcn.004025d2
mov eax, dword [esi]
cmp dword [eax - 0xc], edi
jne 0x435d1d
push str.Empty_sl_path:
lea ecx, [ebp - 0x10]
call fcn.004020a6
mov dword [ebp - 4], 1
push edi
push esi
lea eax, [ebp - 0x10]
push eax
push ebx
call fcn.00414e01
add esp, 0x10
jmp 0x435de2
mov eax, esi
call fcn.00401000
test eax, eax
jne 0x435d3a
push str.sl_not_found:
lea ecx, [ebp - 0x10]
call fcn.004020a6
mov dword [ebp - 4], ebx
jmp 0x435d09
call fcn.0044825c
push eax
lea ecx, [ebp - 0x10]
call fcn.0041872d
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.0043d278
mov eax, dword [ebp - 0x10]
add esp, 0x10
cmp dword [eax - 0xc], edi
je 0x435d9d
lea eax, [ebp - 0x10]
push eax
call fcn.004362c6
push dword [esi]
lea ecx, [ebp - 0x10]
call fcn.0040ae5c
test eax, eax
jne 0x435d9d
push str.Registered_in_Run_already___will_not_launch:
lea ecx, [ebp - 0x14]
call fcn.004020a6
mov byte [ebp - 4], 4
jmp 0x435dc8
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 0x435dbb
mov eax, str.Launched:
push eax
lea ecx, [ebp - 0x14]
call fcn.004020a6
mov byte [ebp - 4], 5
push edi
push esi
lea eax, [ebp - 0x14]
push eax
push ebx
call fcn.00414e01
mov ecx, dword [ebp - 0x14]
add esp, 0x10
add ecx, 0xfffffff0
call fcn.004025d2
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.004025d2
call fcn.0045bf4c
ret

Function at 0x438254
Capabilities:
Get disk information

Disassembly:
push ebp
lea ebp, [esp - 0x3a8]
sub esp, 0x428
mov eax, dword [0x4bfd60]
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.00459cf0
xor eax, eax
push esi
mov word [ebp + 0x198], ax
lea eax, [ebp + 0x19a]
push ebx
push eax
call fcn.00459cf0
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 0x4a81b8
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 0x4382f0
push 0xa
push esi
push edi
push dword [ebp - 0x78]
call fcn.0045a485
add esp, 0x10
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
cmp eax, 0x10
jge 0x438307
push str.thsnYaViMRAeBoda
push esi
call fcn.00416b1e
mov ecx, dword [ebp + 0x3a4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00458e0e
add ebp, 0x3a8
leave
ret
Function at 0x438f12
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push 0x10
mov eax, 0x4749ec
call fcn.0045be74
mov esi, ecx
push str.GetLaunchInstalledOnDemand...
lea ecx, [ebp - 0x14]
call fcn.004020a6
and dword [ebp - 4], 0
push 0
lea eax, [ebp - 0x14]
push eax
push 2
pop ebx
push ebx
call fcn.004152d1
or dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x14]
add esp, 0xc
add ecx, 0xfffffff0
call fcn.004025d2
lea edi, [esi + 0x68]
mov eax, dword [edi]
cmp dword [eax - 0xc], 0
jne 0x438f8b
push str.Empty_ProductInstallDir
lea ecx, [ebp + 8]
call fcn.004020a6
push 0
lea eax, [ebp + 8]
push eax
push ebx
mov dword [ebp - 4], 1
call fcn.004152d1
mov ecx, dword [ebp + 8]
add esp, 0xc
add ecx, 0xfffffff0
jmp 0x439066
push str.7AD7_
add esi, 0x50
xor ecx, ecx
call fcn.0040ad24
cmp eax, 0xffffffff
push edi
lea ecx, [ebp - 0x14]
sete byte [ebp - 0xd]
call fcn.004020ea
push 0x5c
lea ecx, [ebp - 0x14]
mov dword [ebp - 4], ebx
call fcn.0040c420
mov ecx, dword [ebp - 0x14]
mov ecx, dword [ecx - 0xc]
dec ecx
cmp eax, ecx
je 0x438fcf
push 0x48415c
lea ecx, [ebp - 0x14]
call fcn.0040af5f
cmp byte [ebp - 0xd], 0
mov eax, str.AcrobatAcrobat.exe
jne 0x438fdf
mov eax, str.ReaderAcroRd32.exe
push eax
lea ecx, [ebp - 0x14]
call fcn.0040af5f
mov esi, dword [ebp - 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
lea ecx, [ebp - 0x18]
cmp eax, 0xffffffff
je 0x439037
push str.valid_launch_path_found:
call fcn.004020a6
push 0
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x18]
push eax
push ebx
mov byte [ebp - 4], 3
call fcn.00414e01
mov byte [ebp - 4], bl
mov ecx, dword [ebp - 0x18]
add esp, 0x10
add ecx, 0xfffffff0
call fcn.004025d2
mov ecx, dword [ebp + 8]
lea eax, [ebp - 0x14]
push eax
call fcn.00402573
jmp 0x439063
push str.valid_launch_path_not_found
call fcn.004020a6
push 0
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x18]
push eax
push ebx
mov byte [ebp - 4], 4
call fcn.00414e01
mov ecx, dword [ebp - 0x18]
add esp, 0x10
add ecx, 0xfffffff0
call fcn.004025d2
lea ecx, [esi - 0x10]
call fcn.004025d2
call fcn.0045bf4c
ret 4
Function at 0x43d205
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.004020a6
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 0x43d267
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.004025d2
pop edi
mov eax, esi
pop esi
leave
ret

Function at 0x43d278
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 0x43d314
push esi
push 0x208
call fcn.004596cf
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 0x43d306
push edi
call fcn.004595f2
mov eax, dword [ebp - 4]
add eax, eax
push eax
call fcn.004596cf
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 0x43d314
mov ecx, dword [ebp + 0x14]
push edi
call fcn.0040211a
push edi
call fcn.004595f2
pop ecx
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
mov eax, ebx
pop ebx
leave
ret

Function at 0x43d32a
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 0x43d37a
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 0x43d37f
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, str.SOFTWAREAdobeAdobe_ARM1.0ARM
push edi
mov esi, SysReAllocString
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 0x43d3eb
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 0x43d3eb
mov dword [ebp - 8], 1
mov eax, dword [ebp - 8]
pop edi
pop esi
pop ebx
leave
ret

Function at 0x43d430
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 str.SOFTWAREAdobeAdobe_ARM1.0ARM
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x43d486
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 0x43d486
inc esi
mov eax, esi
pop esi
leave
ret

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

Function at 0x43d7b6
Capabilities:
Check os version

Disassembly:
push 0x12c
mov eax, 0x474178
call fcn.0045bedd
mov esi, 0x11c
push esi
xor ebx, ebx
lea eax, [ebp - 0x130]
push ebx
push eax
xor edi, edi
call fcn.00459cf0
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 0x43d80f
lea eax, [ebp - 0x130]
push eax
mov dword [ebp - 0x130], 0x114
call esi
cmp eax, ebx
je 0x43d81b
cmp dword [ebp - 0x12c], 6
jb 0x43d81b
xor edi, edi
inc edi
cmp byte [0x4c4c5c], bl
jne 0x43d88f
cmp edi, ebx
je 0x43d851
push str.IsVistaOrLater_returns_1
lea ecx, [ebp - 0x138]
call fcn.004020a6
push ebx
lea eax, [ebp - 0x138]
push eax
push 2
mov dword [ebp - 4], ebx
call fcn.004152d1
mov ecx, dword [ebp - 0x138]
jmp 0x43d87d
push str.IsVistaOrLater_returns_0
lea ecx, [ebp - 0x134]
call fcn.004020a6
push ebx
lea eax, [ebp - 0x134]
push eax
push 2
mov dword [ebp - 4], 1
call fcn.004152d1
mov ecx, dword [ebp - 0x134]
add esp, 0xc
add ecx, 0xfffffff0
call fcn.004025d2
mov byte [0x4c4c5c], 1
mov eax, edi
call fcn.0045bf60
ret
Function at 0x43d897
Capabilities:
Check os version

Disassembly:
push ebp
sub esp, 0x11c
lea ebp, [esp - 4]
mov eax, dword [0x4bfd60]
xor eax, ebp
mov dword [ebp + 0x11c], eax
push 4
mov eax, 0x47413a
call fcn.0045be74
mov esi, 0x11c
push esi
lea eax, [ebp]
push 0
push eax
call fcn.00459cf0
add esp, 0xc
lea eax, [ebp]
mov dword [ebp], esi
mov esi, dword [sym.imp.KERNEL32.dll_GetVersionExW]
push eax
call esi
test eax, eax
jne 0x43d8f3
lea eax, [ebp]
push eax
mov dword [ebp], 0x114
call esi
test eax, eax
je 0x43d92a
cmp dword [ebp + 4], 5
jne 0x43d92a
push str.IsXP_returns_1
lea ecx, [ebp - 0x10]
call fcn.004020a6
and dword [ebp - 4], 0
push 0
lea eax, [ebp - 0x10]
push eax
push 2
call fcn.004152d1
mov ecx, dword [ebp - 0x10]
add esp, 0xc
add ecx, 0xfffffff0
call fcn.004025d2
xor eax, eax
inc eax
jmp 0x43d92c
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x11c]
xor ecx, ebp
call fcn.00458e0e
add ebp, 0x120
leave
ret
Function at 0x43e12d
Capabilities:
Check os version
Get token membership

Disassembly:
push ebp
lea ebp, [esp - 0xf4]
sub esp, 0x174
mov eax, dword [0x4bfd60]
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 0x43e189
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 0x43e22d
lea eax, [ebp - 0x68]
push eax
mov dword [ebp - 0x68], 0x114
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x43e22d
cmp dword [ebp - 0x64], 6
jb 0x43e1de
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 0x43e22d
cmp dword [ebp - 0x78], 3
jne 0x43e1de
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 0x43e22d
cmp dword [ebp - 0x70], edi
jne 0x43e1f6
lea eax, [ebp - 0x70]
push eax
push 1
push dword [ebp - 0x6c]
call dword [sym.imp.ADVAPI32.dll_DuplicateToken]
test eax, eax
je 0x43e22d
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 0x43e22d
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 0x43e233
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 0x6c], edi
je 0x43e246
push dword [ebp - 0x6c]
call esi
mov dword [ebp - 0x6c], edi
cmp dword [ebp - 0x70], edi
je 0x43e250
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.00458e0e
add ebp, 0xf4
leave
ret
Function at 0x43e359
Capabilities:
Get common file path

Disassembly:
push 8
mov eax, 0x4740ad
call fcn.0045be74
call fcn.0044825c
push eax
lea ecx, [ebp - 0x10]
call fcn.0041872d
xor esi, esi
push 0x104
lea ecx, [ebp - 0x10]
mov dword [ebp - 4], esi
call fcn.0040241d
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.0040b00b
cmp edi, esi
jne 0x43e3ca
mov ecx, dword [ebp + 8]
lea eax, [ebp - 0x10]
push eax
call fcn.00402573
mov ecx, dword [ebp + 8]
push str.AdobeARM1.0AdobeARM.exe
call fcn.0040af5f
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.004025d2
xor eax, eax
inc eax
jmp 0x43e404
push str.SHGetFolderPath_in_GetCurrentExePath_failed:
lea ecx, [ebp - 0x14]
call fcn.004020a6
push edi
lea eax, [ebp - 0x14]
push eax
push 1
mov byte [ebp - 4], 1
call fcn.004152d1
mov ecx, dword [ebp - 0x14]
add esp, 0xc
add ecx, 0xfffffff0
mov esi, eax
call fcn.004025d2
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.004025d2
mov eax, esi
call fcn.0045bf4c
ret

Function at 0x43e40a
Capabilities:
Get common file path

Disassembly:
push 0x218
mov eax, 0x477ef9
call fcn.0045bedd
xor edi, edi
mov esi, ecx
mov dword [ebp - 0x220], esi
cmp dword [ebp + 8], edi
je 0x43e439
push 0x4c47cc
call fcn.00402573
push 0x48415c
jmp 0x43e482
xor eax, eax
push 0x206
mov word [ebp - 0x21c], ax
lea eax, [ebp - 0x21a]
push edi
push eax
call fcn.00459cf0
add esp, 0xc
lea eax, [ebp - 0x21c]
push eax
push edi
push edi
push 0x2b
push edi
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
mov ebx, eax
cmp ebx, edi
jne 0x43e4ee
lea eax, [ebp - 0x21c]
push eax
mov ecx, esi
call fcn.0040211a
push str.AdobeARM1.0_
mov ecx, esi
call fcn.0040af5f
push 0x4c468c
mov ecx, esi
call fcn.00401ec7
mov esi, dword [esi]
xor ebx, ebx
or edi, 0xffffffff
call fcn.004289ab
test eax, eax
je 0x43e4e9
push dword [ebp - 0x220]
lea eax, [ebp - 0x224]
push str.Not_found_or_not_valid:
push eax
call fcn.00401e40
add esp, 0xc
mov esi, eax
mov dword [ebp - 4], 1
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0x1fc98
mov ecx, eax
mov edx, esi
mov ebx, 0x4c4bf0
call fcn.0041384f
mov ecx, dword [ebp - 0x224]
jmp 0x43e519
xor eax, eax
inc eax
jmp 0x43e523
push str.SHGetFolderPath_in_GetLauncherPath_failed:
lea ecx, [ebp - 0x220]
call fcn.004020a6
push ebx
lea eax, [ebp - 0x220]
push eax
push 1
mov dword [ebp - 4], edi
call fcn.004152d1
mov ecx, dword [ebp - 0x220]
add esp, 0xc
add ecx, 0xfffffff0
call fcn.004025d2
xor eax, eax
call fcn.0045bf60
ret
Function at 0x43e529
Capabilities:
Get file version info

Disassembly:
push 0x18
mov eax, 0x474082
call fcn.0045be74
cmp dword [ebp + 0x10], 0
je 0x43e56e
push str.GetFileVersion__:
lea ecx, [ebp - 0x10]
call fcn.004020a6
and dword [ebp - 4], 0
push 0
push dword [ebp + 8]
lea eax, [ebp - 0x10]
push eax
push 2
call fcn.00414e01
or dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x10]
add esp, 0x10
add ecx, 0xfffffff0
call fcn.004025d2
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 0x43e6bf
push eax
call fcn.00447e91
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 0x43e67f
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x18]
push eax
push 0x48415c
push dword [ebp - 0x10]
call sub.VERSION.dll_VerQueryValueW
cmp eax, 1
jne 0x43e663
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.00447e9c
cmp dword [ebp + 0x10], 0
pop ecx
je 0x43e65b
call fcn.0044825c
push eax
lea ecx, [ebp + 0x10]
call fcn.0041872d
push str.File_version:__1_u_._2_u_._3_u_._4_u_
lea ecx, [ebp + 8]
mov dword [ebp - 4], 1
call fcn.004020a6
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.00413f1a
push 0
lea eax, [ebp + 0x10]
push eax
push 2
call fcn.004152d1
mov ecx, dword [ebp + 8]
add esp, 0x24
add ecx, 0xfffffff0
call fcn.004025d2
mov ecx, dword [ebp + 0x10]
add ecx, 0xfffffff0
call fcn.004025d2
xor eax, eax
inc eax
jmp 0x43e6f6
cmp dword [ebp + 0x10], 0
je 0x43e6b4
push str.VerQueryValue___failed_in_GetFileVersion__.
lea ecx, [ebp + 0x10]
call fcn.004020a6
mov dword [ebp - 4], 3
jmp 0x43e699
cmp dword [ebp + 0x10], 0
je 0x43e6b4
push str.GetFileVersionInfo___failed_in_GetFileVersion__.
lea ecx, [ebp + 0x10]
call fcn.004020a6
mov dword [ebp - 4], 4
push 0
lea eax, [ebp + 0x10]
push eax
push 1
call fcn.004152d1
mov ecx, dword [ebp + 0x10]
add esp, 0xc
add ecx, 0xfffffff0
call fcn.004025d2
push dword [ebp - 0x10]
call fcn.00447e9c
pop ecx
jmp 0x43e6f4
cmp dword [ebp + 0x10], 0
je 0x43e6f4
push str.GetFileVersionInfoSize___failed_in_GetFileVersion__.
lea ecx, [ebp - 0x14]
call fcn.004020a6
push 0
lea eax, [ebp - 0x14]
push eax
push 1
mov dword [ebp - 4], 5
call fcn.004152d1
mov ecx, dword [ebp - 0x14]
add esp, 0xc
add ecx, 0xfffffff0
call fcn.004025d2
xor eax, eax
call fcn.0045bf4c
ret
Function at 0x4414ae
Capabilities:
Query service status

Disassembly:
push 0x34
mov eax, 0x473b66
call fcn.0045be74
xor esi, esi
push 4
push esi
push esi
mov dword [ebp - 0x14], esi
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov ebx, eax
cmp ebx, esi
jne 0x44150d
push str.OpenSCManager_failed_in_IsMsiBusy:
lea ecx, [ebp - 0x10]
call fcn.004020a6
mov dword [ebp - 4], esi
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea eax, [ebp - 0x10]
push eax
push 2
call fcn.004152d1
or dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x10]
add esp, 0xc
add ecx, 0xfffffff0
call fcn.004025d2
call fcn.004415e1
jmp 0x4415db
push 4
push str.MSIServer
push ebx
call dword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov edi, eax
cmp edi, esi
jne 0x441562
push str.OpenService_failed_in_IsMsiBusy:
lea ecx, [ebp - 0x10]
call fcn.004020a6
mov dword [ebp - 4], 1
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea eax, [ebp - 0x10]
push eax
push 2
call fcn.004152d1
or dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x10]
add esp, 0xc
add ecx, 0xfffffff0
call fcn.004025d2
push ebx
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
jmp 0x441503
lea eax, [ebp - 0x18]
push eax
push 0x24
lea eax, [ebp - 0x3c]
push eax
push esi
push edi
call dword [sym.imp.ADVAPI32.dll_QueryServiceStatusEx]
cmp eax, esi
jne 0x4415bf
push str.QueryServiceStatusEx_failed_in_IsMsiBusy:
lea ecx, [ebp - 0x14]
call fcn.004020a6
push 2
pop esi
mov dword [ebp - 4], esi
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea eax, [ebp - 0x14]
push eax
push esi
call fcn.004152d1
or dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x14]
add esp, 0xc
add ecx, 0xfffffff0
call fcn.004025d2
mov esi, dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
push edi
call esi
push ebx
call esi
jmp 0x441503
cmp dword [ebp - 0x34], 4
jne 0x4415cc
mov dword [ebp - 0x14], 1
mov esi, dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
push edi
call esi
push ebx
call esi
mov eax, dword [ebp - 0x14]
call fcn.0045bf4c
ret

Function at 0x4415e1
Capabilities:
Check if file exists
Check mutex on windows

Disassembly:
push str.Global_MSIExecute
push 0
push 0x100000
call dword [sym.imp.KERNEL32.dll_OpenMutexW]
test eax, eax
je 0x441602
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
inc eax
ret
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
jne 0x4415fe
xor eax, eax
ret
Function at 0x4423ba
Capabilities:
Check if file exists
Delete directory
Set file attributes

Disassembly:
push 0x24
mov eax, 0x473a31
call fcn.0045be74
and dword [ebp - 4], 0
mov ecx, dword [ebp + 8]
mov eax, dword [ecx - 0xc]
test eax, eax
je 0x44253d
cmp eax, 4
jb 0x44253d
lea eax, [ebp + 8]
push eax
lea ecx, [ebp - 0x10]
call fcn.004020ea
push 0x5c
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 1
call fcn.0040c420
cmp eax, 0xffffffff
je 0x442434
mov ecx, dword [ebp - 0x10]
mov ecx, dword [ecx - 0xc]
dec ecx
cmp eax, ecx
jne 0x442434
push eax
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp - 0x10]
call fcn.0040ad78
push eax
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 2
call fcn.00402573
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
call fcn.004025d2
push 0x483280
lea ecx, [ebp - 0x10]
call fcn.0040af5f
lea ecx, [ebp - 0x30]
call fcn.0044a7fe
mov byte [ebp - 4], 3
mov edi, dword [ebp - 0x10]
push 0
push edi
lea ecx, [ebp - 0x30]
call fcn.0044a896
test eax, eax
je 0x4424e9
lea ecx, [ebp - 0x30]
call fcn.0044a593
lea ecx, [ebp - 0x30]
mov ebx, eax
call fcn.0044a7bf
test eax, eax
jne 0x4424e1
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp - 0x30]
call fcn.0044aac3
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0x30]
push 0x10
lea ecx, [ebp - 0x30]
call dword [eax + 0x38]
test eax, eax
je 0x4424ca
cmp dword [ebp + 0xc], 0
je 0x4424b0
push dword [ebp + 0xc]
xor ecx, ecx
lea esi, [ebp - 0x14]
call fcn.0040ad24
cmp eax, 0xffffffff
jne 0x4424d2
push 0
push ecx
lea eax, [ebp - 0x14]
mov dword [ebp - 0x18], esp
mov ecx, esp
push eax
call fcn.004020ea
call fcn.004423ba
pop ecx
pop ecx
jmp 0x4424d2
lea ecx, [ebp - 0x14]
call fcn.0044254b
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
call fcn.004025d2
test ebx, ebx
jne 0x442463
lea ecx, [ebp - 0x30]
call fcn.0044a4ad
push 0x80
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
test eax, eax
jne 0x442526
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
je 0x442526
push eax
lea eax, [ebp + 8]
push eax
push 2
call fcn.004152d1
add esp, 0xc
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 1
call fcn.0044a827
lea ecx, [edi - 0x10]
call fcn.004025d2
mov ecx, dword [ebp + 8]
add ecx, 0xfffffff0
call fcn.004025d2
call fcn.0045bf4c
ret