Function at 0x48c1d0
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.0048b6a0
test al, al
jne 0x48c5ee
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 0x48c25b
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 0x48c2a2
mov rax, qword [rbp + 0x48]
cmp qword [rax + 0x20], 0
je 0x48c2a2
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 0x48c29a
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 0x48c3f6
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, [0x0048c608]
call fcn.004926a0
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, [0x0048c63c]
call fcn.004926a0
mov rax, qword [rbp + 0x48]
mov ecx, dword [rax + 0x34]
call fcn.0047f150
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.0047ebd0
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 0x48c3c1
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 0x48c3e0
mov rcx, qword [rbp + 0x48]
mov rdx, qword [rbp + 0x58]
xor r8, r8
xor r9, r9
call fcn.0048a800
mov rcx, qword [rbp + 0x58]
mov rdx, rbx
call sub.gdi32.dll_SelectObject
mov rcx, qword [rbp + 0x48]
call fcn.0048a700
mov rax, qword [rbp + 0x48]
mov qword [rax + 0x20], rsi
jmp 0x48c5c3
lea rax, [0x00535210]
mov rcx, qword [rbp + 0x48]
movzx rcx, byte [rcx + 0x61]
movzx rax, byte [rax + rcx]
test eax, eax
jne 0x48c423
lea rax, [0x00535210]
movzx rcx, byte [0x00533480]
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.0048a310
mov qword [rbp + 0x78], rax
mov rax, qword [rbp + 0x48]
cmp byte [rax + 0x61], 5
jne 0x48c453
lea rcx, [rbp + 0x78]
call fcn.0048a560
mov rcx, qword [rbp + 0x78]
call fcn.0048c190
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, [0x0048c680]
call fcn.004926a0
mov rcx, qword [rbp + 0x48]
call fcn.0048b740
mov rcx, rax
mov eax, dword [rbp + 0x54]
mov rdx, qword [rbp + 0x48]
cmp dword [rdx + 0x18], eax
jge 0x48c4a9
mov rax, qword [rbp + 0x48]
mov eax, dword [rax + 0x18]
jmp 0x48c4ac
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 0x48c4f6
mov rcx, qword [rbp + 0x48]
mov ecx, dword [rcx + 0x18]
jmp 0x48c4f9
mov ecx, dword [rbp + 0x54]
cmp eax, ecx
je 0x48c58f
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, [0x0048c6a0]
call fcn.004926a0
mov rcx, qword [rbp + 0x58]
mov rdx, rsi
call sub.gdi32.dll_SelectObject
mov rbx, rax
test rbx, rbx
setne cl
lea rdx, [0x0048c708]
call fcn.004926a0
mov rcx, qword [rbp + 0x48]
mov rdx, qword [rbp + 0x58]
xor r8, r8
xor r9, r9
call fcn.0048a800
mov rcx, qword [rbp + 0x58]
mov rdx, rbx
call sub.gdi32.dll_SelectObject
mov rcx, qword [rbp + 0x48]
call fcn.0048a700
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 0x48c5e5
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