joyce8/EMBER2024-capa huggingface dataset:
Function at 0x41b9cf
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x468
mov eax, dword [0x47bd50]
xor eax, ebp
mov dword [ebp - 8], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
xor esi, esi
mov dword [ebp - 0x460], eax
mov eax, dword [ebp + 0x10]
push esi
mov edi, ecx
push 2
mov dword [ebp - 0x44c], edi
mov dword [ebp - 0x454], eax
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov dword [ebp - 0x448], eax
cmp eax, 0xffffffff
jne 0x41ba40
push 0xa
call dword [sym.imp.KERNEL32.dll_Sleep]
push esi
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov dword [ebp - 0x448], eax
cmp eax, 0xffffffff
jne 0x41ba40
xor eax, eax
mov ecx, dword [ebp - 8]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00433fff
leave
ret
lea eax, [ebp - 0x444]
push eax
push dword [ebp - 0x448]
mov dword [ebp - 0x444], 0x22c
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
jne 0x41ba70
push dword [ebp - 0x448]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, esi
jmp 0x41ba31
push 0x457b3c
push edi
call fcn.00434ebf
neg eax
sbb eax, eax
pop ecx
neg eax
pop ecx
mov dword [ebp - 0x458], eax
mov edi, 0x104
jmp 0x41ba96
mov eax, dword [ebp - 0x458]
cmp dword [ebp + 0xc], 0
mov ebx, dword [ebp - 0x43c]
mov dword [ebp - 0x464], ebx
je 0x41babb
push ebx
mov ebx, dword [ebp - 0x44c]
call fcn.0041bbfd
mov esi, eax
jmp 0x41bbc3
test eax, eax
jne 0x41baca
push dword [ebp - 0x44c]
jmp 0x41bbaf
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x214], ax
lea eax, [ebp - 0x212]
push eax
mov dword [ebp - 0x45c], edi
call fcn.00434dc0
add esp, 0xc
push ebx
xor ebx, ebx
push ebx
push 0x2000000
call dword [sym.imp.KERNEL32.dll_OpenProcess]
push str.Kernel32.dll
mov dword [ebp - 0x450], eax
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x41bb5b
push str.QueryFullProcessImageNameW
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ebx, eax
test ebx, ebx
je 0x41bb5b
lea eax, [ebp - 0x45c]
push eax
lea eax, [ebp - 0x214]
push eax
push 0
push dword [ebp - 0x450]
call ebx
test eax, eax
je 0x41bb5b
lea eax, [ebp - 0x214]
push eax
push dword [ebp - 0x44c]
call fcn.00435f9f
mov esi, eax
neg esi
pop ecx
sbb esi, esi
pop ecx
inc esi
test esi, esi
jne 0x41bbc8
test ebx, ebx
jne 0x41bbd6
cmp dword [ebp - 0x450], ebx
je 0x41bba1
push edi
lea eax, [ebp - 0x214]
push eax
push ebx
push dword [ebp - 0x450]
call sub.PSAPI.DLL_GetModuleFileNameExW
test eax, eax
je 0x41bba1
push edi
lea eax, [ebp - 0x214]
push eax
push eax
call dword [sym.imp.KERNEL32.dll_GetLongPathNameW]
lea eax, [ebp - 0x214]
push eax
push dword [ebp - 0x44c]
jmp 0x41bbb6
cmp dword [ebp - 0x454], ebx
je 0x41bbd6
push dword [ebp - 0x454]
lea eax, [ebp - 0x420]
push eax
call fcn.00435f9f
mov esi, eax
neg esi
sbb esi, esi
pop ecx
inc esi
pop ecx
test esi, esi
je 0x41bbd6
mov eax, dword [ebp - 0x464]
mov ecx, dword [ebp - 0x460]
mov dword [ecx], eax
lea eax, [ebp - 0x444]
push eax
push dword [ebp - 0x448]
call sub.KERNEL32.dll_Process32NextW
test eax, eax
je 0x41ba60
test esi, esi
je 0x41ba90
jmp 0x41ba60
Function at 0x41bbfd
Capabilities:
Enumerate process modules

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x644
mov eax, dword [0x47bd50]
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 0x41bc39
xor eax, eax
mov ecx, dword [ebp - 8]
pop edi
xor ecx, ebp
pop esi
call fcn.00433fff
leave
ret
lea ecx, [ebp - 0x63c]
push ecx
push eax
mov dword [ebp - 0x63c], 0x428
call sub.KERNEL32.dll_Module32FirstW
test eax, eax
jne 0x41bc66
xor edi, edi
push dword [ebp - 0x640]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, edi
jmp 0x41bc2b
push 0x457b3c
push ebx
call fcn.00434ebf
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 0x41bc9f
push ebx
lea eax, [ebp - 0x61c]
push eax
jmp 0x41bcef
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x214], ax
lea eax, [ebp - 0x212]
push eax
call fcn.00434dc0
add esp, 0xc
cmp dword [ebp - 0x644], 0
je 0x41bcfd
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 0x41bcfd
lea eax, [ebp - 0x214]
push eax
push ebx
call fcn.00435f9f
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 0x41bc56
test edi, edi
je 0x41bc91
jmp 0x41bc56
Function at 0x41bd24
Capabilities:
Shutdown system

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x44e0bc
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push ebx
push esi
push edi
mov eax, dword [0x47bd50]
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 0x41bd97
push str.OpenProcessToken_failed_in_RebootOS.
lea ecx, [esp + 0x14]
call fcn.00402148
and dword [esp + 0x38], 0
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea eax, [esp + 0x14]
push eax
push 2
call fcn.0040e1e3
mov ecx, dword [esp + 0x1c]
jmp 0x41be29
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 0x41bdf4
push str.AdjustTokenPrivileges_failed_in_RebootOS.
lea ecx, [esp + 0x14]
call fcn.00402148
mov dword [esp + 0x38], ebx
call esi
push eax
lea eax, [esp + 0x14]
push eax
push edi
jmp 0x41bd89
push 0x80000001
push 0x12
call dword [sym.imp.USER32.dll_ExitWindowsEx]
test eax, eax
jne 0x41be34
push str.ExitWindowsEx_failed_in_RebootOS.
lea ecx, [esp + 0x18]
call fcn.00402148
mov dword [esp + 0x38], edi
call esi
push eax
lea eax, [esp + 0x18]
push eax
push edi
call fcn.0040e1e3
mov ecx, dword [esp + 0x20]
add esp, 0xc
add ecx, 0xfffffff0
call fcn.004025ca
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 0x41c8da
Capabilities:
Get disk information

