Function at 0x1400078b0
Capabilities:
Enumerate processes

Disassembly:
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0xb20
mov rax, qword [0x140172b58]
xor rax, rsp
mov qword [rsp + 0xb18], rax
cmp qword [rsp + 0xb30], 0
je 0x1400078e8
cmp dword [rsp + 0xb38], 0
jne 0x1400078ef
xor eax, eax
jmp 0x140007c52
mov dword [rsp + 0x20], 0
mov r8d, dword [rsp + 0xb38]
shl r8, 1
xor edx, edx
mov rcx, qword [rsp + 0xb30]
call sub.MSVCR90.dll_memset
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov dword [rsp + 0x270], eax
mov r8d, 0x238
xor edx, edx
lea rcx, [rsp + 0x30]
call sub.MSVCR90.dll_memset
xor edx, edx
mov ecx, 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov qword [rsp + 0x278], rax
cmp qword [rsp + 0x278], 0xffffffffffffffff
jne 0x140007956
xor eax, eax
jmp 0x140007c52
mov dword [rsp + 0x30], 0x238
lea rdx, [rsp + 0x30]
mov rcx, qword [rsp + 0x278]
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
jne 0x140007989
mov rcx, qword [rsp + 0x278]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
jmp 0x140007c52
mov eax, dword [rsp + 0x38]
cmp dword [rsp + 0x270], eax
jne 0x1400079a0
mov eax, dword [rsp + 0x50]
mov dword [rsp + 0x20], eax
jmp 0x1400079b6
lea rdx, [rsp + 0x30]
mov rcx, qword [rsp + 0x278]
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x140007989
mov rcx, qword [rsp + 0x278]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov r8d, 0x438
xor edx, edx
lea rcx, [rsp + 0x290]
call sub.MSVCR90.dll_memset
mov edx, dword [rsp + 0x20]
mov ecx, 8
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov qword [rsp + 0x280], rax
cmp qword [rsp + 0x280], 0xffffffffffffffff
jne 0x1400079fc
jmp 0x140007a64
mov dword [rsp + 0x290], 0x438
lea rdx, [rsp + 0x290]
mov rcx, qword [rsp + 0x280]
call sub.KERNEL32.dll_Module32FirstW
test eax, eax
jne 0x140007a30
mov rcx, qword [rsp + 0x280]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x140007a64
mov edx, dword [rsp + 0xb38]
lea r8, [rsp + 0x4c0]
mov rcx, qword [rsp + 0xb30]
call fcn.140007c70
mov rcx, qword [rsp + 0x280]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
test eax, eax
jne 0x1400079c4
mov rcx, qword [rsp + 0xb30]
call qword [sym.imp.KERNEL32.dll_lstrlenW]
test eax, eax
jne 0x140007c21
lea rcx, str.psapi.dll
call fcn.140011620
mov qword [rsp + 0x6d0], rax
cmp qword [rsp + 0x6d0], 0
je 0x140007be6
lea rdx, str.GetProcessImageFileNameW
mov rcx, qword [rsp + 0x6d0]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rsp + 0x6d8], rax
cmp qword [rsp + 0x6d8], 0
je 0x140007bcc
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov ecx, 6
call fcn.14000b9b0
test eax, eax
je 0x140007aec
mov dword [rsp + 0xb10], 0x1000
jmp 0x140007af7
mov dword [rsp + 0xb10], 0x410
mov eax, dword [rsp + 0xb10]
mov dword [rsp + 0x6e8], eax
mov r8d, dword [rsp + 0x20]
xor edx, edx
mov ecx, dword [rsp + 0x6e8]
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov qword [rsp + 0x6e0], rax
cmp qword [rsp + 0x6e0], 0
je 0x140007bcc
xor eax, eax
mov word [rsp + 0x6f0], ax
lea rdi, [rsp + 0x6f2]
xor eax, eax
mov ecx, 0x206
rep stosb byte [rdi], al
mov r8d, 0x104
lea rdx, [rsp + 0x6f0]
mov rcx, qword [rsp + 0x6e0]
call qword [rsp + 0x6d8]
test eax, eax
je 0x140007bbe
xor eax, eax
mov word [rsp + 0x900], ax
lea rdi, [rsp + 0x902]
xor eax, eax
mov ecx, 0x206
rep stosb byte [rdi], al
mov r8d, 0x104
lea rdx, [rsp + 0x900]
lea rcx, [rsp + 0x6f0]
call fcn.140008220
mov edx, dword [rsp + 0xb38]
lea r8, [rsp + 0x900]
mov rcx, qword [rsp + 0xb30]
call fcn.140007c70
mov rcx, qword [rsp + 0x6e0]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x6d0]
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
mov qword [rsp + 0x6d0], 0
mov rcx, qword [rsp + 0xb30]
call qword [sym.imp.KERNEL32.dll_lstrlenW]
test eax, eax
jne 0x140007c21
xor r8d, r8d
lea rdx, str...CommonClassAuthentification.cpp
lea rcx, [0x140172bd0]
call fcn.140008b90
lea rdx, str._Authentification::GetParentProcessFullPath__Failed_on_x64_OS
lea rcx, [0x140172bd0]
call fcn.140008d40
mov rcx, qword [rsp + 0xb30]
call qword [sym.imp.KERNEL32.dll_lstrlenW]
test eax, eax
jle 0x140007c40
mov dword [rsp + 0xb14], 1
jmp 0x140007c4b
mov dword [rsp + 0xb14], 0
mov eax, dword [rsp + 0xb14]
mov rcx, qword [rsp + 0xb18]
xor rcx, rsp
call fcn.140103060
add rsp, 0xb20
pop rdi
ret