Function at 0x140006d60
Capabilities:
Enumerate process modules

Disassembly:
mov r11, rsp
push rdi
sub rsp, 0x430
mov qword [rsp + 0x40], 0xfffffffffffffffe
mov qword [r11 + 8], rbx
mov qword [r11 + 0x10], rbp
mov qword [r11 + 0x18], rsi
mov rax, qword [0x14002e0b0]
xor rax, rsp
mov qword [rsp + 0x420], rax
mov qword [r11 - 0x238], 7
xor edi, edi
mov qword [r11 - 0x240], rdi
mov word [rsp + 0x1e8], di
xor r8d, r8d
lea edx, [rdi + 0x11]
lea rcx, [r11 - 0x258]
call fcn.1400053f0
lea rcx, [rsp + 0x1e8]
mov rdx, qword [rsp + 0x200]
cmp rdx, 8
cmovae rcx, qword [rsp + 0x1e8]
add rdx, rdx
lea r9d, [rdi + 0x22]
lea r8, str.WaitForProcessEnd
call fcn.1400100b0
mov qword [rsp + 0x1f8], 0x11
lea rax, [rsp + 0x1e8]
cmp qword [rsp + 0x200], 8
cmovae rax, qword [rsp + 0x1e8]
mov word [rax + 0x22], di
lea r9, [rsp + 0x1e8]
cmp qword [rsp + 0x200], 8
cmovae r9, qword [rsp + 0x1e8]
lea r8, str._s__entering
lea edx, [rdi + 0x65]
lea rcx, [0x14002f750]
call fcn.14000bba0
nop
mov sil, 1
lea r8, [rsp + 0x30]
mov edx, 0x190
lea rcx, [rsp + 0x50]
call sub.PSAPI.DLL_EnumProcesses
test eax, eax
je 0x14000701b
mov ebx, dword [rsp + 0x30]
mov eax, ebx
and eax, 0xfffffffc
cmp eax, 0x190
jae 0x140006e7f
shr ebx, 2
jmp 0x140006e84
mov ebx, 0x64
mov r9d, ebx
lea r8, str.Number_of_Processes:__d_n
mov edx, 2
lea rcx, [0x14002f750]
call fcn.14000bba0
test ebx, ebx
jle 0x14000701b
movsxd rbp, ebx
nop
nop
lea rcx, [rsp + 0x210]
mov rax, qword [str._unknown_]
mov qword [rcx], rax
mov rax, qword [0x140026fc0]
mov qword [rcx + 8], rax
mov eax, dword [0x140026fc8]
mov dword [rcx + 0x10], eax
xor edx, edx
mov r8d, 0x1f4
lea rcx, [rsp + 0x224]
call fcn.140011570
mov r8d, dword [rsp + rdi*4 + 0x50]
xor edx, edx
mov ecx, 0x100410
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov rbx, rax
test rax, rax
je 0x14000700e
lea r9, [rsp + 0x34]
mov r8d, 8
lea rdx, [rsp + 0x38]
mov rcx, rax
call sub.PSAPI.DLL_EnumProcessModules
test eax, eax
je 0x140007005
mov r9d, 0x104
lea r8, [rsp + 0x210]
mov rdx, qword [rsp + 0x38]
mov rcx, rbx
call sub.PSAPI.DLL_GetModuleBaseNameW
test eax, eax
je 0x140007005
lea rdx, str.EsDevApp.exe
lea rcx, [rsp + 0x210]
call qword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x140007005
mov eax, dword [rsp + rdi*4 + 0x50]
mov dword [rsp + 0x20], eax
lea r9, [rsp + 0x210]
lea r8, str._s__PID:__u__is_Running_n
mov edx, 2
lea rcx, [0x14002f750]
call fcn.14000bba0
mov edx, 0x2710
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x140006fed
cmp eax, 0x102
je 0x140006fd0
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r9d, eax
lea r8, str.WaitForSingleObject_failed:__x_n
mov edx, 5
lea rcx, [0x14002f750]
call fcn.14000bba0
xor sil, sil
jmp 0x140007005
lea r8, str.Process_desnt_end_until_TIMEOUT_n
mov edx, 2
lea rcx, [0x14002f750]
call fcn.14000bba0
xor sil, sil
jmp 0x140007005
lea r8, str.Detect_process_ends_n
mov edx, 2
lea rcx, [0x14002f750]
call fcn.14000bba0
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
add rdi, 1
cmp rdi, rbp
jl 0x140006eb0
lea r9, [rsp + 0x1e8]
cmp qword [rsp + 0x200], 8
cmovae r9, qword [rsp + 0x1e8]
lea r8, str._s__leaving
mov edx, 0x65
lea rcx, [0x14002f750]
call fcn.14000bba0
nop
cmp qword [rsp + 0x200], 8
jb 0x14000706b
mov rcx, qword [rsp + 0x1e8]
call fcn.14000eef0
mov al, sil
jmp 0x14000706e
mov al, sil
mov rcx, qword [rsp + 0x420]
xor rcx, rsp
call fcn.14000f470
lea r11, [rsp + 0x430]
mov rbx, qword [r11 + 0x10]
mov rbp, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret