joyce8/EMBER2024-capa huggingface dataset:
Function at 0x41df45
Capabilities:
Enumerate process modules

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x644
mov eax, dword [0x485d50]
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 0x41df81
xor eax, eax
mov ecx, dword [ebp - 8]
pop edi
xor ecx, ebp
pop esi
call fcn.0043968e
leave
ret
lea ecx, [ebp - 0x63c]
push ecx
push eax
mov dword [ebp - 0x63c], 0x428
call sub.KERNEL32.dll_Module32FirstW
test eax, eax
jne 0x41dfae
xor edi, edi
push dword [ebp - 0x640]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, edi
jmp 0x41df73
push 0x45dd50
push ebx
call fcn.0043a4ff
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 0x41dfe7
push ebx
lea eax, [ebp - 0x61c]
push eax
jmp 0x41e037
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x214], ax
lea eax, [ebp - 0x212]
push eax
call fcn.0043a400
add esp, 0xc
cmp dword [ebp - 0x644], 0
je 0x41e045
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 0x41e045
lea eax, [ebp - 0x214]
push eax
push ebx
call fcn.0043b636
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 0x41df9e
test edi, edi
je 0x41dfd9
jmp 0x41df9e
Function at 0x41f5a4
Capabilities:
Delete registry key

Disassembly:
push ebp
mov ebp, esp
push ecx
cmp dword [ebp + 8], 0
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
je 0x41f5f4
and dword [ebp + 8], 0
lea eax, [ebp - 4]
push eax
push 0x20019
push 0
push dword [0x48a438]
push 0x80000002
call edi
test eax, eax
jne 0x41f5f4
push esi
lea eax, [ebp + 8]
push eax
push str.iLogLevel
lea esi, [ebp - 4]
call fcn.00423642
pop ecx
pop ecx
pop esi
test eax, eax
jne 0x41f5f4
cmp dword [ebp + 8], 1
jae 0x41f627
lea eax, [ebp + 8]
push eax
push 0xf003f
push 0
push dword [0x48a438]
push 0x80000001
call edi
test eax, eax
jne 0x41f627
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 edi
leave
ret

Function at 0x41f6ad
Capabilities:
Shutdown system

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4538b4
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push ebx
push esi
push edi
mov eax, dword [0x485d50]
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 0x41f720
push str.OpenProcessToken_failed_in_RebootOS.
lea ecx, [esp + 0x14]
call fcn.0040215a
and dword [esp + 0x38], 0
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea eax, [esp + 0x14]
push eax
push 2
call fcn.0040e5e0
mov ecx, dword [esp + 0x1c]
jmp 0x41f7b2
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 0x41f77d
push str.AdjustTokenPrivileges_failed_in_RebootOS.
lea ecx, [esp + 0x14]
call fcn.0040215a
mov dword [esp + 0x38], ebx
call esi
push eax
lea eax, [esp + 0x14]
push eax
push edi
jmp 0x41f712
push 0x80000001
push 0x12
call dword [sym.imp.USER32.dll_ExitWindowsEx]
test eax, eax
jne 0x41f7bd
push str.ExitWindowsEx_failed_in_RebootOS.
lea ecx, [esp + 0x18]
call fcn.0040215a
mov dword [esp + 0x38], edi
call esi
push eax
lea eax, [esp + 0x18]
push eax
push edi
call fcn.0040e5e0
mov ecx, dword [esp + 0x20]
add esp, 0xc
add ecx, 0xfffffff0
call fcn.004025dc
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 0x421347
Capabilities:
Get disk information

Disassembly:
push ebp
lea ebp, [esp - 0x3a8]
sub esp, 0x428
mov eax, dword [0x485d50]
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.0043a400
xor eax, eax
push esi
mov word [ebp + 0x198], ax
lea eax, [ebp + 0x19a]
push ebx
push eax
call fcn.0043a400
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 0x475570
mov dword [ebp - 0x78], ebx
mov dword [ebp - 0x7c], ebx
mov dword [ebp - 0x80], ebx
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationW]
test eax, eax
je 0x4213e2
push 0xa
push 0x104
push edi
push dword [ebp - 0x78]
call fcn.0043aa10
add esp, 0x10
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
cmp eax, 0x10
jge 0x4213f8
push str.thsnYaViMRAeBoda
call fcn.0042168f
mov ecx, dword [ebp + 0x3a4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0043968e
add ebp, 0x3a8
leave
ret
Function at 0x423236
Capabilities:
Get token membership

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

Function at 0x42351b
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push esi
push edi
push dword [ebp + 0x10]
lea ecx, [ebp - 8]
xor esi, esi
call fcn.0040215a
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 + 8]
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x42357f
lea eax, [edi + edi]
push eax
push dword [ebp + 0x10]
push 1
push esi
push dword [ebp + 0xc]
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.004025dc
pop edi
mov eax, esi
pop esi
leave
ret

