Function at 0x14013ff40
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, 0x138
mov rax, qword [0x140437340]
xor rax, rsp
mov qword [rsp + 0x128], rax
mov edx, 0x4a8
mov rax, qword [rsp + 0x140]
mov rcx, qword [rax + 8]
call qword [sym.imp.USER32.dll_GetDlgItem]
mov qword [rsp + 0x98], rax
mov rax, qword [rsp + 0x98]
mov qword [rsp + 0x88], rax
mov rax, qword [rsp + 0x158]
cmp qword [rsp + 0x88], rax
jne 0x1401402d3
mov rax, qword [rsp + 0x140]
mov rax, qword [rax + 0x420]
mov qword [rsp + 0xa0], rax
cmp qword [rsp + 0xa0], 0
jne 0x1401402b2
mov rax, qword [rsp + 0x140]
mov rax, qword [rax + 8]
mov qword [rsp + 0xa8], rax
mov qword [rsp + 0x58], 0
mov rax, qword [rsp + 0xa8]
mov qword [rsp + 0x60], rax
mov rcx, qword [rsp + 0xa8]
call qword [sym.imp.USER32.dll_GetDC]
mov qword [rsp + 0x58], rax
mov dword [rsp + 0x78], 0
mov dword [rsp + 0x7c], 0
mov dword [rsp + 0x80], 0
mov dword [rsp + 0x84], 0
mov edx, 0x4a8
mov rax, qword [rsp + 0x140]
mov rcx, qword [rax + 8]
call qword [sym.imp.USER32.dll_GetDlgItem]
mov qword [rsp + 0xb0], rax
mov rax, qword [rsp + 0xb0]
mov qword [rsp + 0x90], rax
lea rdx, [rsp + 0x78]
mov rcx, qword [rsp + 0x90]
call qword [sym.imp.USER32.dll_GetWindowRect]
mov rax, qword [rsp + 0x140]
add rax, 8
mov qword [rsp + 0xb8], rax
lea rdx, [rsp + 0x78]
mov rax, qword [rsp + 0xb8]
mov rcx, qword [rax]
call qword [sym.imp.USER32.dll_ScreenToClient]
test eax, eax
jne 0x1401400ac
jmp 0x1401400c8
lea rax, [rsp + 0x80]
mov rdx, rax
mov rax, qword [rsp + 0xb8]
mov rcx, qword [rax]
call qword [sym.imp.USER32.dll_ScreenToClient]
mov qword [rsp + 0x68], 0
mov eax, dword [rsp + 0x7c]
mov ecx, dword [rsp + 0x84]
sub ecx, eax
mov eax, ecx
mov dword [rsp + 0xc0], eax
mov eax, dword [rsp + 0x78]
mov ecx, dword [rsp + 0x80]
sub ecx, eax
mov eax, ecx
mov dword [rsp + 0xc4], eax
mov r8d, dword [rsp + 0xc0]
mov edx, dword [rsp + 0xc4]
mov rcx, qword [rsp + 0x150]
call qword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
mov qword [rsp + 0x68], rax
mov qword [rsp + 0x50], 0
mov rax, qword [rsp + 0x58]
mov qword [rsp + 0xc8], rax
mov rcx, qword [rsp + 0xc8]
call qword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x68]
mov qword [rsp + 0xd0], rax
mov rdx, qword [rsp + 0xd0]
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.GDI32.dll_SelectObject]
mov rax, qword [rsp + 0x58]
mov qword [rsp + 0xd8], rax
mov eax, dword [rsp + 0x7c]
mov ecx, dword [rsp + 0x84]
sub ecx, eax
mov eax, ecx
mov dword [rsp + 0xe0], eax
mov eax, dword [rsp + 0x7c]
mov dword [rsp + 0xec], eax
mov eax, dword [rsp + 0x78]
mov dword [rsp + 0xe8], eax
mov eax, dword [rsp + 0x78]
mov ecx, dword [rsp + 0x80]
sub ecx, eax
mov eax, ecx
mov dword [rsp + 0xe4], eax
mov dword [rsp + 0x40], 0xcc0020
mov eax, dword [rsp + 0xec]
mov dword [rsp + 0x38], eax
mov eax, dword [rsp + 0xe8]
mov dword [rsp + 0x30], eax
mov rax, qword [rsp + 0xd8]
mov qword [rsp + 0x28], rax
mov eax, dword [rsp + 0xe0]
mov dword [rsp + 0x20], eax
mov r9d, dword [rsp + 0xe4]
xor r8d, r8d
xor edx, edx
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.GDI32.dll_BitBlt]
mov rax, qword [rsp + 0x68]
mov qword [rsp + 0xf8], rax
mov rax, qword [rsp + 0x140]
add rax, 0x420
mov qword [rsp + 0xf0], rax
mov rcx, qword [rsp + 0xf8]
call qword [sym.imp.GDI32.dll_CreatePatternBrush]
mov rcx, qword [rsp + 0xf0]
mov qword [rcx], rax
xor eax, eax
cmp eax, 1
je 0x140140274
cmp qword [rsp + 0x50], 0
je 0x140140274
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x100], rax
mov qword [rsp + 0x50], 0
mov rcx, qword [rsp + 0x100]
call qword [sym.imp.GDI32.dll_DeleteDC]
xor eax, eax
cmp eax, 1
je 0x1401402a8
cmp qword [rsp + 0x68], 0
je 0x1401402a8
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.GDI32.dll_DeleteObject]
mov dword [rsp + 0x108], eax
cmp dword [rsp + 0x108], 0
je 0x1401402a8
mov qword [rsp + 0x68], 0
lea rcx, [rsp + 0x58]
call fcn.1400d6730
mov rax, qword [rsp + 0x140]
mov rax, qword [rax + 0x420]
mov qword [rsp + 0x120], rax
mov rax, qword [rsp + 0x120]
jmp 0x1401402d5
xor eax, eax
mov rcx, qword [rsp + 0x128]
xor rcx, rsp
call fcn.140250fd0
add rsp, 0x138
ret