joyce8/EMBER2024-capa huggingface dataset:
Function at 0x41ef68
Capabilities:
Enumerate gui resources

Disassembly:
push 0x29c
mov eax, 0x455900
call fcn.0043dd63
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.0042c915
cmp dword [0x48e930], ebx
mov dword [ebp - 0x14], ebx
jle 0x41f0d6
push dword [ebp - 0x14]
mov ecx, 0x48e928
call fcn.004162da
mov esi, eax
mov eax, dword [esi]
cmp eax, ebx
je 0x41f08c
cmp dword [eax + 0x20], ebx
jne 0x41f08c
add eax, 8
push eax
lea ecx, [ebp - 0x10]
mov dword [ebp - 0x18], ebx
call fcn.0040219e
push 0x474bdc
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 1
call fcn.00408d87
lea ecx, [ebp - 0x10]
test eax, eax
je 0x41f019
lea eax, [ebp - 0x20]
push eax
call fcn.0041eb33
lea ecx, [ebp - 0x10]
mov dword [esp], 0x45fe80
call fcn.00408e0c
mov eax, dword [esi]
add eax, 4
push eax
lea ecx, [ebp - 0x10]
call fcn.00401f30
jmp 0x41f024
mov eax, dword [esi]
add eax, 4
push eax
call fcn.00408fd2
mov esi, dword [esi]
mov eax, dword [esi + 0x1c]
mov edi, dword [ebp - 0x10]
cmp eax, 4
jne 0x41f04d
xor esi, esi
push ebx
inc esi
lea eax, [ebp - 0x18]
push esi
push eax
mov ecx, edi
call fcn.0041f557
add esp, 0xc
test eax, eax
je 0x41f06e
mov dword [ebp - 0x1c], esi
jmp 0x41f06e
cmp eax, ebx
jne 0x41f081
push dword [esi + 4]
lea eax, [ebp - 0x18]
push ebx
push eax
mov ecx, edi
call fcn.0041f557
add esp, 0xc
test eax, eax
je 0x41f06e
mov dword [ebp - 0x1c], 1
cmp dword [ebp - 0x18], ebx
je 0x41f081
push dword [ebp - 0x18]
push 0x41ea91
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 0x41efa8
cmp dword [ebp - 0x1c], ebx
je 0x41f0d6
push dword [0x48eafc]
lea eax, [ebp - 0x2a8]
push eax
call fcn.00415c09
lea ecx, [ebp - 0x2a8]
mov byte [ebp - 4], 2
call fcn.00436215
lea ecx, [ebp - 0x2a8]
mov esi, eax
mov byte [ebp - 4], bl
call fcn.00415d2e
jmp 0x41f0d9
xor esi, esi
inc esi
cmp esi, 4
je 0x41ef89
mov ecx, dword [ebp - 0x20]
add ecx, 0xfffffff0
call fcn.004025dc
mov eax, esi
call fcn.0043de3b
ret
Function at 0x41f7d3
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 0x41f80f
xor eax, eax
mov ecx, dword [ebp - 8]
pop edi
xor ecx, ebp
pop esi
call fcn.0043b4fa
leave
ret
lea ecx, [ebp - 0x63c]
push ecx
push eax
mov dword [ebp - 0x63c], 0x428
call sub.KERNEL32.dll_Module32FirstW
test eax, eax
jne 0x41f83c
xor edi, edi
push dword [ebp - 0x640]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, edi
jmp 0x41f801
push 0x45fe80
push ebx
call fcn.0043c42f
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 0x41f875
push ebx
lea eax, [ebp - 0x61c]
push eax
jmp 0x41f8c5
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x214], ax
lea eax, [ebp - 0x212]
push eax
call fcn.0043c330
add esp, 0xc
cmp dword [ebp - 0x644], 0
je 0x41f8d3
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 0x41f8d3
lea eax, [ebp - 0x214]
push eax
push ebx
call fcn.0043d48f
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 0x41f82c
test edi, edi
je 0x41f867
jmp 0x41f82c
Function at 0x420e32
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 0x420e82
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 0x420e82
push esi
lea eax, [ebp + 8]
push eax
push str.iLogLevel
lea esi, [ebp - 4]
call fcn.00424feb
pop ecx
pop ecx
pop esi
test eax, eax
jne 0x420e82
cmp dword [ebp + 8], 1
jae 0x420eb5
lea eax, [ebp + 8]
push eax
push 0xf003f
push 0
push dword [0x48e438]
push 0x80000001
call edi
test eax, eax
jne 0x420eb5
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 0x420f3b
Capabilities:
Shutdown system

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4557a8
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 0x420fae
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.0040ece1
mov ecx, dword [esp + 0x1c]
jmp 0x421040
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 0x42100b
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 0x420fa0
push 0x80000001
push 0x12
call dword [sym.imp.USER32.dll_ExitWindowsEx]
test eax, eax
jne 0x42104b
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.0040ece1
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 0x422bd5
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.0043c330
xor eax, eax
push esi
mov word [ebp + 0x198], ax
lea eax, [ebp + 0x19a]
push ebx
push eax
call fcn.0043c330
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 0x478f98
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 0x422c70
push 0xa
push 0x104
push edi
push dword [ebp - 0x78]
call fcn.0043c8c2
add esp, 0x10
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
cmp eax, 0x10
jge 0x422c86
push str.thsnYaViMRAeBoda
call fcn.00422f1d
mov ecx, dword [ebp + 0x3a4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0043b4fa
add ebp, 0x3a8
leave
ret
Function at 0x424bdf
Capabilities:
Get token membership

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

Function at 0x424ec4
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 0x424f28
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 0x424f39
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 0x424fd5
push esi
push 0x208
call fcn.0043bd36
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 0x424fc7
push edi
call fcn.0043bc59
mov eax, dword [ebp - 4]
add eax, eax
push eax
call fcn.0043bd36
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 0x424fd5
mov ecx, dword [ebp + 0x14]
push edi
call fcn.00402123
push edi
call fcn.0043bc59
pop ecx
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
mov eax, ebx
pop ebx
leave
ret
Function at 0x425021
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, 0x45fb80
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 0x42508d
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 0x42508d
mov dword [ebp - 8], 1
mov eax, dword [ebp - 8]
pop edi
pop esi
pop ebx
leave
ret

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

Function at 0x425412
Capabilities:
Check os version

Disassembly:
push 0x12c
mov eax, 0x4553f0
call fcn.0043ddcc
mov esi, 0x11c
push esi
xor ebx, ebx
lea eax, [ebp - 0x130]
push ebx
push eax
xor edi, edi
call fcn.0043c330
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 0x42546b
lea eax, [ebp - 0x130]
push eax
mov dword [ebp - 0x130], 0x114
call esi
cmp eax, ebx
je 0x425477
cmp dword [ebp - 0x12c], 6
jb 0x425477
xor edi, edi
inc edi
cmp byte [0x48eb19], bl
jne 0x4254eb
cmp edi, ebx
je 0x4254ad
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.0040ece1
mov ecx, dword [ebp - 0x138]
jmp 0x4254d9
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.0040ece1
mov ecx, dword [ebp - 0x134]
add esp, 0xc
add ecx, 0xfffffff0
call fcn.004025dc
mov byte [0x48eb19], 1
mov eax, edi
call fcn.0043de4f
ret
Function at 0x4254f3
Capabilities:
Check os version

Disassembly:
push 0x12c
mov eax, 0x4553b2
call fcn.0043ddcc
mov esi, 0x11c
push esi
lea eax, [ebp - 0x130]
push 0
push eax
call fcn.0043c330
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 0x425549
lea eax, [ebp - 0x130]
push eax
mov dword [ebp - 0x130], 0x114
call esi
test eax, eax
je 0x42558c
cmp dword [ebp - 0x12c], 5
jne 0x42558c
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.0040ece1
mov ecx, dword [ebp - 0x134]
add esp, 0xc
add ecx, 0xfffffff0
call fcn.004025dc
xor eax, eax
inc eax
jmp 0x42558e
xor eax, eax
call fcn.0043de4f
ret

Function at 0x425594
Capabilities:
Get system information on windows

Disassembly:
push 0x2c
mov eax, 0x45538c
call fcn.0043dd63
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 0x4255ec
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.0040ece1
mov ecx, dword [ebp - 0x10]
add esp, 0xc
add ecx, 0xfffffff0
call fcn.004025dc
xor eax, eax
jmp 0x425621
push str.GetNativeSystemInfo
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp eax, esi
je 0x425604
lea ecx, [ebp - 0x34]
push ecx
call eax
jmp 0x42560e
lea eax, [ebp - 0x34]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
cmp word [ebp - 0x34], 9
je 0x42561c
cmp word [ebp - 0x34], 6
jne 0x42561f
xor esi, esi
inc esi
mov eax, esi
call fcn.0043de3b
ret
Function at 0x425df0
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 0x425e4c
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 0x425ef0
lea eax, [ebp - 0x68]
push eax
mov dword [ebp - 0x68], 0x114
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x425ef0
cmp dword [ebp - 0x64], 6
jb 0x425ea1
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 0x425ef0
cmp dword [ebp - 0x78], 3
jne 0x425ea1
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 0x425ef0
cmp dword [ebp - 0x70], edi
jne 0x425eb9
lea eax, [ebp - 0x70]
push eax
push 1
push dword [ebp - 0x6c]
call dword [sym.imp.ADVAPI32.dll_DuplicateToken]
test eax, eax
je 0x425ef0
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 0x425ef0
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 0x425ef6
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 0x6c], edi
je 0x425f09
push dword [ebp - 0x6c]
call esi
mov dword [ebp - 0x6c], edi
cmp dword [ebp - 0x70], edi
je 0x425f13
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.0043b4fa
add ebp, 0xf4
leave
ret
Function at 0x425fef
Capabilities:
Get common file path

