Function at 0x140043280
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 [0x14012c040]
xor rax, rsp
mov qword [rsp + 0xc0], rax
cmp qword [0x14012ea00], 0
jne 0x1400432e8
lea rcx, str.dwmapi.dll
call fcn.140042b00
mov qword [0x14012ea00], rax
test rax, rax
je 0x1400432df
lea rdx, str.DwmGetWindowAttribute
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
jmp 0x1400432e1
xor eax, eax
mov qword [0x14012ea08], rax
xor ecx, ecx
call qword [sym.imp.USER32.dll_GetDC]
test rax, rax
je 0x14004352f
mov r14, rax
mov rax, qword [0x14012ea08]
test rax, rax
je 0x140043346
lea r8, [rsp + 0x80]
mov rcx, rdi
mov edx, 9
mov r9d, 0x10
call rax
test eax, eax
js 0x140043346
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 0x140043380
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 0x140043555
mov r12, rax
mov rcx, r14
mov edx, edi
mov r8d, ebp
call qword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
test rax, rax
je 0x140043586
mov r15, rax
mov rcx, r12
mov rdx, rax
call qword [sym.imp.GDI32.dll_SelectObject]
test rax, rax
je 0x1400435b4
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 0x1400435ca
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 edi, edi
mov edx, 1
mov rcx, r13
xor r8d, r8d
call fcn.14003f680
mov rbx, rax
lea rax, [rsp + 0x90]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rbx
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 0x1400434a7
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call fcn.140044050
lea rcx, str.GetDIBits__get_data_:__s
mov rdx, rax
call fcn.14003ea20
mov rdi, rax
lea rdx, [0x14010f081]
mov rcx, rsi
xor r8d, r8d
call fcn.140054490
test rax, rax
je 0x1400435ed
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.1400cce9c
lea rcx, [rsp + 0x90]
mov edx, 1
mov r8d, 0x28
mov r9, rbp
call fcn.1400cce9c
mov edx, 1
mov rcx, rbx
mov r8, r13
mov r9, rbp
call fcn.1400cce9c
mov rcx, rbp
call fcn.1400cc348
jmp 0x140043607
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call fcn.140044050
lea rcx, str.GetDC_window_:__s
mov rdx, rax
call fcn.14003ea20
mov rdi, rax
xor ebx, ebx
jmp 0x140043624
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call fcn.140044050
lea rcx, str.CreateCompatibleDC_desktop_window_dc_:__s
mov rdx, rax
call fcn.14003ea20
mov rdi, rax
xor ebx, ebx
xor ecx, ecx
mov rdx, r14
call qword [sym.imp.USER32.dll_ReleaseDC]
jmp 0x140043624
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call fcn.140044050
lea rcx, str.CreateCompatibleBitmap:__s
mov rdx, rax
call fcn.14003ea20
mov rdi, rax
xor ebx, ebx
xor ecx, ecx
mov rdx, r14
call qword [sym.imp.USER32.dll_ReleaseDC]
jmp 0x14004361b
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call fcn.140044050
lea rcx, str.SelectObject:__s
jmp 0x1400435de
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call fcn.140044050
lea rcx, str.BitBlt:__s
mov rdx, rax
call fcn.14003ea20
mov rdi, rax
xor ebx, ebx
jmp 0x140043607
mov rcx, rsi
call fcn.14003c840
lea rcx, str._s:_unable_to_open_file
mov rdx, rax
call fcn.14003ea20
mov rdi, 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, rbx
call fcn.14003f720
mov rcx, qword [rsp + 0xc0]
xor rcx, rsp
call fcn.1400b9230
mov rax, rdi
add rsp, 0xc8
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret