Function at 0x680190
Capabilities:
Capture screenshot

Disassembly:
push rbp
push rdi
push rsi
push rbx
sub rsp, 0xf8
mov rbp, rsp
mov qword [rbp + 0x68], rbp
mov qword [rbp + 0x120], rcx
mov qword [rbp + 0x128], rdx
mov qword [rbp + 0x130], r8
mov qword [rbp + 0x138], r9
mov rax, qword [rbp + 0x130]
mov rcx, qword [rbp + 0x130]
mov eax, dword [rax + 0xc]
cmp eax, dword [rcx + 4]
jle 0x68064e
mov rax, qword [rbp + 0x130]
mov rcx, qword [rbp + 0x130]
mov eax, dword [rax + 8]
cmp eax, dword [rcx]
jle 0x68064e
mov rax, qword [rbp + 0x138]
mov rcx, qword [rbp + 0x138]
mov eax, dword [rax + 0xc]
cmp eax, dword [rcx + 4]
jle 0x68064e
mov rax, qword [rbp + 0x138]
mov rcx, qword [rbp + 0x138]
mov eax, dword [rax + 8]
cmp eax, dword [rcx]
jle 0x68064e
mov rcx, qword [rbp + 0x120]
mov rdx, qword [rbp + 0x130]
call sub.gdi32.dll_RectVisible
test eax, eax
je 0x68064e
mov rax, qword [rbp + 0x138]
mov eax, dword [rax]
mov dword [rbp + 0x54], eax
mov rax, qword [rbp + 0x138]
mov eax, dword [rax + 8]
mov ecx, dword [rbp + 0x54]
sub eax, ecx
mov dword [rbp + 0xb4], eax
mov rax, qword [rbp + 0x138]
mov eax, dword [rax + 4]
mov dword [rbp + 0x58], eax
mov rax, qword [rbp + 0x138]
mov eax, dword [rax + 0xc]
mov ecx, dword [rbp + 0x58]
sub eax, ecx
mov dword [rbp + 0xb0], eax
mov rsi, qword [rbp + 0x130]
lea rdi, [rbp + 0xb8]
movsq qword [rdi], qword [rsi]
movsq qword [rdi], qword [rsi]
mov rax, qword [rbp + 0x130]
mov eax, dword [rax + 4]
mov dword [rbp + 0x50], eax
add eax, dword [rbp + 0xb0]
mov dword [rbp + 0xc4], eax
mov rax, qword [rbp + 0x130]
mov eax, dword [rax + 8]
mov dword [rbp + 0x60], eax
mov rax, qword [rbp + 0x130]
mov eax, dword [rax]
mov dword [rbp + 0x5c], eax
mov ecx, dword [rbp + 0x60]
mov eax, dword [rbp + 0x5c]
sub ecx, eax
mov edx, dword [rbp + 0xb4]
call fcn.0064e800
mov dword [rbp + 0xa4], eax
mov rax, qword [rbp + 0x130]
mov eax, dword [rax + 0xc]
mov ecx, eax
mov dword [rbp + 0x64], ecx
mov eax, dword [rbp + 0x50]
sub ecx, eax
mov edx, dword [rbp + 0xb0]
call fcn.0064e800
mov dword [rbp + 0xa0], eax
mov eax, dword [rbp + 0xa4]
imul eax, dword [rbp + 0xa0]
cmp eax, 0xa
jle 0x68048e
mov rcx, qword [0x006749f8]
mov dl, 1
mov r8d, dword [rbp + 0xb4]
mov r9d, dword [rbp + 0xb0]
call fcn.006793a0
mov qword [rbp + 0xe8], rax
nop
lea rcx, [rbp + 0x88]
xor edx, edx
xor r8, r8
mov rax, qword [rbp + 0xe8]
mov r9d, dword [rax + 0x40]
mov rax, qword [rbp + 0xe8]
mov eax, dword [rax + 0x30]
mov dword [rsp + 0x20], eax
call fcn.0041c350
mov rax, qword [rbp + 0xe8]
mov rax, qword [rax + 0x28]
mov qword [rbp + 0x80], rax
mov eax, dword [rbp + 0x88]
mov ecx, dword [rbp + 0x8c]
mov rdx, qword [rbp + 0x80]
mov r8d, eax
mov r9d, ecx
mov r10d, dword [rbp + 0x90]
sub r10d, eax
mov eax, r10d
mov r10d, dword [rbp + 0x94]
sub r10d, ecx
mov dword [rsp + 0x20], r10d
mov rcx, qword [rbp + 0x128]
mov qword [rsp + 0x28], rcx
mov ecx, dword [rbp + 0x54]
mov dword [rsp + 0x30], ecx
mov ecx, dword [rbp + 0x58]
mov dword [rsp + 0x38], ecx
mov dword [rsp + 0x40], 0xcc0020
mov rcx, rdx
mov edx, r8d
mov r8d, r9d
mov r9d, eax
call sub.gdi32.dll_BitBlt
mov rcx, qword [rbp + 0x120]
lea rdx, [rbp + 0xc8]
call sub.gdi32.dll_GetWindowOrgEx
mov rcx, qword [rbp + 0x120]
mov edx, dword [rbp + 0x5c]
sub edx, dword [rbp + 0xc8]
mov rax, qword [rbp + 0x130]
mov r8d, dword [rax + 4]
sub r8d, dword [rbp + 0xcc]
lea r9, [rbp + 0xc8]
call sub.gdi32.dll_SetBrushOrgEx
mov rax, qword [rbp + 0xe8]
mov rcx, qword [rax + 8]
call sub.gdi32.dll_CreatePatternBrush
mov qword [rbp + 0xd0], rax
mov rcx, qword [rbp + 0x120]
mov rdx, qword [rbp + 0x130]
mov r8, qword [rbp + 0xd0]
call sub.user32.dll_FillRect
mov rcx, qword [rbp + 0xd0]
call sub.gdi32.dll_DeleteObject
mov rcx, qword [rbp + 0x120]
mov edx, dword [rbp + 0xc8]
mov r8d, dword [rbp + 0xcc]
xor r9, r9
call sub.gdi32.dll_SetBrushOrgEx
nop
mov rcx, qword [rbp + 0xe8]
call fcn.0040ccc0
jmp 0x68064e
mov rcx, qword [0x0067d450]
call fcn.00683480
mov qword [rbp + 0x78], rax
mov rcx, qword [rbp + 0x120]
mov rdx, qword [rbp + 0x78]
call sub.gdi32.dll_GetClipRgn
test eax, eax
jne 0x6804ca
mov rcx, qword [0x0067d450]
lea rdx, [rbp + 0x78]
call fcn.006834d0
mov qword [rbp + 0x78], 0
mov rax, qword [rbp + 0x78]
mov qword [rbp + 0xd8], rax
nop
mov rcx, qword [rbp + 0x120]
mov edx, dword [rbp + 0x5c]
mov r8d, dword [rbp + 0x50]
mov r9d, dword [rbp + 0x60]
mov eax, dword [rbp + 0x64]
mov dword [rsp + 0x20], eax
call sub.gdi32.dll_IntersectClipRect
mov eax, 1
mov ebx, dword [rbp + 0xa0]
mov dword [rbp + 0xa8], eax
cmp dword [rbp + 0xa8], ebx
jg 0x680618
sub ebx, eax
add ebx, 1
mov rax, qword [rbp + 0x130]
mov eax, dword [rax]
mov dword [rbp + 0xb8], eax
add eax, dword [rbp + 0xb4]
mov dword [rbp + 0xc0], eax
mov eax, 1
mov esi, dword [rbp + 0xa4]
mov dword [rbp + 0xac], eax
cmp dword [rbp + 0xac], esi
jg 0x6805ee
sub esi, eax
add esi, 1
mov eax, dword [rbp + 0xb8]
mov ecx, dword [rbp + 0xbc]
mov rdx, qword [rbp + 0x120]
mov r8d, eax
mov r9d, ecx
mov r10d, dword [rbp + 0xc0]
sub r10d, eax
mov eax, r10d
mov r10d, dword [rbp + 0xc4]
sub r10d, ecx
mov dword [rsp + 0x20], r10d
mov rcx, qword [rbp + 0x128]
mov qword [rsp + 0x28], rcx
mov rcx, qword [rbp + 0x138]
mov ecx, dword [rcx]
mov dword [rsp + 0x30], ecx
mov rcx, qword [rbp + 0x138]
mov ecx, dword [rcx + 4]
mov dword [rsp + 0x38], ecx
mov dword [rsp + 0x40], 0xcc0020
mov rcx, rdx
mov edx, r8d
mov r8d, r9d
mov r9d, eax
call sub.gdi32.dll_BitBlt
mov eax, dword [rbp + 0xb4]
add dword [rbp + 0xb8], eax
lea rax, [rbp + 0xc0]
mov ecx, dword [rbp + 0xb4]
add dword [rax], ecx
sub esi, 1
test esi, esi
jne 0x680553
nop
lea rax, [rbp + 0xbc]
mov ecx, dword [rbp + 0xb0]
add dword [rax], ecx
lea rax, [rbp + 0xc4]
mov ecx, dword [rbp + 0xb0]
add dword [rax], ecx
sub ebx, 1
test ebx, ebx
jne 0x680516
nop
nop
mov rax, qword [rbp + 0xd8]
mov qword [rbp + 0xe0], rax
mov rcx, qword [rbp + 0x120]
mov rdx, qword [rbp + 0xe0]
call sub.gdi32.dll_SelectClipRgn
mov rcx, qword [0x0067d450]
lea rdx, [rbp + 0xe0]
call fcn.006834d0
lea rsp, [rbp + 0xf8]
pop rbx
pop rsi
pop rdi
pop rbp
ret