joyce8/EMBER2024-capa huggingface dataset:
Function at 0x41ebbd
Capabilities:
Get common file path

Disassembly:
push ebp
sub esp, 0x208
lea ebp, [esp - 4]
mov eax, dword [0x489d50]
xor eax, ebp
mov dword [ebp + 0x208], eax
push 4
mov eax, 0x4540a0
call fcn.0043dfc3
mov eax, dword [ebp + 0x214]
push dword [eax]
mov esi, ecx
push 0x47790c
push esi
call fcn.00408af7
test eax, eax
jne 0x41ecc1
call fcn.0042ac34
push eax
lea ecx, [ebp - 0x10]
call fcn.004104de
and dword [ebp - 4], 0
mov edi, str._WindowsFolder_
push edi
xor ecx, ecx
call fcn.00408c71
or ebx, 0xffffffff
cmp eax, ebx
je 0x41ec28
push 0x24
jmp 0x41ec65
mov edi, str._SystemFolder_
push edi
xor ecx, ecx
call fcn.00408c71
cmp eax, ebx
je 0x41ec3d
push 0x25
jmp 0x41ec65
mov edi, str._ProgramFilesFolder_
push edi
xor ecx, ecx
call fcn.00408c71
cmp eax, ebx
je 0x41ec52
push 0x26
jmp 0x41ec65
mov edi, str._CommonFilesFolder_
push edi
xor ecx, ecx
call fcn.00408c71
cmp eax, ebx
je 0x41ecb6
push 0x2b
pop ebx
push edi
lea ecx, [ebp - 0x10]
call fcn.00402123
xor eax, eax
push 0x206
mov word [ebp], ax
xor edi, edi
lea eax, [ebp + 2]
push edi
push eax
call fcn.0043c590
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 0x41ecb6
lea eax, [ebp]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
test eax, eax
je 0x41ecb6
lea eax, [ebp]
push eax
push dword [ebp - 0x10]
push esi
call fcn.00408af7
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.004025dc
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.0043b751
add ebp, 0x20c
leave
ret
Function at 0x41eff1
Capabilities:
Enumerate gui resources

