Function at 0x6a8c50
Capabilities:
Capture screenshot

Disassembly:
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x138
mov rbp, rsp
mov qword [rbp + 0x68], rbp
mov qword [rbp + 0x160], rcx
mov qword [rbp + 0x168], rdx
mov qword [rbp + 0x170], r8
mov qword [rbp + 0x178], r9
mov qword [rbp + 0x100], 0
mov rax, qword [rbp + 0x178]
cmp dword [rax + 0x20], 0
je 0x6a8cb8
mov rax, qword [rbp + 0x178]
cmp dword [rax + 0x24], 0
je 0x6a953d
mov rax, qword [rbp + 0x178]
cmp dword [rax + 0x28], 0
je 0x6a953d
mov rax, qword [rbp + 0x178]
cmp dword [rax + 0x20], 0
jne 0x6a8ce7
mov rax, qword [rbp + 0x178]
cmp dword [rax + 4], 0
je 0x6a953d
mov rax, qword [rbp + 0x178]
cmp dword [rax + 8], 0
je 0x6a953d
mov rcx, qword [rbp + 0x160]
call fcn.006a84a0
mov dword [rbp + 0xa8], 0
cmp qword [rbp + 0x160], 0
je 0x6a8d2a
mov rcx, qword [rbp + 0x160]
mov edx, 0x68
lea r8, [rbp + 0x88]
call sub.gdi32.dll_GetObjectW
cmp eax, 0x20
jge 0x6a8d2a
call fcn.006a2dd0
xor rcx, rcx
call sub.user32.dll_GetDC
mov ecx, eax
call fcn.006a2f60
movsxd rax, eax
mov qword [rbp + 0xf8], rax
mov rcx, qword [rbp + 0xf8]
call sub.gdi32.dll_CreateCompatibleDC
mov ecx, eax
call fcn.006a2f60
movsxd rax, eax
mov qword [rbp + 0x118], rax
nop
mov rax, qword [rbp + 0x178]
cmp dword [rax + 0x20], 0x28
jae 0x6a8e0c
mov rax, qword [rbp + 0x178]
mov rcx, qword [rbp + 0x178]
movzx rax, word [rax + 0x10]
or ax, word [rcx + 0x12]
cmp ax, 1
jne 0x6a8dd5
mov rax, qword [rbp + 0x178]
mov ecx, dword [rax + 4]
mov rax, qword [rbp + 0x178]
mov edx, dword [rax + 8]
mov r8d, 1
mov r9d, 1
mov qword [rsp + 0x20], 0
call sub.gdi32.dll_CreateBitmap
mov ecx, eax
call fcn.006a2f60
movsxd rax, eax
mov qword [rbp + 0x100], rax
jmp 0x6a917a
mov rcx, qword [rbp + 0xf8]
mov rax, qword [rbp + 0x178]
mov edx, dword [rax + 4]
mov rax, qword [rbp + 0x178]
mov r8d, dword [rax + 8]
call sub.gdi32.dll_CreateCompatibleBitmap
mov ecx, eax
call fcn.006a2f60
movsxd rax, eax
mov qword [rbp + 0x100], rax
jmp 0x6a917a
mov ecx, 0x42c
call fcn.00405da0
mov qword [rbp + 0x128], rax
nop
mov rax, qword [rbp + 0x178]
mov dword [rax + 0x20], 0x28
mov rax, qword [rbp + 0x178]
mov word [rax + 0x2c], 1
mov rax, qword [rbp + 0x178]
cmp word [rax + 0x2e], 0
jne 0x6a8e7d
mov rcx, qword [rbp + 0xf8]
mov edx, 0xc
call sub.gdi32.dll_GetDeviceCaps
mov ebx, eax
mov rcx, qword [rbp + 0xf8]
mov edx, 0xe
call sub.gdi32.dll_GetDeviceCaps
mov rcx, qword [rbp + 0x178]
imul bx, ax
mov word [rcx + 0x2e], bx
mov rdi, qword [rbp + 0x128]
mov rax, qword [rbp + 0x178]
lea rsi, [rax + 0x20]
movsq qword [rdi], qword [rsi]
movsq qword [rdi], qword [rsi]
movsq qword [rdi], qword [rsi]
movsq qword [rdi], qword [rsi]
movsq qword [rdi], qword [rsi]
mov rax, qword [rbp + 0x178]
mov rcx, qword [rbp + 0x178]
mov ecx, dword [rcx + 0x24]
mov dword [rax + 4], ecx
mov rax, qword [rbp + 0x178]
mov rcx, qword [rbp + 0x178]
mov ecx, dword [rcx + 0x28]
mov dword [rax + 8], ecx
mov rax, qword [rbp + 0x178]
cmp word [rax + 0x2e], 8
ja 0x6a9014
mov rax, qword [rbp + 0x178]
cmp word [rax + 0x2e], 1
jne 0x6a8f16
cmp qword [rbp + 0x160], 0
je 0x6a8ef5
cmp qword [rbp + 0xa0], 0
jne 0x6a8f16
mov rax, qword [rbp + 0x128]
mov dword [rax + 0x28], 0
mov rax, qword [rbp + 0x128]
mov dword [rax + 0x2c], 0xffffff
jmp 0x6a9070
cmp qword [rbp + 0x170], 0
je 0x6a8f43
mov rcx, qword [rbp + 0x170]
mov rdx, qword [rbp + 0x128]
add rdx, 0x28
mov r8d, 0xff
call fcn.006a3c30
jmp 0x6a9070
cmp qword [rbp + 0x160], 0
je 0x6a9070
mov rcx, qword [rbp + 0x118]
mov rdx, qword [rbp + 0x160]
call sub.gdi32.dll_SelectObject
mov qword [rbp + 0x108], rax
cmp dword [rbp + 0xa8], 0
jbe 0x6a8fab
cmp qword [rbp + 0xa0], 0
je 0x6a8fab
mov rcx, qword [rbp + 0x118]
xor rdx, rdx
mov r8d, pe_nt_image_headers64
mov r9, qword [rbp + 0x128]
add r9, 0x28
call sub.gdi32.dll_GetDIBColorTable
mov rcx, qword [rbp + 0x178]
mov dword [rcx + 0x40], eax
jmp 0x6a8fff
mov rax, qword [rbp + 0x178]
mov eax, dword [rax + 0x28]
movsxd rcx, eax
shr rcx, 0x20
xor eax, ecx
mov rdx, qword [rbp + 0x118]
mov r8, qword [rbp + 0x160]
xor r9, r9
sub eax, ecx
mov qword [rsp + 0x20], 0
mov rcx, qword [rbp + 0x128]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x30], 0
mov rcx, rdx
mov rdx, r8
mov r8d, r9d
mov r9d, eax
call sub.gdi32.dll_GetDIBits
mov rcx, qword [rbp + 0x118]
mov rdx, qword [rbp + 0x108]
call sub.gdi32.dll_SelectObject
jmp 0x6a9070
mov rax, qword [rbp + 0x178]
cmp word [rax + 0x2e], 0x10
je 0x6a9030
mov rax, qword [rbp + 0x178]
cmp word [rax + 0x2e], 0x20
jne 0x6a9070
mov rax, qword [rbp + 0x178]
mov eax, dword [rax + 0x30]
test eax, 3
je 0x6a9070
mov rcx, qword [rbp + 0x178]
call fcn.006a8c00
mov rcx, qword [rbp + 0x178]
add rcx, 0x48
mov rdx, qword [rbp + 0x128]
add rdx, 0x28
mov r8d, 0xc
call fcn.00406200
mov rcx, qword [rbp + 0xf8]
mov rdx, qword [rbp + 0x128]
xor r8, r8
lea r9, [rbp + 0x78]
mov qword [rsp + 0x20], 0
mov dword [rsp + 0x28], 0
call sub.gdi32.dll_CreateDIBSection
mov ecx, eax
call fcn.006a2f60
movsxd rax, eax
mov qword [rbp + 0x100], rax
cmp qword [rbp + 0x78], 0
jne 0x6a90b8
call fcn.006a2ea0
cmp qword [rbp + 0x160], 0
je 0x6a916d
mov rax, qword [rbp + 0x178]
mov ecx, dword [rbp + 0x8c]
cmp ecx, dword [rax + 0x24]
jne 0x6a916d
mov rax, qword [rbp + 0x178]
mov ecx, dword [rbp + 0x90]
cmp ecx, dword [rax + 0x28]
jne 0x6a916d
mov rax, qword [rbp + 0x178]
cmp word [rax + 0x2e], 8
jbe 0x6a916d
mov rax, qword [rbp + 0x178]
mov eax, dword [rax + 0x28]
movsxd rcx, eax
shr rcx, 0x20
xor eax, ecx
mov rdx, qword [rbp + 0x118]
mov r8, qword [rbp + 0x160]
xor r9, r9
sub eax, ecx
mov rcx, qword [rbp + 0x78]
mov qword [rsp + 0x20], rcx
mov rcx, qword [rbp + 0x128]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x30], 0
mov rcx, rdx
mov rdx, r8
mov r8d, r9d
mov r9d, eax
call sub.gdi32.dll_GetDIBits
xor rcx, rcx
mov rdx, qword [rbp + 0x68]
call fcn.006a9550
xor rcx, rcx
mov rdx, qword [rbp + 0x68]
call fcn.006a9650
jmp 0x6a953d
nop
mov rcx, qword [rbp + 0x128]
call fcn.00405dd0
mov ecx, dword [rbp + 0x100]
call fcn.006a2f60
mov rcx, qword [rbp + 0x118]
mov rdx, qword [rbp + 0x100]
call sub.gdi32.dll_SelectObject
mov ecx, eax
call fcn.006a2f60
movsxd rax, eax
mov qword [rbp + 0x108], rax
nop
nop
mov qword [rbp + 0x110], 0
mov qword [rbp + 0x80], 0
cmp qword [rbp + 0x170], 0
je 0x6a91f4
mov rcx, qword [rbp + 0x118]
mov rdx, qword [rbp + 0x170]
xor r8, r8
call sub.gdi32.dll_SelectPalette
mov qword [rbp + 0x110], rax
mov rcx, qword [rbp + 0x118]
call sub.gdi32.dll_RealizePalette
nop
cmp qword [rbp + 0x180], 0
je 0x6a930d
lea rcx, [rbp + 0x58]
xor rdx, rdx
xor r8, r8
mov rax, qword [rbp + 0x178]
mov r9d, dword [rax + 4]
mov rax, qword [rbp + 0x178]
mov eax, dword [rax + 8]
mov dword [rsp + 0x20], eax
call fcn.00416ff0
mov rax, qword [rbp + 0x180]
mov rcx, qword [rax + 0x80]
call fcn.006a0be0
mov rcx, qword [rbp + 0x118]
lea rdx, [rbp + 0x58]
mov r8, rax
call sub.user32.dll_FillRect
mov rax, qword [rbp + 0x180]
mov rax, qword [rax + 0x70]
mov ecx, dword [rax + 0x28]
call reloc.advapi32.dll_SetTokenInformation
mov rcx, qword [rbp + 0x118]
mov edx, eax
call sub.gdi32.dll_SetTextColor
mov rax, qword [rbp + 0x180]
mov rax, qword [rax + 0x80]
mov rax, qword [rax + 0x18]
mov ecx, dword [rax + 0x28]
call reloc.advapi32.dll_SetTokenInformation
mov rcx, qword [rbp + 0x118]
mov edx, eax
call sub.gdi32.dll_SetBkColor
mov rax, qword [rbp + 0x178]
cmp word [rax + 0x2e], 1
jne 0x6a9340
mov rax, qword [rbp + 0x178]
cmp qword [rax + 0x18], 0
je 0x6a9340
mov rax, qword [rbp + 0x180]
mov rax, qword [rax + 0x70]
mov ecx, dword [rax + 0x28]
call reloc.advapi32.dll_SetTokenInformation
mov dword [rbp + 0x70], eax
mov rax, qword [rbp + 0x180]
mov rax, qword [rax + 0x80]
mov rax, qword [rax + 0x18]
mov ecx, dword [rax + 0x28]
call reloc.advapi32.dll_SetTokenInformation
mov dword [rbp + 0x74], eax
mov rcx, qword [rbp + 0x118]
xor rdx, rdx
mov r8d, 2
lea r9, [rbp + 0x70]
call sub.gdi32.dll_SetDIBColorTable
jmp 0x6a9340
mov rcx, qword [rbp + 0x118]
xor rdx, rdx
xor r8, r8
mov rax, qword [rbp + 0x178]
mov r9d, dword [rax + 4]
mov rax, qword [rbp + 0x178]
mov eax, dword [rax + 8]
mov dword [rsp + 0x20], eax
mov dword [rsp + 0x28], 0xff0062
call sub.gdi32.dll_PatBlt
cmp qword [rbp + 0x160], 0
je 0x6a94ad
mov rcx, qword [rbp + 0xf8]
call sub.gdi32.dll_CreateCompatibleDC
mov ecx, eax
call fcn.006a2f60
movsxd rax, eax
mov qword [rbp + 0x120], rax
nop
mov rcx, qword [rbp + 0x120]
mov rdx, qword [rbp + 0x160]
call sub.gdi32.dll_SelectObject
mov ecx, eax
call fcn.006a2f60
movsxd rax, eax
mov qword [rbp + 0xf0], rax
cmp qword [rbp + 0x168], 0
je 0x6a93c3
mov rcx, qword [rbp + 0x120]
mov rdx, qword [rbp + 0x168]
xor r8, r8
call sub.gdi32.dll_SelectPalette
mov qword [rbp + 0x80], rax
mov rcx, qword [rbp + 0x120]
call sub.gdi32.dll_RealizePalette
cmp qword [rbp + 0x180], 0
je 0x6a9416
mov rax, qword [rbp + 0x180]
mov rax, qword [rax + 0x70]
mov ecx, dword [rax + 0x28]
call reloc.advapi32.dll_SetTokenInformation
mov rcx, qword [rbp + 0x120]
mov edx, eax
call sub.gdi32.dll_SetTextColor
mov rax, qword [rbp + 0x180]
mov rax, qword [rax + 0x80]
mov rax, qword [rax + 0x18]
mov ecx, dword [rax + 0x28]
call reloc.advapi32.dll_SetTokenInformation
mov rcx, qword [rbp + 0x120]
mov edx, eax
call sub.gdi32.dll_SetBkColor
mov rcx, qword [rbp + 0x118]
xor rdx, rdx
xor r8, r8
mov rax, qword [rbp + 0x178]
mov r9d, dword [rax + 4]
mov rax, qword [rbp + 0x178]
mov eax, dword [rax + 8]
mov dword [rsp + 0x20], eax
mov rax, qword [rbp + 0x120]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x30], 0
mov dword [rsp + 0x38], 0
mov dword [rsp + 0x40], 0xcc0020
call sub.gdi32.dll_BitBlt
cmp qword [rbp + 0x168], 0
je 0x6a9486
mov rcx, qword [rbp + 0x120]
mov rdx, qword [rbp + 0x80]
or r8d, 0xffffffff
call sub.gdi32.dll_SelectPalette
mov rcx, qword [rbp + 0x120]
mov rdx, qword [rbp + 0xf0]
call sub.gdi32.dll_SelectObject
mov ecx, eax
call fcn.006a2f60
nop
mov rcx, qword [rbp + 0x120]
call sub.gdi32.dll_DeleteDC
nop
cmp qword [rbp + 0x170], 0
je 0x6a94cf
mov rcx, qword [rbp + 0x118]
mov rdx, qword [rbp + 0x110]
or r8d, 0xffffffff
call sub.gdi32.dll_SelectPalette
nop
mov rcx, qword [rbp + 0x118]
mov rdx, qword [rbp + 0x108]
call sub.gdi32.dll_SelectObject
jmp 0x6a94fe
nop
mov rcx, qword [rbp + 0x118]
call sub.gdi32.dll_DeleteDC
xor rcx, rcx
mov rdx, qword [rbp + 0xf8]
call sub.user32.dll_ReleaseDC
cmp qword [rbp + 0x100], 0
je 0x6a953d
mov rcx, qword [rbp + 0x100]
mov edx, 0x68
mov r8, qword [rbp + 0x178]
call sub.gdi32.dll_GetObjectW
mov rax, qword [rbp + 0x100]
lea rsp, [rbp + 0x138]
pop rbx
pop rsi
pop rdi
pop rbp
ret