Function at 0x42f5a0
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x439e25
mov eax, dword fs:[0]
push eax
sub esp, 0x2b4
mov eax, dword [0x44eca0]
xor eax, ebp
mov dword [ebp - 0x18], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push str.GetTokenFromSpecificProcess:
lea ecx, [ebp - 0x26c]
call fcn.004026b0
mov dword [ebp - 4], 0
push 0
mov eax, dword [ebp + 0xc]
push eax
lea ecx, [ebp - 0x26c]
push ecx
push 2
call fcn.00437b10
add esp, 0x10
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x26c]
call fcn.00407a90
mov dword [ebp - 0x254], 0xd
push 0x5c
mov ecx, dword [ebp + 0xc]
call fcn.00402bf0
mov dword [ebp - 0x250], eax
cmp dword [ebp - 0x250], 0xffffffff
jne 0x42f639
mov eax, dword [ebp - 0x254]
jmp 0x42fcc6
mov ecx, dword [ebp + 0xc]
call fcn.004031f0
mov edx, dword [ebp - 0x250]
add edx, 1
sub eax, edx
push eax
lea eax, [ebp - 0x10]
push eax
mov ecx, dword [ebp + 0xc]
call fcn.00402d60
mov dword [ebp - 4], 1
push str.adobearm.exe
lea ecx, [ebp - 0x10]
call fcn.00402830
test eax, eax
jne 0x42f708
mov dword [ebp - 0x258], 0
lea ecx, [ebp - 0x258]
push ecx
push str.iSkipAdobeArmExe
mov ecx, 0x452d20
call fcn.00403210
push eax
push 0x80000002
call fcn.0042de30
add esp, 0x10
cmp dword [ebp - 0x258], 1
jne 0x42f708
push str.get_token_from_adobearm.exe_disabled_for_testing
lea ecx, [ebp - 0x270]
call fcn.004026b0
mov byte [ebp - 4], 2
push 0
lea edx, [ebp - 0x270]
push edx
push 2
call fcn.004381d0
add esp, 0xc
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x270]
call fcn.00407a90
mov eax, dword [ebp - 0x254]
mov dword [ebp - 0x274], eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.00407a90
mov eax, dword [ebp - 0x274]
jmp 0x42fcc6
push 0
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0xffffffff
jne 0x42f787
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x254], eax
push 0x4462f8
lea ecx, [ebp - 0x278]
call fcn.004026b0
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x254]
push ecx
lea edx, [ebp - 0x278]
push edx
push 1
call fcn.004381d0
add esp, 0xc
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x278]
call fcn.00407a90
mov eax, dword [ebp - 0x254]
mov dword [ebp - 0x27c], eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.00407a90
mov eax, dword [ebp - 0x27c]
jmp 0x42fcc6
mov dword [ebp - 0x24c], 0x22c
lea ecx, [ebp - 0x24c]
push ecx
mov edx, dword [ebp - 0x14]
push edx
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
jne 0x42f81c
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x254], eax
push 0x446338
lea ecx, [ebp - 0x280]
call fcn.004026b0
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0x254]
push eax
lea ecx, [ebp - 0x280]
push ecx
push 1
call fcn.004381d0
add esp, 0xc
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x280]
call fcn.00407a90
mov edx, dword [ebp - 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x254]
mov dword [ebp - 0x284], eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.00407a90
mov eax, dword [ebp - 0x284]
jmp 0x42fcc6
lea ecx, [ebp - 0x228]
push ecx
lea ecx, [ebp - 0x10]
call fcn.00402830
test eax, eax
jne 0x42fc1c
push str.found
lea ecx, [ebp - 0x288]
call fcn.004026b0
mov byte [ebp - 4], 5
push 0
lea edx, [ebp - 0x10]
push edx
lea eax, [ebp - 0x288]
push eax
push 2
call fcn.00437b10
add esp, 0x10
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x288]
call fcn.00407a90
mov ecx, dword [ebp - 0x244]
push ecx
push 0
push 0x2000000
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov dword [ebp - 0x25c], eax
cmp dword [ebp - 0x25c], 0
je 0x42fc06
cmp dword [ebp - 0x25c], 0xffffffff
je 0x42fc06
mov edx, dword [ebp + 0xc]
push edx
lea eax, [ebp - 0x25c]
push eax
call fcn.0042f220
add esp, 8
test eax, eax
je 0x42fbd0
mov dword [ebp - 0x260], 0
mov dword [ebp - 0x264], 0xa
lea ecx, [ebp - 0x260]
push ecx
mov edx, dword [ebp - 0x264]
push edx
mov eax, dword [ebp - 0x25c]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x42fb08
mov dword [ebp - 0x268], 0
mov ecx, dword [ebp + 0x10]
cmp dword [ecx], 0
jne 0x42f918
lea edx, [ebp - 0x260]
push edx
call fcn.0042e150
add esp, 4
test eax, eax
je 0x42f960
push str.Using_primary_token_from_elevated_process_or_ordered_by_caller
lea ecx, [ebp - 0x28c]
call fcn.004026b0
mov byte [ebp - 4], 6
push 0
mov eax, dword [ebp + 0xc]
push eax
lea ecx, [ebp - 0x28c]
push ecx
push 2
call fcn.00437b10
add esp, 0x10
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x28c]
call fcn.00407a90
mov edx, dword [ebp - 0x260]
mov dword [ebp - 0x268], edx
jmp 0x42f9af
push 0x446400
lea ecx, [ebp - 0x290]
call fcn.004026b0
mov byte [ebp - 4], 7
push 0
mov eax, dword [ebp + 0xc]
push eax
lea ecx, [ebp - 0x290]
push ecx
push 2
call fcn.00437b10
add esp, 0x10
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x290]
call fcn.00407a90
mov edx, dword [ebp - 0x260]
push edx
call fcn.0042db40
add esp, 4
mov dword [ebp - 0x268], eax
cmp dword [ebp - 0x268], 0
jne 0x42fa24
lea eax, [ebp - 0x228]
push eax
lea ecx, [ebp - 0x294]
call fcn.004026b0
mov byte [ebp - 4], 8
push 0x44645c
lea ecx, [ebp - 0x298]
call fcn.004026b0
mov byte [ebp - 4], 9
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea ecx, [ebp - 0x294]
push ecx
lea edx, [ebp - 0x298]
push edx
push 1
call fcn.00437b10
add esp, 0x10
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x298]
call fcn.00407a90
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x294]
call fcn.00407a90
jmp 0x42fb06
mov eax, dword [ebp + 8]
push eax
push 1
push 1
push 0
push 0x2000000
mov ecx, dword [ebp - 0x268]
push ecx
call dword [sym.imp.ADVAPI32.dll_DuplicateTokenEx]
test eax, eax
je 0x42fa86
push str.DuplicateTokenEx_success
lea ecx, [ebp - 0x29c]
call fcn.004026b0
mov byte [ebp - 4], 0xa
push 0
lea edx, [ebp - 0x29c]
push edx
push 2
call fcn.004381d0
add esp, 0xc
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x29c]
call fcn.00407a90
mov dword [ebp - 0x254], 0
jmp 0x42faf9
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x254], eax
lea eax, [ebp - 0x228]
push eax
lea ecx, [ebp - 0x2a0]
call fcn.004026b0
mov byte [ebp - 4], 0xb
push str.DuplicateTokenEx_failed
lea ecx, [ebp - 0x2a4]
call fcn.004026b0
mov byte [ebp - 4], 0xc
mov ecx, dword [ebp - 0x254]
push ecx
lea edx, [ebp - 0x2a0]
push edx
lea eax, [ebp - 0x2a4]
push eax
push 1
call fcn.00437b10
add esp, 0x10
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x2a4]
call fcn.00407a90
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x2a0]
call fcn.00407a90
mov ecx, dword [ebp - 0x268]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x42fb7b
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x254], eax
lea edx, [ebp - 0x228]
push edx
lea ecx, [ebp - 0x2a8]
call fcn.004026b0
mov byte [ebp - 4], 0xd
push str.OpenProcessToken_failed
lea ecx, [ebp - 0x2ac]
call fcn.004026b0
mov byte [ebp - 4], 0xe
mov eax, dword [ebp - 0x254]
push eax
lea ecx, [ebp - 0x2a8]
push ecx
lea edx, [ebp - 0x2ac]
push edx
push 1
call fcn.00437b10
add esp, 0x10
mov byte [ebp - 4], 0xd
lea ecx, [ebp - 0x2ac]
call fcn.00407a90
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x2a8]
call fcn.00407a90
cmp dword [ebp - 0x260], 0
je 0x42fb91
mov eax, dword [ebp - 0x260]
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 - 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x254]
mov dword [ebp - 0x2b0], eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.00407a90
mov eax, dword [ebp - 0x2b0]
jmp 0x42fcc6
push str.installed_and_found_processes_are_not_the_same
lea ecx, [ebp - 0x2b4]
call fcn.004026b0
mov byte [ebp - 4], 0xf
push 0
lea ecx, [ebp - 0x2b4]
push ecx
push 2
call fcn.004381d0
add esp, 0xc
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x2b4]
call fcn.00407a90
cmp dword [ebp - 0x25c], 0
je 0x42fc1c
mov edx, dword [ebp - 0x25c]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [ebp - 0x24c]
push eax
mov ecx, dword [ebp - 0x14]
push ecx
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x42f81c
cmp dword [ebp - 0x14], 0
je 0x42fc44
mov edx, dword [ebp - 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0x44651c
lea ecx, [ebp - 0x2b8]
call fcn.004026b0
mov byte [ebp - 4], 0x10
push str.finished_without_process_token
lea ecx, [ebp - 0x2bc]
call fcn.004026b0
mov byte [ebp - 4], 0x11
push 0x373
lea eax, [ebp - 0x2b8]
push eax
lea ecx, [ebp - 0x2bc]
push ecx
push 1
call fcn.00437b10
add esp, 0x10
mov byte [ebp - 4], 0x10
lea ecx, [ebp - 0x2bc]
call fcn.00407a90
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x2b8]
call fcn.00407a90
mov dword [ebp - 0x2c0], 0x373
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.00407a90
mov eax, dword [ebp - 0x2c0]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x18]
xor ecx, ebp
call fcn.00414831
mov esp, ebp
pop ebp
ret