Disassembly:
push 0x29c
mov eax, 0x455b8b
call fcn.0043dfc3
push 0x48e96c
lea ecx, [ebp - 0x20]
call fcn.0040219e
xor ebx, ebx
mov dword [ebp - 4], ebx
push 0xffffffffffffffff
push ebx
mov ecx, 0x48eaa8
mov dword [ebp - 0x1c], ebx
call fcn.0042cb69
cmp dword [0x48e930], ebx
mov dword [ebp - 0x14], ebx
jle 0x41f15f
push dword [ebp - 0x14]
mov ecx, 0x48e928
call fcn.00416347
mov esi, eax
mov eax, dword [esi]
cmp eax, ebx
je 0x41f115
cmp dword [eax + 0x20], ebx
jne 0x41f115
add eax, 8
push eax
lea ecx, [ebp - 0x10]
mov dword [ebp - 0x18], ebx
call fcn.0040219e
push 0x474bf4
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 1
call fcn.00408d93
lea ecx, [ebp - 0x10]
test eax, eax
je 0x41f0a2
lea eax, [ebp - 0x20]
push eax
call fcn.0041ebbd
lea ecx, [ebp - 0x10]
mov dword [esp], 0x45fe80
call fcn.00408e18
mov eax, dword [esi]
add eax, 4
push eax
lea ecx, [ebp - 0x10]
call fcn.00401f30
jmp 0x41f0ad
mov eax, dword [esi]
add eax, 4
push eax
call fcn.00408fde
mov esi, dword [esi]
mov eax, dword [esi + 0x1c]
mov edi, dword [ebp - 0x10]
cmp eax, 4
jne 0x41f0d6
xor esi, esi
push ebx
inc esi
lea eax, [ebp - 0x18]
push esi
push eax
mov ecx, edi
call fcn.0041f5e0
add esp, 0xc
test eax, eax
je 0x41f0f7
mov dword [ebp - 0x1c], esi
jmp 0x41f0f7
cmp eax, ebx
jne 0x41f10a
push dword [esi + 4]
lea eax, [ebp - 0x18]
push ebx
push eax
mov ecx, edi
call fcn.0041f5e0
add esp, 0xc
test eax, eax
je 0x41f0f7
mov dword [ebp - 0x1c], 1
cmp dword [ebp - 0x18], ebx
je 0x41f10a
push dword [ebp - 0x18]
push 0x41eb1b
call dword [sym.imp.USER32.dll_EnumWindows]
lea ecx, [edi - 0x10]
mov byte [ebp - 4], bl
call fcn.004025dc
inc dword [ebp - 0x14]
mov eax, dword [ebp - 0x14]
cmp eax, dword [0x48e930]
jl 0x41f031
cmp dword [ebp - 0x1c], ebx
je 0x41f15f
push dword [0x48eafc]
lea eax, [ebp - 0x2a8]
push eax
call fcn.00415c76
lea ecx, [ebp - 0x2a8]
mov byte [ebp - 4], 2
call fcn.0043646c
lea ecx, [ebp - 0x2a8]
mov esi, eax
mov byte [ebp - 4], bl
call fcn.00415d9b
jmp 0x41f162
xor esi, esi
inc esi
cmp esi, 4
je 0x41f012
mov ecx, dword [ebp - 0x20]
add ecx, 0xfffffff0
call fcn.004025dc
mov eax, esi
call fcn.0043e09b
ret
Function at 0x41f85c
Capabilities:
Enumerate process modules

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x644
mov eax, dword [0x489d50]
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 0x41f898
xor eax, eax
mov ecx, dword [ebp - 8]
pop edi
xor ecx, ebp
pop esi
call fcn.0043b751
leave
ret
lea ecx, [ebp - 0x63c]
push ecx
push eax
mov dword [ebp - 0x63c], 0x428
call sub.KERNEL32.dll_Module32FirstW
test eax, eax
jne 0x41f8c5
xor edi, edi
push dword [ebp - 0x640]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, edi
jmp 0x41f88a
push 0x45fe80
push ebx
call fcn.0043c68f
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 0x41f8fe
push ebx
lea eax, [ebp - 0x61c]
push eax
jmp 0x41f94e
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x214], ax
lea eax, [ebp - 0x212]
push eax
call fcn.0043c590
add esp, 0xc
cmp dword [ebp - 0x644], 0
je 0x41f95c
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 0x41f95c
lea eax, [ebp - 0x214]
push eax
push ebx
call fcn.0043d6ef
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 0x41f8b5
test edi, edi
je 0x41f8f0
jmp 0x41f8b5
Function at 0x420f8a
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 0x420fda
and dword [ebp + 8], 0
lea eax, [ebp - 4]
push eax
push 0x20019
push 0
push dword [0x48e438]
push 0x80000002
call edi
test eax, eax
jne 0x420fda
push esi
lea eax, [ebp + 8]
push eax
push str.iLogLevel
lea esi, [ebp - 4]
call fcn.00425143
pop ecx
pop ecx
pop esi
test eax, eax
jne 0x420fda
cmp dword [ebp + 8], 1
jae 0x42100d
lea eax, [ebp + 8]
push eax
push 0xf003f
push 0
push dword [0x48e438]
push 0x80000001
call edi
test eax, eax
jne 0x42100d
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 0x421093
Capabilities:
Shutdown system

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x455a33
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push ebx
push esi
push edi
mov eax, dword [0x489d50]
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 0x421106
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.0040ed4d
mov ecx, dword [esp + 0x1c]
jmp 0x421198
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 0x421163
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 0x4210f8
push 0x80000001
push 0x12
call dword [sym.imp.USER32.dll_ExitWindowsEx]
test eax, eax
jne 0x4211a3
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.0040ed4d
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 0x422d2d
Capabilities:
Get disk information

