Function at 0x10005245c
Capabilities:
Capture screenshot

Disassembly:
mov rax, rsp
push r12
push r13
push r14
sub rsp, 0xd0
mov qword [rsp + 0x50], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov r12d, r9d
mov r14d, r8d
mov r13d, edx
mov rbx, rcx
lea rcx, [rax - 0x60]
call fcn.1000010c8
nop
lea rcx, [rsp + 0x68]
call fcn.1000010c8
nop
lea rcx, [rsp + 0xa8]
call fcn.1000010c8
nop
mov rdx, rbx
lea rcx, [rsp + 0x68]
call fcn.1000010e0
mov rdx, qword [rsp + 0x118]
lea rcx, [rsp + 0xa8]
call fcn.1000010e0
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov rdx, rax
lea rcx, [rsp + 0x88]
call fcn.1000010e0
mov r11d, eax
mov eax, 0x10000
cdq
idiv r12d
mov esi, eax
mov edi, 1
cmp eax, edi
cmovl esi, edi
cmp dword [rsp + 0x110], esi
cmovl esi, dword [rsp + 0x110]
and qword [rsp + 0x60], 0
lea rbx, vtable.CBitmap.0
mov qword [rsp + 0x58], rbx
test r11d, r11d
je 0x1000526d5
mov r8d, esi
mov edx, r12d
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
mov rdx, rax
lea rcx, [rsp + 0x58]
call fcn.100001248
test eax, eax
je 0x1000526d5
mov rdx, qword [rsp + 0x60]
mov rcx, qword [rsp + 0x90]
call fcn.100001ba4
test rax, rax
je 0x1000526d5
mov rdx, qword [rsp + 0x130]
test rdx, rdx
je 0x10005259b
mov r8d, edi
lea rcx, [rsp + 0x88]
call fcn.100088594
mov rcx, qword [rsp + 0x90]
call qword [sym.imp.GDI32.dll_RealizePalette]
xor edi, edi
cmp dword [rsp + 0x110], edi
jle 0x100052678
mov eax, dword [rsp + 0x110]
sub eax, edi
cmp esi, eax
cmovl eax, esi
mov esi, eax
lea ebx, [rdi + r14]
mov dword [rsp + 0x40], 0xcc0020
mov dword [rsp + 0x38], ebx
mov dword [rsp + 0x30], r13d
mov rax, qword [rsp + 0x70]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], esi
mov r9d, r12d
xor r8d, r8d
xor edx, edx
mov rcx, qword [rsp + 0x90]
call qword [sym.imp.GDI32.dll_BitBlt]
mov dword [rsp + 0x40], 0xcc0020
mov dword [rsp + 0x38], edi
and dword [rsp + 0x30], 0
mov rax, qword [rsp + 0xb0]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], esi
mov r9d, r12d
mov r8d, ebx
mov edx, r13d
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.GDI32.dll_BitBlt]
mov dword [rsp + 0x40], 0xcc0020
and dword [rsp + 0x38], 0
and dword [rsp + 0x30], 0
mov rax, qword [rsp + 0x90]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], esi
mov r9d, r12d
mov r8d, edi
xor edx, edx
mov rcx, qword [rsp + 0xb0]
call qword [sym.imp.GDI32.dll_BitBlt]
add edi, esi
cmp edi, dword [rsp + 0x110]
jl 0x1000525aa
lea rbx, vtable.CBitmap.0
lea rcx, [rsp + 0x68]
call fcn.100005f80
lea rcx, [rsp + 0xa8]
call fcn.100005f80
lea rcx, [rsp + 0x88]
call fcn.100002524
nop
mov qword [rsp + 0x58], rbx
lea rcx, [rsp + 0x58]
call fcn.1000024d0
nop
lea rcx, [rsp + 0xa8]
call fcn.1000010d4
nop
lea rcx, [rsp + 0x68]
call fcn.1000010d4
nop
lea rcx, [rsp + 0x88]
call fcn.1000010d4
jmp 0x100052723
lea rcx, [rsp + 0x68]
call fcn.100005f80
lea rcx, [rsp + 0xa8]
call fcn.100005f80
nop
mov qword [rsp + 0x58], rbx
lea rcx, [rsp + 0x58]
call fcn.1000024d0
nop
lea rcx, [rsp + 0xa8]
call fcn.1000010d4
nop
lea rcx, [rsp + 0x68]
call fcn.1000010d4
nop
lea rcx, [rsp + 0x88]
call fcn.1000010d4
lea r11, [rsp + 0xd0]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop r13
pop r12
ret