Function at 0x100019af0
Capabilities:
Capture screenshot

Disassembly:
push rbx
push rdi
push rsi
push r12
push r13
push r14
push r15
lea rsp, [rsp - 0x90]
mov qword [rsp + 0x70], rcx
call fcn.100019230
test al, al
jne 0x100019eec
nop dword [rax]
mov byte [rsp + 0x80], 0
mov rcx, qword [rsp + 0x70]
mov rbx, qword [rsp + 0x70]
call qword [rbx + 0x58]
mov rax, qword [rsp + 0x70]
mov dword [rax + 0x48], 0
mov rax, qword [rsp + 0x70]
mov qword [rax + 0xa0], 0
mov rax, qword [rsp + 0x70]
mov qword [rax + 0xa8], 0
mov rax, qword [rsp + 0x70]
mov eax, dword [rax + 0x34]
mov qword [rsp + 0x78], rax
mov rax, qword [rsp + 0x70]
mov r15d, dword [rax + 0x30]
mov rax, qword [rsp + 0x70]
cmp qword [rax + 0x78], 0
je 0x100019ba4
mov rax, qword [rsp + 0x70]
mov rdx, qword [rax + 0x70]
mov eax, dword [rdx + 4]
mov qword [rsp + 0x78], rax
mov rdx, qword [rsp + 0x70]
mov rax, qword [rdx + 0x70]
mov eax, dword [rax + 8]
mov edx, eax
neg edx
cmovns eax, edx
mov r15d, eax
jmp 0x100019bdc
mov rax, qword [rsp + 0x70]
cmp qword [rax + 0x38], 0
je 0x100019bdc
mov rax, qword [rsp + 0x70]
mov rcx, qword [rax + 0x38]
lea r8, [rsp + 0x38]
mov edx, 0x20
call fcn.1000146b0
test eax, eax
je 0x100019bdc
mov eax, dword [rsp + 0x3c]
mov qword [rsp + 0x78], rax
mov r15d, dword [rsp + 0x40]
nop
xor ecx, ecx
call sub.gdi32.dll_CreateCompatibleDC
mov r14, rax
mov rax, qword [rsp + 0x70]
cmp byte [rax + 0x68], 1
jne 0x100019d10
xor ecx, ecx
call sub.user32.dll_GetDC
mov rbx, rax
mov rax, qword [rsp + 0x70]
mov r8d, dword [rax + 0x30]
mov rax, qword [rsp + 0x70]
mov edx, dword [rax + 0x34]
mov rcx, rbx
call sub.gdi32.dll_CreateCompatibleBitmap
mov r13, rax
mov rdx, rbx
xor ecx, ecx
call sub.user32.dll_ReleaseDC
mov rdx, r13
mov rcx, r14
call sub.gdi32.dll_SelectObject
mov r12, rax
mov rax, qword [rsp + 0x70]
mov ecx, dword [rax + 0x4c]
call fcn.100015070
mov ecx, eax
call sub.gdi32.dll_CreateSolidBrush
mov rbx, rax
mov rdx, qword [rsp + 0x70]
mov eax, dword [rdx + 0x30]
mov dword [rsp + 0x20], eax
mov rax, qword [rsp + 0x70]
mov r9d, dword [rax + 0x34]
xor r8d, r8d
xor edx, edx
lea rcx, [rsp + 0x60]
call fcn.1000147d0
lea rdx, [rsp + 0x60]
mov r8, rbx
mov rcx, r14
call sub.user32.dll_FillRect
mov rcx, rbx
call sub.gdi32.dll_DeleteObject
mov rax, qword [rsp + 0x70]
cmp qword [rax + 0x78], 0
je 0x100019cda
mov rdx, r12
mov rcx, r14
call sub.gdi32.dll_SelectObject
mov dword [rsp + 0x30], 0
mov rdx, qword [rsp + 0x70]
mov rax, qword [rdx + 0x78]
mov qword [rsp + 0x20], rax
mov rdx, qword [rsp + 0x70]
mov rax, qword [rdx + 0x70]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x70]
mov r9d, dword [rax + 0x30]
mov rdx, r13
mov rcx, r14
xor r8d, r8d
call sub.gdi32.dll_SetDIBits
jmp 0x100019cf8
mov rcx, qword [rsp + 0x70]
mov rdx, r14
xor r9d, r9d
xor r8d, r8d
call fcn.100018f60
mov rdx, r12
mov rcx, r14
call sub.gdi32.dll_SelectObject
mov rcx, qword [rsp + 0x70]
call fcn.100018e40
mov rax, qword [rsp + 0x70]
mov qword [rax + 0x38], r13
jmp 0x100019eb7
mov rax, qword [rsp + 0x70]
movzx edx, byte [rax + 0x84]
lea rax, [0x10003c0e0]
movzx r8d, byte [rax + rdx]
test r8d, r8d
jne 0x100019d44
movzx eax, byte [0x10003bed0]
lea rdx, [0x10003c0e0]
movzx eax, byte [rdx + rax]
mov r8d, eax
nop
xor r13, r13
mov rax, qword [rsp + 0x70]
mov edx, dword [rax + 0x30]
mov rax, qword [rsp + 0x70]
mov ecx, dword [rax + 0x34]
call fcn.100018d00
mov rdi, rax
mov rax, qword [rsp + 0x70]
cmp byte [rax + 0x84], 5
jne 0x100019d78
mov rcx, rdi
call fcn.100018e10
nop dword [rax]
mov rcx, rdi
call fcn.100019ad0
mov rdx, qword [rsp + 0x70]
mov ecx, dword [rdx + 0x30]
imul eax, ecx
mov esi, eax
movsxd rdx, eax
xor ecx, ecx
call sub.kernel32.dll_GlobalAlloc
mov qword [rsp + 0x58], rax
mov rcx, qword [rsp + 0x70]
call fcn.100019250
mov rbx, rax
test rax, rax
je 0x100019eec
nop
mov dword [rsp + 0x30], 0
mov rax, qword [rsp + 0x58]
mov qword [rsp + 0x20], rax
mov qword [rsp + 0x28], rdi
mov rax, qword [rsp + 0x70]
mov ecx, dword [rax + 0x30]
mov edx, r15d
call fcn.1000147f0
mov rdx, rbx
mov rcx, r14
xor r8d, r8d
mov r9d, eax
call sub.gdi32.dll_GetDIBits
mov ebx, eax
mov rax, qword [rsp + 0x70]
mov ecx, dword [rax + 0x30]
mov edx, r15d
call fcn.1000147f0
cmp eax, ebx
je 0x100019e70
mov rcx, qword [rsp + 0x58]
call sub.kernel32.dll_GlobalFree
mov qword [rsp + 0x58], 0
mov dword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
mov rdx, rdi
lea r9, [rsp + 0x58]
mov rcx, r14
xor r8d, r8d
call sub.gdi32.dll_CreateDIBSection
mov r13, rax
mov byte [rsp + 0x80], 1
mov rdx, r13
mov rcx, r14
call sub.gdi32.dll_SelectObject
mov r12, rax
mov rcx, qword [rsp + 0x70]
mov rdx, r14
xor r9d, r9d
xor r8d, r8d
call fcn.100018f60
mov rdx, r12
mov rcx, r14
call sub.gdi32.dll_SelectObject
mov rcx, qword [rsp + 0x70]
call fcn.100018e40
mov rax, qword [rsp + 0x70]
mov dword [rax + 0x80], esi
mov rax, qword [rsp + 0x58]
mov rdx, qword [rsp + 0x70]
mov qword [rdx + 0x78], rax
mov rax, qword [rsp + 0x70]
mov qword [rax + 0x70], rdi
mov rax, qword [rsp + 0x70]
mov qword [rax + 0x38], r13
mov al, byte [rsp + 0x80]
mov rdx, qword [rsp + 0x70]
mov byte [rdx + 0xc8], al
mov rax, qword [rsp + 0x70]
cmp qword [rax + 0x88], 0
je 0x100019ee4
mov rcx, qword [rsp + 0x70]
mov r9d, r15d
mov r8d, dword [rsp + 0x78]
mov rdx, r14
mov rbx, qword [rsp + 0x70]
call qword [rbx + 0x88]
nop dword [rax]
mov rcx, r14
call sub.gdi32.dll_DeleteDC
nop
lea rsp, [rsp + 0x90]
pop r15
pop r14
pop r13
pop r12
pop rsi
pop rdi
pop rbx
ret