Disassembly:
push ebp
lea ebp, [esp - 0x3a8]
sub esp, 0x428
mov eax, dword [0x489d50]
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.0043c590
xor eax, eax
push esi
mov word [ebp + 0x198], ax
lea eax, [ebp + 0x19a]
push ebx
push eax
call fcn.0043c590
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 0x479130
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 0x422dc8
push 0xa
push 0x104
push edi
push dword [ebp - 0x78]
call fcn.0043cb22
add esp, 0x10
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
cmp eax, 0x10
jge 0x422dde
push str.thsnYaViMRAeBoda
call fcn.00423075
mov ecx, dword [ebp + 0x3a4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0043b751
add ebp, 0x3a8
leave
ret
Function at 0x424d37
Capabilities:
Get token membership

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

Function at 0x42501c
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 0x425080
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 0x425091
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 0x42512d
push esi
push 0x208
call fcn.0043bf8d
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 0x42511f
push edi
call fcn.0043beb0
mov eax, dword [ebp - 4]
add eax, eax
push eax
call fcn.0043bf8d
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 0x42512d
mov ecx, dword [ebp + 0x14]
push edi
call fcn.00402123
push edi
call fcn.0043beb0
pop ecx
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
mov eax, ebx
pop ebx
leave
ret
Function at 0x425179
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, 0x45fb40
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 0x4251e5
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 0x4251e5
mov dword [ebp - 8], 1
mov eax, dword [ebp - 8]
pop edi
pop esi
pop ebx
leave
ret

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

Function at 0x42556a
Capabilities:
Check os version

Disassembly:
push 0x12c
mov eax, 0x455650
call fcn.0043e02c
mov esi, 0x11c
push esi
xor ebx, ebx
lea eax, [ebp - 0x130]
push ebx
push eax
xor edi, edi
call fcn.0043c590
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 0x4255c3
lea eax, [ebp - 0x130]
push eax
mov dword [ebp - 0x130], 0x114
call esi
cmp eax, ebx
je 0x4255cf
cmp dword [ebp - 0x12c], 6
jb 0x4255cf
xor edi, edi
inc edi
cmp byte [0x48eb19], bl
jne 0x425643
cmp edi, ebx
je 0x425605
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.0040ed4d
mov ecx, dword [ebp - 0x138]
jmp 0x425631
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.0040ed4d
mov ecx, dword [ebp - 0x134]
add esp, 0xc
add ecx, 0xfffffff0
call fcn.004025dc
mov byte [0x48eb19], 1
mov eax, edi
call fcn.0043e0af
ret
Function at 0x42564b
Capabilities:
Check os version

Disassembly:
push 0x12c
mov eax, 0x455612
call fcn.0043e02c
mov esi, 0x11c
push esi
lea eax, [ebp - 0x130]
push 0
push eax
call fcn.0043c590
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 0x4256a1
lea eax, [ebp - 0x130]
push eax
mov dword [ebp - 0x130], 0x114
call esi
test eax, eax
je 0x4256e4
cmp dword [ebp - 0x12c], 5
jne 0x4256e4
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.0040ed4d
mov ecx, dword [ebp - 0x134]
add esp, 0xc
add ecx, 0xfffffff0
call fcn.004025dc
xor eax, eax
inc eax
jmp 0x4256e6
xor eax, eax
call fcn.0043e0af
ret

Function at 0x4256ec
Capabilities:
Get system information on windows

Disassembly:
push 0x2c
mov eax, 0x4555ec
call fcn.0043dfc3
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 0x425744
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.0040ed4d
mov ecx, dword [ebp - 0x10]
add esp, 0xc
add ecx, 0xfffffff0
call fcn.004025dc
xor eax, eax
jmp 0x425779
push str.GetNativeSystemInfo
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp eax, esi
je 0x42575c
lea ecx, [ebp - 0x34]
push ecx
call eax
jmp 0x425766
lea eax, [ebp - 0x34]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
cmp word [ebp - 0x34], 9
je 0x425774
cmp word [ebp - 0x34], 6
jne 0x425777
xor esi, esi
inc esi
mov eax, esi
call fcn.0043e09b
ret
Function at 0x425f48
Capabilities:
Check os version
Get token membership

Disassembly:
push ebp
lea ebp, [esp - 0xf4]
sub esp, 0x174
mov eax, dword [0x489d50]
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 0x425fa4
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 0x426048
lea eax, [ebp - 0x68]
push eax
mov dword [ebp - 0x68], 0x114
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x426048
cmp dword [ebp - 0x64], 6
jb 0x425ff9
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 0x426048
cmp dword [ebp - 0x78], 3
jne 0x425ff9
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 0x426048
cmp dword [ebp - 0x70], edi
jne 0x426011
lea eax, [ebp - 0x70]
push eax
push 1
push dword [ebp - 0x6c]
call dword [sym.imp.ADVAPI32.dll_DuplicateToken]
test eax, eax
je 0x426048
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 0x426048
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 0x42604e
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 0x6c], edi
je 0x426061
push dword [ebp - 0x6c]
call esi
mov dword [ebp - 0x6c], edi
cmp dword [ebp - 0x70], edi
je 0x42606b
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.0043b751
add ebp, 0xf4
leave
ret
Function at 0x426147
Capabilities:
Get common file path

