Function at 0x4ab860
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.004aad30
test al, al
jne 0x4abc7e
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 0x4ab8eb
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 0x4ab932
mov rax, qword [rbp + 0x48]
cmp qword [rax + 0x20], 0
je 0x4ab932
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 0x4ab92a
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 0x4aba86
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, [0x004abc98]
call fcn.004b1e90
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, [0x004abccc]
call fcn.004b1e90
mov rax, qword [rbp + 0x48]
mov ecx, dword [rax + 0x34]
call fcn.0049ed90
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.0049e810
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 0x4aba51
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 0x4aba70
mov rcx, qword [rbp + 0x48]
mov rdx, qword [rbp + 0x58]
xor r8, r8
xor r9, r9
call fcn.004a9e90
mov rcx, qword [rbp + 0x58]
mov rdx, rbx
call sub.gdi32.dll_SelectObject
mov rcx, qword [rbp + 0x48]
call fcn.004a9d90
mov rax, qword [rbp + 0x48]
mov qword [rax + 0x20], rsi
jmp 0x4abc53
lea rax, [0x00528b40]
mov rcx, qword [rbp + 0x48]
movzx rcx, byte [rcx + 0x61]
movzx rax, byte [rax + rcx]
test eax, eax
jne 0x4abab3
lea rax, [0x00528b40]
movzx rcx, byte [0x00526ef0]
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.004a99a0
mov qword [rbp + 0x78], rax
mov rax, qword [rbp + 0x48]
cmp byte [rax + 0x61], 5
jne 0x4abae3
lea rcx, [rbp + 0x78]
call fcn.004a9bf0
mov rcx, qword [rbp + 0x78]
call fcn.004ab820
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, [0x004abd10]
call fcn.004b1e90
mov rcx, qword [rbp + 0x48]
call fcn.004aadd0
mov rcx, rax
mov eax, dword [rbp + 0x54]
mov rdx, qword [rbp + 0x48]
cmp dword [rdx + 0x18], eax
jge 0x4abb39
mov rax, qword [rbp + 0x48]
mov eax, dword [rax + 0x18]
jmp 0x4abb3c
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 0x4abb86
mov rcx, qword [rbp + 0x48]
mov ecx, dword [rcx + 0x18]
jmp 0x4abb89
mov ecx, dword [rbp + 0x54]
cmp eax, ecx
je 0x4abc1f
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, [0x004abd30]
call fcn.004b1e90
mov rcx, qword [rbp + 0x58]
mov rdx, rsi
call sub.gdi32.dll_SelectObject
mov rbx, rax
test rbx, rbx
setne cl
lea rdx, [0x004abd98]
call fcn.004b1e90
mov rcx, qword [rbp + 0x48]
mov rdx, qword [rbp + 0x58]
xor r8, r8
xor r9, r9
call fcn.004a9e90
mov rcx, qword [rbp + 0x58]
mov rdx, rbx
call sub.gdi32.dll_SelectObject
mov rcx, qword [rbp + 0x48]
call fcn.004a9d90
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 0x4abc75
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