Function at 0x1400187a0
Capabilities:
Enumerate gui resources
Terminate process

Disassembly:
push rbp
sub rsp, 0x60
mov rax, qword [0x140048010]
xor rax, rsp
mov qword [rsp + 0x50], rax
xorps xmm0, xmm0
xor ebp, ebp
movups xmmword [0x140048c78], xmm0
movups xmmword [0x140048c88], xmm0
movups xmmword [0x140048c98], xmm0
nop
mov rdx, qword [0x140048ca8]
lea rcx, [0x140048c78]
xor r9d, r9d
mov dword [rsp + 0x20], 1
xor r8d, r8d
call qword [sym.imp.USER32.dll_PeekMessageW]
test eax, eax
je 0x140018810
lea rcx, [0x140048c78]
call qword [sym.imp.USER32.dll_TranslateMessage]
lea rcx, [0x140048c78]
call qword [sym.imp.USER32.dll_DispatchMessageW]
cmp qword [0x140048c70], rbp
je 0x140018ab2
call qword [sym.imp.USER32.dll_GetForegroundWindow]
cmp rax, qword [0x140048c70]
jne 0x140018862
mov edx, 3
mov rcx, rax
call qword [sym.imp.USER32.dll_GetWindow]
mov rcx, qword [0x140048ca8]
xor r9d, r9d
mov dword [rsp + 0x30], 3
mov rdx, rax
mov dword [rsp + 0x28], ebp
xor r8d, r8d
mov dword [rsp + 0x20], ebp
call qword [sym.imp.USER32.dll_SetWindowPos]
jmp 0x1400188b5
mov rax, qword [0x140048cc0]
lea rdx, [rsp + 0x40]
mov qword [rsp + 0x40], rbp
mov ecx, dword [rax + 8]
mov dword [rsp + 0x48], ecx
lea rcx, [0x140018730]
call qword [sym.imp.USER32.dll_EnumWindows]
test eax, eax
jne 0x1400188a0
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xffffffff
jne 0x1400188a0
mov rax, qword [rsp + 0x40]
test rax, rax
jne 0x1400188a3
mov rax, rbp
mov ecx, 0xfa
mov qword [0x140048c70], rax
call qword [sym.imp.KERNEL32.dll_Sleep]
cmp dword [0x140048c80], 0x12
jne 0x1400187d0
mov rcx, qword [0x140048c00]
mov qword [rsp + 0x70], rbx
mov qword [rsp + 0x78], rsi
mov qword [rsp + 0x80], rdi
test rcx, rcx
je 0x1400188e9
mov rsi, qword [rcx + 0x98]
jmp 0x1400188ec
mov rsi, rbp
lea rdi, [rcx + 8]
test rcx, rcx
je 0x140018965
mov rbx, qword [rcx + 0x98]
test rbx, rbx
je 0x140018965
cmp qword [rbx], rbp
je 0x140018965
mov rdx, qword [rbx + 8]
test rdx, rdx
je 0x140018923
mov rax, qword [rdx]
mov rcx, rdx
call qword [rax + 0x10]
mov rcx, qword [0x140048c00]
mov qword [rbx + 8], rbp
mov rdx, qword [rbx + 0x10]
test rdx, rdx
je 0x140018940
mov rax, qword [rdx]
mov rcx, rdx
call qword [rax + 0x10]
mov rcx, qword [0x140048c00]
mov qword [rbx + 0x10], rbp
mov rdx, qword [rbx + 0x18]
test rdx, rdx
je 0x140018965
mov rax, qword [rdx]
mov rcx, rdx
call qword [rax + 0x10]
mov rcx, qword [0x140048c00]
mov qword [rbx + 0x18], rbp
mov rax, qword [rcx + 0x38]
mov qword [rax + 8], rbp
mov rdx, qword [rsi]
test rdx, rdx
je 0x14001897d
mov rax, qword [rdx]
mov rcx, rdx
call qword [rax + 0x10]
mov rcx, qword [0x140048c00]
and dword [rdi + 4], 0xfffffff7
mov qword [rdi + 0x80], rbp
mov qword [rdi + 0x90], rbp
test rcx, rcx
je 0x14001899a
dec dword [rcx + 0xec]
mov rdx, qword [0x140048bf0]
mov rcx, rsi
call sub.api_ms_win_crt_heap_l1_1_0.dll_free
mov rax, qword [0x140048c00]
mov rsi, qword [rsp + 0x78]
test rax, rax
je 0x1400189c3
mov rdi, qword [rax + 0x90]
jmp 0x1400189c6
mov rdi, rbp
mov rcx, qword [rdi + 0x30]
lea rbx, [rax + 8]
test rcx, rcx
je 0x1400189e0
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
mov rax, qword [0x140048c00]
and dword [rbx + 4], 0xfffffff8
mov qword [rbx + 0x78], rbp
mov qword [rbx + 0x88], rbp
test rax, rax
je 0x1400189fa
dec dword [rax + 0xec]
mov rdx, qword [0x140048bf0]
mov rcx, rdi
call sub.api_ms_win_crt_heap_l1_1_0.dll_free
mov rbx, qword [0x140048c00]
call fcn.140014150
mov rdi, qword [rsp + 0x80]
mov qword [0x140048c00], rbp
test rbx, rbx
je 0x140018a52
mov rcx, rbx
call fcn.140015fb0
mov rax, qword [0x140048c00]
test rax, rax
je 0x140018a43
dec dword [rax + 0xec]
mov rdx, qword [0x140048bf0]
mov rcx, rbx
call sub.api_ms_win_crt_heap_l1_1_0.dll_free
mov rcx, qword [0x140048c18]
mov rbx, qword [rsp + 0x70]
test rcx, rcx
je 0x140018a79
mov rax, qword [rcx]
call qword [rax + 0x150]
mov rcx, qword [0x140048c18]
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [0x140048cb8]
test rcx, rcx
je 0x140018a8b
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [0x140048ca8]
call qword [sym.imp.USER32.dll_DestroyWindow]
mov rax, qword [0x140048c88]
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.140031c10
add rsp, 0x60
pop rbp
ret
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3