Function at 0x423590
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 0x42362c
push esi
push 0x208
call fcn.00439e73
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 0x42361e
push edi
call fcn.00439d96
mov eax, dword [ebp - 4]
add eax, eax
push eax
call fcn.00439e73
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 0x42362c
mov ecx, dword [ebp + 0x14]
push edi
call fcn.00402123
push edi
call fcn.00439d96
pop ecx
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
mov eax, ebx
pop ebx
leave
ret
Function at 0x423678
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, 0x45dcf8
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 0x4236e4
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 0x4236e4
mov dword [ebp - 8], 1
mov eax, dword [ebp - 8]
pop edi
pop esi
pop ebx
leave
ret

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

Function at 0x423a69
Capabilities:
Check os version

Disassembly:
push 0x12c
mov eax, 0x45351c
call fcn.0043bf73
mov esi, 0x11c
push esi
xor ebx, ebx
lea eax, [ebp - 0x130]
push ebx
push eax
xor edi, edi
call fcn.0043a400
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 0x423ac2
lea eax, [ebp - 0x130]
push eax
mov dword [ebp - 0x130], 0x114
call esi
cmp eax, ebx
je 0x423ace
cmp dword [ebp - 0x12c], 6
jb 0x423ace
xor edi, edi
inc edi
cmp byte [0x48aae5], bl
jne 0x423b42
cmp edi, ebx
je 0x423b04
push str.IsVistaOrLater_returns_1
lea ecx, [ebp - 0x138]
call fcn.0040215a
push ebx
lea eax, [ebp - 0x138]
push eax
push 2
mov dword [ebp - 4], ebx
call fcn.0040e5e0
mov ecx, dword [ebp - 0x138]
jmp 0x423b30
push str.IsVistaOrLater_returns_0
lea ecx, [ebp - 0x134]
call fcn.0040215a
push ebx
lea eax, [ebp - 0x134]
push eax
push 2
mov dword [ebp - 4], 1
call fcn.0040e5e0
mov ecx, dword [ebp - 0x134]
add esp, 0xc
add ecx, 0xfffffff0
call fcn.004025dc
mov byte [0x48aae5], 1
mov eax, edi
call fcn.0043bff6
ret
Function at 0x423b4a
Capabilities:
Check os version

Disassembly:
push 0x12c
mov eax, 0x4534de
call fcn.0043bf73
mov esi, 0x11c
push esi
lea eax, [ebp - 0x130]
push 0
push eax
call fcn.0043a400
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 0x423ba0
lea eax, [ebp - 0x130]
push eax
mov dword [ebp - 0x130], 0x114
call esi
test eax, eax
je 0x423be3
cmp dword [ebp - 0x12c], 5
jne 0x423be3
push str.IsXP_returns_1
lea ecx, [ebp - 0x134]
call fcn.0040215a
and dword [ebp - 4], 0
push 0
lea eax, [ebp - 0x134]
push eax
push 2
call fcn.0040e5e0
mov ecx, dword [ebp - 0x134]
add esp, 0xc
add ecx, 0xfffffff0
call fcn.004025dc
xor eax, eax
inc eax
jmp 0x423be5
xor eax, eax
call fcn.0043bff6
ret

Function at 0x423beb
Capabilities:
Get system information on windows

Disassembly:
push 0x2c
mov eax, 0x4534b8
call fcn.0043bf0a
push 8
pop ecx
xor esi, esi
xor eax, eax
mov dword [ebp - 0x34], esi
lea edi, [ebp - 0x30]
push str.kernel32.dll
rep stosd dword es:[edi], eax
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
cmp eax, esi
jne 0x423c43
push str.module_handle_is_NULL:_kernel32.dll
lea ecx, [ebp - 0x10]
call fcn.0040215a
push esi
lea eax, [ebp - 0x10]
push eax
push 1
mov dword [ebp - 4], esi
call fcn.0040e5e0
mov ecx, dword [ebp - 0x10]
add esp, 0xc
add ecx, 0xfffffff0
call fcn.004025dc
xor eax, eax
jmp 0x423c78
push str.GetNativeSystemInfo
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp eax, esi
je 0x423c5b
lea ecx, [ebp - 0x34]
push ecx
call eax
jmp 0x423c65
lea eax, [ebp - 0x34]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
cmp word [ebp - 0x34], 9
je 0x423c73
cmp word [ebp - 0x34], 6
jne 0x423c76
xor esi, esi
inc esi
mov eax, esi
call fcn.0043bfe2
ret
Function at 0x4243a3
Capabilities:
Check os version
Get token membership

