joyce8/EMBER2024-capa huggingface dataset:
Function at 0x427029
Capabilities:
Create process on windows

Disassembly:
push 0x10
mov eax, 0x475ab3
call fcn.0045be74
push str.ExecuteRetryInstall...
lea ecx, [ebp - 0x14]
call fcn.004020a6
xor edi, edi
push edi
lea eax, [ebp - 0x14]
push eax
push 2
pop esi
push esi
mov dword [ebp - 4], edi
call fcn.004152d1
or dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x14]
add esp, 0xc
add ecx, 0xfffffff0
call fcn.004025d2
push str.___file__
lea ecx, [ebp - 0x14]
call fcn.004020a6
mov dword [ebp - 4], 1
mov ebx, dword [ebp + 8]
push edi
push ebx
lea eax, [ebp - 0x14]
push eax
push esi
call fcn.00414e01
or dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x14]
add esp, 0x10
add ecx, 0xfffffff0
call fcn.004025d2
mov dword [ebp - 0x14], 0xd
call fcn.0044825c
push eax
lea ecx, [ebp - 0x10]
call fcn.0041872d
push 0x5c
mov ecx, ebx
mov dword [ebp - 4], esi
call fcn.0040c420
cmp eax, 0xffffffff
je 0x4270ea
push eax
lea eax, [ebp - 0x18]
push eax
mov ecx, ebx
call main
push eax
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 3
call fcn.00402573
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x18]
add ecx, 0xfffffff0
call fcn.004025d2
push str..exe
mov ecx, ebx
call fcn.0043d115
pop ecx
test eax, eax
je 0x42715f
mov ebx, dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov esi, 0x483438
cmp dword [ebp - 0x10], edi
je 0x427127
push 5
push edi
push esi
push dword [ebp - 0x10]
push edi
call dword [sym.imp.USER32.dll_GetForegroundWindow]
push eax
call ebx
push 0x3e8
call dword [sym.imp.kernel32.dll_Sleep]
mov eax, dword [ebp + 8]
mov eax, dword [eax]
push 5
push edi
push esi
push eax
push edi
call dword [sym.imp.USER32.dll_GetForegroundWindow]
push eax
call ebx
mov dword [ebp - 0x14], eax
cmp eax, 0x21
jae 0x4271a2
push str.ShellExecute_failed
lea ecx, [ebp + 8]
call fcn.004020a6
mov byte [ebp - 4], 4
push dword [ebp - 0x14]
lea eax, [ebp + 8]
push eax
push 2
jmp 0x4271be
push str..msi
mov ecx, ebx
call fcn.0043d115
pop ecx
test eax, eax
je 0x4271a7
mov esi, 0x483438
cmp dword [ebp - 0x10], edi
je 0x42719a
push 5
push edi
push esi
push dword [ebp - 0x10]
push edi
call dword [sym.imp.USER32.dll_GetForegroundWindow]
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
push 0x3e8
call dword [sym.imp.kernel32.dll_Sleep]
push esi
push dword [ebx]
call sub.msi.dll_MsiOpenDatabaseW
mov dword [ebp - 0x14], edi
jmp 0x4271d1
push str.Not_supported_file_type
lea ecx, [ebp + 8]
call fcn.004020a6
push edi
lea eax, [ebp + 8]
push eax
mov byte [ebp - 4], 5
push esi
call fcn.004152d1
mov ecx, dword [ebp + 8]
add esp, 0xc
add ecx, 0xfffffff0
call fcn.004025d2
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.004025d2
mov eax, dword [ebp - 0x14]
call fcn.0045bf4c
ret 4
Function at 0x42f826
Capabilities:
Reference sql statements