Disassembly:
push 8
mov eax, 0x4552df
call fcn.0043dd63
call fcn.0042a9e0
push eax
lea ecx, [ebp - 0x10]
call fcn.00410472
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.00408ee8
cmp edi, esi
jne 0x426060
mov ecx, dword [ebp + 8]
lea eax, [ebp - 0x10]
push eax
call fcn.00408fd2
mov ecx, dword [ebp + 8]
push str.AdobeARM1.0AdobeARM.exe
call fcn.00408e0c
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.004025dc
xor eax, eax
inc eax
jmp 0x42609a
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.0040ece1
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.0043de3b
ret
Function at 0x4260a0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4552a1
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 0x4260f9
push 0x48e53c
mov ecx, edi
call fcn.00408fd2
push 0x45fe80
jmp 0x42613e
xor eax, eax
push 0x206
mov word [esp + 0x18], ax
lea eax, [esp + 0x1a]
push esi
push eax
call fcn.0043c330
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 0x42625a
lea eax, [esp + 0x14]
push eax
mov ecx, edi
call fcn.00402123
push str.AdobeARM1.0_
mov ecx, edi
call fcn.00408e0c
push 0x48e40c
mov ecx, edi
call fcn.00401f30
mov esi, dword [edi]
or ebx, 0xffffffff
call fcn.004184aa
test eax, eax
jne 0x426255
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.0040e85b
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.00408c65
cmp eax, ebx
jne 0x4261d0
push str._FixPDF
xor ecx, ecx
call fcn.00408c65
cmp eax, ebx
jne 0x4261d0
mov eax, 0x48e90c
call fcn.0040521a
jmp 0x4261e5
push str._PRODUCT:Reader
xor ecx, ecx
call fcn.00408c65
xor ecx, ecx
cmp eax, ebx
setne cl
mov eax, ecx
test eax, eax
mov eax, 0x48e410
jne 0x4261f3
mov eax, 0x48e414
push dword [eax]
push dword [0x48e40c]
push edi
call fcn.00408aeb
mov esi, dword [edi]
call fcn.004184aa
test eax, eax
jne 0x426255
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.0040d106
mov ecx, dword [esp + 0x10]
add ecx, 0xfffffff0
call fcn.004025dc
push 0xd
pop eax
jmp 0x42628f
xor eax, eax
inc eax
jmp 0x42628f
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.0040ece1
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.0043b4fa
mov esp, ebp
pop ebp
ret
Function at 0x4262b2
Capabilities:
Get file version info

