Function at 0x1400463b0
Capabilities:
Capture screenshot

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0xc8
mov r13, rdx
mov rdi, rcx
mov rax, qword [0x140129050]
xor rax, rsp
mov qword [rsp + 0xc0], rax
cmp qword [0x14012cda0], 0
jne 0x140046418
lea rcx, str.dwmapi.dll
call fcn.140045c80
mov qword [0x14012cda0], rax
test rax, rax
je 0x14004640f
lea rdx, str.DwmGetWindowAttribute
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
jmp 0x140046411
xor eax, eax
mov qword [0x14012cda8], rax
xor ecx, ecx
call qword [sym.imp.USER32.dll_GetDC]
test rax, rax
je 0x14004665c
mov r14, rax
mov rax, qword [0x14012cda8]
test rax, rax
je 0x140046476
lea r8, [rsp + 0x80]
mov rcx, rdi
mov edx, 9
mov r9d, 0x10
call rax
test eax, eax
js 0x140046476
mov ebx, dword [rsp + 0x80]
mov esi, dword [rsp + 0x84]
mov edi, dword [rsp + 0x88]
sub edi, ebx
mov ebp, dword [rsp + 0x8c]
sub ebp, esi
jmp 0x1400464b0
xorps xmm0, xmm0
movaps xmmword [rsp + 0x70], xmm0
movaps xmmword [rsp + 0x60], xmm0
mov rcx, r14
mov edx, 7
call qword [sym.imp.GDI32.dll_GetCurrentObject]
lea r8, [rsp + 0x60]
mov rcx, rax
mov edx, 0x20
call qword [sym.imp.GDI32.dll_GetObjectA]
mov edi, dword [rsp + 0x64]
mov ebp, dword [rsp + 0x68]
xor ebx, ebx
xor esi, esi
mov rcx, r14
call qword [sym.imp.GDI32.dll_CreateCompatibleDC]
test rax, rax
je 0x140046682
mov r12, rax
mov rcx, r14
mov edx, edi
mov r8d, ebp
call qword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
test rax, rax
je 0x1400466b3
mov r15, rax
mov rcx, r12
mov rdx, rax
call qword [sym.imp.GDI32.dll_SelectObject]
test rax, rax
je 0x1400466e1
mov dword [rsp + 0x38], esi
mov dword [rsp + 0x30], ebx
mov qword [rsp + 0x28], r14
mov dword [rsp + 0x20], ebp
mov dword [rsp + 0x40], 0xcc0020
mov rcx, r12
xor edx, edx
xor r8d, r8d
mov r9d, edi
call qword [sym.imp.GDI32.dll_BitBlt]
test eax, eax
je 0x1400466f7
mov rsi, r13
xorps xmm0, xmm0
movups xmmword [rsp + 0xa4], xmm0
mov qword [rsp + 0xb4], 0
mov dword [rsp + 0x90], 0x28
mov dword [rsp + 0x94], edi
mov dword [rsp + 0x98], ebp
mov qword [rsp + 0x9c], 0x200001
movsxd rax, edi
movsxd r13, ebp
imul r13, rax
shl r13, 2
xor ebx, ebx
mov edx, 1
mov rcx, r13
xor r8d, r8d
call fcn.140042eb0
mov rdi, rax
lea rax, [rsp + 0x90]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rdi
mov dword [rsp + 0x30], 0
mov rcx, r14
mov rdx, r15
xor r8d, r8d
mov r9d, ebp
call qword [sym.imp.GDI32.dll_GetDIBits]
test eax, eax
jne 0x1400465d7
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call fcn.140047480
lea rcx, str.GetDIBits__get_data_:__s
mov rdx, rax
call fcn.140042250
mov rbx, rax
lea rdx, [0x14010c8a4]
mov rcx, rsi
call fcn.1400cc438
test rax, rax
je 0x14004671a
mov rbp, rax
mov word [rsp + 0x50], 0x4d42
lea eax, [r13 + 0x36]
mov dword [rsp + 0x52], eax
mov dword [rsp + 0x5a], 0x36
lea rcx, [rsp + 0x50]
mov edx, 1
mov r8d, 0xe
mov r9, rbp
call fcn.1400cc854
lea rcx, [rsp + 0x90]
mov edx, 1
mov r8d, 0x28
mov r9, rbp
call fcn.1400cc854
mov edx, 1
mov rcx, rdi
mov r8, r13
mov r9, rbp
call fcn.1400cc854
mov rcx, rbp
call fcn.1400cbc38
jmp 0x14004672c
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call fcn.140047480
lea rcx, str.GetDC_window_:__s
mov rdx, rax
call fcn.140042250
mov rbx, rax
xor edi, edi
jmp 0x140046749
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call fcn.140047480
lea rcx, str.CreateCompatibleDC_desktop_window_dc_:__s
mov rdx, rax
call fcn.140042250
mov rbx, rax
xor edi, edi
xor ecx, ecx
mov rdx, r14
call qword [sym.imp.USER32.dll_ReleaseDC]
jmp 0x140046749
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call fcn.140047480
lea rcx, str.CreateCompatibleBitmap:__s
mov rdx, rax
call fcn.140042250
mov rbx, rax
xor edi, edi
xor ecx, ecx
mov rdx, r14
call qword [sym.imp.USER32.dll_ReleaseDC]
jmp 0x140046740
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call fcn.140047480
lea rcx, str.SelectObject:__s
jmp 0x14004670b
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call fcn.140047480
lea rcx, str.BitBlt:__s
mov rdx, rax
call fcn.140042250
mov rbx, rax
xor edi, edi
jmp 0x14004672c
lea rcx, str._s:_unable_to_open_file
mov rdx, rsi
call fcn.140042250
mov rbx, rax
xor ecx, ecx
mov rdx, r14
call qword [sym.imp.USER32.dll_ReleaseDC]
mov rcx, r15
call qword [sym.imp.GDI32.dll_DeleteObject]
mov rcx, r12
call qword [sym.imp.GDI32.dll_DeleteObject]
mov rcx, rdi
call fcn.140042f50
mov rcx, qword [rsp + 0xc0]
xor rcx, rsp
call fcn.1400b8cc0
mov rax, rbx
add rsp, 0xc8
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret