Function at 0x14012a3a0
Capabilities:
Capture screenshot

Disassembly:
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
sub rsp, 0x128
mov rax, qword [0x140437340]
xor rax, rsp
mov qword [rsp + 0x118], rax
mov rax, qword [rsp + 0x130]
mov rax, qword [rax + 0x48]
mov qword [rsp + 0x98], rax
cmp qword [rsp + 0x98], 0
jne 0x14012a6b4
mov rax, qword [rsp + 0x130]
mov rcx, qword [rax + 8]
call qword [sym.imp.USER32.dll_GetParent]
mov qword [rsp + 0xa0], rax
mov rax, qword [rsp + 0xa0]
mov qword [rsp + 0x88], rax
mov rax, qword [rsp + 0x88]
mov qword [rsp + 0xa8], rax
mov qword [rsp + 0x78], 0
mov rax, qword [rsp + 0xa8]
mov qword [rsp + 0x80], rax
mov rcx, qword [rsp + 0xa8]
call qword [sym.imp.USER32.dll_GetDC]
mov qword [rsp + 0x78], rax
mov dword [rsp + 0x68], 0
mov dword [rsp + 0x6c], 0
mov dword [rsp + 0x70], 0
mov dword [rsp + 0x74], 0
lea rdx, [rsp + 0x68]
mov rax, qword [rsp + 0x130]
mov rcx, qword [rax + 8]
call qword [sym.imp.USER32.dll_GetWindowRect]
mov rax, qword [rsp + 0x130]
mov rcx, qword [rax + 8]
call qword [sym.imp.USER32.dll_GetParent]
mov qword [rsp + 0xb0], rax
mov rax, qword [rsp + 0xb0]
mov qword [rsp + 0x90], rax
lea rdx, [rsp + 0x68]
mov rcx, qword [rsp + 0x90]
call qword [sym.imp.USER32.dll_ScreenToClient]
test eax, eax
jne 0x14012a4cf
jmp 0x14012a4e5
lea rax, [rsp + 0x70]
mov rdx, rax
mov rcx, qword [rsp + 0x90]
call qword [sym.imp.USER32.dll_ScreenToClient]
mov qword [rsp + 0x58], 0
mov eax, dword [rsp + 0x6c]
mov ecx, dword [rsp + 0x74]
sub ecx, eax
mov eax, ecx
mov dword [rsp + 0xb8], eax
mov eax, dword [rsp + 0x68]
mov ecx, dword [rsp + 0x70]
sub ecx, eax
mov eax, ecx
mov dword [rsp + 0xbc], eax
mov r8d, dword [rsp + 0xb8]
mov edx, dword [rsp + 0xbc]
mov rcx, qword [rsp + 0x140]
call qword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x50], 0
mov rcx, qword [rsp + 0x140]
call qword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x58]
mov qword [rsp + 0xc0], rax
mov rdx, qword [rsp + 0xc0]
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.GDI32.dll_SelectObject]
mov rax, qword [rsp + 0x78]
mov qword [rsp + 0xc8], rax
mov eax, dword [rsp + 0x6c]
mov ecx, dword [rsp + 0x74]
sub ecx, eax
mov eax, ecx
mov dword [rsp + 0xd0], eax
mov eax, dword [rsp + 0x6c]
mov dword [rsp + 0xdc], eax
mov eax, dword [rsp + 0x68]
mov dword [rsp + 0xd8], eax
mov eax, dword [rsp + 0x68]
mov ecx, dword [rsp + 0x70]
sub ecx, eax
mov eax, ecx
mov dword [rsp + 0xd4], eax
mov dword [rsp + 0x40], 0xcc0020
mov eax, dword [rsp + 0xdc]
mov dword [rsp + 0x38], eax
mov eax, dword [rsp + 0xd8]
mov dword [rsp + 0x30], eax
mov rax, qword [rsp + 0xc8]
mov qword [rsp + 0x28], rax
mov eax, dword [rsp + 0xd0]
mov dword [rsp + 0x20], eax
mov r9d, dword [rsp + 0xd4]
xor r8d, r8d
xor edx, edx
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.GDI32.dll_BitBlt]
mov rax, qword [rsp + 0x58]
mov qword [rsp + 0xe8], rax
mov rax, qword [rsp + 0x130]
add rax, 0x48
mov qword [rsp + 0xe0], rax
mov rcx, qword [rsp + 0xe8]
call qword [sym.imp.GDI32.dll_CreatePatternBrush]
mov rcx, qword [rsp + 0xe0]
mov qword [rcx], rax
xor eax, eax
cmp eax, 1
je 0x14012a676
cmp qword [rsp + 0x50], 0
je 0x14012a676
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0xf0], rax
mov qword [rsp + 0x50], 0
mov rcx, qword [rsp + 0xf0]
call qword [sym.imp.GDI32.dll_DeleteDC]
xor eax, eax
cmp eax, 1
je 0x14012a6aa
cmp qword [rsp + 0x58], 0
je 0x14012a6aa
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.GDI32.dll_DeleteObject]
mov dword [rsp + 0xf8], eax
cmp dword [rsp + 0xf8], 0
je 0x14012a6aa
mov qword [rsp + 0x58], 0
lea rcx, [rsp + 0x78]
call fcn.1400d6730
mov rax, qword [rsp + 0x130]
mov rax, qword [rax + 0x48]
mov qword [rsp + 0x110], rax
mov rax, qword [rsp + 0x110]
mov rcx, qword [rsp + 0x118]
xor rcx, rsp
call fcn.140250fd0
add rsp, 0x128
ret