Disassembly:
push ebp
lea ebp, [esp - 0x3a8]
sub esp, 0x428
mov eax, dword [0x47bd50]
xor eax, ebp
mov dword [ebp + 0x3a4], eax
push esi
push edi
xor eax, eax
mov esi, 0x208
push esi
mov word [ebp - 0x74], ax
xor edi, edi
lea eax, [ebp - 0x72]
push edi
push eax
call fcn.00434dc0
xor eax, eax
push esi
mov word [ebp + 0x198], ax
lea eax, [ebp + 0x19a]
push edi
push eax
call fcn.00434dc0
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 0x46d560
mov dword [ebp - 0x78], edi
mov dword [ebp - 0x7c], edi
mov dword [ebp - 0x80], edi
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationW]
pop edi
pop esi
test eax, eax
je 0x41c974
push 0xa
push 0x104
push ebx
push dword [ebp - 0x78]
call fcn.004353d0
add esp, 0x10
push ebx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
cmp eax, 0x10
jge 0x41c98c
push str.thsnYaViMRAeBoda
mov eax, ebx
call fcn.0041cbb0
mov ecx, dword [ebp + 0x3a4]
xor ecx, ebp
call fcn.00433fff
add ebp, 0x3a8
leave
ret

Function at 0x41e6cc
Capabilities:
Get token membership

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

Function at 0x41e8bd
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.00402148
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 0x41e921
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.004025ca
pop edi
mov eax, esi
pop esi
leave
ret
Function at 0x41e932
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 0x41e9ce
push esi
push 0x208
call fcn.0043483b
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 0x41e9c0
push edi
call fcn.0043475e
mov eax, dword [ebp - 4]
add eax, eax
push eax
call fcn.0043483b
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 0x41e9ce
mov ecx, dword [ebp + 0x14]
push edi
call fcn.00402111
push edi
call fcn.0043475e
pop ecx
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
mov eax, ebx
pop ebx
leave
ret

