Function at 0x4ab770
Capabilities:
Capture screenshot

Disassembly:
push rbp
push r13
push rdi
push rsi
push rbx
add rsp, 0xffffffffffffff80
mov rbp, rsp
mov qword [rbp + 0x48], rcx
mov rcx, qword [rbp + 0x48]
call fcn.004aac40
test al, al
jne 0x4abb8e
xor rdi, rdi
mov rcx, qword [rbp + 0x48]
mov rbx, qword [rbp + 0x48]
call qword [rbx + 0x40]
mov dword [rbx + 0x30], 0
mov qword [rbx + 0x76], 0
mov qword [rbx + 0x7e], 0
mov eax, dword [rbx + 0x1c]
mov dword [rbp + 0x50], eax
mov rax, qword [rbp + 0x48]
mov eax, dword [rax + 0x18]
mov dword [rbp + 0x54], eax
mov rax, qword [rbp + 0x48]
cmp qword [rax + 0x55], 0
je 0x4ab7fb
mov rax, qword [rbp + 0x48]
mov rax, qword [rax + 0x4d]
mov eax, dword [rax + 4]
mov dword [rbp + 0x50], eax
mov rax, qword [rbp + 0x48]
mov rax, qword [rax + 0x4d]
mov eax, dword [rax + 8]
movsxd rcx, eax
shr rcx, 0x20
xor eax, ecx
sub eax, ecx
mov dword [rbp + 0x54], eax
jmp 0x4ab842
mov rax, qword [rbp + 0x48]
cmp qword [rax + 0x20], 0
je 0x4ab842
mov ecx, 0x18
call fcn.00405990
mov rbx, rax
mov rax, qword [rbp + 0x48]
mov rcx, qword [rax + 0x20]
mov edx, 0x18
mov r8, rbx
call sub.gdi32.dll_GetObjectW
test eax, eax
je 0x4ab83a
mov eax, dword [rbx + 4]
mov dword [rbp + 0x50], eax
mov eax, dword [rbx + 8]
mov dword [rbp + 0x54], eax
mov rcx, rbx
call fcn.004059c0
xor rcx, rcx
call sub.gdi32.dll_CreateCompatibleDC
mov qword [rbp + 0x58], rax
mov rax, qword [rbp + 0x48]
cmp byte [rax + 0x4c], 1
jne 0x4ab996
xor rcx, rcx
call sub.user32.dll_GetDC
mov rbx, rax
mov rcx, rbx
mov rax, qword [rbp + 0x48]
mov edx, dword [rax + 0x1c]
mov rax, qword [rbp + 0x48]
mov r8d, dword [rax + 0x18]
call sub.gdi32.dll_CreateCompatibleBitmap
mov rsi, rax
test rsi, rsi
setne cl
lea rdx, [0x004abba8]
call fcn.004b1da0
xor rcx, rcx
mov rdx, rbx
call sub.user32.dll_ReleaseDC
mov rcx, qword [rbp + 0x58]
mov rdx, rsi
call sub.gdi32.dll_SelectObject
mov rbx, rax
test rbx, rbx
setne cl
lea rdx, [0x004abbdc]
call fcn.004b1da0
mov rax, qword [rbp + 0x48]
mov ecx, dword [rax + 0x34]
call fcn.0049ec70
mov ecx, eax
call sub.gdi32.dll_CreateSolidBrush
mov rdi, rax
lea rcx, [rbp + 0x60]
xor rdx, rdx
xor r8, r8
mov rax, qword [rbp + 0x48]
mov r9d, dword [rax + 0x1c]
mov rax, qword [rbp + 0x48]
mov eax, dword [rax + 0x18]
mov dword [rsp + 0x20], eax
call fcn.0049e6f0
mov rcx, qword [rbp + 0x58]
lea rdx, [rbp + 0x60]
mov r8, rdi
call sub.user32.dll_FillRect
mov rcx, rdi
call sub.gdi32.dll_DeleteObject
mov rax, qword [rbp + 0x48]
cmp qword [rax + 0x55], 0
je 0x4ab961
mov rcx, qword [rbp + 0x58]
mov rdx, rbx
call sub.gdi32.dll_SelectObject
mov rcx, qword [rbp + 0x58]
mov rdx, rsi
xor r8, r8
mov rax, qword [rbp + 0x48]
mov r9d, dword [rax + 0x18]
mov rax, qword [rbp + 0x48]
mov rax, qword [rax + 0x55]
mov qword [rsp + 0x20], rax
mov rax, qword [rbp + 0x48]
mov rax, qword [rax + 0x4d]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x30], 0
call sub.gdi32.dll_SetDIBits
jmp 0x4ab980
mov rcx, qword [rbp + 0x48]
mov rdx, qword [rbp + 0x58]
xor r8, r8
xor r9, r9
call fcn.004a9da0
mov rcx, qword [rbp + 0x58]
mov rdx, rbx
call sub.gdi32.dll_SelectObject
mov rcx, qword [rbp + 0x48]
call fcn.004a9ca0
mov rax, qword [rbp + 0x48]
mov qword [rax + 0x20], rsi
jmp 0x4abb63
lea rax, [0x00534d88]
mov rcx, qword [rbp + 0x48]
movzx rcx, byte [rcx + 0x61]
movzx rax, byte [rax + rcx]
test eax, eax
jne 0x4ab9c3
lea rax, [0x00534d88]
movzx rcx, byte [0x00533128]
movzx rax, byte [rax + rcx]
xor rsi, rsi
mov rcx, qword [rbp + 0x48]
mov ecx, dword [rcx + 0x1c]
mov rdx, qword [rbp + 0x48]
mov edx, dword [rdx + 0x18]
mov r8d, eax
call fcn.004a98b0
mov qword [rbp + 0x78], rax
mov rax, qword [rbp + 0x48]
cmp byte [rax + 0x61], 5
jne 0x4ab9f3
lea rcx, [rbp + 0x78]
call fcn.004a9b00
mov rcx, qword [rbp + 0x78]
call fcn.004ab730
mov r13d, eax
mov rax, qword [rbp + 0x48]
imul r13d, dword [rax + 0x18]
movsxd rcx, r13d
call fcn.00405990
mov qword [rbp + 0x70], rax
cmp qword [rbp + 0x70], 0
setne cl
lea rdx, [0x004abc20]
call fcn.004b1da0
mov rcx, qword [rbp + 0x48]
call fcn.004aace0
mov rcx, rax
mov eax, dword [rbp + 0x54]
mov rdx, qword [rbp + 0x48]
cmp dword [rdx + 0x18], eax
jge 0x4aba49
mov rax, qword [rbp + 0x48]
mov eax, dword [rax + 0x18]
jmp 0x4aba4c
mov eax, dword [rbp + 0x54]
mov rdx, qword [rbp + 0x58]
mov r8, rcx
xor r9, r9
mov rcx, qword [rbp + 0x70]
mov qword [rsp + 0x20], rcx
mov rcx, qword [rbp + 0x78]
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 ecx, dword [rbp + 0x54]
mov rdx, qword [rbp + 0x48]
cmp dword [rdx + 0x18], ecx
jge 0x4aba96
mov rcx, qword [rbp + 0x48]
mov ecx, dword [rcx + 0x18]
jmp 0x4aba99
mov ecx, dword [rbp + 0x54]
cmp eax, ecx
je 0x4abb2f
mov rcx, qword [rbp + 0x70]
call fcn.004059c0
mov qword [rbp + 0x70], 0
mov rcx, qword [rbp + 0x58]
mov rdx, qword [rbp + 0x78]
xor r8, r8
lea r9, [rbp + 0x70]
mov qword [rsp + 0x20], 0
mov dword [rsp + 0x28], 0
call sub.gdi32.dll_CreateDIBSection
mov rsi, rax
mov dil, 1
test rsi, rsi
setne cl
lea rdx, [0x004abc40]
call fcn.004b1da0
mov rcx, qword [rbp + 0x58]
mov rdx, rsi
call sub.gdi32.dll_SelectObject
mov rbx, rax
test rbx, rbx
setne cl
lea rdx, [0x004abca8]
call fcn.004b1da0
mov rcx, qword [rbp + 0x48]
mov rdx, qword [rbp + 0x58]
xor r8, r8
xor r9, r9
call fcn.004a9da0
mov rcx, qword [rbp + 0x58]
mov rdx, rbx
call sub.gdi32.dll_SelectObject
mov rcx, qword [rbp + 0x48]
call fcn.004a9ca0
mov rax, qword [rbp + 0x48]
mov dword [rax + 0x5d], r13d
mov rax, qword [rbp + 0x70]
mov rcx, qword [rbp + 0x48]
mov qword [rcx + 0x55], rax
mov rax, qword [rbp + 0x78]
mov rcx, qword [rbp + 0x48]
mov qword [rcx + 0x4d], rax
mov qword [rcx + 0x20], rsi
mov byte [rcx + 0x9e], dil
mov rax, qword [rbp + 0x48]
cmp qword [rax + 0x62], 0
je 0x4abb85
mov rcx, qword [rbp + 0x48]
mov rdx, qword [rbp + 0x58]
mov r8d, dword [rbp + 0x50]
mov r9d, dword [rbp + 0x54]
mov rbx, qword [rbp + 0x48]
call qword [rbx + 0x62]
mov rcx, qword [rbp + 0x58]
call sub.gdi32.dll_DeleteDC
lea rsp, [rbp + 0x80]
pop rbx
pop rsi
pop rdi
pop r13
pop rbp
ret