Disassembly:
push 8
mov eax, 0x454c40
call fcn.0043dfc3
call fcn.0042ac34
push eax
lea ecx, [ebp - 0x10]
call fcn.004104de
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.00408ef4
cmp edi, esi
jne 0x4261b8
mov ecx, dword [ebp + 8]
lea eax, [ebp - 0x10]
push eax
call fcn.00408fde
mov ecx, dword [ebp + 8]
push str.AdobeARM1.0AdobeARM.exe
call fcn.00408e18
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.004025dc
xor eax, eax
inc eax
jmp 0x4261f2
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.0040ed4d
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.0043e09b
ret
Function at 0x4261f8
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x45552c
mov eax, dword fs:[0]
push eax
sub esp, 0x21c
mov eax, dword [0x489d50]
xor eax, esp
mov dword [esp + 0x214], eax
push ebx
push esi
mov eax, dword [0x489d50]
xor eax, esp
push eax
lea eax, [esp + 0x228]
mov dword fs:[0], eax
xor esi, esi
cmp dword [ebp + 8], esi
je 0x426251
push 0x48e53c
mov ecx, edi
call fcn.00408fde
push 0x45fe80
jmp 0x426296
xor eax, eax
push 0x206
mov word [esp + 0x18], ax
lea eax, [esp + 0x1a]
push esi
push eax
call fcn.0043c590
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 0x4263b2
lea eax, [esp + 0x14]
push eax
mov ecx, edi
call fcn.00402123
push str.AdobeARM1.0_
mov ecx, edi
call fcn.00408e18
push 0x48e40c
mov ecx, edi
call fcn.00401f30
mov esi, dword [edi]
or ebx, 0xffffffff
call fcn.00418534
test eax, eax
jne 0x4263ad
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.0040e8c7
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, 0x48eaf4
call fcn.00408c71
cmp eax, ebx
jne 0x426328
push str._FixPDF
xor ecx, ecx
call fcn.00408c71
cmp eax, ebx
jne 0x426328
mov eax, 0x48e90c
call fcn.0040521a
jmp 0x42633d
push str._PRODUCT:Reader
xor ecx, ecx
call fcn.00408c71
xor ecx, ecx
cmp eax, ebx
setne cl
mov eax, ecx
test eax, eax
mov eax, 0x48e410
jne 0x42634b
mov eax, 0x48e414
push dword [eax]
push dword [0x48e40c]
push edi
call fcn.00408af7
mov esi, dword [edi]
call fcn.00418534
test eax, eax
jne 0x4263ad
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, 0x48eabc
call fcn.0040d172
mov ecx, dword [esp + 0x10]
add ecx, 0xfffffff0
call fcn.004025dc
push 0xd
pop eax
jmp 0x4263e7
xor eax, eax
inc eax
jmp 0x4263e7
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.0040ed4d
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.0043b751
mov esp, ebp
pop ebp
ret