Disassembly:
push ebp
lea ebp, [esp - 0xf4]
sub esp, 0x174
mov eax, dword [0x485d50]
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 0x4243ff
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 0x4244a3
lea eax, [ebp - 0x68]
push eax
mov dword [ebp - 0x68], 0x114
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x4244a3
cmp dword [ebp - 0x64], 6
jb 0x424454
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 0x4244a3
cmp dword [ebp - 0x78], 3
jne 0x424454
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 0x4244a3
cmp dword [ebp - 0x70], edi
jne 0x42446c
lea eax, [ebp - 0x70]
push eax
push 1
push dword [ebp - 0x6c]
call dword [sym.imp.ADVAPI32.dll_DuplicateToken]
test eax, eax
je 0x4244a3
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 0x4244a3
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 0x4244a9
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 0x6c], edi
je 0x4244bc
push dword [ebp - 0x6c]
call esi
mov dword [ebp - 0x6c], edi
cmp dword [ebp - 0x70], edi
je 0x4244c6
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.0043968e
add ebp, 0xf4
leave
ret
Function at 0x4245a2
Capabilities:
Get common file path

Disassembly:
push 8
mov eax, 0x45340b
call fcn.0043bf0a
call fcn.00428b72
push eax
lea ecx, [ebp - 0x10]
call fcn.0040fd20
xor esi, esi
push 0x104
lea ecx, [ebp - 0x10]
mov dword [ebp - 4], esi
call fcn.00402467
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.00408a36
cmp edi, esi
jne 0x424613
mov ecx, dword [ebp + 8]
lea eax, [ebp - 0x10]
push eax
call fcn.00408b20
mov ecx, dword [ebp + 8]
push str.AdobeARM1.0AdobeARM.exe
call fcn.0040893e
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.004025dc
xor eax, eax
inc eax
jmp 0x42464d
push str.SHGetFolderPath_in_GetCurrentExePath_failed:
lea ecx, [ebp - 0x14]
call fcn.0040215a
push edi
lea eax, [ebp - 0x14]
push eax
push 1
mov byte [ebp - 4], 1
call fcn.0040e5e0
mov ecx, dword [ebp - 0x14]
add esp, 0xc
add ecx, 0xfffffff0
mov esi, eax
call fcn.004025dc
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.004025dc
mov eax, esi
call fcn.0043bfe2
ret
Function at 0x424653
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4533cd
mov eax, dword fs:[0]
push eax
sub esp, 0x21c
mov eax, dword [0x485d50]
xor eax, esp
mov dword [esp + 0x214], eax
push ebx
push esi
mov eax, dword [0x485d50]
xor eax, esp
push eax
lea eax, [esp + 0x228]
mov dword fs:[0], eax
xor esi, esi
cmp dword [ebp + 8], esi
je 0x4246ac
push 0x48a534
mov ecx, edi
call fcn.00408b20
push 0x45dd50
jmp 0x4246f1
xor eax, eax
push 0x206
mov word [esp + 0x18], ax
lea eax, [esp + 0x1a]
push esi
push eax
call fcn.0043a400
add esp, 0xc
lea eax, [esp + 0x14]
push eax
push esi
push esi
push 0x2b
push esi
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
mov ebx, eax
cmp ebx, esi
jne 0x42480d
lea eax, [esp + 0x14]
push eax
mov ecx, edi
call fcn.00402123
push str.AdobeARM1.0_
mov ecx, edi
call fcn.0040893e
push 0x48a40c
mov ecx, edi
call fcn.00401f30
mov esi, dword [edi]
or ebx, 0xffffffff
call fcn.00416fe1
test eax, eax
jne 0x424808
push str.Will_attempt_to_use_legacy_launcher___not_found_or_not_valid:
lea ecx, [esp + 0x10]
call fcn.0040215a
push 0
xor eax, eax
push edi
lea ecx, [esp + 0x14]
inc eax
push ecx
push eax
mov dword [esp + 0x240], eax
call fcn.0040e15a
mov dword [esp + 0x240], ebx
mov ecx, dword [esp + 0x1c]
add esp, 0x10
add ecx, 0xfffffff0
call fcn.004025dc
push str._ArmPrefs
xor ecx, ecx
mov esi, 0x48aac0
call fcn.004087cc
cmp eax, ebx
jne 0x424783
push str._FixPDF
xor ecx, ecx
call fcn.004087cc
cmp eax, ebx
jne 0x424783
mov eax, 0x48a904
call fcn.004051d7
jmp 0x424798
push str._PRODUCT:Reader
xor ecx, ecx
call fcn.004087cc
xor ecx, ecx
cmp eax, ebx
setne cl
mov eax, ecx
test eax, eax
mov eax, 0x48a410
jne 0x4247a6
mov eax, 0x48a414
push dword [eax]
push dword [0x48a40c]
push edi
call fcn.00408652
mov esi, dword [edi]
call fcn.00416fe1
test eax, eax
jne 0x424808
push edi
lea eax, [esp + 0x14]
push str.Not_found_or_not_valid:
push eax
call fcn.00401e97
add esp, 0xc
mov esi, eax
mov dword [esp + 0x230], 2
call dword [sym.imp.KERNEL32.dll_GetLastError]
push esi
push 0x1fc98
mov ecx, eax
mov edx, 0x48aa88
call fcn.0040c9a1
mov ecx, dword [esp + 0x10]
add ecx, 0xfffffff0
call fcn.004025dc
push 0xd
pop eax
jmp 0x424842
xor eax, eax
inc eax
jmp 0x424842
push str.SHGetFolderPath_in_GetLauncherPath_failed:
lea ecx, [esp + 0x10]
call fcn.0040215a
push ebx
lea eax, [esp + 0x10]
push eax
push 1
mov dword [esp + 0x23c], esi
call fcn.0040e5e0
mov ecx, dword [esp + 0x18]
add esp, 0xc
add ecx, 0xfffffff0
mov esi, eax
call fcn.004025dc
mov eax, esi
mov ecx, dword [esp + 0x228]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [esp + 0x214]
xor ecx, esp
call fcn.0043968e
mov esp, ebp
pop ebp
ret
Function at 0x424865
Capabilities:
Get file version info