Function at 0x41ea1a
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, 0x459b78
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 0x41ea86
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 0x41ea86
mov dword [ebp - 8], 1
mov eax, dword [ebp - 8]
pop edi
pop esi
pop ebx
leave
ret

Function at 0x41ea8e
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 0x41eac0
push dword [ebp + 0x10]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
cmp eax, esi
jne 0x41eac0
inc esi
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
leave
ret
Function at 0x41ee0b
Capabilities:
Check os version

Disassembly:
push 0x12c
mov eax, 0x44de87
call fcn.0043676f
mov esi, 0x11c
push esi
xor ebx, ebx
lea eax, [ebp - 0x130]
push ebx
push eax
xor edi, edi
call fcn.00434dc0
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 0x41ee64
lea eax, [ebp - 0x130]
push eax
mov dword [ebp - 0x130], 0x114
call esi
cmp eax, ebx
je 0x41ee70
cmp dword [ebp - 0x12c], 6
jb 0x41ee70
xor edi, edi
inc edi
cmp byte [0x480ab5], bl
jne 0x41eee4
cmp edi, ebx
je 0x41eea6
push str.IsVistaOrLater_returns_1
lea ecx, [ebp - 0x138]
call fcn.00402148
push ebx
lea eax, [ebp - 0x138]
push eax
push 2
mov dword [ebp - 4], ebx
call fcn.0040e1e3
mov ecx, dword [ebp - 0x138]
jmp 0x41eed2
push str.IsVistaOrLater_returns_0
lea ecx, [ebp - 0x134]
call fcn.00402148
push ebx
lea eax, [ebp - 0x134]
push eax
push 2
mov dword [ebp - 4], 1
call fcn.0040e1e3
mov ecx, dword [ebp - 0x134]
add esp, 0xc
add ecx, 0xfffffff0
call fcn.004025ca
mov byte [0x480ab5], 1
mov eax, edi
call fcn.004367f2
ret

Function at 0x41eeec
Capabilities:
Check os version

Disassembly:
push 0x12c
mov eax, 0x44de49
call fcn.0043676f
mov esi, 0x11c
push esi
lea eax, [ebp - 0x130]
push 0
push eax
call fcn.00434dc0
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 0x41ef42
lea eax, [ebp - 0x130]
push eax
mov dword [ebp - 0x130], 0x114
call esi
test eax, eax
je 0x41ef85
cmp dword [ebp - 0x12c], 5
jne 0x41ef85
push str.IsXP_returns_1
lea ecx, [ebp - 0x134]
call fcn.00402148
and dword [ebp - 4], 0
push 0
lea eax, [ebp - 0x134]
push eax
push 2
call fcn.0040e1e3
mov ecx, dword [ebp - 0x134]
add esp, 0xc
add ecx, 0xfffffff0
call fcn.004025ca
xor eax, eax
inc eax
jmp 0x41ef87
xor eax, eax
call fcn.004367f2
ret

Function at 0x41ef8d
Capabilities:
Get system information on windows

Disassembly:
push 0x2c
mov eax, 0x44de23
call fcn.00436706
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 0x41efe5
push str.module_handle_is_NULL:_kernel32.dll
lea ecx, [ebp - 0x10]
call fcn.00402148
push esi
lea eax, [ebp - 0x10]
push eax
push 1
mov dword [ebp - 4], esi
call fcn.0040e1e3
mov ecx, dword [ebp - 0x10]
add esp, 0xc
add ecx, 0xfffffff0
call fcn.004025ca
xor eax, eax
jmp 0x41f01a
push str.GetNativeSystemInfo
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp eax, esi
je 0x41effd
lea ecx, [ebp - 0x34]
push ecx
call eax
jmp 0x41f007
lea eax, [ebp - 0x34]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
cmp word [ebp - 0x34], 9
je 0x41f015
cmp word [ebp - 0x34], 6
jne 0x41f018
xor esi, esi
inc esi
mov eax, esi
call fcn.004367de
ret
Function at 0x41f6b9
Capabilities:
Check os version
Get token membership

