Function at 0x14000c620
Capabilities:
Enumerate gui resources

Disassembly:
push rbx
push rsi
push rdi
sub rsp, 0x70
mov qword [rsp + 0xa0], r14
mov rdi, rcx
call fcn.14000bc70
mov r14, rax
call fcn.140038518
mov rbx, qword [rax]
call fcn.140038510
movsxd rdx, dword [rax]
mov qword [0x14006e058], rdx
mov qword [0x14006e050], rdi
mov qword [0x14006e060], rbx
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov edx, 2
xor ecx, ecx
mov dword [0x14006e068], eax
call qword [sym.imp.ole32.dll_CoInitializeEx]
xor esi, esi
mov ecx, esi
test eax, eax
setns cl
mov qword [0x14006df00], rcx
lea rcx, str.SHCore.dll
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov rbx, rax
test rax, rax
je 0x14000c6c1
lea rdx, str.SetProcessDpiAwareness
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x14000c6b8
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 0x14000c739
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 0x14000c728
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 0x14000c778
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 [0x14005a470]
movd xmm0, eax
cvtdq2pd xmm0, xmm0
divsd xmm0, qword [0x14005a478]
comisd xmm1, xmm0
jbe 0x14000c7a0
movsd qword [0x14006df08], xmm1
jmp 0x14000c7a8
movsd qword [0x14006df08], xmm0
call qword [r14]
mov qword [0x14006def8], rax
mov rbx, qword [rax]
call fcn.14000cad0
mov rcx, qword [0x14006def8]
mov rdx, rax
call qword [rbx + 0x68]
mov r14, qword [rsp + 0xa0]
test eax, eax
je 0x14000c947
call fcn.14000c5e0
test eax, eax
jne 0x14000c7f2
call fcn.140010b40
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, [0x140012a70]
mov dword [rsp + 0x38], eax
movdqu xmmword [rsp + 0x40], xmm0
call qword [sym.imp.USER32.dll_EnumWindows]
cmp qword [rsp + 0x48], rsi
je 0x14000c938
mov rbx, qword [0x14006def8]
mov rdi, qword [rbx]
call fcn.14000c160
mov rdx, rax
mov rcx, rbx
call qword [rdi + 0x68]
test eax, eax
lea rcx, [rsp + 0x38]
cmovne rsi, qword [0x14006def8]
xor r9d, r9d
xor r8d, r8d
xor edx, edx
call qword [sym.imp.USER32.dll_GetMessageW]
lea rdi, vtable.rg_n1::rg_n7814.0
test eax, eax
je 0x14000c92b
test rsi, rsi
je 0x14000c877
mov r10, qword [rsi]
cmp r10, rdi
jne 0x14000c95f
mov ecx, dword [rsp + 0x40]
lea eax, [rcx - 0x200]
cmp eax, 0xe
jbe 0x14000c891
lea eax, [rcx - 0x100]
cmp eax, 9
ja 0x14000c8fa
mov rbx, qword [rsp + 0x38]
nop word [rax + rax]
mov edx, 0xffffffeb
mov rcx, rbx
call qword [sym.imp.USER32.dll_GetWindowLongPtrW]
cmp rax, 0x12d12ab
jne 0x14000c8d4
mov r9, rax
lea r8, [rsp + 0x38]
mov edx, 0x9fff
mov rcx, rbx
call qword [sym.imp.USER32.dll_SendMessageW]
cmp rax, 0x12d12ab
je 0x14000c910
mov edx, 0xfffffff0
mov rcx, rbx
call qword [sym.imp.USER32.dll_GetWindowLongPtrW]
bt rax, 0x1e
jae 0x14000c8fa
mov rcx, rbx
call qword [sym.imp.USER32.dll_GetParent]
mov rbx, rax
test rax, rax
jne 0x14000c8a0
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 0x14000c866
test rsi, rsi
je 0x14000c938
mov rax, qword [rsi]
cmp rax, rdi
jne 0x14000c995
call fcn.140010b40
xor eax, eax
add rsp, 0x70
pop rdi
pop rsi
pop rbx
ret
mov rcx, qword [0x14006def8]
mov rax, qword [rcx]
call qword [rax + 0x60]
mov ecx, 0xffffffff
call fcn.1400384dc
int3
mov r9, qword [rsp + 0x48]
lea rax, [rsp + 0x38]
mov r8d, dword [rsp + 0x40]
mov rcx, rsi
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 0x14000c910
jmp 0x14000c877
mov rcx, rsi
call qword [rax + 0xa8]
jmp 0x14000c938