Function at 0x140043f90
Capabilities:
Capture screenshot
Write file on windows

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 [0x140102058]
xor rax, rsp
mov qword [rsp + 0xc0], rax
cmp qword [0x140105db0], 0
jne 0x140043ff8
lea rcx, str.dwmapi.dll
call fcn.140043cd0
mov qword [0x140105db0], rax
test rax, rax
je 0x140043fef
lea rdx, str.DwmGetWindowAttribute
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
jmp 0x140043ff1
xor eax, eax
mov qword [0x140105db8], rax
xor ecx, ecx
call qword [sym.imp.USER32.dll_GetDC]
test rax, rax
je 0x14004423c
mov r14, rax
mov rax, qword [0x140105db8]
test rax, rax
je 0x140044056
lea r8, [rsp + 0x80]
mov rcx, rdi
mov edx, 9
mov r9d, 0x10
call rax
test eax, eax
js 0x140044056
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 0x140044090
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 0x140044262
mov r12, rax
mov rcx, r14
mov edx, edi
mov r8d, ebp
call qword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
test rax, rax
je 0x140044293
mov r15, rax
mov rcx, r12
mov rdx, rax
call qword [sym.imp.GDI32.dll_SelectObject]
test rax, rax
je 0x1400442c1
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 0x1400442d7
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.1400416b0
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 0x1400441b7
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call fcn.140045070
lea rcx, str.GetDIBits__get_data_:__s
mov rdx, rax
call fcn.140040ac0
mov rbx, rax
lea rdx, [0x1400ea328]
mov rcx, rsi
call fcn.1400b465c
test rax, rax
je 0x1400442fa
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.1400b4a78
lea rcx, [rsp + 0x90]
mov edx, 1
mov r8d, 0x28
mov r9, rbp
call fcn.1400b4a78
mov edx, 1
mov rcx, rdi
mov r8, r13
mov r9, rbp
call fcn.1400b4a78
mov rcx, rbp
call fcn.1400b3fcc
jmp 0x14004430c
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call fcn.140045070
lea rcx, str.GetDC_window_:__s
mov rdx, rax
call fcn.140040ac0
mov rbx, rax
xor edi, edi
jmp 0x140044329
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call fcn.140045070
lea rcx, str.CreateCompatibleDC_desktop_window_dc_:__s
mov rdx, rax
call fcn.140040ac0
mov rbx, rax
xor edi, edi
xor ecx, ecx
mov rdx, r14
call qword [sym.imp.USER32.dll_ReleaseDC]
jmp 0x140044329
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call fcn.140045070
lea rcx, str.CreateCompatibleBitmap:__s
mov rdx, rax
call fcn.140040ac0
mov rbx, rax
xor edi, edi
xor ecx, ecx
mov rdx, r14
call qword [sym.imp.USER32.dll_ReleaseDC]
jmp 0x140044320
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call fcn.140045070
lea rcx, str.SelectObject:__s
jmp 0x1400442eb
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call fcn.140045070
lea rcx, str.BitBlt:__s
mov rdx, rax
call fcn.140040ac0
mov rbx, rax
xor edi, edi
jmp 0x14004430c
lea rcx, str._s:_unable_to_open_file
mov rdx, rsi
call fcn.140040ac0
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.140041750
mov rcx, qword [rsp + 0xc0]
xor rcx, rsp
call fcn.1400a5f20
mov rax, rbx
add rsp, 0xc8
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret