Function at 0x40ad9d
Capabilities:
Capture screenshot

Disassembly:
sub esp, 0x7c
mov eax, dword [0x6b0d44]
xor eax, esp
mov dword [esp + 0x78], eax
push ebx
mov eax, ecx
xor ebx, ebx
push ebp
mov ebp, edx
mov dword [esp + 0x10], eax
push esi
mov dword [eax], ebx
mov eax, dword [0x76a4dc]
mov dword [ebp], ebx
mov dword [ebp + 4], ebx
push edi
mov edi, dword [esp + 0x90]
mov dword [esp + 0x10], edi
test eax, eax
je 0x40addd
push eax
push ebx
call dword [sym.imp.USER32.dll_ReleaseDC]
push ebx
mov ebx, dword [sym.imp.USER32.dll_GetDC]
call ebx
mov esi, eax
mov dword [0x76a4dc], esi
test esi, esi
jne 0x40adfa
xor eax, eax
inc eax
jmp 0x40b135
mov eax, dword [0x76a540]
test eax, eax
je 0x40ae10
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
mov esi, dword [0x76a4dc]
mov ecx, dword [0x76a4c8]
call fcn.0040a4f4
mov ecx, dword [0x76a488]
push eax
call fcn.0040a4f4
push eax
push esi
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
mov dword [0x76a540], eax
test eax, eax
je 0x40adf2
push eax
push dword [0x76a504]
call dword [sym.imp.GDI32.dll_SelectObject]
test eax, eax
je 0x40adf2
cmp dword [0x6b4e40], 0x400
jne 0x40afc5
mov ecx, dword [0x76a494]
push 0x40cc0020
push dword [0x76a4a0]
push dword [0x76a4b0]
push dword [0x76a4dc]
call fcn.0040a4f4
mov ecx, dword [0x76a4b4]
push eax
call fcn.0040a4f4
push eax
xor esi, esi
push esi
push esi
push dword [0x76a504]
call dword [sym.imp.GDI32.dll_BitBlt]
test eax, eax
je 0x40adf2
cmp dword [edi], esi
je 0x40b03a
xor eax, eax
lea edi, [esp + 0x38]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
lea eax, [esp + 0x34]
push eax
mov dword [esp + 0x38], 0x14
call dword [sym.imp.USER32.dll_GetCursorInfo]
lea eax, [esp + 0x48]
push eax
push dword [esp + 0x40]
call dword [sym.imp.USER32.dll_GetIconInfo]
lea eax, [esp + 0x1c]
push eax
push 0x18
push dword [esp + 0x5c]
call dword [sym.imp.GDI32.dll_GetObjectA]
cmp eax, 0x18
jne 0x40b03a
push esi
call ebx
mov ebx, eax
test ebx, ebx
je 0x40b03a
push ebx
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
cmp dword [esp + 0x58], 0
mov esi, eax
mov eax, dword [esp + 0x24]
jne 0x40af14
cdq
sub eax, edx
sar eax, 1
push eax
push dword [esp + 0x24]
push ebx
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
mov edi, eax
test esi, esi
je 0x40af9e
test edi, edi
je 0x40afa9
push edi
push esi
call dword [sym.imp.GDI32.dll_SelectObject]
cmp dword [esp + 0x58], 0
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x24]
jne 0x40af46
cdq
sub eax, edx
sar eax, 1
push 3
xor ecx, ecx
push ecx
push ecx
push eax
push dword [esp + 0x30]
push dword [esp + 0x50]
push ecx
push ecx
push esi
call dword [sym.imp.USER32.dll_DrawIconEx]
cmp dword [esp + 0x58], 0
mov eax, dword [esp + 0x24]
jne 0x40af6e
cdq
sub eax, edx
sar eax, 1
push 0x660046
push 0
push 0
push esi
push eax
mov eax, dword [esp + 0x24]
push dword [esp + 0x34]
push dword [eax + 8]
push dword [eax + 4]
push dword [0x76a504]
call dword [sym.imp.GDI32.dll_BitBlt]
push dword [esp + 0x14]
push esi
call dword [sym.imp.GDI32.dll_SelectObject]
test edi, edi
je 0x40afa9
push edi
call dword [sym.imp.GDI32.dll_DeleteObject]
test esi, esi
je 0x40afb9
push esi
xor esi, esi
push esi
call dword [sym.imp.USER32.dll_ReleaseDC]
jmp 0x40afbb
xor esi, esi
push ebx
push esi
call dword [sym.imp.USER32.dll_ReleaseDC]
jmp 0x40b03a
push 4
push dword [0x76a504]
call dword [sym.imp.GDI32.dll_SetStretchBltMode]
test eax, eax
je 0x40adf2
mov ecx, dword [0x76a494]
push 0x40cc0020
call fcn.0040a4f4
mov ecx, dword [0x76a4b4]
push eax
call fcn.0040a4f4
mov ecx, dword [0x76a4c8]
push eax
push dword [0x76a4a0]
push dword [0x76a4b0]
push dword [0x76a4dc]
call fcn.0040a4f4
mov ecx, dword [0x76a488]
push eax
call fcn.0040a4f4
push eax
xor esi, esi
push esi
push esi
push dword [0x76a504]
call dword [sym.imp.GDI32.dll_StretchBlt]
test eax, eax
je 0x40adf2
push 0x2c
lea eax, [esp + 0x60]
push esi
push eax
call fcn.0059de40
add esp, 0xc
mov dword [esp + 0x5c], 0x28
lea eax, [esp + 0x5c]
push esi
push eax
push esi
push esi
push esi
push dword [0x76a540]
mov esi, dword [sym.imp.GDI32.dll_GetDIBits]
push dword [0x76a4dc]
call esi
test eax, eax
jne 0x40b098
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0xfc
push 0x229
mov edx, 0x69a064
xor ecx, ecx
call fcn.0047145c
add esp, 0xc
jmp 0x40adf2
mov eax, dword [esp + 0x70]
mov di, word [esp + 0x6a]
test eax, eax
jne 0x40b0c9
mov eax, dword [esp + 0x64]
cdq
xor eax, edx
movzx ecx, di
sub eax, edx
add ecx, 7
imul eax, ecx
imul eax, dword [esp + 0x60]
cdq
and edx, 7
add eax, edx
sar eax, 3
mov dword [esp + 0x70], eax
push 0x234
mov dword [ebp], eax
xor ebx, ebx
push str...meshcoreKVMWindows_tile.cpp
mov dword [ebp + 4], ebx
movzx eax, di
push 1
push dword [ebp]
shr eax, 3
mov dword [0x76a4d4], eax
call fcn.005ce020
mov edi, dword [esp + 0x28]
add esp, 0x10
mov dword [edi], eax
test eax, eax
je 0x40adf2
push ebx
lea ecx, [esp + 0x60]
mov dword [esp + 0x70], ebx
push ecx
push eax
push dword [esp + 0x70]
push ebx
push dword [0x76a540]
push dword [0x76a4dc]
call esi
test eax, eax
jne 0x40b133
push 1
push dword [edi]
call fcn.005cdee0
pop ecx
pop ecx
jmp 0x40adf2
xor eax, eax
mov ecx, dword [esp + 0x88]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.0059b3f0
add esp, 0x7c
ret