Function at 0x140006718
Capabilities:
Capture screenshot

Disassembly:
mov rax, rsp
push rsi
push rdi
push r12
push r13
push r14
sub rsp, 0x120
mov qword [rsp + 0x110], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov r14d, r8d
mov r13d, edx
mov rsi, rcx
lea rdx, [rsp + 0x60]
call fcn.140003198
mov r11d, dword [rsp + 0x6c]
sub r11d, dword [rsp + 0x64]
mov r9d, dword [rsp + 0x68]
sub r9d, dword [rsp + 0x60]
mov dword [rsp + 0x20], r11d
xor r8d, r8d
xor edx, edx
lea rcx, [rsp + 0x70]
call qword [sym.imp.USER32.dll_SetRect]
lea r8, [rsp + 0x50]
mov edx, r14d
mov rcx, rsi
call fcn.140002a80
mov rdx, rsi
lea rcx, [rsp + 0xe8]
call fcn.14001488c
nop
lea rcx, [rsp + 0x80]
call fcn.140013ef4
nop
mov rcx, qword [rsp + 0xf0]
call qword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov rdx, rax
lea rcx, [rsp + 0x80]
call fcn.1400147c8
xor edi, edi
mov qword [rsp + 0xd8], rdi
lea rax, vtable.CBitmap.0
mov qword [rsp + 0xd0], rax
mov qword [rsp + 0xc8], rdi
mov qword [rsp + 0xc0], rax
mov r8d, dword [rsp + 0x5c]
sub r8d, dword [rsp + 0x54]
add r8d, r8d
sub r8d, dword [rsp + 0x74]
add r8d, dword [rsp + 0x7c]
mov edx, dword [rsp + 0x78]
sub edx, dword [rsp + 0x70]
mov rcx, qword [rsp + 0xf0]
call qword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
mov rdx, rax
lea rcx, [rsp + 0xd0]
call fcn.140014b40
mov r8d, dword [rsp + 0x5c]
sub r8d, dword [rsp + 0x54]
add r8d, r8d
sub r8d, dword [rsp + 0x74]
add r8d, dword [rsp + 0x7c]
mov edx, dword [rsp + 0x78]
sub edx, dword [rsp + 0x70]
mov rcx, qword [rsp + 0xf0]
call qword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
mov rdx, rax
lea rcx, [rsp + 0xc0]
call fcn.140014b40
mov edx, r13d
mov rcx, rsi
call fcn.140007038
mov rbp, rax
mov edx, r14d
mov rcx, rsi
call fcn.140007038
mov r12, rax
mov rdx, qword [rsp + 0xd8]
mov rcx, qword [rsp + 0x88]
call fcn.140014c14
mov qword [rsp + 0xe0], rax
cmp r14d, r13d
jle 0x140006aea
mov edx, dword [rsp + 0x5c]
sub edx, dword [rsp + 0x54]
mov ecx, dword [rsp + 0x7c]
lea edx, [rcx + rdx*2]
mov dword [rsp + 0x7c], edx
mov r8d, dword [rsi + 0xa8]
lea rdx, [rsp + 0x70]
lea rcx, [rsp + 0x80]
call fcn.140016308
cmp rbp, rdi
je 0x14000692a
lea edx, [rdi + 5]
mov rcx, rbp
call fcn.140012400
mov ebx, eax
xor r9d, r9d
mov r8, qword [rsp + 0x88]
lea edx, [rdi + 0x14]
mov rcx, qword [rbp + 0x40]
call qword [sym.imp.USER32.dll_SendMessageW]
xor r9d, r9d
mov r8, qword [rsp + 0x88]
lea edx, [rdi + 0xf]
mov rcx, qword [rbp + 0x40]
call qword [sym.imp.USER32.dll_SendMessageW]
cmp ebx, edi
jne 0x140006953
xor edx, edx
mov rcx, rbp
call fcn.140012400
jmp 0x140006953
movaps xmm0, xmmword [rsp + 0x70]
movdqa xmmword [rsp + 0xa0], xmm0
lea r9, [rsp + 0xa0]
mov r8d, r13d
lea rdx, [rsp + 0x80]
mov rcx, rsi
call fcn.140004b74
mov rdx, qword [rsp + 0xc8]
mov rcx, qword [rsp + 0x88]
call fcn.140014c14
mov r11d, dword [rsp + 0x5c]
sub r11d, dword [rsp + 0x54]
mov r9d, dword [rsp + 0x58]
sub r9d, dword [rsp + 0x50]
mov dword [rsp + 0x20], r11d
xor r8d, r8d
xor edx, edx
lea rcx, [rsp + 0x50]
call qword [sym.imp.USER32.dll_SetRect]
mov r8d, dword [rsp + 0x5c]
sub r8d, dword [rsp + 0x54]
lea eax, [r8 + r8]
sub eax, dword [rsp + 0x64]
add eax, dword [rsp + 0x6c]
mov r9d, dword [rsp + 0x68]
sub r9d, dword [rsp + 0x60]
mov dword [rsp + 0x20], eax
xor edx, edx
lea rcx, [rsp + 0x70]
call qword [sym.imp.USER32.dll_SetRect]
mov r8d, dword [rsi + 0xa8]
lea rdx, [rsp + 0x70]
lea rcx, [rsp + 0x80]
call fcn.140016308
cmp r12, rdi
je 0x140006a8e
mov r9d, dword [rsp + 0x5c]
sub r9d, dword [rsp + 0x54]
xor r8d, r8d
lea rdx, [rsp + 0x168]
lea rcx, [rsp + 0x80]
mov rax, qword [rsp + 0x80]
call qword [rax + 0x70]
mov edx, 5
mov rcx, r12
call fcn.140012400
mov ebx, eax
xor r9d, r9d
mov r8, qword [rsp + 0x88]
lea edx, [r9 + 0x14]
mov rcx, qword [r12 + 0x40]
call qword [sym.imp.USER32.dll_SendMessageW]
xor r9d, r9d
mov r8, qword [rsp + 0x88]
lea edx, [r9 + 0xf]
mov rcx, qword [r12 + 0x40]
call qword [sym.imp.USER32.dll_SendMessageW]
cmp ebx, edi
jne 0x140006a5d
xor edx, edx
mov rcx, r12
call fcn.140012400
mov r9, qword [rsp + 0x168]
shr r9, 0x20
mov r8d, dword [rsp + 0x168]
lea rdx, [rsp + 0xb0]
lea rcx, [rsp + 0x80]
mov rax, qword [rsp + 0x80]
call qword [rax + 0x70]
jmp 0x140006ab7
movaps xmm0, xmmword [rsp + 0x70]
movdqa xmmword [rsp + 0xa0], xmm0
lea r9, [rsp + 0xa0]
mov r8d, r14d
lea rdx, [rsp + 0x80]
mov rcx, rsi
call fcn.140004b74
movaps xmm0, xmmword [rsp + 0x50]
movdqa xmmword [rsp + 0xa0], xmm0
mov byte [rsp + 0x20], dil
lea r9, [rsp + 0xa0]
mov r8d, r14d
lea rdx, [rsp + 0x80]
mov rcx, rsi
call fcn.140002c6c
jmp 0x140006d31
mov eax, dword [rsp + 0x5c]
sub eax, dword [rsp + 0x54]
mov r9d, dword [rsp + 0x58]
sub r9d, dword [rsp + 0x50]
mov dword [rsp + 0x20], eax
xor r8d, r8d
xor edx, edx
lea rcx, [rsp + 0x50]
call qword [sym.imp.USER32.dll_SetRect]
mov r11d, dword [rsp + 0x5c]
sub r11d, dword [rsp + 0x54]
add dword [rsp + 0x74], r11d
mov eax, dword [rsp + 0x7c]
lea ecx, [rax + r11*2]
mov dword [rsp + 0x7c], ecx
mov r8d, dword [rsi + 0xa8]
lea rdx, [rsp + 0x70]
lea rcx, [rsp + 0x80]
call fcn.140016308
cmp rbp, rdi
je 0x140006bf5
mov r9d, dword [rsp + 0x5c]
sub r9d, dword [rsp + 0x54]
xor r8d, r8d
lea rdx, [rsp + 0x168]
lea rcx, [rsp + 0x80]
mov rax, qword [rsp + 0x80]
call qword [rax + 0x70]
mov edx, 5
mov rcx, rbp
call fcn.140012400
mov ebx, eax
xor r9d, r9d
mov r8, qword [rsp + 0x88]
lea edx, [r9 + 0x14]
mov rcx, qword [rbp + 0x40]
call qword [sym.imp.USER32.dll_SendMessageW]
xor r9d, r9d
mov r8, qword [rsp + 0x88]
lea edx, [r9 + 0xf]
mov rcx, qword [rbp + 0x40]
call qword [sym.imp.USER32.dll_SendMessageW]
cmp ebx, edi
jne 0x140006bc4
xor edx, edx
mov rcx, rbp
call fcn.140012400
mov r9, qword [rsp + 0x168]
shr r9, 0x20
mov r8d, dword [rsp + 0x168]
lea rdx, [rsp + 0xb0]
lea rcx, [rsp + 0x80]
mov rax, qword [rsp + 0x80]
call qword [rax + 0x70]
jmp 0x140006c1e
movaps xmm0, xmmword [rsp + 0x70]
movdqa xmmword [rsp + 0xa0], xmm0
lea r9, [rsp + 0xa0]
mov r8d, r13d
lea rdx, [rsp + 0x80]
mov rcx, rsi
call fcn.140004b74
movaps xmm0, xmmword [rsp + 0x50]
movdqa xmmword [rsp + 0xa0], xmm0
mov byte [rsp + 0x20], dil
lea r9, [rsp + 0xa0]
mov r8d, r13d
lea rdx, [rsp + 0x80]
mov rcx, rsi
call fcn.140002c6c
mov rdx, qword [rsp + 0xc8]
mov rcx, qword [rsp + 0x88]
call fcn.140014c14
mov r11d, dword [rsp + 0x5c]
sub r11d, dword [rsp + 0x54]
add r11d, r11d
sub r11d, dword [rsp + 0x64]
add r11d, dword [rsp + 0x6c]
mov r9d, dword [rsp + 0x68]
sub r9d, dword [rsp + 0x60]
mov dword [rsp + 0x20], r11d
xor r8d, r8d
xor edx, edx
lea rcx, [rsp + 0x70]
call qword [sym.imp.USER32.dll_SetRect]
mov r8d, dword [rsi + 0xa8]
lea rdx, [rsp + 0x70]
lea rcx, [rsp + 0x80]
call fcn.140016308
cmp r12, rdi
je 0x140006d08
mov edx, 5
mov rcx, r12
call fcn.140012400
mov ebx, eax
xor r9d, r9d
mov r8, qword [rsp + 0x88]
lea edx, [r9 + 0x14]
mov rcx, qword [r12 + 0x40]
call qword [sym.imp.USER32.dll_SendMessageW]
xor r9d, r9d
mov r8, qword [rsp + 0x88]
lea edx, [r9 + 0xf]
mov rcx, qword [r12 + 0x40]
call qword [sym.imp.USER32.dll_SendMessageW]
cmp ebx, edi
jne 0x140006d31
xor edx, edx
mov rcx, r12
call fcn.140012400
jmp 0x140006d31
movaps xmm0, xmmword [rsp + 0x70]
movdqa xmmword [rsp + 0xa0], xmm0
lea r9, [rsp + 0xa0]
mov r8d, r14d
lea rdx, [rsp + 0x80]
mov rcx, rsi
call fcn.140004b74
cmp r14d, r13d
jle 0x140006e68
lea r8, [rsp + 0xb0]
mov edx, r13d
mov rcx, rsi
call fcn.140002a80
lea r8, [rsp + 0xa0]
mov edx, r14d
mov rcx, rsi
call fcn.140002a80
mov ebp, dword [rsp + 0xbc]
sub ebp, dword [rsp + 0xb4]
mov ebx, dword [rsp + 0xa4]
sub ebx, ebp
cmp ebx, dword [rsp + 0xbc]
jle 0x140006faa
mov r12d, 0xcc0020
mov rdx, qword [rsp + 0xd8]
mov rcx, qword [rsp + 0x88]
call fcn.140014c14
mov r11d, ebx
mov r8d, dword [rsp + 0xbc]
sub r11d, r8d
dec r11d
mov r9d, dword [rsp + 0x68]
mov edx, dword [rsp + 0x60]
sub r9d, edx
inc r8d
mov dword [rsp + 0x40], r12d
mov dword [rsp + 0x38], ebp
mov dword [rsp + 0x30], edi
mov rax, qword [rsp + 0x88]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], r11d
mov rcx, qword [rsp + 0xf0]
call qword [sym.imp.GDI32.dll_BitBlt]
mov rdx, qword [rsp + 0xc8]
mov rcx, qword [rsp + 0x88]
call fcn.140014c14
mov r11d, dword [rsp + 0x6c]
sub r11d, ebx
add r11d, ebp
mov r9d, dword [rsp + 0x68]
mov edx, dword [rsp + 0x60]
sub r9d, edx
mov dword [rsp + 0x40], r12d
mov dword [rsp + 0x38], edi
mov dword [rsp + 0x30], edi
mov rax, qword [rsp + 0x88]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], r11d
mov r8d, ebx
mov rcx, qword [rsp + 0xf0]
call qword [sym.imp.GDI32.dll_BitBlt]
mov ecx, dword [rsi + 0x114]
call qword [sym.imp.KERNEL32.dll_Sleep]
sub ebx, ebp
cmp ebx, dword [rsp + 0xbc]
jg 0x140006d8a
jmp 0x140006faa
lea r8, [rsp + 0xb0]
mov edx, r13d
mov rcx, rsi
call fcn.140002a80
mov ebx, dword [rsp + 0xbc]
sub ebx, dword [rsp + 0xb4]
mov r8d, dword [rsp + 0x6c]
mov eax, r8d
sub eax, ebx
mov dword [rsp + 0x20], eax
mov r9d, dword [rsp + 0x68]
mov edx, dword [rsp + 0x60]
lea rcx, [rsp + 0xa0]
call qword [sym.imp.USER32.dll_SetRect]
mov ebp, dword [rsp + 0xb4]
inc ebp
mov eax, dword [rsp + 0xa4]
sub eax, ebx
cmp ebp, eax
jge 0x140006faa
lea r13d, [rbx + rbx]
mov r12d, 0xcc0020
mov rdx, qword [rsp + 0xc8]
mov rcx, qword [rsp + 0x88]
call fcn.140014c14
mov r11d, ebp
mov r8d, dword [rsp + 0xb4]
sub r11d, r8d
dec r11d
mov r9d, dword [rsp + 0x68]
mov edx, dword [rsp + 0x60]
sub r9d, edx
mov dword [rsp + 0x40], r12d
mov dword [rsp + 0x38], r13d
mov dword [rsp + 0x30], edi
mov rax, qword [rsp + 0x88]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], r11d
mov rcx, qword [rsp + 0xf0]
call qword [sym.imp.GDI32.dll_BitBlt]
mov rdx, qword [rsp + 0xd8]
mov rcx, qword [rsp + 0x88]
call fcn.140014c14
mov r11d, dword [rsp + 0x6c]
sub r11d, ebp
mov r9d, dword [rsp + 0x68]
mov edx, dword [rsp + 0x60]
sub r9d, edx
mov dword [rsp + 0x40], r12d
mov dword [rsp + 0x38], edi
mov dword [rsp + 0x30], edi
mov rax, qword [rsp + 0x88]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], r11d
mov r8d, ebp
mov rcx, qword [rsp + 0xf0]
call qword [sym.imp.GDI32.dll_BitBlt]
mov ecx, dword [rsi + 0x114]
call qword [sym.imp.KERNEL32.dll_Sleep]
add ebp, ebx
mov eax, dword [rsp + 0xa4]
sub eax, ebx
cmp ebp, eax
jl 0x140006ed2
mov rax, qword [rsp + 0xe0]
cmp rax, rdi
je 0x140006fbb
mov rdi, qword [rax + 8]
mov rdx, rdi
mov rcx, qword [rsp + 0x88]
call fcn.140014c14
nop
lea rbx, vtable.CBitmap.0
mov qword [rsp + 0xc0], rbx
lea rcx, [rsp + 0xc0]
call fcn.1400076c0
nop
mov qword [rsp + 0xd0], rbx
lea rcx, [rsp + 0xd0]
call fcn.1400076c0
nop
lea rcx, [rsp + 0x80]
call fcn.140014864
nop
lea rcx, [rsp + 0xe8]
call fcn.1400148f0
lea r11, [rsp + 0x120]
mov rbx, qword [r11 + 0x30]
mov rbp, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop r13
pop r12
pop rdi
pop rsi
ret