Disassembly:
push 0x18
mov eax, 0x453391
call fcn.0043bf0a
cmp dword [ebp + 0x10], 0
je 0x4248aa
push str.GetFileVersion__:
lea ecx, [ebp - 0x10]
call fcn.0040215a
and dword [ebp - 4], 0
push 0
push dword [ebp + 8]
lea eax, [ebp - 0x10]
push eax
push 2
call fcn.0040e15a
or dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x10]
add esp, 0x10
add ecx, 0xfffffff0
call fcn.004025dc
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 0x4249fb
push eax
call fcn.004287cb
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 0x4249bb
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x18]
push eax
push 0x45dd50
push dword [ebp - 0x10]
call sub.VERSION.dll_VerQueryValueW
cmp eax, 1
jne 0x42499f
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.004287d6
cmp dword [ebp + 0x10], 0
pop ecx
je 0x424997
call fcn.00428b72
push eax
lea ecx, [ebp + 0x10]
call fcn.0040fd20
push str.File_version:__1_u_._2_u_._3_u_._4_u_
lea ecx, [ebp + 8]
mov dword [ebp - 4], 1
call fcn.0040215a
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.0040d0d4
push 0
lea eax, [ebp + 0x10]
push eax
push 2
call fcn.0040e5e0
mov ecx, dword [ebp + 8]
add esp, 0x24
add ecx, 0xfffffff0
call fcn.004025dc
mov ecx, dword [ebp + 0x10]
add ecx, 0xfffffff0
call fcn.004025dc
xor eax, eax
inc eax
jmp 0x424a32
cmp dword [ebp + 0x10], 0
je 0x4249f0
push str.VerQueryValue___failed_in_GetFileVersion__.
lea ecx, [ebp + 0x10]
call fcn.0040215a
mov dword [ebp - 4], 3
jmp 0x4249d5
cmp dword [ebp + 0x10], 0
je 0x4249f0
push str.GetFileVersionInfo___failed_in_GetFileVersion__.
lea ecx, [ebp + 0x10]
call fcn.0040215a
mov dword [ebp - 4], 4
push 0
lea eax, [ebp + 0x10]
push eax
push 1
call fcn.0040e5e0
mov ecx, dword [ebp + 0x10]
add esp, 0xc
add ecx, 0xfffffff0
call fcn.004025dc
push dword [ebp - 0x10]
call fcn.004287d6
pop ecx
jmp 0x424a30
cmp dword [ebp + 0x10], 0
je 0x424a30
push str.GetFileVersionInfoSize___failed_in_GetFileVersion__.
lea ecx, [ebp - 0x14]
call fcn.0040215a
push 0
lea eax, [ebp - 0x14]
push eax
push 1
mov dword [ebp - 4], 5
call fcn.0040e5e0
mov ecx, dword [ebp - 0x14]
add esp, 0xc
add ecx, 0xfffffff0
call fcn.004025dc
xor eax, eax
call fcn.0043bfe2
ret
Function at 0x424e6a
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push 0x18
mov eax, 0x45460f
call fcn.0043bf0a
push str.FindCurrentPDFOwner...
lea ecx, [ebp - 0x18]
call fcn.0040215a
xor ebx, ebx
push ebx
lea eax, [ebp - 0x18]
push eax
push 2
mov dword [ebp - 4], ebx
call fcn.0040e5e0
or dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x18]
add esp, 0xc
add ecx, 0xfffffff0
call fcn.004025dc
mov dword [ebp - 0x18], ebx
call fcn.00428b72
push eax
lea ecx, [ebp - 0x14]
call fcn.0040fd20
mov dword [ebp - 4], 1
call fcn.00428b72
push eax
lea ecx, [ebp - 0x10]
call fcn.0040fd20
lea eax, [ebp - 0x14]
push eax
mov esi, 0x45df00
push esi
push str.AcroExch.Document.7_shell
mov edi, 0x80000000
push edi
mov byte [ebp - 4], 2
call fcn.00423590
add esp, 0x10
cmp eax, ebx
je 0x424f3a
push str.HKEY_CLASSES_ROOTAcroExch.Document.7_shell___no_value
lea ecx, [ebp - 0x18]
call fcn.0040215a
push ebx
lea eax, [ebp - 0x18]
push eax
push 2
mov byte [ebp - 4], 3
call fcn.0040e5e0
mov ecx, dword [ebp - 0x18]
add esp, 0xc
add ecx, 0xfffffff0
call fcn.004025dc
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.004025dc
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
call fcn.004025dc
xor eax, eax
call fcn.0043bfe2
ret
push str.Read
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_lstrcmpW]
test eax, eax
jne 0x424f58
lea eax, [ebp - 0x10]
push eax
push esi
push str.AcroExch.Document.7_shellReadcommand
jmp 0x424f74
push str.Open
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_lstrcmpW]
test eax, eax
jne 0x424fa6
lea eax, [ebp - 0x10]
push eax
push esi
push str.AcroExch.Document.7_shellOpencommand
push edi
call fcn.00423590
add esp, 0x10
cmp eax, ebx
je 0x424fa6
push str.HKEY_CLASSES_ROOTAcroExch.Document.7_shellOpencommand___no_value
lea ecx, [ebp - 0x1c]
call fcn.0040215a
push ebx
lea eax, [ebp - 0x1c]
push eax
push 2
mov byte [ebp - 4], 4
call fcn.0040e5e0
mov ecx, dword [ebp - 0x1c]
jmp 0x424f11
push esi
push str.___1_
lea eax, [ebp - 0x10]
push eax
call fcn.00408652
lea eax, [ebp - 0x10]
push eax
call fcn.004285fd
mov esi, dword [ebp - 0x10]
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x424fd5
lea ecx, [esi - 0x10]
jmp 0x424f22
push 1
push dword [ebp + 8]
lea eax, [ebp - 0x10]
push eax
lea esi, [ebp - 0x1c]
lea edi, [ebp - 0x20]
lea ebx, [ebp - 0x24]
call fcn.00424865
add esp, 0xc
test eax, eax
jne 0x425012
xor esi, esi
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.004025dc
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
call fcn.004025dc
mov eax, esi
jmp 0x424f34
push str.AcroRd32.exe
xor ecx, ecx
lea esi, [ebp - 0x10]
call fcn.004087cc
cmp eax, 0xffffffff
je 0x425037
mov eax, dword [ebp + 8]
cmp dword [eax], 8
jb 0x425037
mov dword [ebp - 0x18], 1
jmp 0x42505a
push str.Acrobat.exe
xor ecx, ecx
lea esi, [ebp - 0x10]
call fcn.004087cc
cmp eax, 0xffffffff
je 0x42505a
mov eax, dword [ebp + 8]
cmp dword [eax], 8
jb 0x42505a
mov dword [ebp - 0x18], 2
mov esi, dword [ebp - 0x18]
jmp 0x424ff5