Function at 0x140015710
Capabilities:
Enumerate gui resources

Disassembly:
push rbx
push rsi
push rdi
sub rsp, 0x70
mov qword [rsp + 0xa0], r14
mov rdi, rcx
call fcn.140014fb0
mov r14, rax
call fcn.140027290
mov rbx, qword [rax]
call fcn.140027288
movsxd rdx, dword [rax]
mov qword [0x140285cf8], rdx
mov qword [0x140285cf0], rdi
mov qword [0x140285d00], rbx
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov edx, 2
xor ecx, ecx
mov dword [0x140285d08], eax
call qword [sym.imp.ole32.dll_CoInitializeEx]
xor esi, esi
mov ecx, esi
test eax, eax
setns cl
mov qword [0x140285ba0], rcx
lea rcx, str.SHCore.dll
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov rbx, rax
test rax, rax
je 0x1400157b1
lea rdx, str.SetProcessDpiAwareness
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x1400157a8
lea ecx, [rsi + 2]
call rax
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
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 rbx, rax
test rax, rax
je 0x140015829
lea rdx, str.GetDpiForMonitor
mov qword [rsp + 0x98], rbp
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rbp, rax
test rax, rax
je 0x140015818
mov edx, 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 rbp
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
mov rbp, qword [rsp + 0x98]
mov eax, dword [rsp + 0x90]
test eax, eax
jne 0x140015868
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 [0x14027ac10]
movd xmm0, eax
cvtdq2pd xmm0, xmm0
divsd xmm0, qword [0x14027ac18]
comisd xmm1, xmm0
jbe 0x140015890
movsd qword [0x140285ba8], xmm1
jmp 0x140015898
movsd qword [0x140285ba8], xmm0
call qword [r14]
mov qword [0x140285b98], rax
mov rbx, qword [rax]
call fcn.140015c00
mov rcx, qword [0x140285b98]
mov rdx, rax
call qword [rbx + 0x68]
mov r14, qword [rsp + 0xa0]
test eax, eax
je 0x140015a5b
call fcn.1400156d0
test eax, eax
jne 0x1400158e2
call fcn.1400182a0
mov eax, 0xffffffff
add rsp, 0x70
pop rdi
pop rsi
pop rbx
ret
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
xorps xmm0, xmm0
lea rdx, [rsp + 0x38]
lea rcx, [0x140019390]
mov dword [rsp + 0x38], eax
movdqu xmmword [rsp + 0x40], xmm0
call qword [sym.imp.USER32.dll_EnumWindows]
cmp qword [rsp + 0x48], rsi
je 0x140015a4c
mov rbx, qword [0x140285b98]
mov rdi, qword [rbx]
call fcn.1400149f0
mov rdx, rax
mov rcx, rbx
call qword [rdi + 0x68]
test eax, eax
lea rcx, [rsp + 0x38]
cmovne rsi, qword [0x140285b98]
xor r9d, r9d
xor r8d, r8d
xor edx, edx
call qword [sym.imp.USER32.dll_GetMessageW]
test eax, eax
je 0x140015a3b
nop
test rsi, rsi
je 0x14001598d
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 0x140015a20
mov ecx, dword [rsp + 0x40]
lea eax, [rcx - 0x200]
cmp eax, 0xe
jbe 0x1400159a7
lea eax, [rcx - 0x100]
cmp eax, 9
ja 0x140015a0a
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 0x1400159e4
mov r9, rax
lea r8, [rsp + 0x38]
mov edx, 0x9fff
mov rcx, rbx
call qword [sym.imp.USER32.dll_SendMessageW]
cmp rax, 0x12d12ab
je 0x140015a20
mov edx, 0xfffffff0
mov rcx, rbx
call qword [sym.imp.USER32.dll_GetWindowLongPtrW]
bt rax, 0x1e
jae 0x140015a0a
mov rcx, rbx
call qword [sym.imp.USER32.dll_GetParent]
mov rbx, rax
test rax, rax
jne 0x1400159b0
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 0x140015950
test rsi, rsi
je 0x140015a4c
mov rax, qword [rsi]
mov rcx, rsi
call qword [rax + 0xa8]
call fcn.1400182a0
xor eax, eax
add rsp, 0x70
pop rdi
pop rsi
pop rbx
ret
mov rcx, qword [0x140285b98]
mov rax, qword [rcx]
call qword [rax + 0x60]
mov ecx, 0xffffffff
call fcn.140027254
int3