Function at 0x140007d20
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.1400076a0
mov r14, rax
call fcn.1400142ac
mov rbx, qword [rax]
call fcn.1400142a4
movsxd rdx, dword [rax]
mov qword [0x140036828], rdx
mov qword [0x140036820], rdi
mov qword [0x140036830], rbx
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov edx, 2
xor ecx, ecx
mov dword [0x140036838], eax
call qword [sym.imp.ole32.dll_CoInitializeEx]
xor esi, esi
mov ecx, esi
test eax, eax
setns cl
mov qword [0x1400366d0], 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 0x140007df1
lea rdx, str.GetDpiForMonitor
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rbx, rax
test rax, rax
je 0x140007de8
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 0x140007e30
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 [0x14002df50]
movd xmm0, eax
cvtdq2pd xmm0, xmm0
divsd xmm0, qword [0x14002df58]
comisd xmm1, xmm0
jbe 0x140007e58
movsd qword [0x1400366d8], xmm1
jmp 0x140007e60
movsd qword [0x1400366d8], xmm0
call qword [r14]
mov qword [0x1400366c8], rax
mov rbx, qword [rax]
call fcn.1400081c0
mov rcx, qword [0x1400366c8]
mov rdx, rax
call qword [rbx + 0x68]
test eax, eax
je 0x140008028
call fcn.140007ce0
test eax, eax
jne 0x140007e9f
call fcn.14000aa40
mov eax, 0xffffffff
jmp 0x140008013
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
xorps xmm0, xmm0
lea rdx, [rsp + 0x38]
lea rcx, [0x14000c160]
mov dword [rsp + 0x38], eax
movdqu xmmword [rsp + 0x40], xmm0
call qword [sym.imp.USER32.dll_EnumWindows]
cmp qword [rsp + 0x48], rsi
je 0x14000800c
mov rbx, qword [0x1400366c8]
mov rdi, qword [rbx]
call fcn.1400070e0
mov rdx, rax
mov rcx, rbx
call qword [rdi + 0x68]
test eax, eax
lea rcx, [rsp + 0x38]
cmovne rsi, qword [0x1400366c8]
xor r9d, r9d
xor r8d, r8d
xor edx, edx
call qword [sym.imp.USER32.dll_GetMessageW]
test eax, eax
je 0x140007ffb
nop dword [rax]
test rsi, rsi
je 0x140007f4d
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 0x140007fe0
mov ecx, dword [rsp + 0x40]
lea eax, [rcx - 0x200]
cmp eax, 0xe
jbe 0x140007f67
lea eax, [rcx - 0x100]
cmp eax, 9
ja 0x140007fca
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 0x140007fa4
mov r9, rax
lea r8, [rsp + 0x38]
mov edx, 0x9fff
mov rcx, rbx
call qword [sym.imp.USER32.dll_SendMessageW]
cmp rax, 0x12d12ab
je 0x140007fe0
mov edx, 0xfffffff0
mov rcx, rbx
call qword [sym.imp.USER32.dll_GetWindowLongPtrW]
bt rax, 0x1e
jae 0x140007fca
mov rcx, rbx
call qword [sym.imp.USER32.dll_GetParent]
mov rbx, rax
test rax, rax
jne 0x140007f70
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 0x140007f10
test rsi, rsi
je 0x14000800c
mov rax, qword [rsi]
mov rcx, rsi
call qword [rax + 0xa8]
call fcn.14000aa40
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 [0x1400366c8]
mov rax, qword [rcx]
call qword [rax + 0x60]
mov ecx, 0xffffffff
call fcn.140014270
int3