Function at 0x14000d580
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.14000cb00
mov r14, rax
call fcn.14001cd04
mov rbx, qword [rax]
call fcn.14001ccfc
movsxd rdx, dword [rax]
mov qword [0x14003fd08], rdx
mov qword [0x14003fd00], rdi
mov qword [0x14003fd10], rbx
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov edx, 2
xor ecx, ecx
mov dword [0x14003fd18], eax
call qword [sym.imp.ole32.dll_CoInitializeEx]
xor esi, esi
mov ecx, esi
test eax, eax
setns cl
mov qword [0x14003fbb0], 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 0x14000d651
lea rdx, str.GetDpiForMonitor
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rbx, rax
test rax, rax
je 0x14000d648
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 0x14000d690
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 [0x1400353c0]
movd xmm0, eax
cvtdq2pd xmm0, xmm0
divsd xmm0, qword [0x1400353c8]
comisd xmm1, xmm0
jbe 0x14000d6b8
movsd qword [0x14003fbb8], xmm1
jmp 0x14000d6c0
movsd qword [0x14003fbb8], xmm0
call qword [r14]
mov qword [0x14003fba8], rax
mov rbx, qword [rax]
call fcn.14000da10
mov rcx, qword [0x14003fba8]
mov rdx, rax
call qword [rbx + 0x68]
test eax, eax
je 0x14000d888
call fcn.14000d540
test eax, eax
jne 0x14000d6ff
call fcn.140012120
mov eax, 0xffffffff
jmp 0x14000d873
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
xorps xmm0, xmm0
lea rdx, [rsp + 0x38]
lea rcx, [0x140014300]
mov dword [rsp + 0x38], eax
movdqu xmmword [rsp + 0x40], xmm0
call qword [sym.imp.USER32.dll_EnumWindows]
cmp qword [rsp + 0x48], rsi
je 0x14000d86c
mov rbx, qword [0x14003fba8]
mov rdi, qword [rbx]
call fcn.14000d050
mov rdx, rax
mov rcx, rbx
call qword [rdi + 0x68]
test eax, eax
lea rcx, [rsp + 0x38]
cmovne rsi, qword [0x14003fba8]
xor r9d, r9d
xor r8d, r8d
xor edx, edx
call qword [sym.imp.USER32.dll_GetMessageW]
test eax, eax
je 0x14000d85b
nop dword [rax]
test rsi, rsi
je 0x14000d7ad
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 0x14000d840
mov ecx, dword [rsp + 0x40]
lea eax, [rcx - 0x200]
cmp eax, 0xe
jbe 0x14000d7c7
lea eax, [rcx - 0x100]
cmp eax, 9
ja 0x14000d82a
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 0x14000d804
mov r9, rax
lea r8, [rsp + 0x38]
mov edx, 0x9fff
mov rcx, rbx
call qword [sym.imp.USER32.dll_SendMessageW]
cmp rax, 0x12d12ab
je 0x14000d840
mov edx, 0xfffffff0
mov rcx, rbx
call qword [sym.imp.USER32.dll_GetWindowLongPtrW]
bt rax, 0x1e
jae 0x14000d82a
mov rcx, rbx
call qword [sym.imp.USER32.dll_GetParent]
mov rbx, rax
test rax, rax
jne 0x14000d7d0
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 0x14000d770
test rsi, rsi
je 0x14000d86c
mov rax, qword [rsi]
mov rcx, rsi
call qword [rax + 0xa8]
call fcn.140012120
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 [0x14003fba8]
mov rax, qword [rcx]
call qword [rax + 0x60]
mov ecx, 0xffffffff
call fcn.14001ccc8
int3