Disassembly:
push ebp
lea ebp, [esp - 0xf4]
sub esp, 0x174
mov eax, dword [0x47bd50]
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 0x41f715
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 0x41f7b9
lea eax, [ebp - 0x68]
push eax
mov dword [ebp - 0x68], 0x114
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x41f7b9
cmp dword [ebp - 0x64], 6
jb 0x41f76a
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 0x41f7b9
cmp dword [ebp - 0x78], 3
jne 0x41f76a
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 0x41f7b9
cmp dword [ebp - 0x70], edi
jne 0x41f782
lea eax, [ebp - 0x70]
push eax
push 1
push dword [ebp - 0x6c]
call dword [sym.imp.ADVAPI32.dll_DuplicateToken]
test eax, eax
je 0x41f7b9
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 0x41f7b9
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 0x41f7bf
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 0x6c], edi
je 0x41f7d2
push dword [ebp - 0x6c]
call esi
mov dword [ebp - 0x6c], edi
cmp dword [ebp - 0x70], edi
je 0x41f7dc
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.00433fff
add ebp, 0xf4
leave
ret
Function at 0x41f8b8
Capabilities:
Get common file path

Disassembly:
push 8
mov eax, 0x44dd81
call fcn.00436706
call fcn.004234c0
push eax
lea ecx, [ebp - 0x10]
call fcn.0040f910
xor esi, esi
push 0x104
lea ecx, [ebp - 0x10]
mov dword [ebp - 4], esi
call fcn.00402455
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.004087aa
cmp edi, esi
jne 0x41f929
mov ecx, dword [ebp + 8]
lea eax, [ebp - 0x10]
push eax
call fcn.00408894
mov ecx, dword [ebp + 8]
push str.AdobeARM1.0AdobeARM.exe
call fcn.004086b5
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.004025ca
xor eax, eax
inc eax
jmp 0x41f963
push str.SHGetFolderPath_in_GetCurrentExePath_failed:
lea ecx, [ebp - 0x14]
call fcn.00402148
push edi
lea eax, [ebp - 0x14]
push eax
push 1
mov byte [ebp - 4], 1
call fcn.0040e1e3
mov ecx, dword [ebp - 0x14]
add esp, 0xc
add ecx, 0xfffffff0
mov esi, eax
call fcn.004025ca
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.004025ca
mov eax, esi
call fcn.004367de
ret
Function at 0x41f969
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x44dd43
mov eax, dword fs:[0]
push eax
sub esp, 0x21c
mov eax, dword [0x47bd50]
xor eax, esp
mov dword [esp + 0x214], eax
push ebx
push esi
mov eax, dword [0x47bd50]
xor eax, esp
push eax
lea eax, [esp + 0x228]
mov dword fs:[0], eax
xor esi, esi
cmp dword [ebp + 8], esi
je 0x41f9c2
push 0x48050c
mov ecx, edi
call fcn.00408894
push 0x457b3c
jmp 0x41fa07
xor eax, eax
push 0x206
mov word [esp + 0x18], ax
lea eax, [esp + 0x1a]
push esi
push eax
call fcn.00434dc0
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 0x41fae7
lea eax, [esp + 0x14]
push eax
mov ecx, edi
call fcn.00402111
push str.AdobeARM1.0_
mov ecx, edi
call fcn.004086b5
push 0x4803f4
mov ecx, edi
call fcn.00401f1d
mov esi, dword [edi]
or ebx, 0xffffffff
call fcn.00416714
test eax, eax
jne 0x41fae2
push str.Will_attempt_to_use_legacy_launcher___not_found_or_not_valid:
lea ecx, [esp + 0x10]
call fcn.00402148
push 0
xor eax, eax
push edi
lea ecx, [esp + 0x14]
inc eax
push ecx
push eax
mov dword [esp + 0x240], eax
call fcn.0040dd5d
mov dword [esp + 0x240], ebx
mov ecx, dword [esp + 0x1c]
add esp, 0x10
add ecx, 0xfffffff0
call fcn.004025ca
mov eax, 0x4808dc
call fcn.0040518a
test eax, eax
mov eax, 0x4803f8
jne 0x41fa80
mov eax, 0x4803fc
push dword [eax]
push dword [0x4803f4]
push edi
call fcn.004083c9
mov esi, dword [edi]
call fcn.00416714
test eax, eax
jne 0x41fae2
push edi
lea eax, [esp + 0x14]
push str.Not_found_or_not_valid:
push eax
call fcn.00401e84
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, 0x480a54
call fcn.0040c5be
mov ecx, dword [esp + 0x10]
add ecx, 0xfffffff0
call fcn.004025ca
push 0xd
pop eax
jmp 0x41fb1c
xor eax, eax
inc eax
jmp 0x41fb1c
push str.SHGetFolderPath_in_GetLauncherPath_failed:
lea ecx, [esp + 0x10]
call fcn.00402148
push ebx
lea eax, [esp + 0x10]
push eax
push 1
mov dword [esp + 0x23c], esi
call fcn.0040e1e3
mov ecx, dword [esp + 0x18]
add esp, 0xc
add ecx, 0xfffffff0
mov esi, eax
call fcn.004025ca
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.00433fff
mov esp, ebp
pop ebp
ret
Function at 0x41fb3f
Capabilities:
Get file version info

