Function at 0x14001a7d0
Capabilities:
Capture screenshot

Disassembly:
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x180
mov rax, qword [0x140325ed8]
xor rax, rsp
mov qword [rsp + 0x178], rax
mov rax, qword [rsp + 0x190]
mov qword [rax], 0
mov rax, qword [rsp + 0x198]
mov qword [rax], 0
cmp qword [0x1403b8ca8], 0
je 0x14001a830
mov rdx, qword [0x1403b8ca8]
xor ecx, ecx
call qword [sym.imp.USER32.dll_ReleaseDC]
xor ecx, ecx
call qword [sym.imp.USER32.dll_GetDC]
mov qword [0x1403b8ca8], rax
cmp qword [0x1403b8ca8], 0
jne 0x14001a853
mov eax, 1
jmp 0x14001aef8
cmp qword [0x1403b8cf0], 0
je 0x14001a86a
mov rcx, qword [0x1403b8cf0]
call qword [sym.imp.GDI32.dll_DeleteObject]
mov ecx, dword [0x1403b8c88]
call fcn.140019520
mov dword [rsp + 0x88], eax
mov ecx, dword [0x1403b8c38]
call fcn.140019520
mov dword [rsp + 0x8c], eax
mov rax, qword [0x1403b8ca8]
mov qword [rsp + 0xd8], rax
mov r8d, dword [rsp + 0x88]
mov edx, dword [rsp + 0x8c]
mov rcx, qword [rsp + 0xd8]
call qword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
mov qword [0x1403b8cf0], rax
cmp qword [0x1403b8cf0], 0
jne 0x14001a8d5
mov eax, 1
jmp 0x14001aef8
mov rdx, qword [0x1403b8cf0]
mov rcx, qword [0x1403b8cd8]
call qword [sym.imp.GDI32.dll_SelectObject]
test rax, rax
jne 0x14001a8f8
mov eax, 1
jmp 0x14001aef8
cmp dword [0x140326c1c], 0x400
jne 0x14001ac55
mov eax, dword [0x1403b8c54]
mov dword [rsp + 0x90], eax
mov eax, dword [0x1403b8c68]
mov dword [rsp + 0x94], eax
mov rax, qword [0x1403b8ca8]
mov qword [rsp + 0xe0], rax
mov ecx, dword [0x1403b8c48]
call fcn.140019520
mov dword [rsp + 0x98], eax
mov ecx, dword [0x1403b8c6c]
call fcn.140019520
mov dword [rsp + 0x9c], eax
mov rax, qword [0x1403b8cd8]
mov qword [rsp + 0xe8], rax
mov dword [rsp + 0x40], 0x40cc0020
mov eax, dword [rsp + 0x90]
mov dword [rsp + 0x38], eax
mov eax, dword [rsp + 0x94]
mov dword [rsp + 0x30], eax
mov rax, qword [rsp + 0xe0]
mov qword [rsp + 0x28], rax
mov eax, dword [rsp + 0x98]
mov dword [rsp + 0x20], eax
mov r9d, dword [rsp + 0x9c]
xor r8d, r8d
xor edx, edx
mov rcx, qword [rsp + 0xe8]
call qword [sym.imp.GDI32.dll_BitBlt]
test eax, eax
jne 0x14001a9c3
mov eax, 1
jmp 0x14001aef8
mov eax, 4
imul rax, rax, 0
mov rcx, qword [rsp + 0x1a0]
cmp dword [rcx + rax], 0
je 0x14001ac50
lea rax, [rsp + 0x110]
mov rdi, rax
xor eax, eax
mov ecx, 0x18
rep stosb byte [rdi], al
mov dword [rsp + 0x110], 0x18
lea rcx, [rsp + 0x110]
call qword [sym.imp.USER32.dll_GetCursorInfo]
lea rdx, [rsp + 0x128]
mov rcx, qword [rsp + 0x118]
call qword [sym.imp.USER32.dll_GetIconInfo]
lea r8, [rsp + 0xb8]
mov edx, 0x20
mov rcx, qword [rsp + 0x138]
call qword [sym.imp.GDI32.dll_GetObjectA]
cdqe
cmp rax, 0x20
jne 0x14001ac50
xor ecx, ecx
call qword [sym.imp.USER32.dll_GetDC]
mov qword [rsp + 0x78], rax
cmp qword [rsp + 0x78], 0
je 0x14001ac50
mov rcx, qword [rsp + 0x78]
call qword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov qword [rsp + 0x60], rax
cmp qword [rsp + 0x140], 0
je 0x14001aa89
mov eax, dword [rsp + 0xc0]
mov dword [rsp + 0x68], eax
jmp 0x14001aa99
mov eax, dword [rsp + 0xc0]
cdq
sub eax, edx
sar eax, 1
mov dword [rsp + 0x68], eax
mov r8d, dword [rsp + 0x68]
mov edx, dword [rsp + 0xbc]
mov rcx, qword [rsp + 0x78]
call qword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
mov qword [rsp + 0x80], rax
cmp qword [rsp + 0x60], 0
je 0x14001ac0d
cmp qword [rsp + 0x80], 0
je 0x14001ac0d
mov rdx, qword [rsp + 0x80]
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.GDI32.dll_SelectObject]
mov qword [rsp + 0xf8], rax
cmp qword [rsp + 0x140], 0
je 0x14001ab06
mov eax, dword [rsp + 0xc0]
mov dword [rsp + 0x6c], eax
jmp 0x14001ab16
mov eax, dword [rsp + 0xc0]
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 + 0xbc]
mov dword [rsp + 0x20], eax
mov r9, qword [rsp + 0x118]
xor r8d, r8d
xor edx, edx
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.USER32.dll_DrawIconEx]
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0xf0], rax
cmp qword [rsp + 0x140], 0
je 0x14001ab7f
mov eax, dword [rsp + 0xc0]
mov dword [rsp + 0x70], eax
jmp 0x14001ab8f
mov eax, dword [rsp + 0xc0]
cdq
sub eax, edx
sar eax, 1
mov dword [rsp + 0x70], eax
mov eax, 4
imul rax, rax, 2
mov ecx, 4
imul rcx, rcx, 1
mov dword [rsp + 0x40], 0x660046
mov dword [rsp + 0x38], 0
mov dword [rsp + 0x30], 0
mov rdx, qword [rsp + 0xf0]
mov qword [rsp + 0x28], rdx
mov edx, dword [rsp + 0x70]
mov dword [rsp + 0x20], edx
mov r9d, dword [rsp + 0xbc]
mov rdx, qword [rsp + 0x1a0]
mov r8d, dword [rdx + rax]
mov rax, qword [rsp + 0x1a0]
mov edx, dword [rax + rcx]
mov rcx, qword [0x1403b8cd8]
call qword [sym.imp.GDI32.dll_BitBlt]
mov rdx, qword [rsp + 0xf8]
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.GDI32.dll_SelectObject]
cmp qword [rsp + 0x80], 0
je 0x14001ac26
mov rcx, qword [rsp + 0x80]
call qword [sym.imp.GDI32.dll_DeleteObject]
cmp qword [rsp + 0x60], 0
je 0x14001ac3b
mov rdx, qword [rsp + 0x60]
xor ecx, ecx
call qword [sym.imp.USER32.dll_ReleaseDC]
cmp qword [rsp + 0x78], 0
je 0x14001ac50
mov rdx, qword [rsp + 0x78]
xor ecx, ecx
call qword [sym.imp.USER32.dll_ReleaseDC]
jmp 0x14001ad6a
mov edx, 4
mov rcx, qword [0x1403b8cd8]
call qword [sym.imp.GDI32.dll_SetStretchBltMode]
test eax, eax
jne 0x14001ac75
mov eax, 1
jmp 0x14001aef8
mov ecx, dword [0x1403b8c48]
call fcn.140019520
mov dword [rsp + 0xa0], eax
mov ecx, dword [0x1403b8c6c]
call fcn.140019520
mov dword [rsp + 0xa4], eax
mov eax, dword [0x1403b8c54]
mov dword [rsp + 0xa8], eax
mov eax, dword [0x1403b8c68]
mov dword [rsp + 0xac], eax
mov rax, qword [0x1403b8ca8]
mov qword [rsp + 0x100], rax
mov ecx, dword [0x1403b8c88]
call fcn.140019520
mov dword [rsp + 0xb0], eax
mov ecx, dword [0x1403b8c38]
call fcn.140019520
mov dword [rsp + 0xb4], eax
mov rax, qword [0x1403b8cd8]
mov qword [rsp + 0x108], rax
mov dword [rsp + 0x50], 0x40cc0020
mov eax, dword [rsp + 0xa0]
mov dword [rsp + 0x48], eax
mov eax, dword [rsp + 0xa4]
mov dword [rsp + 0x40], eax
mov eax, dword [rsp + 0xa8]
mov dword [rsp + 0x38], eax
mov eax, dword [rsp + 0xac]
mov dword [rsp + 0x30], eax
mov rax, qword [rsp + 0x100]
mov qword [rsp + 0x28], rax
mov eax, dword [rsp + 0xb0]
mov dword [rsp + 0x20], eax
mov r9d, dword [rsp + 0xb4]
xor r8d, r8d
xor edx, edx
mov rcx, qword [rsp + 0x108]
call qword [sym.imp.GDI32.dll_StretchBlt]
test eax, eax
jne 0x14001ad6a
mov eax, 1
jmp 0x14001aef8
lea rax, [rsp + 0x148]
mov rdi, rax
xor eax, eax
mov ecx, 0x2c
rep stosb byte [rdi], al
mov dword [rsp + 0x148], 0x28
mov dword [rsp + 0x30], 0
lea rax, [rsp + 0x148]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
mov rdx, qword [0x1403b8cf0]
mov rcx, qword [0x1403b8ca8]
call qword [sym.imp.GDI32.dll_GetDIBits]
test eax, eax
jne 0x14001adf3
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x20], eax
mov r9d, 0xfc
mov r8d, 0x229
lea rdx, str.D:WorkOpenSourceGithubMeshAgentmeshcoreKVMWindows_tile.cpp
xor ecx, ecx
call fcn.140124df0
mov eax, 1
jmp 0x14001aef8
cmp dword [rsp + 0x15c], 0
ja 0x14001ae33
mov ecx, dword [rsp + 0x150]
call fcn.140019020
mov ecx, dword [rsp + 0x14c]
imul ecx, eax
mov eax, ecx
movzx ecx, word [rsp + 0x156]
add ecx, 7
imul eax, ecx
cdq
and edx, 7
add eax, edx
sar eax, 3
mov dword [rsp + 0x15c], eax
mov eax, dword [rsp + 0x15c]
mov rcx, qword [rsp + 0x198]
mov qword [rcx], rax
movzx eax, word [rsp + 0x156]
cdq
and edx, 7
add eax, edx
sar eax, 3
mov dword [0x1403b8c98], eax
mov rax, qword [rsp + 0x198]
mov rcx, qword [rax]
call fcn.14027bb94
mov rcx, qword [rsp + 0x190]
mov qword [rcx], rax
mov rax, qword [rsp + 0x190]
cmp qword [rax], 0
jne 0x14001ae8c
mov eax, 1
jmp 0x14001aef8
mov dword [rsp + 0x158], 0
mov dword [rsp + 0x30], 0
lea rax, [rsp + 0x148]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x190]
mov rax, qword [rax]
mov qword [rsp + 0x20], rax
mov r9d, dword [rsp + 0x150]
xor r8d, r8d
mov rdx, qword [0x1403b8cf0]
mov rcx, qword [0x1403b8ca8]
call qword [sym.imp.GDI32.dll_GetDIBits]
test eax, eax
jne 0x14001aef6
mov rax, qword [rsp + 0x190]
mov rcx, qword [rax]
call fcn.14027a7c0
mov eax, 1
jmp 0x14001aef8
xor eax, eax
mov rcx, qword [rsp + 0x178]
xor rcx, rsp
call fcn.14026d940
add rsp, 0x180
pop rdi
ret