Disassembly:
push 0x10
mov eax, 0x47540f
call fcn.0045be74
push 0x4c48d4
lea ecx, [ebp - 0x1c]
call fcn.004020ea
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.004020a6
mov byte [ebp - 4], 3
mov ebx, dword [ebp - 0x1c]
push dword [ebx - 0xc]
lea ecx, [ebp - 0x18]
push ebx
call main
push 0x4a2fa0
lea eax, [ebp - 0x18]
push eax
call fcn.0040aac0
cmp dword [ebp - 0x10], edi
je 0x42f889
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 0x42f90a
push 0x4a2fa4
lea ecx, [ebp + 8]
call fcn.004020a6
mov byte [ebp - 4], 4
mov esi, 0x3d32
push esi
lea eax, [ebp + 8]
push eax
push 1
call fcn.004152d1
mov ecx, dword [ebp + 8]
add esp, 0xc
add ecx, 0xfffffff0
call fcn.004025d2
mov ecx, dword [ebp - 0x18]
add ecx, 0xfffffff0
call fcn.004025d2
cmp dword [ebp - 0x14], edi
je 0x42f8eb
push dword [ebp - 0x14]
call sub.msi.dll_MsiConfigureFeatureFromDescriptorA
cmp dword [ebp - 0x10], edi
je 0x42f8f8
push dword [ebp - 0x10]
call sub.msi.dll_MsiConfigureFeatureFromDescriptorA
lea ecx, [ebx - 0x10]
call fcn.004025d2
mov eax, esi
call fcn.0045bf4c
ret 8
push edi
push dword [ebp - 0x10]
call sub.msi.dll_MsiViewModify
cmp eax, edi
je 0x42f92a
push 0x4a2fb0
lea ecx, [ebp + 8]
call fcn.004020a6
mov byte [ebp - 4], 5
jmp 0x42f8b4
cmp dword [ebp - 0x14], edi
je 0x42f937
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 0x42f95a
push dword [ebp + 0xc]
push 1
push dword [ebp - 0x14]
call main
add esp, 0xc
mov ecx, dword [ebp - 0x18]
add ecx, 0xfffffff0
call fcn.004025d2
cmp dword [ebp - 0x14], edi
je 0x42f972
push dword [ebp - 0x14]
call sub.msi.dll_MsiConfigureFeatureFromDescriptorA
cmp dword [ebp - 0x10], edi
je 0x42f97f
push dword [ebp - 0x10]
call sub.msi.dll_MsiConfigureFeatureFromDescriptorA
xor esi, esi
jmp 0x42f8f8
Function at 0x431e82
Capabilities:
Get common file path

Disassembly:
push ebp
sub esp, 0x208
lea ebp, [esp - 4]
mov eax, dword [0x4bfd60]
xor eax, ebp
mov dword [ebp + 0x208], eax
push 4
mov eax, 0x472349
call fcn.0045be74
mov eax, dword [ebp + 0x214]
push dword [eax]
mov esi, ecx
push 0x4a5a64
push esi
call main
test eax, eax
jne 0x431f9b
call fcn.0044825c
push eax
lea ecx, [ebp - 0x10]
call fcn.0041872d
and dword [ebp - 4], 0
mov edi, str._WindowsFolder_
push edi
xor ecx, ecx
call fcn.0040ad24
or ebx, 0xffffffff
cmp eax, ebx
je 0x431eed
push 0x24
jmp 0x431f3f
mov edi, str._SystemFolder_
push edi
xor ecx, ecx
call fcn.0040ad24
cmp eax, ebx
je 0x431f02
push 0x25
jmp 0x431f3f
mov edi, str._ProgramFilesFolder_
push edi
xor ecx, ecx
call fcn.0040ad24
cmp eax, ebx
je 0x431f17
push 0x26
jmp 0x431f3f
mov edi, str._CommonFilesFolder_
push edi
xor ecx, ecx
call fcn.0040ad24
cmp eax, ebx
je 0x431f2c
push 0x2b
jmp 0x431f3f
mov edi, str._LocalAppDataFolder_
push edi
xor ecx, ecx
call fcn.0040ad24
cmp eax, ebx
je 0x431f90
push 0x1c
pop ebx
push edi
lea ecx, [ebp - 0x10]
call fcn.0040211a
xor eax, eax
push 0x206
mov word [ebp], ax
xor edi, edi
lea eax, [ebp + 2]
push edi
push eax
call fcn.00459cf0
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 0x431f90
lea eax, [ebp]
push eax
call dword [sym.imp.kernel32.dll_lstrlenW]
test eax, eax
je 0x431f90
lea eax, [ebp]
push eax
push dword [ebp - 0x10]
push esi
call main
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.004025d2
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.00458e0e
add ebp, 0x20c
leave
ret
Function at 0x4322ca
Capabilities:
Enumerate gui resources

