Function at 0x1400547c0
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 - 0x40]
sub rsp, 0x140
mov rax, qword [0x140198190]
xor rax, rsp
mov qword [rbp + 0x38], rax
movzx ebx, dl
mov r13, rcx
mov qword [rsp + 0x78], rcx
xor r12d, r12d
lea ecx, [r12 + 0x50]
call qword [sym.imp.USER32.dll_GetSystemMetrics]
cmp eax, 1
jg 0x140054816
call qword [sym.imp.USER32.dll_SetProcessDPIAware]
test bl, bl
je 0x14005482b
call qword [sym.imp.USER32.dll_GetShellWindow]
mov rcx, rax
call qword [sym.imp.USER32.dll_GetDC]
jmp 0x140054840
xor r9d, r9d
xor r8d, r8d
xor edx, edx
lea rcx, str.DISPLAY
call qword [sym.imp.GDI32.dll_CreateDCW]
mov rdi, rax
mov ecx, Ordinal_79
call qword [sym.imp.USER32.dll_GetSystemMetrics]
mov ebx, eax
mov ecx, reloc.WLDAP32.dll_Ordinal_79
call qword [sym.imp.USER32.dll_GetSystemMetrics]
mov r15d, eax
mov rcx, rdi
call qword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov r14, rax
mov r8d, r15d
mov edx, ebx
mov rcx, rdi
call qword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
mov rsi, rax
mov dword [rsp + 0x40], 0xcc0020
mov dword [rsp + 0x38], r12d
mov dword [rsp + 0x30], r12d
mov qword [rsp + 0x28], rdi
mov dword [rsp + 0x20], r15d
mov r9d, ebx
xor r8d, r8d
xor edx, edx
mov rcx, r14
call qword [sym.imp.GDI32.dll_BitBlt]
mov rdx, rsi
mov rcx, r14
call qword [sym.imp.GDI32.dll_SelectObject]
test rax, rax
jne 0x1400548d4
mov rcx, rdi
call qword [sym.imp.GDI32.dll_DeleteDC]
mov rcx, r14
call qword [sym.imp.GDI32.dll_DeleteDC]
mov rcx, rsi
call qword [sym.imp.GDI32.dll_DeleteObject]
mov dword [rsp + 0x50], 0xcc0020
mov dword [rsp + 0x48], r15d
mov dword [rsp + 0x40], ebx
mov dword [rsp + 0x38], r12d
mov dword [rsp + 0x30], r12d
mov qword [rsp + 0x28], rdi
mov dword [rsp + 0x20], r15d
mov r9d, ebx
xor r8d, r8d
xor edx, edx
mov rcx, r14
call qword [sym.imp.GDI32.dll_StretchBlt]
test eax, eax
jne 0x140054929
mov rcx, rdi
call qword [sym.imp.GDI32.dll_DeleteDC]
mov rcx, r14
call qword [sym.imp.GDI32.dll_DeleteDC]
mov rcx, rsi
call qword [sym.imp.GDI32.dll_DeleteObject]
lea r8, [rbp - 0x78]
mov r15d, reloc.WLDAP32.dll_Ordinal_32
mov edx, r15d
mov rcx, rsi
call qword [sym.imp.GDI32.dll_GetObjectW]
test eax, eax
jne 0x14005495e
mov rcx, rdi
call qword [sym.imp.GDI32.dll_DeleteDC]
mov rcx, r14
call qword [sym.imp.GDI32.dll_DeleteDC]
mov rcx, rsi
call qword [sym.imp.GDI32.dll_DeleteObject]
movzx eax, word [rbp - 0x68]
movzx ecx, word [rbp - 0x66]
imul ecx, eax
mov eax, 1
cmp cx, ax
jne 0x140054b8f
movzx r15d, ax
movzx r12d, r15w
mov ecx, r12d
shl eax, cl
movsxd rdx, eax
lea rdx, [rdx*4 + 0x28]
mov ecx, 0x40
call qword [sym.imp.KERNEL32.dll_LocalAlloc]
mov rbx, rax
mov dword [rax], Ordinal_41
mov eax, dword [rbp - 0x74]
mov dword [rbx + 4], eax
mov edx, dword [rbp - 0x74]
mov eax, dword [rbp - 0x70]
mov dword [rbx + 8], eax
mov r8d, dword [rbp - 0x70]
movzx eax, word [rbp - 0x68]
mov word [rbx + 0xc], ax
movzx eax, word [rbp - 0x66]
mov word [rbx + 0xe], ax
cmp r15w, 0x18
jae 0x1400549da
mov ecx, r12d
mov eax, 1
shl eax, cl
mov dword [rbx + 0x20], eax
mov dword [rbx + 0x10], 0
lea eax, [rdx + 7]
cdq
and edx, 7
add edx, eax
sar edx, 3
imul edx, r8d
imul edx, r12d
mov dword [rbx + 0x14], edx
xor r12d, r12d
mov dword [rbx + 0x24], r12d
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov r15, rax
test rax, rax
jne 0x140054a3b
mov rcx, rdi
call qword [sym.imp.GDI32.dll_DeleteDC]
mov rcx, r14
call qword [sym.imp.GDI32.dll_DeleteDC]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LocalFree]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GlobalFree]
mov rcx, rsi
call qword [sym.imp.GDI32.dll_DeleteObject]
mov dword [rsp + 0x30], r12d
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0x20], r15
mov r9d, dword [rbx + 8]
xor r8d, r8d
mov rdx, rsi
mov rcx, r14
call qword [sym.imp.GDI32.dll_GetDIBits]
test eax, eax
jne 0x140054a8e
mov rcx, rdi
call qword [sym.imp.GDI32.dll_DeleteDC]
mov rcx, r14
call qword [sym.imp.GDI32.dll_DeleteDC]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_GlobalFree]
mov rcx, rsi
call qword [sym.imp.GDI32.dll_DeleteObject]
mov dword [rbp], 1
movups xmm0, xmmword [0x140158440]
movups xmmword [rbp + 8], xmm0
mov dword [rbp + 0x1c], 4
mov dword [rbp + 0x18], 1
mov dword [rbp - 0x80], reloc.WLDAP32.dll_Ordinal_30
lea rax, [rbp - 0x80]
mov qword [rbp + 0x20], rax
lea rax, [0x14017aae0]
mov qword [rbp - 0x38], rax
mov qword [rsp + 0x68], r12
lea r8, [rsp + 0x68]
xor edx, edx
mov rcx, rsi
call qword [sym.imp.gdiplus.dll_GdipCreateBitmapFromHBITMAP]
mov edi, eax
mov rsi, qword [rsp + 0x68]
mov qword [rbp - 0x30], rsi
mov dword [rsp + 0x68], r12d
mov dword [rsp + 0x60], r12d
lea rdx, [rsp + 0x60]
lea rcx, [rsp + 0x68]
call qword [sym.imp.gdiplus.dll_GdipGetImageEncodersSize]
mov ecx, dword [rsp + 0x60]
test ecx, ecx
je 0x140054bf1
call fcn.140118d40
mov rbx, rax
test rax, rax
je 0x140054bf1
mov r8, rax
mov edx, dword [rsp + 0x60]
mov ecx, dword [rsp + 0x68]
call qword [sym.imp.gdiplus.dll_GdipGetImageEncoders]
mov r8d, r12d
mov r10d, dword [rsp + 0x68]
test r10d, r10d
je 0x140054be9
lea r11, str.image_jpeg
nop dword [rax + rax]
mov eax, r8d
imul r9, rax, 0x68
mov rdx, qword [r9 + rbx + 0x40]
mov rax, 0xffffffffffffffff
movzx ecx, word [rdx + rax*2 + 2]
cmp cx, word [r11 + rax*2 + 2]
jne 0x140054b85
add rax, 2
cmp rax, 0xb
je 0x140054be0
movzx ecx, word [rdx + rax*2]
cmp cx, word [r11 + rax*2]
je 0x140054b63
inc r8d
cmp r8d, r10d
jae 0x140054be9
jmp 0x140054b50
cmp cx, 4
ja 0x140054ba0
mov r15d, 4
jmp 0x14005497b
cmp cx, 8
ja 0x140054bb1
mov r15d, 8
jmp 0x14005497b
cmp cx, 0x10
ja 0x140054bc2
mov r15d, reloc.WS2_32.dll_recv
jmp 0x14005497b
cmp cx, 0x18
ja 0x14005497b
mov r12d, Ordinal_27
movzx r15d, r12w
lea edx, [r12 + 0x10]
jmp 0x14005498f
movups xmm0, xmmword [r9 + rbx]
movups xmmword [rbp + 0x28], xmm0
mov rcx, rbx
call fcn.140118d2c
lea r8, [rsp + 0x78]
mov edx, 1
xor ecx, ecx
call qword [sym.imp.ole32.dll_CreateStreamOnHGlobal]
lea r9, [rbp]
lea r8, [rbp + 0x28]
mov rdx, qword [rsp + 0x78]
mov rcx, rsi
call qword [sym.imp.gdiplus.dll_GdipSaveImageToStream]
test eax, eax
cmovne edi, eax
mov dword [rbp - 0x28], edi
mov qword [rsp + 0x70], r12
lea rdx, [rsp + 0x70]
mov rcx, qword [rsp + 0x78]
call qword [sym.imp.ole32.dll_GetHGlobalFromStream]
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x50], xmm0
mov rbx, r12
mov qword [rbp - 0x40], rbx
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.KERNEL32.dll_GlobalSize]
movsxd rdi, eax
test eax, eax
je 0x140054c67
mov rdx, rdi
lea rcx, [rbp - 0x50]
call fcn.14006dcb0
mov rbx, qword [rbp - 0x40]
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.KERNEL32.dll_GlobalLock]
mov r8, rdi
mov rdx, rax
mov rdi, qword [rbp - 0x50]
mov rcx, rdi
call fcn.140111970
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov rcx, qword [rsp + 0x78]
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
mov r8, qword [rbp - 0x48]
sub r8, rdi
mov rdx, rdi
lea rcx, [rbp - 0x20]
call fcn.14006ece0
nop
lea rdx, [rbp - 0x20]
cmp qword [rbp - 8], 0x10
cmovae rdx, qword [rbp - 0x20]
mov r10, qword [rbp - 0x10]
add r10, rdx
lea rdx, [rbp - 0x20]
cmp qword [rbp - 8], 0x10
cmovae rdx, qword [rbp - 0x20]
xorps xmm0, xmm0
movups xmmword [r13], xmm0
mov qword [r13 + 0x10], r12
mov qword [r13 + 0x18], r12
cmp rdx, r10
jne 0x140054cf9
mov qword [r13 + 0x10], r12
mov qword [r13 + 0x18], 7
mov word [r13], r12w
jmp 0x140054d0b
mov r9, r10
sub r9, rdx
mov r8, r10
mov rcx, r13
call fcn.14004f180
nop
lea rcx, [rbp - 0x20]
call fcn.140008ae0
nop
test rdi, rdi
je 0x140054d4a
sub rbx, rdi
mov rax, rdi
cmp rbx, 0x1000
jb 0x140054d3e
add rbx, 0x27
mov rdi, qword [rdi - 8]
sub rax, rdi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140054d83
mov rdx, rbx
mov rcx, rdi
call fcn.14010f640
nop
mov rcx, rsi
call qword [sym.imp.gdiplus.dll_GdipDisposeImage]
mov rax, r13
mov rcx, qword [rbp + 0x38]
xor rcx, rsp
call fcn.14010f620
lea r11, [rsp + 0x140]
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.140118cb4
nop
int3