Disassembly:
push 0x18
mov eax, 0x44dd07
call fcn.00436706
cmp dword [ebp + 0x10], 0
je 0x41fb84
push str.GetFileVersion__:
lea ecx, [ebp - 0x10]
call fcn.00402148
and dword [ebp - 4], 0
push 0
push dword [ebp + 8]
lea eax, [ebp - 0x10]
push eax
push 2
call fcn.0040dd5d
or dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x10]
add esp, 0x10
add ecx, 0xfffffff0
call fcn.004025ca
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 0x41fcd9
push eax
call fcn.00423146
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 0x41fc95
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x18]
push eax
push 0x457b3c
push dword [ebp - 0x10]
call sub.VERSION.dll_VerQueryValueW
cmp eax, 1
jne 0x41fc79
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.0042313b
cmp dword [ebp + 0x10], 0
pop ecx
je 0x41fc71
call fcn.004234c0
push eax
lea ecx, [ebp + 0x10]
call fcn.0040f910
push str.File_version:__1_u_._2_u_._3_u_._4_u_
lea ecx, [ebp + 8]
mov dword [ebp - 4], 1
call fcn.00402148
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.0040ccec
push 0
lea eax, [ebp + 0x10]
push eax
push 2
call fcn.0040e1e3
mov ecx, dword [ebp + 8]
add esp, 0x24
add ecx, 0xfffffff0
call fcn.004025ca
mov ecx, dword [ebp + 0x10]
add ecx, 0xfffffff0
call fcn.004025ca
xor eax, eax
inc eax
jmp 0x41fd10
cmp dword [ebp + 0x10], 0
je 0x41fcce
push str.VerQueryValue___failed_in_GetFileVersion__.
lea ecx, [ebp + 0x10]
call fcn.00402148
mov dword [ebp - 4], 3
jmp 0x41fcaf
cmp dword [ebp + 0x10], 0
je 0x41fcce
push str.GetFileVersionInfo___failed_in_GetFileVersion__.
lea ecx, [ebp + 0x10]
call fcn.00402148
mov dword [ebp - 4], 4
push 0
lea eax, [ebp + 0x10]
push eax
push 1
call fcn.0040e1e3
or dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp + 0x10]
add esp, 0xc
add ecx, 0xfffffff0
call fcn.004025ca
push dword [ebp - 0x10]
call fcn.0042313b
pop ecx
jmp 0x41fd0e
cmp dword [ebp + 0x10], 0
je 0x41fd0e
push str.GetFileVersionInfoSize___failed_in_GetFileVersion__.
lea ecx, [ebp - 0x14]
call fcn.00402148
push 0
lea eax, [ebp - 0x14]
push eax
push 1
mov dword [ebp - 4], 5
call fcn.0040e1e3
mov ecx, dword [ebp - 0x14]
add esp, 0xc
add ecx, 0xfffffff0
call fcn.004025ca
xor eax, eax
call fcn.004367de
ret