Function at 0x1401dc0b0
Capabilities:
Capture screenshot

Disassembly:
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov qword [rsp + 8], rcx
push rbp
push rbx
push rsi
push rdi
push r13
push r14
lea rbp, [rsp - 0x38]
sub rsp, 0x138
mov rdi, rdx
mov r13, rcx
mov rdx, qword [rcx + 0x10]
mov rbx, r9
mov rcx, qword [rcx + 0x18]
mov rsi, r8
call qword [sym.imp.USER32.dll_LoadBitmapA]
mov qword [rbp], rax
mov r14, rax
test rax, rax
je 0x1401dca38
mov qword [rsp + 0x178], r12
mov qword [rsp + 0x130], r15
xor r15d, r15d
cmp dword [r13 + 0x50], r15d
je 0x1401dc1fd
lea rdx, [rbp - 0x38]
mov rcx, rdi
call qword [sym.imp.USER32.dll_GetWindowRect]
mov ecx, dword [rbp - 0x2c]
xor r9d, r9d
add ecx, dword [r13 + 0x50]
xor r8d, r8d
mov eax, dword [rbp - 0x30]
xor edx, edx
sub eax, dword [rbp - 0x38]
mov dword [rbp - 0x2c], ecx
sub ecx, dword [rbp - 0x34]
mov dword [rsp + 0x30], reloc.WSOCK32.dll_shutdown
mov dword [rsp + 0x28], ecx
mov rcx, rdi
mov dword [rsp + 0x20], eax
call qword [sym.imp.USER32.dll_SetWindowPos]
mov rdx, rsi
mov rcx, rdi
call qword [sym.imp.USER32.dll_GetClientRect]
mov rdx, rsi
mov rcx, rbx
call qword [sym.imp.USER32.dll_CopyRect]
mov rcx, rdi
call qword [sym.imp.USER32.dll_GetTopWindow]
mov rbx, rax
test rax, rax
je 0x1401dc1fd
nop dword [rax]
nop dword [rax + rax]
lea rdx, [rbp - 0x60]
mov rcx, rbx
call qword [sym.imp.USER32.dll_GetWindowRect]
mov r9d, 2
lea r8, [rbp - 0x60]
mov rdx, rdi
xor ecx, ecx
call qword [sym.imp.USER32.dll_MapWindowPoints]
mov r8d, dword [r13 + 0x50]
lea rcx, [rbp - 0x60]
xor edx, edx
call qword [sym.imp.USER32.dll_OffsetRect]
mov r9d, dword [rbp - 0x5c]
xor edx, edx
mov r8d, dword [rbp - 0x60]
mov rcx, rbx
mov dword [rsp + 0x30], SafeArrayUnaccessData
mov dword [rsp + 0x28], r15d
mov dword [rsp + 0x20], r15d
call qword [sym.imp.USER32.dll_SetWindowPos]
mov edx, 2
mov rcx, rbx
call qword [sym.imp.USER32.dll_GetWindow]
mov rbx, rax
test rax, rax
jne 0x1401dc190
mov ecx, dword [r13 + 0x28]
mov edx, dword [r13 + 0x20]
mov r8d, dword [r13 + 0x44]
mov eax, dword [r13 + 0x48]
mov r9d, dword [r13 + 0x40]
cmp r9d, edx
mov qword [rsp + 0x68], r15
cmovle r9d, edx
cmp r8d, ecx
mov dword [r13 + 0x40], r9d
cmovle r8d, ecx
cmp eax, edx
mov dword [r13 + 0x44], r8d
cmovle eax, edx
mov edx, dword [r13 + 0x24]
mov dword [r13 + 0x48], eax
mov eax, dword [r13 + 0x4c]
cmp eax, ecx
cmovle eax, ecx
mov ecx, dword [r13 + 0x2c]
mov dword [r13 + 0x4c], eax
mov eax, dword [r13 + 0x30]
cmp eax, edx
cmovle eax, edx
mov dword [r13 + 0x30], eax
mov eax, dword [r13 + 0x34]
cmp eax, ecx
cmovle eax, ecx
mov dword [r13 + 0x34], eax
mov eax, dword [r13 + 0x38]
cmp eax, edx
cmovle eax, edx
mov dword [r13 + 0x38], eax
mov eax, dword [r13 + 0x3c]
cmp eax, ecx
cmovle eax, ecx
mov dword [r13 + 0x3c], eax
lea eax, [r9 + 1]
mov r9d, dword [rsi + 8]
add eax, r8d
mov r8d, dword [rsi + 0xc]
cmp r9d, eax
cmovle r9d, eax
mov dword [rsi + 8], r9d
mov ecx, dword [r13 + 0x4c]
mov edx, dword [r13 + 0x48]
inc ecx
add edx, ecx
cmp r9d, edx
cmovle r9d, edx
mov dword [rsi + 8], r9d
mov ecx, dword [r13 + 0x34]
mov edx, dword [r13 + 0x30]
inc ecx
add edx, ecx
cmp r8d, edx
cmovle r8d, edx
mov dword [rsi + 0xc], r8d
mov ecx, dword [r13 + 0x38]
mov edx, dword [r13 + 0x3c]
inc ecx
add edx, ecx
cmp r8d, edx
cmovle r8d, edx
mov dword [rsi + 0xc], r8d
mov ecx, dword [r13 + 0x28]
add ecx, r9d
add ecx, dword [r13 + 0x20]
mov dword [rsp + 0x70], ecx
mov ecx, dword [r13 + 0x2c]
add ecx, r8d
lea r8, [rbp + 8]
add ecx, dword [r13 + 0x24]
xor eax, eax
mov dword [rsp + 0x74], ecx
mov qword [rbp + 8], rax
mov rcx, r14
mov qword [rbp + 0x10], rax
mov qword [rbp + 0x18], rax
lea edx, [rax + 0x20]
mov qword [rbp + 0x20], rax
call qword [sym.imp.GDI32.dll_GetObjectA]
mov eax, dword [rbp + 0xc]
mov dword [rsp + 0x60], eax
mov eax, dword [rbp + 0x10]
mov dword [rbp - 0x80], eax
call qword [sym.imp.USER32.dll_GetDesktopWindow]
mov rcx, rax
mov qword [rbp - 0x38], rax
call qword [sym.imp.USER32.dll_GetWindowDC]
mov rcx, rax
mov qword [rbp - 8], rax
mov rdi, rax
call qword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov r8d, dword [rsp + 0x74]
mov rcx, rdi
mov edx, dword [rsp + 0x70]
mov rbx, rax
mov qword [rbp - 0x78], rax
call qword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
mov rdx, rax
mov qword [rbp - 0x60], rax
mov rcx, rbx
call qword [sym.imp.GDI32.dll_SelectObject]
mov rcx, rdi
call qword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov rcx, rax
mov qword [rsp + 0x78], rax
mov rdx, r14
call qword [sym.imp.GDI32.dll_SelectObject]
mov eax, dword [r13 + 0x34]
mov r8, qword [rbp + 0x70]
mov ebx, dword [r13 + 0x40]
mov r9d, ebx
mov edx, dword [rsp + 0x74]
mov ecx, edx
mov edi, dword [r13 + 0x44]
sub ecx, eax
mov r15d, dword [r13 + 0x4c]
mov r14d, dword [r13 + 0x48]
mov r12d, dword [rsp + 0x70]
mov esi, r12d
mov r13d, dword [r13 + 0x30]
sub esi, edi
mov dword [rbp - 0x50], eax
sub ecx, r13d
mov eax, dword [r8 + 0x38]
sub r12d, r15d
mov dword [rbp - 0x48], eax
sub esi, ebx
mov dword [rsp + 0x40], 0xcc0020
sub r12d, r14d
mov dword [rbp - 0x4c], ecx
mov ecx, dword [r8 + 0x3c]
sub edx, ecx
sub edx, eax
mov dword [rbp - 0x44], ecx
mov rcx, qword [rbp - 0x78]
xor eax, eax
mov dword [rsp + 0x38], eax
mov dword [rsp + 0x30], eax
mov rax, qword [rsp + 0x78]
mov qword [rsp + 0x28], rax
mov eax, dword [r8 + 0x24]
xor r8d, r8d
mov dword [rbp - 0x40], edx
xor edx, edx
mov dword [rsp + 0x20], eax
call qword [sym.imp.GDI32.dll_BitBlt]
mov rax, qword [rbp + 0x70]
mov dword [rsp + 0x50], 0xcc0020
mov ecx, dword [rax + 0x24]
mov edx, dword [rax + 0x40]
mov eax, dword [rsp + 0x60]
mov dword [rsp + 0x48], ecx
sub eax, ebx
sub eax, edi
mov dword [rsp + 0x40], eax
mov rax, qword [rsp + 0x78]
mov dword [rsp + 0x38], 0
mov dword [rsp + 0x30], edx
mov qword [rsp + 0x28], rax
mov rdi, qword [rbp - 0x78]
mov r9d, esi
mov dword [rsp + 0x20], ecx
xor r8d, r8d
mov rcx, rdi
call qword [sym.imp.GDI32.dll_StretchBlt]
mov rsi, qword [rbp + 0x70]
xor r8d, r8d
mov rax, qword [rsp + 0x78]
mov ecx, dword [rsp + 0x60]
mov r9d, dword [rsp + 0x70]
mov edx, r9d
sub ecx, dword [rsi + 0x44]
sub edx, dword [rsi + 0x44]
mov dword [rsp + 0x40], 0xcc0020
mov dword [rsp + 0x38], 0
mov dword [rsp + 0x30], ecx
mov rcx, rdi
mov qword [rsp + 0x28], rax
mov eax, dword [rsi + 0x24]
mov dword [rsp + 0x20], eax
call qword [sym.imp.GDI32.dll_BitBlt]
mov edx, dword [rsp + 0x74]
mov r8d, edx
mov ecx, dword [rbp - 0x80]
sub ecx, dword [rsi + 0x2c]
mov rax, qword [rsp + 0x78]
sub r8d, dword [rsi + 0x2c]
mov r9d, dword [rsi + 0x48]
mov dword [rsp + 0x40], 0xcc0020
mov dword [rsp + 0x38], ecx
mov rcx, rdi
mov dword [rsp + 0x30], 0
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], edx
xor edx, edx
call qword [sym.imp.GDI32.dll_BitBlt]
mov r10d, dword [rsi + 0x2c]
mov r9d, r12d
mov ecx, dword [rsp + 0x60]
mov edx, dword [rsi + 0x48]
sub ecx, r14d
mov r8d, dword [rsp + 0x74]
sub ecx, r15d
mov r15d, dword [rbp - 0x80]
sub r8d, r10d
mov dword [rsp + 0x50], 0xcc0020
mov eax, r15d
mov dword [rsp + 0x48], r10d
sub eax, r10d
mov dword [rsp + 0x40], ecx
mov rcx, rdi
mov dword [rsp + 0x38], eax
mov rax, qword [rsp + 0x78]
mov dword [rsp + 0x30], edx
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], r10d
call qword [sym.imp.GDI32.dll_StretchBlt]
mov r11d, dword [rsp + 0x74]
mov ebx, r15d
sub ebx, dword [rsi + 0x2c]
mov r8d, r11d
mov r9d, dword [rsp + 0x70]
mov rcx, rdi
mov r14d, dword [rsp + 0x60]
mov edx, r9d
mov r12, qword [rsp + 0x78]
mov r10d, r14d
sub r10d, dword [rsi + 0x44]
sub r8d, dword [rsi + 0x2c]
sub edx, dword [rsi + 0x44]
mov dword [rsp + 0x40], 0xcc0020
mov dword [rsp + 0x38], ebx
mov dword [rsp + 0x30], r10d
mov qword [rsp + 0x28], r12
mov dword [rsp + 0x20], r11d
call qword [sym.imp.GDI32.dll_BitBlt]
xor ebx, ebx
mov dword [rsp + 0x40], 0xcc0020
mov dword [rsp + 0x38], ebx
mov dword [rsp + 0x30], ebx
mov eax, dword [rsi + 0x30]
xor r8d, r8d
mov r9d, dword [rsi + 0x20]
xor edx, edx
mov qword [rsp + 0x28], r12
mov rcx, rdi
mov dword [rsp + 0x20], eax
call qword [sym.imp.GDI32.dll_BitBlt]
mov r9d, dword [rsi + 0x20]
mov eax, r15d
mov r8d, dword [rsi + 0x30]
sub eax, r13d
sub eax, dword [rbp - 0x50]
xor edx, edx
mov dword [rsp + 0x50], 0xcc0020
mov rcx, rdi
mov dword [rsp + 0x48], eax
mov eax, dword [rbp - 0x4c]
mov dword [rsp + 0x40], r9d
mov dword [rsp + 0x38], r8d
mov dword [rsp + 0x30], ebx
mov qword [rsp + 0x28], r12
mov dword [rsp + 0x20], eax
call qword [sym.imp.GDI32.dll_StretchBlt]
mov edx, dword [rsp + 0x74]
mov ecx, r15d
sub ecx, dword [rsi + 0x34]
mov r8d, edx
sub r8d, dword [rsi + 0x34]
mov r9d, dword [rsi + 0x20]
mov dword [rsp + 0x40], 0xcc0020
mov dword [rsp + 0x38], ecx
mov rcx, rdi
mov dword [rsp + 0x30], ebx
mov qword [rsp + 0x28], r12
mov dword [rsp + 0x20], edx
xor edx, edx
call qword [sym.imp.GDI32.dll_BitBlt]
mov r9d, dword [rsp + 0x70]
mov ecx, r14d
sub ecx, dword [rsi + 0x28]
mov edx, r9d
mov eax, dword [rsi + 0x38]
xor r8d, r8d
sub edx, dword [rsi + 0x28]
mov dword [rsp + 0x40], 0xcc0020
mov dword [rsp + 0x38], ebx
mov dword [rsp + 0x30], ecx
mov rcx, rdi
mov qword [rsp + 0x28], r12
mov dword [rsp + 0x20], eax
call qword [sym.imp.GDI32.dll_BitBlt]
mov r9d, dword [rsi + 0x28]
mov ecx, r15d
sub ecx, dword [rbp - 0x48]
mov eax, r14d
sub ecx, dword [rbp - 0x44]
sub eax, r9d
mov r8d, dword [rsi + 0x38]
mov edx, dword [rsp + 0x70]
mov dword [rsp + 0x50], 0xcc0020
sub edx, r9d
mov dword [rsp + 0x48], ecx
mov rcx, rdi
mov dword [rsp + 0x40], r9d
mov dword [rsp + 0x38], r8d
mov dword [rsp + 0x30], eax
mov eax, dword [rbp - 0x40]
mov qword [rsp + 0x28], r12
mov dword [rsp + 0x20], eax
call qword [sym.imp.GDI32.dll_StretchBlt]
mov r11d, dword [rsp + 0x74]
mov ebx, r15d
mov r9d, dword [rsp + 0x70]
mov r8d, r11d
sub r8d, dword [rsi + 0x3c]
mov r10d, r14d
sub ebx, dword [rsi + 0x3c]
mov edx, r9d
sub r10d, dword [rsi + 0x28]
sub edx, dword [rsi + 0x28]
mov dword [rsp + 0x40], 0xcc0020
mov rcx, rdi
mov dword [rsp + 0x38], ebx
mov dword [rsp + 0x30], r10d
mov qword [rsp + 0x28], r12
mov dword [rsp + 0x20], r11d
call qword [sym.imp.GDI32.dll_BitBlt]
mov rcx, rdi
call qword [sym.imp.GDI32.dll_DeleteObject]
mov rax, qword [rbp - 0x60]
lea rdx, [rsp + 0x68]
mov rcx, qword [rbp + 0x88]
mov qword [rsi + 8], rax
call qword [sym.imp.USER32.dll_CopyRect]
mov r14, qword [rbp + 0x80]
mov r8d, dword [rsi + 0x24]
mov rcx, r14
mov edx, dword [rsi + 0x20]
call qword [sym.imp.USER32.dll_OffsetRect]
mov eax, dword [r14 + 0xc]
lea rcx, [rbp - 0x70]
mov r9d, dword [r14 + 8]
xor r8d, r8d
sub eax, dword [r14 + 4]
xor edx, edx
sub r9d, dword [r14]
mov dword [rsp + 0x20], eax
call qword [sym.imp.USER32.dll_SetRect]
mov r13, qword [rbp - 8]
mov rcx, r13
call qword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov r8d, dword [rbp - 0x64]
mov rcx, r13
mov edx, dword [rbp - 0x68]
mov rdi, rax
mov qword [rbp - 0x60], rax
call qword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
mov rdx, rax
mov qword [rbp - 0x40], rax
mov rcx, rdi
call qword [sym.imp.GDI32.dll_SelectObject]
mov edx, dword [rsi + 0x5c]
mov r9d, dword [rsi + 0x60]
cmp edx, r9d
je 0x1401dc85a
mov ecx, dword [rbp - 0x70]
movzx eax, dl
shl ax, 8
mov word [rbp - 0x20], ax
movzx eax, dx
shr edx, 0x10
mov dword [rbp - 0x28], ecx
mov ecx, dword [rbp - 0x6c]
mov dword [rbp - 0x24], ecx
mov ecx, 0xff00
and ax, cx
mov dword [rsp + 0x28], 1
mov word [rbp - 0x1e], ax
movzx eax, dl
xor edx, edx
shl ax, 8
mov word [rbp - 0x1c], ax
mov eax, dword [rbp - 0x68]
inc eax
mov word [rbp - 0x1a], dx
mov dword [rbp - 0x18], eax
lea r8d, [rdx + 2]
mov eax, dword [rbp - 0x64]
inc eax
mov word [rbp - 0xa], dx
mov dword [rbp - 0x14], eax
movzx eax, r9b
shl ax, 8
mov word [rbp - 0x10], ax
movzx eax, r9w
and ax, cx
shr r9d, 0x10
mov word [rbp - 0xe], ax
mov rcx, rdi
movzx eax, r9b
lea r9, [rbp - 0x78]
shl ax, 8
mov dword [rbp - 0x78], edx
lea rdx, [rbp - 0x28]
mov word [rbp - 0xc], ax
mov dword [rbp - 0x74], 1
mov dword [rsp + 0x20], 1
call qword [sym.imp.MSIMG32.dll_GradientFill]
jmp 0x1401dc87e
mov ecx, edx
call qword [sym.imp.GDI32.dll_CreateSolidBrush]
lea rdx, [rbp - 0x70]
mov rcx, rdi
mov r8, rax
mov rbx, rax
call qword [sym.imp.USER32.dll_FillRect]
mov rcx, rbx
call qword [sym.imp.GDI32.dll_DeleteObject]
mov r15d, dword [rsi + 0x70]
lea rdi, [rsi + 0x64]
sub r15d, dword [rsi + 0x68]
mov r8d, dword [r14 + 4]
mov r12d, dword [rsi + 0x6c]
mov r9d, dword [r14 + 8]
mov edx, r9d
sub r12d, dword [rdi]
mov rcx, qword [rbp + 0x90]
lea eax, [r8 + r15]
sub edx, r12d
mov dword [rsp + 0x20], eax
call qword [sym.imp.USER32.dll_SetRect]
mov rcx, r13
call qword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov r8d, r15d
mov edx, r12d
mov rcx, r13
mov r14, rax
call qword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
mov rdx, rax
mov rcx, r14
mov rsi, rax
call qword [sym.imp.GDI32.dll_SelectObject]
mov rax, qword [rsp + 0x78]
mov r9d, r12d
mov r13, qword [rbp + 0x70]
xor r8d, r8d
mov dword [rsp + 0x40], 0xcc0020
xor edx, edx
mov ecx, dword [r13 + 0x68]
mov dword [rsp + 0x38], ecx
mov ecx, dword [rdi]
mov dword [rsp + 0x30], ecx
mov rcx, r14
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], r15d
call qword [sym.imp.GDI32.dll_BitBlt]
mov ecx, 0xff00ff
call qword [sym.imp.GDI32.dll_CreateSolidBrush]
mov rdx, rdi
mov rdi, qword [rsp + 0x78]
mov rcx, rdi
mov r8, rax
mov rbx, rax
call qword [sym.imp.USER32.dll_FillRect]
mov rcx, rbx
call qword [sym.imp.GDI32.dll_DeleteObject]
mov ecx, dword [r13 + 0x20]
mov eax, dword [r13 + 0x24]
mov r8d, dword [rbp - 0x80]
mov edx, dword [rsp + 0x60]
sub r8d, eax
sub r8d, dword [r13 + 0x2c]
sub edx, dword [r13 + 0x28]
mov rbx, qword [rbp - 0x60]
sub edx, ecx
mov dword [rsp + 0x50], 0xff00ff
mov r9d, edx
mov dword [rsp + 0x48], r8d
mov dword [rsp + 0x40], edx
xor edx, edx
mov dword [rsp + 0x38], eax
mov dword [rsp + 0x30], ecx
mov rcx, rbx
mov qword [rsp + 0x28], rdi
mov dword [rsp + 0x20], r8d
xor r8d, r8d
call qword [sym.imp.MSIMG32.dll_TransparentBlt]
mov edx, dword [rbp - 0x68]
mov r9d, r12d
mov r8d, dword [rbp - 0x6c]
sub edx, r12d
mov dword [rsp + 0x50], 0xff00ff
xor eax, eax
mov dword [rsp + 0x48], r15d
mov dword [rsp + 0x40], r12d
mov dword [rsp + 0x38], eax
mov dword [rsp + 0x30], eax
mov qword [rsp + 0x28], r14
mov dword [rsp + 0x20], r15d
mov rcx, rbx
call qword [sym.imp.MSIMG32.dll_TransparentBlt]
mov rcx, r14
call qword [sym.imp.GDI32.dll_DeleteDC]
mov rcx, rsi
call qword [sym.imp.GDI32.dll_DeleteObject]
mov rcx, rbx
call qword [sym.imp.GDI32.dll_DeleteDC]
mov rcx, qword [rbp - 0x40]
call qword [sym.imp.GDI32.dll_CreatePatternBrush]
mov rcx, qword [rbp - 0x40]
mov qword [r13], rax
call qword [sym.imp.GDI32.dll_DeleteObject]
mov rcx, rdi
call qword [sym.imp.GDI32.dll_DeleteObject]
mov rcx, qword [rbp]
call qword [sym.imp.GDI32.dll_DeleteObject]
mov rdx, qword [rbp - 8]
mov rcx, qword [rbp - 0x38]
call qword [sym.imp.USER32.dll_ReleaseDC]
mov r15, qword [rsp + 0x130]
mov r12, qword [rsp + 0x178]
add rsp, 0x138
pop r14
pop r13
pop rdi
pop rsi
pop rbx
pop rbp
ret