Disassembly:
push 0x29c
mov eax, 0x474fde
call fcn.0045be74
push 0x4c4854
lea ecx, [ebp - 0x20]
call fcn.004020ea
xor ebx, ebx
mov dword [ebp - 4], ebx
push 0xffffffffffffffff
push ebx
mov ecx, 0x4c4bdc
mov dword [ebp - 0x1c], ebx
call main
cmp dword [0x4c4810], ebx
mov dword [ebp - 0x14], ebx
jle 0x43245c
push dword [ebp - 0x14]
mov ecx, 0x4c4808
call fcn.0040b035
mov esi, eax
mov eax, dword [esi]
cmp eax, ebx
je 0x432412
cmp dword [eax + 0x38], ebx
je 0x43233a
mov eax, 0x4c4c24
call fcn.00405350
test eax, eax
je 0x432412
mov eax, dword [esi]
add eax, 8
push eax
lea ecx, [ebp - 0x10]
mov dword [ebp - 0x18], ebx
call fcn.004020ea
push 0x4a5cb8
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 1
call fcn.0040ae5c
lea ecx, [ebp - 0x10]
test eax, eax
je 0x43239f
lea eax, [ebp - 0x20]
push eax
call fcn.00431e82
pop ecx
push 0x5c
lea ecx, [ebp - 0x10]
call fcn.0040c420
mov ecx, dword [ebp - 0x10]
mov ecx, dword [ecx - 0xc]
dec ecx
cmp eax, ecx
je 0x43238f
push 0x48415c
lea ecx, [ebp - 0x10]
call fcn.0040af5f
mov eax, dword [esi]
add eax, 4
push eax
lea ecx, [ebp - 0x10]
call fcn.00401ec7
jmp 0x4323aa
mov eax, dword [esi]
add eax, 4
push eax
call fcn.00402573
mov esi, dword [esi]
mov eax, dword [esi + 0x1c]
mov edi, dword [ebp - 0x10]
cmp eax, 7
jne 0x4323d3
xor esi, esi
push ebx
inc esi
lea eax, [ebp - 0x18]
push esi
push eax
mov ecx, edi
call main
add esp, 0xc
test eax, eax
je 0x4323f4
mov dword [ebp - 0x1c], esi
jmp 0x4323f4
cmp eax, ebx
jne 0x432407
push dword [esi + 4]
lea eax, [ebp - 0x18]
push ebx
push eax
mov ecx, edi
call main
add esp, 0xc
test eax, eax
je 0x4323f4
mov dword [ebp - 0x1c], 1
cmp dword [ebp - 0x18], ebx
je 0x432407
push dword [ebp - 0x18]
push 0x431de0
call dword [sym.imp.USER32.dll_EnumWindows]
lea ecx, [edi - 0x10]
mov byte [ebp - 4], bl
call fcn.004025d2
inc dword [ebp - 0x14]
mov eax, dword [ebp - 0x14]
cmp eax, dword [0x4c4810]
jl 0x43230a
cmp dword [ebp - 0x1c], ebx
je 0x43245c
push dword [0x4c4c30]
lea eax, [ebp - 0x2a8]
push eax
call fcn.0042393e
lea ecx, [ebp - 0x2a8]
mov byte [ebp - 4], 2
call fcn.00454260
lea ecx, [ebp - 0x2a8]
mov esi, eax
mov byte [ebp - 4], bl
call fcn.00423a53
jmp 0x43245f
xor esi, esi
inc esi
cmp esi, 4
je 0x4322eb
mov ecx, dword [ebp - 0x20]
add ecx, 0xfffffff0
call fcn.004025d2
mov eax, esi
call fcn.0045bf4c
ret
Function at 0x434832
Capabilities:
Shutdown system

