Function at 0x14004a390
Capabilities:
Enumerate gui resources
Enumerate processes

Disassembly:
mov rax, rsp
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x1d8]
sub rsp, 0x2b0
mov qword [rsp + 0x58], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov rax, qword [0x14017c430]
xor rax, rsp
mov qword [rbp + 0x1a0], rax
mov ecx, 1
call fcn.14004b360
xor edx, edx
lea ecx, [rdx + 2]
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov r13, rax
mov rdi, qword [0x140183620]
or ebx, 0xffffffff
cmp qword [rdi + 0x1628], 0
je 0x14004a41b
call qword [sym.imp.USER32.dll_InSendMessage]
mov ecx, 0x2710
test eax, eax
cmovne ebx, ecx
mov edx, ebx
mov rcx, qword [rdi + 0x1628]
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp r13, 0xffffffffffffffff
je 0x14004a697
xor r14d, r14d
mov edi, r14d
mov qword [rsp + 0x28], r14
mov ebx, r14d
mov qword [rsp + 0x30], rbx
mov r12d, r14d
mov qword [rsp + 0x38], r14
mov dword [rsp + 0x60], 0x238
lea rdx, [rsp + 0x60]
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
jne 0x14004a48a
mov rax, qword [0x140183620]
mov rcx, qword [rax + 0x1628]
test rcx, rcx
je 0x14004a474
call qword [sym.imp.KERNEL32.dll_ReleaseMutex]
nop
mov qword [rsp + 0x28], r14
mov qword [rsp + 0x30], r14
mov qword [rsp + 0x38], r14
xor eax, eax
jmp 0x14004a6d4
cmp dword [rsp + 0x68], 0
je 0x14004a4cd
mov edx, 1
lea rcx, [rsp + 0x28]
call fcn.14004bc20
mov rbx, qword [rsp + 0x30]
mov qword [rsp + 0x48], rbx
mov qword [rsp + 0x50], rbx
test rbx, rbx
je 0x14004a4ba
mov eax, dword [rsp + 0x68]
mov dword [rbx], eax
add rbx, 4
mov qword [rsp + 0x30], rbx
mov r12, qword [rsp + 0x38]
mov rdi, qword [rsp + 0x28]
lea rdx, [rsp + 0x60]
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
je 0x14004a655
movabs r15, 0x3fffffffffffffff
movabs rdx, 0x3ffffffffffffffe
cmp dword [rsp + 0x68], 0
je 0x14004a624
lea rax, [rsp + 0x68]
cmp rax, rbx
jae 0x14004a5a3
lea rax, [rsp + 0x68]
cmp rdi, rax
ja 0x14004a5a3
lea rsi, [rsp + 0x68]
sub rsi, rdi
sar rsi, 2
cmp rbx, r12
jne 0x14004a58d
mov rcx, rbx
sub rcx, rdi
sar rcx, 2
cmp rcx, rdx
ja 0x14004a63b
inc rcx
mov rdx, r12
sub rdx, rdi
sar rdx, 2
cmp rcx, rdx
jbe 0x14004a58d
mov r8, rdx
shr r8, 1
mov rax, r15
sub rax, r8
cmp rax, rdx
jae 0x14004a56a
mov rdx, r14
jmp 0x14004a56d
add rdx, r8
cmp rdx, rcx
cmovb rdx, rcx
lea rcx, [rsp + 0x28]
call fcn.14004bc20
mov r12, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x30]
mov rdi, qword [rsp + 0x28]
mov qword [rsp + 0x50], rbx
mov qword [rsp + 0x48], rbx
test rbx, rbx
je 0x14004a5a1
mov eax, dword [rdi + rsi*4]
mov dword [rbx], eax
jmp 0x14004a61b
cmp rbx, r12
jne 0x14004a606
mov rcx, rbx
sub rcx, rdi
sar rcx, 2
cmp rcx, rdx
ja 0x14004a648
inc rcx
mov rdx, r12
sub rdx, rdi
sar rdx, 2
cmp rcx, rdx
jbe 0x14004a606
mov r8, rdx
shr r8, 1
mov rax, r15
sub rax, r8
cmp rax, rdx
jae 0x14004a5e3
mov rdx, r14
jmp 0x14004a5e6
add rdx, r8
cmp rdx, rcx
cmovb rdx, rcx
lea rcx, [rsp + 0x28]
call fcn.14004bc20
mov r12, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x30]
mov rdi, qword [rsp + 0x28]
mov qword [rsp + 0x50], rbx
mov qword [rsp + 0x48], rbx
test rbx, rbx
je 0x14004a61b
mov eax, dword [rsp + 0x68]
mov dword [rbx], eax
add rbx, 4
mov qword [rsp + 0x30], rbx
lea rdx, [rsp + 0x60]
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
je 0x14004a655
jmp 0x14004a4ed
lea rcx, str.vector_T__too_long
call fcn.1400aeff0
int3
lea rcx, str.vector_T__too_long
call fcn.1400aeff0
int3
mov r8, rbx
sub r8, rdi
sar r8, 2
movzx r9d, byte [rsp + 0x20]
mov rdx, rbx
mov rcx, rdi
call fcn.14004c410
lea rcx, [rsp + 0x28]
call fcn.140049890
nop
test rdi, rdi
je 0x14004a688
mov rcx, rdi
call fcn.1400d4d78
mov qword [rsp + 0x28], r14
mov qword [rsp + 0x30], r14
mov qword [rsp + 0x38], r14
mov rax, qword [0x140183620]
mov rcx, qword [rax + 0x1628]
test rcx, rcx
je 0x14004a6b0
call qword [sym.imp.KERNEL32.dll_ReleaseMutex]
xor edx, edx
lea rcx, [0x14004b1a0]
call qword [sym.imp.USER32.dll_EnumWindows]
xor ecx, ecx
call fcn.14004b360
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, 1
mov rcx, qword [rbp + 0x1a0]
xor rcx, rsp
call fcn.1400d4d90
lea r11, [rsp + 0x2b0]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret