Function at 0x140026180
Capabilities:
Capture screenshot

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x37]
sub rsp, 0xf0
mov rax, qword [0x140342fc0]
xor rax, rsp
mov qword [rbp + 0x2f], rax
call qword [sym.imp.USER32.dll_GetDesktopWindow]
mov rcx, rax
lea rdx, [rbp - 0x59]
mov rdi, rax
call qword [sym.imp.USER32.dll_GetWindowRect]
mov rcx, rdi
call qword [sym.imp.USER32.dll_GetDC]
mov rcx, rax
mov rbx, rax
call qword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov r8d, dword [rbp - 0x4d]
mov rcx, rbx
mov edx, dword [rbp - 0x51]
mov rsi, rax
sub r8d, dword [rbp - 0x55]
sub edx, dword [rbp - 0x59]
call qword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
mov rdx, rax
mov rcx, rsi
mov r15, rax
call qword [sym.imp.GDI32.dll_SelectObject]
mov ecx, dword [rbp - 0x4d]
xor r14d, r14d
sub ecx, dword [rbp - 0x55]
xor r8d, r8d
mov r9d, dword [rbp - 0x51]
xor edx, edx
sub r9d, dword [rbp - 0x59]
mov dword [rsp + 0x40], 0x40cc0020
mov dword [rsp + 0x38], r14d
mov dword [rsp + 0x30], r14d
mov qword [rsp + 0x28], rbx
mov dword [rsp + 0x20], ecx
mov rcx, rsi
call qword [sym.imp.GDI32.dll_BitBlt]
mov rdx, rbx
mov rcx, rdi
call qword [sym.imp.USER32.dll_ReleaseDC]
lea r8, str.Screenshot.jpg
lea rdx, [0x14035d6f0]
lea rcx, [rbp - 0x11]
call fcn.1400256d0
mov rdx, r15
mov rcx, rsi
call qword [sym.imp.GDI32.dll_SelectObject]
cmp qword [rbp + 7], 7
lea rdi, [rbp - 0x11]
lea r8, [rbp + 0xf]
mov rcx, r15
cmova rdi, qword [rbp - 0x11]
lea edx, [r14 + 0x20]
mov r12, rax
call qword [sym.imp.GDI32.dll_GetObjectW]
mov eax, dword [rbp + 0x13]
mov ecx, dword [rbp + 0x17]
mov dword [rbp - 0x35], eax
mov dword [rbp - 0x31], ecx
lea eax, [rax + rax*2]
mov dword [rbp - 0x39], 0x28
lea eax, [rax*8 + 0x1f]
mov qword [rbp - 0x2d], 0x180001
cdq
mov qword [rbp - 0x25], r14
and edx, 0x1f
mov qword [rbp - 0x1d], r14
mov dword [rbp - 0x15], r14d
lea ebx, [rdx + rax]
sar ebx, 5
imul ebx, ecx
lea ecx, [r14 + 0x42]
shl ebx, 2
mov edx, ebx
mov r13d, ebx
call qword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov rcx, rax
mov r14, rax
call qword [sym.imp.KERNEL32.dll_GlobalLock]
xor ecx, ecx
mov qword [rbp - 0x69], rax
call qword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov rcx, rax
mov r9d, dword [rbp + 0x17]
lea rax, [rbp - 0x39]
mov dword [rsp + 0x30], 0
xor r8d, r8d
mov qword [rsp + 0x28], rax
mov rdx, r15
mov rax, qword [rbp - 0x69]
mov qword [rsp + 0x20], rax
call qword [sym.imp.GDI32.dll_GetDIBits]
mov eax, 0x4d42
mov dword [rbp - 0x3f], gethostname
lea ecx, [rbx + 0x36]
mov word [rbp - 0x49], ax
xor eax, eax
mov dword [rbp - 0x47], ecx
lea r8, [0x1402f48e0]
mov dword [rbp - 0x43], eax
mov rdx, rdi
lea rcx, [rbp - 0x61]
call fcn.140274b98
test eax, eax
jne 0x1400263b3
mov r9, qword [rbp - 0x61]
lea edx, [rax + 0xe]
lea r8d, [rax + 1]
lea rcx, [rbp - 0x49]
call fcn.14027b6e8
mov r9, qword [rbp - 0x61]
lea rcx, [rbp - 0x39]
mov edx, 0x28
lea r8d, [rdx - 0x27]
call fcn.14027b6e8
mov r9, qword [rbp - 0x61]
mov r8d, 1
mov rcx, qword [rbp - 0x69]
mov edx, r13d
call fcn.14027b6e8
mov rcx, qword [rbp - 0x61]
call fcn.140274d28
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_GlobalFree]
mov rdx, r12
mov rcx, rsi
call qword [sym.imp.GDI32.dll_SelectObject]
mov rcx, r15
call qword [sym.imp.GDI32.dll_DeleteObject]
mov rcx, rsi
call qword [sym.imp.GDI32.dll_DeleteDC]
mov rdx, qword [rbp + 7]
cmp rdx, 7
jbe 0x14002640d
mov rcx, qword [rbp - 0x11]
lea rdx, [rdx*2 + 2]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140026408
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14002643a
call fcn.14025e770
mov rcx, qword [rbp + 0x2f]
xor rcx, rsp
call fcn.14025e750
lea r11, [rsp + 0xf0]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
call fcn.14027aed0
int3