Function at 0x42a860
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x42fdfb
mov eax, dword fs:[0]
push eax
sub esp, 0x488
mov eax, dword [0x43fc54]
xor eax, ebp
mov dword [ebp - 0x18], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0
push 0x4385cc
push str.GetTokenFromAdobeArmProcess...
call fcn.00428bf0
add esp, 0xc
mov dword [ebp - 0x250], 0
mov dword [ebp - 0x14], 0
lea eax, [ebp - 0x14]
push eax
push str.iSkipAdobeArmExe
mov ecx, 0x443c80
call fcn.004016d0
push eax
push 0x80000002
call fcn.004289e0
add esp, 0x10
cmp dword [ebp - 0x14], 1
jne 0x42a8f6
push 0
push 0x438634
push str.GetTokenFromAdobeArmProcess_disabled_for_testing
call fcn.00428bf0
add esp, 0xc
mov eax, dword [ebp - 0x250]
jmp 0x42ad7e
lea ecx, [ebp - 0x254]
call fcn.00402600
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x254]
push ecx
call fcn.00427010
add esp, 4
test eax, eax
jne 0x42a944
mov edx, dword [ebp - 0x250]
mov dword [ebp - 0x484], edx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x254]
call fcn.00402740
mov eax, dword [ebp - 0x484]
jmp 0x42ad7e
push 0
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0xffffffff
jne 0x42a998
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0x43869c
push 0x4386a0
call fcn.00428bf0
add esp, 0xc
mov eax, dword [ebp - 0x250]
mov dword [ebp - 0x488], eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x254]
call fcn.00402740
mov eax, dword [ebp - 0x488]
jmp 0x42ad7e
mov dword [ebp - 0x24c], 0x22c
lea ecx, [ebp - 0x24c]
push ecx
mov edx, dword [ebp - 0x10]
push edx
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
jne 0x42aa02
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0x4386e0
push 0x4386e4
call fcn.00428bf0
add esp, 0xc
mov eax, dword [ebp - 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 0x250]
mov dword [ebp - 0x48c], ecx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x254]
call fcn.00402740
mov eax, dword [ebp - 0x48c]
jmp 0x42ad7e
lea edx, [ebp - 0x228]
push edx
lea ecx, [ebp - 0x258]
call fcn.00402640
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x258]
call fcn.00402b20
push str.adobearm.exe
lea eax, [ebp - 0x258]
push eax
call fcn.00402ed0
add esp, 8
movzx ecx, al
test ecx, ecx
je 0x42ad0c
mov edx, dword [ebp - 0x244]
push edx
push 0
push 0x2000000
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov dword [ebp - 0x25c], eax
cmp dword [ebp - 0x25c], 0
je 0x42acf6
cmp dword [ebp - 0x25c], 0xffffffff
je 0x42acf6
mov dword [ebp - 0x264], 0x104
xor eax, eax
mov word [ebp - 0x474], ax
push 0x206
push 0
lea ecx, [ebp - 0x472]
push ecx
call fcn.00411600
add esp, 0xc
mov dword [ebp - 0x268], 0
push 0x104
lea edx, [ebp - 0x474]
push edx
push 0
mov eax, dword [ebp - 0x25c]
push eax
call sub.PSAPI.DLL_GetModuleFileNameExW
mov dword [ebp - 0x260], eax
cmp dword [ebp - 0x260], 0
je 0x42ab13
push 0x104
lea ecx, [ebp - 0x474]
push ecx
lea edx, [ebp - 0x474]
push edx
call dword [sym.imp.KERNEL32.dll_GetLongPathNameW]
lea eax, [ebp - 0x474]
push eax
lea ecx, [ebp - 0x254]
call fcn.004016d0
push eax
call fcn.00410e27
add esp, 8
neg eax
sbb eax, eax
add eax, 1
mov dword [ebp - 0x268], eax
cmp dword [ebp - 0x268], 0
je 0x42acf6
mov dword [ebp - 0x478], 0
mov dword [ebp - 0x47c], 0
mov dword [ebp - 0x480], 0xa
lea ecx, [ebp - 0x478]
push ecx
mov edx, dword [ebp - 0x480]
push edx
mov eax, dword [ebp - 0x25c]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x42ac5c
lea ecx, [ebp - 0x478]
push ecx
call fcn.00428e30
add esp, 4
test eax, eax
je 0x42aba7
push 0
lea ecx, [ebp - 0x254]
call fcn.004016d0
push eax
push 0x438730
call fcn.00428bf0
add esp, 0xc
mov edx, dword [ebp - 0x478]
mov dword [ebp - 0x47c], edx
mov dword [ebp - 0x250], 1
jmp 0x42abd7
push 0
lea ecx, [ebp - 0x254]
call fcn.004016d0
push eax
push 0x4387b0
call fcn.00428bf0
add esp, 0xc
mov eax, dword [ebp - 0x478]
push eax
call fcn.00428890
add esp, 4
mov dword [ebp - 0x47c], eax
cmp dword [ebp - 0x47c], 0
jne 0x42abfd
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea ecx, [ebp - 0x228]
push ecx
push 0x438784
call fcn.00428bf0
add esp, 0xc
jmp 0x42ac5a
mov edx, dword [ebp + 8]
push edx
push 1
push 1
push 0
push 0x2000000
mov eax, dword [ebp - 0x47c]
push eax
call dword [sym.imp.ADVAPI32.dll_DuplicateTokenEx]
test eax, eax
je 0x42ac3f
push 0
lea ecx, [ebp - 0x228]
push ecx
push str.DuplicateTokenEx_success
call fcn.00428bf0
add esp, 0xc
mov dword [ebp - 0x250], 1
jmp 0x42ac5a
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea edx, [ebp - 0x228]
push edx
push str.DuplicateTokenEx_failed
call fcn.00428bf0
add esp, 0xc
jmp 0x42ac77
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea eax, [ebp - 0x228]
push eax
push str.OpenProcessToken_failed
call fcn.00428bf0
add esp, 0xc
cmp dword [ebp - 0x47c], 0
je 0x42ac9b
mov ecx, dword [ebp - 0x47c]
cmp ecx, dword [ebp - 0x478]
je 0x42ac9b
mov edx, dword [ebp - 0x47c]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 0x478], 0
je 0x42acb1
mov eax, dword [ebp - 0x478]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 0x25c]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edx, dword [ebp - 0x250]
mov dword [ebp - 0x490], edx
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x258]
call fcn.00402740
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x254]
call fcn.00402740
mov eax, dword [ebp - 0x490]
jmp 0x42ad7e
cmp dword [ebp - 0x25c], 0
je 0x42ad0c
mov eax, dword [ebp - 0x25c]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x258]
call fcn.00402740
lea ecx, [ebp - 0x24c]
push ecx
mov edx, dword [ebp - 0x10]
push edx
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x42aa02
cmp dword [ebp - 0x10], 0
je 0x42ad43
mov eax, dword [ebp - 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0x373
push 0x4388a0
push str.GetTokenFromAdobeArmProcess_finished_without_token
call fcn.00428bf0
add esp, 0xc
mov ecx, dword [ebp - 0x250]
mov dword [ebp - 0x494], ecx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x254]
call fcn.00402740
mov eax, dword [ebp - 0x494]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x18]
xor ecx, ebp
call fcn.00410c05
mov esp, ebp
pop ebp
ret