Function at 0x180003d40
Capabilities:
Enumerate gui resources
Terminate process

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x20], rsi
mov qword [rax + 0x18], r8
push rdi
push r12
push r13
sub rsp, 0x20
mov dword [0x1800335e8], 1
mov rax, qword [rcx]
mov rdx, r8
mov bl, r9b
mov r13, r8
mov r12, rcx
call qword [rax + 0x558]
xor r8d, r8d
mov rdx, r13
mov dword [0x1800315dc], eax
mov rax, qword [r12]
mov rcx, r12
call qword [rax + 0x5d8]
mov qword [0x1800315d0], rax
test bl, bl
je 0x180003e46
xor ebx, ebx
cmp dword [0x1800315dc], ebx
jle 0x180003e08
xor edi, edi
mov rax, qword [0x1800315d0]
xor edx, edx
mov r8d, dword [rdi + rax]
lea ecx, [rdx + 1]
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov rsi, rax
test rax, rax
je 0x180003df3
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
neg eax
sbb ecx, ecx
and ecx, dword [0x1800335e8]
mov dword [0x1800335e8], ecx
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x180003dfa
and dword [0x1800335e8], 0
inc ebx
add rdi, 4
cmp ebx, dword [0x1800315dc]
jl 0x180003daf
mov ebp, 2
mov rax, qword [r12]
mov r8, qword [0x1800315d0]
mov r9d, ebp
mov rdx, r13
mov rcx, r12
call qword [rax + 0x618]
mov eax, dword [0x1800335e8]
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x58]
add rsp, 0x20
pop r13
pop r12
pop rdi
ret
movsxd rcx, dword [0x1800315dc]
call fcn.18001054c
movsxd r8, dword [0x1800315dc]
xor edx, edx
mov rcx, rax
mov qword [0x1800335e0], rax
call fcn.18000f6b0
lea rcx, [0x180003ca4]
xor edx, edx
call qword [sym.imp.USER32.dll_EnumWindows]
mov eax, dword [0x1800315dc]
mov rcx, qword [0x1800335e0]
test eax, eax
jle 0x180003eb3
mov r9d, dword [0x1800335e8]
mov r8, rcx
mov r10, rax
mov al, byte [r8]
neg al
sbb edx, edx
inc r8
and edx, r9d
sub r10, 1
mov r9d, edx
mov dword [0x1800335e8], edx
jne 0x180003e97
call fcn.18000fc44
cmp dword [0x1800335e8], 0
je 0x180003e08
movsxd rcx, dword [0x1800315dc]
mov eax, 8
mul rcx
mov rcx, 0xffffffffffffffff
cmovo rax, rcx
mov rcx, rax
call fcn.18001054c
mov ecx, dword [0x1800315dc]
xor ebp, ebp
mov rsi, rax
test ecx, ecx
jle 0x180003f48
xor ebx, ebx
mov rdi, rax
lea r13d, [rbp + 2]
mov rcx, qword [0x1800315d0]
xor edx, edx
mov r8d, dword [rbx + rcx]
mov ecx, 0x100000
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov ecx, dword [0x1800315dc]
mov qword [rdi], rax
mov edx, dword [0x1800335e8]
test rax, rax
cmove edx, r13d
inc ebp
add rbx, 4
add rdi, 8
cmp ebp, ecx
mov dword [0x1800335e8], edx
jl 0x180003eff
mov r13, qword [rsp + 0x50]
jmp 0x180003f4e
mov edx, dword [0x1800335e8]
cmp edx, 1
jne 0x180003f99
mov r9d, dword [rsp + 0x60]
mov r8d, edx
mov rdx, rsi
call qword [sym.imp.KERNEL32.dll_WaitForMultipleObjects]
mov ecx, dword [0x1800315dc]
mov ebp, 2
mov r11d, eax
cmp eax, 0x102
jne 0x180003f85
mov dword [0x1800335e8], 3
jmp 0x180003f9e
mov eax, dword [0x1800335e8]
test r11d, r11d
cmovne eax, ebp
mov dword [0x1800335e8], eax
jmp 0x180003f9e
mov ebp, 2
xor edi, edi
test ecx, ecx
jle 0x180003fc6
mov rbx, rsi
cmp qword [rbx], 0
je 0x180003fbc
mov rcx, qword [rbx]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [0x1800315dc]
inc edi
add rbx, 8
cmp edi, ecx
jl 0x180003fa7
mov rcx, rsi
call fcn.18000fc44
jmp 0x180003e0d