Function at 0x140014300
Capabilities:
Capture screenshot

Disassembly:
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x100
mov rax, qword [0x140325ed8]
xor rax, rsp
mov qword [rsp + 0xf8], rax
mov dword [rsp + 0x74], 0
lea rdx, [rsp + 0xa8]
mov rcx, qword [rsp + 0x110]
call qword [sym.imp.USER32.dll_GetIconInfo]
lea r8, [rsp + 0x80]
mov edx, 0x20
mov rcx, qword [rsp + 0xb8]
call qword [sym.imp.GDI32.dll_GetObjectA]
cdqe
cmp rax, 0x20
jne 0x140014613
xor ecx, ecx
call qword [sym.imp.USER32.dll_GetDC]
mov qword [rsp + 0x50], rax
cmp qword [rsp + 0x50], 0
je 0x140014613
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov qword [rsp + 0x60], rax
cmp qword [rsp + 0xc0], 0
je 0x1400143af
mov eax, dword [rsp + 0x88]
mov dword [rsp + 0x68], eax
jmp 0x1400143bf
mov eax, dword [rsp + 0x88]
cdq
sub eax, edx
sar eax, 1
mov dword [rsp + 0x68], eax
mov r8d, dword [rsp + 0x68]
mov edx, dword [rsp + 0x84]
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
mov qword [rsp + 0x58], rax
cmp qword [rsp + 0x60], 0
je 0x1400145d6
cmp qword [rsp + 0x58], 0
je 0x1400145d6
mov rdx, qword [rsp + 0x58]
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.GDI32.dll_SelectObject]
mov qword [rsp + 0xa0], rax
lea rax, [rsp + 0xc8]
mov rdi, rax
xor eax, eax
mov ecx, 0x2c
rep stosb byte [rdi], al
mov dword [rsp + 0xc8], 0x28
mov dword [rsp + 0xd8], 0
cmp qword [rsp + 0xc0], 0
je 0x14001444d
mov eax, dword [rsp + 0x88]
mov dword [rsp + 0x6c], eax
jmp 0x14001445d
mov eax, dword [rsp + 0x88]
cdq
sub eax, edx
sar eax, 1
mov dword [rsp + 0x6c], eax
mov dword [rsp + 0x40], 3
mov qword [rsp + 0x38], 0
mov dword [rsp + 0x30], 0
mov eax, dword [rsp + 0x6c]
mov dword [rsp + 0x28], eax
mov eax, dword [rsp + 0x84]
mov dword [rsp + 0x20], eax
mov r9, qword [rsp + 0x110]
xor r8d, r8d
xor edx, edx
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.USER32.dll_DrawIconEx]
mov dword [rsp + 0x30], 0
lea rax, [rsp + 0xc8]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
mov rdx, qword [rsp + 0x58]
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.GDI32.dll_GetDIBits]
mov eax, dword [rsp + 0xdc]
mov ecx, eax
call fcn.14027bb94
mov qword [rsp + 0x78], rax
cmp qword [rsp + 0x78], 0
jne 0x140014537
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x20], eax
mov r9d, 0xfe
mov r8d, 0xac
lea rdx, str.D:WorkOpenSourceGithubMeshAgentmeshcoreKVMWindowsinput.c
xor ecx, ecx
call fcn.140124df0
mov r8d, 0xac
lea rdx, [0x1403325d0]
lea rcx, [0x140332580]
call fcn.1400012d0
mov ecx, 0xfe
call fcn.1402742dc
mov dword [rsp + 0xd8], 0
cmp qword [rsp + 0xc0], 0
je 0x14001455a
mov eax, dword [rsp + 0x88]
mov dword [rsp + 0x70], eax
jmp 0x14001456a
mov eax, dword [rsp + 0x88]
cdq
sub eax, edx
sar eax, 1
mov dword [rsp + 0x70], eax
mov dword [rsp + 0x30], 0
lea rax, [rsp + 0xc8]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x78]
mov qword [rsp + 0x20], rax
mov r9d, dword [rsp + 0x70]
xor r8d, r8d
mov rdx, qword [rsp + 0x58]
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.GDI32.dll_GetDIBits]
xor r8d, r8d
mov edx, dword [rsp + 0xdc]
mov rcx, qword [rsp + 0x78]
call fcn.140110570
mov dword [rsp + 0x74], eax
mov rcx, qword [rsp + 0x78]
call fcn.14027a7c0
mov rdx, qword [rsp + 0xa0]
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.GDI32.dll_SelectObject]
cmp qword [rsp + 0x58], 0
je 0x1400145e9
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.GDI32.dll_DeleteObject]
cmp qword [rsp + 0x60], 0
je 0x1400145fe
mov rdx, qword [rsp + 0x60]
xor ecx, ecx
call qword [sym.imp.USER32.dll_ReleaseDC]
cmp qword [rsp + 0x50], 0
je 0x140014613
mov rdx, qword [rsp + 0x50]
xor ecx, ecx
call qword [sym.imp.USER32.dll_ReleaseDC]
mov eax, dword [rsp + 0x74]
mov rcx, qword [rsp + 0xf8]
xor rcx, rsp
call fcn.14026d940
add rsp, 0x100
pop rdi
ret