Disassembly:
push 0x18
mov eax, 0x455265
call fcn.0043dd63
cmp dword [ebp + 0x10], 0
je 0x4262f7
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.0040e85b
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 0x426448
push eax
call fcn.0042a644
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 0x426408
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x18]
push eax
push 0x45fe80
push dword [ebp - 0x10]
call sub.VERSION.dll_VerQueryValueW
cmp eax, 1
jne 0x4263ec
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.0042a639
cmp dword [ebp + 0x10], 0
pop ecx
je 0x4263e4
call fcn.0042a9e0
push eax
lea ecx, [ebp + 0x10]
call fcn.00410472
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.0040d7d5
push 0
lea eax, [ebp + 0x10]
push eax
push 2
call fcn.0040ece1
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 0x42647f
cmp dword [ebp + 0x10], 0
je 0x42643d
push str.VerQueryValue___failed_in_GetFileVersion__.
lea ecx, [ebp + 0x10]
call fcn.0040215a
mov dword [ebp - 4], 3
jmp 0x426422
cmp dword [ebp + 0x10], 0
je 0x42643d
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.0040ece1
mov ecx, dword [ebp + 0x10]
add esp, 0xc
add ecx, 0xfffffff0
call fcn.004025dc
push dword [ebp - 0x10]
call fcn.0042a639
pop ecx
jmp 0x42647d
cmp dword [ebp + 0x10], 0
je 0x42647d
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.0040ece1
mov ecx, dword [ebp - 0x14]
add esp, 0xc
add ecx, 0xfffffff0
call fcn.004025dc
xor eax, eax
call fcn.0043de3b
ret