Function at 0x42f4e0
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x43a272
mov eax, dword fs:[0]
push eax
sub esp, 0x2b4
mov eax, dword [0x44ec90]
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.00402790
mov dword [ebp - 4], 0
push 0
mov eax, dword [ebp + 0xc]
push eax
lea ecx, [ebp - 0x26c]
push ecx
push 2
call fcn.00437f60
add esp, 0x10
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x26c]
call fcn.00407b20
mov dword [ebp - 0x254], 0xd
push 0x5c
mov ecx, dword [ebp + 0xc]
call fcn.00402c90
mov dword [ebp - 0x250], eax
cmp dword [ebp - 0x250], 0xffffffff
jne 0x42f579
mov eax, dword [ebp - 0x254]
jmp 0x42fc06
mov ecx, dword [ebp + 0xc]
call fcn.004032a0
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.00402e00
mov dword [ebp - 4], 1
push str.adobearm.exe
lea ecx, [ebp - 0x10]
call fcn.004028d0
test eax, eax
jne 0x42f648
mov dword [ebp - 0x258], 0
lea ecx, [ebp - 0x258]
push ecx
push str.iSkipAdobeArmExe
mov ecx, 0x452d00
call fcn.004031c0
push eax
push 0x80000002
call fcn.0042de70
add esp, 0x10
cmp dword [ebp - 0x258], 1
jne 0x42f648
push str.get_token_from_adobearm.exe_disabled_for_testing
lea ecx, [ebp - 0x270]
call fcn.00402790
mov byte [ebp - 4], 2
push 0
lea edx, [ebp - 0x270]
push edx
push 2
call fcn.00438620
add esp, 0xc
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x270]
call fcn.00407b20
mov eax, dword [ebp - 0x254]
mov dword [ebp - 0x274], eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.00407b20
mov eax, dword [ebp - 0x274]
jmp 0x42fc06
push 0
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0xffffffff
jne 0x42f6c7
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x254], eax
push 0x446400
lea ecx, [ebp - 0x278]
call fcn.00402790
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x254]
push ecx
lea edx, [ebp - 0x278]
push edx
push 1
call fcn.00438620
add esp, 0xc
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x278]
call fcn.00407b20
mov eax, dword [ebp - 0x254]
mov dword [ebp - 0x27c], eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.00407b20
mov eax, dword [ebp - 0x27c]
jmp 0x42fc06
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 0x42f75c
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x254], eax
push 0x446440
lea ecx, [ebp - 0x280]
call fcn.00402790
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0x254]
push eax
lea ecx, [ebp - 0x280]
push ecx
push 1
call fcn.00438620
add esp, 0xc
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x280]
call fcn.00407b20
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.00407b20
mov eax, dword [ebp - 0x284]
jmp 0x42fc06
lea ecx, [ebp - 0x228]
push ecx
lea ecx, [ebp - 0x10]
call fcn.004028d0
test eax, eax
jne 0x42fb5c
push str.found
lea ecx, [ebp - 0x288]
call fcn.00402790
mov byte [ebp - 4], 5
push 0
lea edx, [ebp - 0x10]
push edx
lea eax, [ebp - 0x288]
push eax
push 2
call fcn.00437f60
add esp, 0x10
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x288]
call fcn.00407b20
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 0x42fb46
cmp dword [ebp - 0x25c], 0xffffffff
je 0x42fb46
mov edx, dword [ebp + 0xc]
push edx
lea eax, [ebp - 0x25c]
push eax
call fcn.0042f160
add esp, 8
test eax, eax
je 0x42fb10
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 0x42fa48
mov dword [ebp - 0x268], 0
mov ecx, dword [ebp + 0x10]
cmp dword [ecx], 0
jne 0x42f858
lea edx, [ebp - 0x260]
push edx
call fcn.0042e390
add esp, 4
test eax, eax
je 0x42f8a0
push str.Using_primary_token_from_elevated_process_or_ordered_by_caller
lea ecx, [ebp - 0x28c]
call fcn.00402790
mov byte [ebp - 4], 6
push 0
mov eax, dword [ebp + 0xc]
push eax
lea ecx, [ebp - 0x28c]
push ecx
push 2
call fcn.00437f60
add esp, 0x10
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x28c]
call fcn.00407b20
mov edx, dword [ebp - 0x260]
mov dword [ebp - 0x268], edx
jmp 0x42f8ef
push 0x446508
lea ecx, [ebp - 0x290]
call fcn.00402790
mov byte [ebp - 4], 7
push 0
mov eax, dword [ebp + 0xc]
push eax
lea ecx, [ebp - 0x290]
push ecx
push 2
call fcn.00437f60
add esp, 0x10
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x290]
call fcn.00407b20
mov edx, dword [ebp - 0x260]
push edx
call fcn.0042db80
add esp, 4
mov dword [ebp - 0x268], eax
cmp dword [ebp - 0x268], 0
jne 0x42f964
lea eax, [ebp - 0x228]
push eax
lea ecx, [ebp - 0x294]
call fcn.00402790
mov byte [ebp - 4], 8
push 0x446564
lea ecx, [ebp - 0x298]
call fcn.00402790
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.00437f60
add esp, 0x10
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x298]
call fcn.00407b20
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x294]
call fcn.00407b20
jmp 0x42fa46
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 0x42f9c6
push str.DuplicateTokenEx_success
lea ecx, [ebp - 0x29c]
call fcn.00402790
mov byte [ebp - 4], 0xa
push 0
lea edx, [ebp - 0x29c]
push edx
push 2
call fcn.00438620
add esp, 0xc
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x29c]
call fcn.00407b20
mov dword [ebp - 0x254], 0
jmp 0x42fa39
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x254], eax
lea eax, [ebp - 0x228]
push eax
lea ecx, [ebp - 0x2a0]
call fcn.00402790
mov byte [ebp - 4], 0xb
push str.DuplicateTokenEx_failed
lea ecx, [ebp - 0x2a4]
call fcn.00402790
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.00437f60
add esp, 0x10
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x2a4]
call fcn.00407b20
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x2a0]
call fcn.00407b20
mov ecx, dword [ebp - 0x268]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x42fabb
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x254], eax
lea edx, [ebp - 0x228]
push edx
lea ecx, [ebp - 0x2a8]
call fcn.00402790
mov byte [ebp - 4], 0xd
push str.OpenProcessToken_failed
lea ecx, [ebp - 0x2ac]
call fcn.00402790
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.00437f60
add esp, 0x10
mov byte [ebp - 4], 0xd
lea ecx, [ebp - 0x2ac]
call fcn.00407b20
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x2a8]
call fcn.00407b20
cmp dword [ebp - 0x260], 0
je 0x42fad1
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.00407b20
mov eax, dword [ebp - 0x2b0]
jmp 0x42fc06
push str.installed_and_found_processes_are_not_the_same
lea ecx, [ebp - 0x2b4]
call fcn.00402790
mov byte [ebp - 4], 0xf
push 0
lea ecx, [ebp - 0x2b4]
push ecx
push 2
call fcn.00438620
add esp, 0xc
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x2b4]
call fcn.00407b20
cmp dword [ebp - 0x25c], 0
je 0x42fb5c
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 0x42f75c
cmp dword [ebp - 0x14], 0
je 0x42fb84
mov edx, dword [ebp - 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0x446624
lea ecx, [ebp - 0x2b8]
call fcn.00402790
mov byte [ebp - 4], 0x10
push str.finished_without_process_token
lea ecx, [ebp - 0x2bc]
call fcn.00402790
mov byte [ebp - 4], 0x11
push 0x373
lea eax, [ebp - 0x2b8]
push eax
lea ecx, [ebp - 0x2bc]
push ecx
push 1
call fcn.00437f60
add esp, 0x10
mov byte [ebp - 4], 0x10
lea ecx, [ebp - 0x2bc]
call fcn.00407b20
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x2b8]
call fcn.00407b20
mov dword [ebp - 0x2c0], 0x373
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.00407b20
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.00414838
mov esp, ebp
pop ebp
ret