Function at 0x1400544f0
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 [0x14017dbd0]
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 rsi, qword [rsp + 0x60]
mov rcx, rsi
call qword [sym.imp.GDI32.dll_BitBlt]
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp + 0x10], xmm0
mov qword [rbp + 0x20], rax
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, [rax + 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 r12, vtable.ATL::CImage.0
mov qword [rbp + 0x30], r12
mov qword [rbp + 0x38], r15
mov qword [rbp + 0x40], r15
mov qword [rbp + 0x48], r15
mov qword [rbp + 0x50], r15
mov word [rbp + 0x58], r15w
mov qword [rbp + 0x5c], 0xffffffffffffffff
mov qword [rbp + 0x68], r15
mov dword [rbp + 0x70], r15d
mov qword [rbp + 0x78], r15
call fcn.14004dc50
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 r14, qword [rsp + 0x68]
mov qword [rbp + 0x38], r14
lea r8, [rbp - 0x60]
lea edx, [r15 + 0x68]
mov rcx, r14
call qword [sym.imp.GDI32.dll_GetObjectW]
cmp eax, 0x68
jne 0x140054723
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 0x140054742
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 0x140054742
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.14004dde0
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 ecx, edi
mov r9, qword [rbp + 0x18]
mov r8, r9
mov rdx, qword [rbp + 0x10]
sub r8, rdx
cmp rdi, r8
jae 0x14005479a
lea rax, [rdi + rdx]
mov qword [rbp + 0x18], rax
jmp 0x1400547d7
jbe 0x1400547d7
mov rax, qword [rbp + 0x20]
sub rax, rdx
cmp rcx, rax
jbe 0x1400547bb
lea r8, [rsp + 0x54]
mov rdx, rcx
lea rcx, [rbp + 0x10]
call fcn.1400671c0
jmp 0x1400547d3
sub rcx, r8
lea rbx, [r9 + rcx]
mov r8, rcx
xor edx, edx
mov rcx, r9
call fcn.140098280
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 + reloc.WS2_32.dll_recv]
xor edx, edx
mov r8d, 0xf8
lea rcx, [rbp + 0x90]
call fcn.140098280
lea rcx, [rbp + 0x90]
call fcn.140038a70
nop
mov r8, qword [rbp + 0x18]
mov rdx, qword [rbp + 0x10]
sub r8, rdx
lea rcx, [rbp + 0xa0]
call fcn.14005dcf0
mov rdx, qword [rsp + 0x70]
mov rcx, rsi
call qword [sym.imp.GDI32.dll_SelectObject]
mov rcx, rsi
call qword [sym.imp.GDI32.dll_DeleteDC]
mov rdx, qword [rsp + 0x58]
xor ecx, ecx
call qword [sym.imp.USER32.dll_ReleaseDC]
mov rcx, r14
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 ebx, 4
mov dword [rsp + 0x50], ebx
movups xmmword [rsp + 0x78], xmm0
mov rcx, qword [rbp + 0x118]
mov eax, ecx
and al, 0x22
cmp al, 2
je 0x1400548b7
mov rax, qword [rbp + 0xe8]
mov r8, qword [rax]
test r8, r8
je 0x1400548b7
mov rax, qword [rbp + 0xc8]
mov rdx, qword [rax]
cmp r8, qword [rbp + 0x110]
cmovb r8, qword [rbp + 0x110]
sub r8, rdx
jmp 0x1400548ef
test bl, cl
jne 0x1400548e6
mov rax, qword [rbp + 0xe0]
mov rcx, qword [rax]
test rcx, rcx
je 0x1400548e6
mov rax, qword [rbp + 0xc0]
mov rdx, qword [rax]
mov rax, qword [rbp + 0xf8]
movsxd r8, dword [rax]
sub r8, rdx
add r8, rcx
jmp 0x1400548ef
mov r8, qword [rbp - 0x80]
mov rdx, qword [rsp + 0x78]
test rdx, rdx
je 0x1400548fc
mov rcx, r13
call fcn.14003b760
and ebx, 0xfffffffb
mov dword [rsp + 0x50], ebx
or ebx, 2
mov dword [rsp + 0x50], ebx
and ebx, 0xfffffffd
mov dword [rsp + 0x50], ebx
or ebx, 1
mov dword [rsp + 0x50], ebx
lea rcx, [rbp + 0x90]
call fcn.140037560
nop
mov qword [rbp + 0x30], r12
mov rcx, qword [rbp + 0x38]
test rcx, rcx
je 0x140054956
mov qword [rbp + 0x38], r15
mov qword [rbp + 0x40], r15
mov qword [rbp + 0x48], r15
mov qword [rbp + 0x50], r15
mov qword [rbp + 0x5c], 0xffffffffffffffff
mov word [rbp + 0x58], 0
call qword [sym.imp.GDI32.dll_DeleteObject]
call fcn.14004dc50
mov rbx, rax
lea rcx, [rax + 8]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
sub dword [rbx + 0x30], 1
jne 0x140054993
lea rcx, [rbx + 8]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rcx, qword [rbx]
test rcx, rcx
je 0x140054986
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 0x1400549e0
mov rdx, qword [rbp + 0x20]
sub rdx, rcx
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400549cf
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140054a13
call fcn.140095fd0
xorps xmm0, xmm0
movdqu xmmword [rbp + 0x10], xmm0
mov qword [rbp + 0x20], r15
mov rax, r13
mov rcx, qword [rbp + 0x190]
xor rcx, rsp
call fcn.140095fb0
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.1400700d0
int3