Function at 0x140018870
Capabilities:
Enumerate gui resources

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r14
sub rsp, 0x70
mov rdi, rcx
call fcn.1400181f0
mov r14, rax
call fcn.140028114
mov rbx, qword [rax]
call fcn.14002810c
movsxd rdx, dword [rax]
mov qword [0x14005be08], rdx
mov qword [0x14005be00], rdi
mov qword [0x14005be10], rbx
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov edx, 2
xor ecx, ecx
mov dword [0x14005be18], eax
call qword [sym.imp.ole32.dll_CoInitializeEx]
xor esi, esi
mov ecx, esi
test eax, eax
setns cl
mov qword [0x14005bcb0], rcx
call qword [sym.imp.USER32.dll_GetDesktopWindow]
lea rcx, str.SHCore.dll
mov dword [rsp + 0x90], esi
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov rbp, rax
test rax, rax
je 0x140018941
lea rdx, str.GetDpiForMonitor
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rbx, rax
test rax, rax
je 0x140018938
lea edx, [rsi + 2]
mov rcx, rdi
call qword [sym.imp.USER32.dll_MonitorFromWindow]
lea r9, [rsp + 0x90]
xor edx, edx
mov rcx, rax
lea r8, [rsp + 0x30]
call rbx
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
mov eax, dword [rsp + 0x90]
test eax, eax
jne 0x140018980
mov rcx, rdi
call qword [sym.imp.USER32.dll_GetDC]
mov rcx, rax
mov edx, 0x5a
mov rbx, rax
call qword [sym.imp.GDI32.dll_GetDeviceCaps]
mov rdx, rbx
mov rcx, rdi
mov dword [rsp + 0x90], eax
call qword [sym.imp.USER32.dll_ReleaseDC]
mov eax, dword [rsp + 0x90]
movsd xmm1, qword [0x14004b820]
movd xmm0, eax
cvtdq2pd xmm0, xmm0
divsd xmm0, qword [0x14004b828]
comisd xmm1, xmm0
jbe 0x1400189a8
movsd qword [0x14005bcb8], xmm1
jmp 0x1400189b0
movsd qword [0x14005bcb8], xmm0
call qword [r14]
mov qword [0x14005bca8], rax
mov rbx, qword [rax]
call fcn.140018d10
mov rcx, qword [0x14005bca8]
mov rdx, rax
call qword [rbx + 0x68]
test eax, eax
je 0x140018b78
call fcn.140018830
test eax, eax
jne 0x1400189ef
call fcn.14001c250
mov eax, 0xffffffff
jmp 0x140018b63
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
xorps xmm0, xmm0
lea rdx, [rsp + 0x38]
lea rcx, [0x14001d430]
mov dword [rsp + 0x38], eax
movdqu xmmword [rsp + 0x40], xmm0
call qword [sym.imp.USER32.dll_EnumWindows]
cmp qword [rsp + 0x48], rsi
je 0x140018b5c
mov rbx, qword [0x14005bca8]
mov rdi, qword [rbx]
call fcn.140017c30
mov rdx, rax
mov rcx, rbx
call qword [rdi + 0x68]
test eax, eax
lea rcx, [rsp + 0x38]
cmovne rsi, qword [0x14005bca8]
xor r9d, r9d
xor r8d, r8d
xor edx, edx
call qword [sym.imp.USER32.dll_GetMessageW]
test eax, eax
je 0x140018b4b
nop dword [rax]
test rsi, rsi
je 0x140018a9d
mov r10, qword [rsi]
lea rax, [rsp + 0x38]
mov r9, qword [rsp + 0x48]
mov rcx, rsi
mov r8d, dword [rsp + 0x40]
mov rdx, qword [rsp + 0x38]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x20], rax
call qword [r10 + 0x98]
test eax, eax
je 0x140018b30
mov ecx, dword [rsp + 0x40]
lea eax, [rcx - 0x200]
cmp eax, 0xe
jbe 0x140018ab7
lea eax, [rcx - 0x100]
cmp eax, 9
ja 0x140018b1a
mov rbx, qword [rsp + 0x38]
nop dword [rax]
mov edx, 0xffffffeb
mov rcx, rbx
call qword [sym.imp.USER32.dll_GetWindowLongPtrW]
cmp rax, 0x12d12ab
jne 0x140018af4
mov r9, rax
lea r8, [rsp + 0x38]
mov edx, 0x9fff
mov rcx, rbx
call qword [sym.imp.USER32.dll_SendMessageW]
cmp rax, 0x12d12ab
je 0x140018b30
mov edx, 0xfffffff0
mov rcx, rbx
call qword [sym.imp.USER32.dll_GetWindowLongPtrW]
bt rax, 0x1e
jae 0x140018b1a
mov rcx, rbx
call qword [sym.imp.USER32.dll_GetParent]
mov rbx, rax
test rax, rax
jne 0x140018ac0
lea rcx, [rsp + 0x38]
call qword [sym.imp.USER32.dll_TranslateMessage]
lea rcx, [rsp + 0x38]
call qword [sym.imp.USER32.dll_DispatchMessageW]
xor r9d, r9d
lea rcx, [rsp + 0x38]
xor r8d, r8d
xor edx, edx
call qword [sym.imp.USER32.dll_GetMessageW]
test eax, eax
jne 0x140018a60
test rsi, rsi
je 0x140018b5c
mov rax, qword [rsi]
mov rcx, rsi
call qword [rax + 0xa8]
call fcn.14001c250
xor eax, eax
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x28]
mov rbp, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop rdi
pop rsi
ret
mov rcx, qword [0x14005bca8]
mov rax, qword [rcx]
call qword [rax + 0x60]
mov ecx, 0xffffffff
call fcn.1400280d8
int3