Disassembly:
push 0x1c
mov eax, 0x474e43
call fcn.0045be74
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 0x434880
push str.OpenProcessToken_failed_in_RebootOS.
lea ecx, [ebp - 0x10]
call fcn.004020a6
and dword [ebp - 4], 0
call dword [sym.imp.kernel32.dll_GetLastError]
push eax
lea eax, [ebp - 0x10]
push eax
push 2
call fcn.004152d1
mov ecx, dword [ebp - 0x10]
jmp 0x434906
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 0x4348d5
push str.AdjustTokenPrivileges_failed_in_RebootOS.
lea ecx, [ebp - 0x10]
call fcn.004020a6
mov dword [ebp - 4], ebx
call esi
push eax
lea eax, [ebp - 0x10]
push eax
push edi
jmp 0x434873
push SysReAllocString
push 0x12
call dword [sym.imp.USER32.dll_ExitWindowsEx]
test eax, eax
jne 0x434911
push str.ExitWindowsEx_failed_in_RebootOS.
lea ecx, [ebp - 0x14]
call fcn.004020a6
mov dword [ebp - 4], edi
call esi
push eax
lea eax, [ebp - 0x14]
push eax
push edi
call fcn.004152d1
mov ecx, dword [ebp - 0x14]
add esp, 0xc
add ecx, 0xfffffff0
call fcn.004025d2
call fcn.0045bf4c
ret
Function at 0x434917
Capabilities:
Create process on windows

Disassembly:
push 0x6c
mov eax, 0x474e10
call fcn.0045be74
push str.LaunchProcessAsUser...
lea ecx, [ebp - 0x18]
call fcn.004020a6
xor esi, esi
push esi
lea eax, [ebp - 0x18]
push eax
push 2
mov dword [ebp - 4], esi
call fcn.004152d1
or dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x18]
add esp, 0xc
add ecx, 0xfffffff0
call fcn.004025d2
push 0x44
pop ebx
push ebx
lea eax, [ebp - 0x78]
push esi
push eax
call fcn.00459cf0
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.00459cf0
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 0x4349a4
mov dword [ebp - 0x1c], 0x420
jmp 0x4349da
push str.CreateEnvironmentBlock_failed
lea ecx, [ebp - 0x18]
mov dword [ebp - 0x10], esi
call fcn.004020a6
mov dword [ebp - 4], ebx
call dword [sym.imp.kernel32.dll_GetLastError]
push eax
lea eax, [ebp - 0x18]
push eax
push ebx
call fcn.004152d1
or dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x18]
add esp, 0xc
add ecx, 0xfffffff0
call fcn.004025d2
push dword [ebp + 0xc]
lea eax, [ebp - 0x14]
push str._Skip
push eax
call fcn.00401e40
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 main
mov ebx, eax
pop ecx
cmp ebx, esi
jne 0x434a54
push str.operator_new_failed
lea ecx, [ebp - 0x18]
call fcn.004020a6
push esi
lea eax, [ebp - 0x18]
push eax
push 1
mov byte [ebp - 4], 3
call fcn.004152d1
mov ecx, dword [ebp - 0x18]
add esp, 0xc
add ecx, 0xfffffff0
call fcn.004025d2
push 8
pop esi
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
call fcn.004025d2
mov eax, esi
call fcn.0045bf4c
ret
mov ecx, dword [ebp - 0x14]
mov eax, dword [ecx - 0xc]
push ecx
inc eax
push eax
push ebx
call main
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 0x434ac8
call dword [sym.imp.kernel32.dll_GetLastError]
push str.CreateProcessAsUser_failed:
lea ecx, [ebp - 0x1c]
mov dword [ebp - 0x18], eax
call fcn.004020a6
mov byte [ebp - 4], 4
push dword [ebp - 0x18]
lea eax, [ebp - 0x1c]
push eax
push 1
call fcn.004152d1
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x1c]
add esp, 0xc
add ecx, 0xfffffff0
call fcn.004025d2
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 main
mov esi, dword [ebp - 0x18]
pop ecx
jmp 0x434a41
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 main
mov eax, dword [ebp - 0x10]
add esp, 0x10
cmp dword [eax - 0xc], edi
je 0x435d9d
lea eax, [ebp - 0x10]
push eax
call main
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 main
add esp, 0x10
push edi
call dword [sym.imp.kernel32.dll_lstrlenW]
cmp eax, 0x10
jge 0x438307
push str.thsnYaViMRAeBoda
push esi
call main
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 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