Function at 0x14004c900
Capabilities:
Capture screenshot

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x1a0]
sub rsp, 0x2a0
mov rax, qword [0x1400a9010]
xor rax, rsp
mov qword [rbp + 0x190], rax
mov r13, rcx
mov qword [rbp - 0x70], rcx
mov dword [rsp + 0x50], 0
mov ecx, 0x4c
call qword [sym.imp.USER32.dll_GetSystemMetrics]
mov r12d, eax
mov ecx, 0x4d
call qword [sym.imp.USER32.dll_GetSystemMetrics]
mov r14d, eax
mov ecx, 0x4e
call qword [sym.imp.USER32.dll_GetSystemMetrics]
mov r15d, eax
mov ecx, 0x4f
call qword [sym.imp.USER32.dll_GetSystemMetrics]
mov esi, eax
xor ecx, ecx
call qword [sym.imp.USER32.dll_GetDC]
mov rbx, rax
mov qword [rsp + 0x58], rax
mov edx, 8
mov rcx, rax
call qword [sym.imp.GDI32.dll_GetDeviceCaps]
mov edi, eax
mov edx, 0xa
mov rcx, rbx
call qword [sym.imp.GDI32.dll_GetDeviceCaps]
mov ebx, eax
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov qword [rsp + 0x60], rax
mov r8d, ebx
mov edx, edi
mov rbx, qword [rsp + 0x58]
mov rcx, rbx
call qword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
mov qword [rsp + 0x68], rax
mov rdx, rax
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.GDI32.dll_SelectObject]
mov qword [rsp + 0x70], rax
mov dword [rsp + 0x40], 0x40cc0020
mov dword [rsp + 0x38], r14d
mov dword [rsp + 0x30], r12d
mov qword [rsp + 0x28], rbx
mov dword [rsp + 0x20], esi
mov r9d, r15d
xor r8d, r8d
xor edx, edx
mov r14, qword [rsp + 0x60]
mov rcx, r14
call qword [sym.imp.GDI32.dll_BitBlt]
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x10], xmm1
xor r15d, r15d
mov qword [rbp + 0x20], r15
mov qword [rbp - 0x68], r15
lea r8, [rbp - 0x68]
lea edx, [r15 + 1]
xor ecx, ecx
call qword [sym.imp.ole32.dll_CreateStreamOnHGlobal]
xorps xmm0, xmm0
movups xmmword [rbp + 0x30], xmm0
movups xmmword [rbp + 0x40], xmm0
movups xmmword [rbp + 0x50], xmm0
movups xmmword [rbp + 0x60], xmm0
movups xmmword [rbp + 0x70], xmm0
lea rax, vtable.ATL::CImage.0
mov qword [rbp + 0x30], rax
mov dword [rbp + 0x60], 0xffffffff
mov qword [rbp + 0x68], r15
mov dword [rbp + 0x70], r15d
mov qword [rbp + 0x78], r15
call fcn.14002d740
mov rbx, rax
lea rcx, [rax + 8]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
inc dword [rbx + 0x30]
lea rcx, [rbx + 8]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
nop
mov rsi, qword [rsp + 0x68]
mov qword [rbp + 0x38], rsi
lea r8, [rbp - 0x60]
lea edx, [r15 + 0x68]
mov rcx, rsi
call qword [sym.imp.GDI32.dll_GetObjectW]
cmp eax, 0x68
jne 0x14004cb11
mov byte [rbp + 0x58], 1
mov ecx, dword [rbp - 0x3c]
mov dword [rbp + 0x48], ecx
mov r8d, dword [rbp - 0x38]
mov eax, r8d
cdq
mov r9d, eax
xor r9d, edx
sub r9d, edx
mov dword [rbp + 0x4c], r9d
movzx eax, word [rbp - 0x32]
mov dword [rbp + 0x54], eax
imul eax, ecx
add eax, 0x1f
cdq
and edx, 0x1f
add edx, eax
sar edx, 5
shl edx, 2
mov dword [rbp + 0x50], edx
mov r10, qword [rbp - 0x48]
mov qword [rbp + 0x40], r10
test r8d, r8d
jle 0x14004cb30
lea eax, [r9 - 1]
imul eax, edx
movsxd rcx, eax
add rcx, r10
mov qword [rbp + 0x40], rcx
neg edx
mov dword [rbp + 0x50], edx
jmp 0x14004cb30
mov byte [rbp + 0x58], 0
mov eax, dword [rbp - 0x5c]
mov dword [rbp + 0x48], eax
mov eax, dword [rbp - 0x58]
mov dword [rbp + 0x4c], eax
movzx eax, word [rbp - 0x4e]
mov dword [rbp + 0x54], eax
mov dword [rbp + 0x50], r15d
mov qword [rbp + 0x40], r15
mov dword [rbp + 0x5c], 0xffffffff
mov byte [rbp + 0x59], 0
mov rdx, qword [rbp - 0x68]
lea rcx, [rbp + 0x30]
call fcn.140048210
lea rdx, [rbp + 0x80]
mov rcx, qword [rbp - 0x68]
call qword [sym.imp.SHLWAPI.dll_IStream_Size]
mov edi, dword [rbp + 0x80]
mov rcx, qword [rbp - 0x68]
call qword [sym.imp.SHLWAPI.dll_IStream_Reset]
mov r8d, edi
mov r9, qword [rbp + 0x18]
mov rcx, r9
mov rdx, qword [rbp + 0x10]
sub rcx, rdx
cmp rdi, rcx
jae 0x14004cb89
lea rax, [rdi + rdx]
mov qword [rbp + 0x18], rax
jmp 0x14004cbbe
jbe 0x14004cbbe
mov rax, qword [rbp + 0x20]
sub rax, rdx
cmp r8, rax
jbe 0x14004cba5
mov rdx, r8
lea rcx, [rbp + 0x10]
call fcn.140052780
jmp 0x14004cbba
sub r8, rcx
lea rbx, [r9 + r8]
xor edx, edx
mov rcx, r9
call fcn.1400591d0
mov qword [rbp + 0x18], rbx
mov rdx, qword [rbp + 0x10]
mov r8d, edi
mov rcx, qword [rbp - 0x68]
call qword [sym.imp.SHLWAPI.dll_IStream_Read]
mov rcx, qword [rbp - 0x68]
mov rax, qword [rcx]
call qword [rax + 0x10]
xor edx, edx
mov r8d, 0xf8
lea rcx, [rbp + 0x90]
call fcn.1400591d0
lea rcx, [0x140000000]
lea rax, [rcx + 0x9b5a0]
mov qword [rbp + 0x90], rax
lea rax, [rcx + 0x9b598]
mov qword [rbp + 0xa0], rax
mov qword [rbp + 0x130], r15
mov qword [rbp + 0x158], r15
xorps xmm0, xmm0
movdqa xmmword [rbp + 0x160], xmm0
mov dword [rsp + 0x50], 2
lea rax, vtable.std::basic_istream_char__struct_std::char_traits_char__.0
mov qword [rbp + 0x128], rax
mov dword [rbp + 0x124], 0x80
mov qword [rbp + 0x98], r15
xor r8d, r8d
lea rdx, [rbp + 0xa8]
lea rcx, [rbp + 0x128]
call fcn.14003d310
nop
mov rax, qword [rbp + 0xa0]
movsxd rcx, dword [rax + 4]
lea rax, vtable.std::basic_ostream_char__struct_std::char_traits_char__.0
mov qword [rbp + rcx + 0xa0], rax
mov rax, qword [rbp + 0xa0]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x10]
mov dword [rbp + rcx + 0x9c], edx
mov rax, qword [rbp + 0x90]
movsxd rcx, dword [rax + 4]
lea rax, vtable.std::basic_iostream_char__struct_std::char_traits_char__.0
mov qword [rbp + rcx + 0x90], rax
mov rax, qword [rbp + 0x90]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x20]
mov dword [rbp + rcx + 0x8c], edx
mov rax, qword [rbp + 0x90]
movsxd rcx, dword [rax + 4]
lea rax, vtable.std::basic_stringstream_char__struct_std::char_traits_char___class_std::allocator_char__.0
mov qword [rbp + rcx + 0x90], rax
mov rax, qword [rbp + 0x90]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x98]
mov dword [rbp + rcx + 0x8c], edx
lea rcx, [rbp + 0xa8]
call fcn.14003d470
lea rax, vtable.std::basic_stringbuf_char__struct_std::char_traits_char___class_std::allocator_char__.0
mov qword [rbp + 0xa8], rax
mov qword [rbp + 0x110], r15
mov dword [rbp + 0x118], 4
mov r8, qword [rbp + 0x18]
mov rdx, qword [rbp + 0x10]
sub r8, rdx
lea rcx, [rbp + 0xa0]
call fcn.14004e780
mov rdx, qword [rsp + 0x70]
mov rcx, r14
call qword [sym.imp.GDI32.dll_SelectObject]
mov rcx, r14
call qword [sym.imp.GDI32.dll_DeleteDC]
mov rdx, qword [rsp + 0x58]
xor ecx, ecx
call qword [sym.imp.USER32.dll_ReleaseDC]
mov rcx, rsi
call qword [sym.imp.GDI32.dll_DeleteObject]
nop
xorps xmm0, xmm0
movups xmmword [r13], xmm0
mov qword [r13 + 0x10], r15
mov qword [r13 + 0x18], send
mov byte [r13], 0
mov dword [rsp + 0x50], 0x42
movups xmmword [rsp + 0x78], xmm0
mov ecx, dword [rbp + 0x118]
mov eax, ecx
and al, 0x22
cmp al, 2
je 0x14004cdc4
mov rax, qword [rbp + 0xe8]
mov r8, qword [rax]
test r8, r8
je 0x14004cdc4
mov rax, qword [rbp + 0xc8]
mov rdx, qword [rax]
cmp r8, qword [rbp + 0x110]
cmovb r8, qword [rbp + 0x110]
sub r8, rdx
jmp 0x14004cdfd
test cl, 4
jne 0x14004cdf4
mov rax, qword [rbp + 0xe0]
mov rcx, qword [rax]
test rcx, rcx
je 0x14004cdf4
mov rax, qword [rbp + 0xc0]
mov rdx, qword [rax]
mov rax, qword [rbp + 0xf8]
movsxd r8, dword [rax]
add r8, rcx
sub r8, rdx
jmp 0x14004cdfd
mov r8, qword [rbp - 0x80]
mov rdx, qword [rsp + 0x78]
test rdx, rdx
je 0x14004ce0b
mov rcx, r13
call fcn.14003aaa0
nop
lea rcx, [rbp + 0x90]
call fcn.14004cee0
nop
mov rcx, qword [rbp + 0x38]
test rcx, rcx
je 0x14004ce27
call qword [sym.imp.GDI32.dll_DeleteObject]
call fcn.14002d740
mov rbx, rax
lea rcx, [rax + 8]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
sub dword [rbx + 0x30], 1
jne 0x14004ce64
lea rcx, [rbx + 8]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rcx, qword [rbx]
test rcx, rcx
je 0x14004ce57
call qword [sym.imp.gdiplus.dll_GdiplusShutdown]
mov qword [rbx], r15
lea rcx, [rbx + 8]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
lea rcx, [rbx + 8]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
nop
mov rcx, qword [rbp + 0x10]
test rcx, rcx
je 0x14004cea5
mov rdx, qword [rbp + 0x20]
sub rdx, rcx
mov rax, rcx
cmp rdx, 0x1000
jb 0x14004cea0
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14004ced8
call fcn.140057214
mov rax, r13
mov rcx, qword [rbp + 0x190]
xor rcx, rsp
call fcn.140056e90
lea r11, [rsp + 0x2a0]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
call fcn.14005d7e8
int3