Function at 0x40eada
Capabilities:
Capture screenshot

Disassembly:
sub esp, 0x80
mov eax, dword [0x6d1d44]
xor eax, esp
mov dword [esp + 0x7c], eax
push ebx
mov eax, ecx
xor ebx, ebx
push ebp
mov ebp, edx
mov dword [esp + 0x14], eax
push esi
mov dword [eax], ebx
mov eax, dword [0x74c9f4]
mov dword [ebp], ebx
mov dword [ebp + 4], ebx
push edi
mov edi, dword [esp + 0x94]
mov dword [esp + 0x14], edi
test eax, eax
je 0x40eb1d
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 [0x74c9f4], esi
test esi, esi
jne 0x40eb3a
xor eax, eax
inc eax
jmp 0x40ee75
mov eax, dword [0x74ca58]
test eax, eax
je 0x40eb50
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
mov esi, dword [0x74c9f4]
mov ecx, dword [0x74c9dc]
call fcn.0040e232
mov ecx, dword [0x74c994]
push eax
call fcn.0040e232
push eax
push esi
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
mov dword [0x74ca58], eax
test eax, eax
je 0x40eb32
push eax
push dword [0x74ca1c]
call dword [sym.imp.GDI32.dll_SelectObject]
test eax, eax
je 0x40eb32
cmp dword [0x6d77b8], 0x400
jne 0x40ed05
mov ecx, dword [0x74c9a4]
push 0x40cc0020
push dword [0x74c9b0]
push dword [0x74c9c0]
push dword [0x74c9f4]
call fcn.0040e232
mov ecx, dword [0x74c9c4]
push eax
call fcn.0040e232
push eax
xor esi, esi
push esi
push esi
push dword [0x74ca1c]
call dword [sym.imp.GDI32.dll_BitBlt]
test eax, eax
je 0x40eb32
cmp dword [edi], esi
je 0x40ed7a
xor eax, eax
lea edi, [esp + 0x3c]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
lea eax, [esp + 0x38]
push eax
mov dword [esp + 0x3c], 0x14
call dword [sym.imp.USER32.dll_GetCursorInfo]
lea eax, [esp + 0x4c]
push eax
push dword [esp + 0x44]
call dword [sym.imp.USER32.dll_GetIconInfo]
lea eax, [esp + 0x20]
push eax
push 0x18
push dword [esp + 0x60]
call dword [sym.imp.GDI32.dll_GetObjectA]
cmp eax, 0x18
jne 0x40ed7a
push esi
call ebx
mov ebx, eax
test ebx, ebx
je 0x40ed7a
push ebx
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
cmp dword [esp + 0x5c], 0
mov esi, eax
mov eax, dword [esp + 0x28]
jne 0x40ec54
cdq
sub eax, edx
sar eax, 1
push eax
push dword [esp + 0x28]
push ebx
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
mov edi, eax
test esi, esi
je 0x40ecde
test edi, edi
je 0x40ece9
push edi
push esi
call dword [sym.imp.GDI32.dll_SelectObject]
cmp dword [esp + 0x5c], 0
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x28]
jne 0x40ec86
cdq
sub eax, edx
sar eax, 1
push 3
xor ecx, ecx
push ecx
push ecx
push eax
push dword [esp + 0x34]
push dword [esp + 0x54]
push ecx
push ecx
push esi
call dword [sym.imp.USER32.dll_DrawIconEx]
cmp dword [esp + 0x5c], 0
mov eax, dword [esp + 0x28]
jne 0x40ecae
cdq
sub eax, edx
sar eax, 1
push 0x660046
push 0
push 0
push esi
push eax
mov eax, dword [esp + 0x28]
push dword [esp + 0x38]
push dword [eax + 8]
push dword [eax + 4]
push dword [0x74ca1c]
call dword [sym.imp.GDI32.dll_BitBlt]
push dword [esp + 0x18]
push esi
call dword [sym.imp.GDI32.dll_SelectObject]
test edi, edi
je 0x40ece9
push edi
call dword [sym.imp.GDI32.dll_DeleteObject]
test esi, esi
je 0x40ecf9
push esi
xor esi, esi
push esi
call dword [sym.imp.USER32.dll_ReleaseDC]
jmp 0x40ecfb
xor esi, esi
push ebx
push esi
call dword [sym.imp.USER32.dll_ReleaseDC]
jmp 0x40ed7a
push 4
push dword [0x74ca1c]
call dword [sym.imp.GDI32.dll_SetStretchBltMode]
test eax, eax
je 0x40eb32
mov ecx, dword [0x74c9a4]
push 0x40cc0020
call fcn.0040e232
mov ecx, dword [0x74c9c4]
push eax
call fcn.0040e232
mov ecx, dword [0x74c9dc]
push eax
push dword [0x74c9b0]
push dword [0x74c9c0]
push dword [0x74c9f4]
call fcn.0040e232
mov ecx, dword [0x74c994]
push eax
call fcn.0040e232
push eax
xor esi, esi
push esi
push esi
push dword [0x74ca1c]
call dword [sym.imp.GDI32.dll_StretchBlt]
test eax, eax
je 0x40eb32
push 0x2c
lea eax, [esp + 0x64]
push esi
push eax
call fcn.005bb370
add esp, 0xc
mov dword [esp + 0x60], 0x28
lea eax, [esp + 0x60]
push esi
push eax
push esi
push esi
push esi
push dword [0x74ca58]
mov esi, dword [sym.imp.GDI32.dll_GetDIBits]
push dword [0x74c9f4]
call esi
test eax, eax
jne 0x40edd8
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0xfc
push 0x229
mov edx, 0x6b9ac4
xor ecx, ecx
call fcn.0048cac3
add esp, 0xc
jmp 0x40eb32
mov eax, dword [esp + 0x74]
mov di, word [esp + 0x6e]
test eax, eax
jne 0x40ee09
mov eax, dword [esp + 0x68]
cdq
xor eax, edx
movzx ecx, di
sub eax, edx
add ecx, 7
imul eax, ecx
imul eax, dword [esp + 0x64]
cdq
and edx, 7
add eax, edx
sar eax, 3
mov dword [esp + 0x74], 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 [0x74c9ec], eax
call fcn.005ed7c0
mov edi, dword [esp + 0x2c]
add esp, 0x10
mov dword [edi], eax
test eax, eax
je 0x40eb32
push ebx
lea ecx, [esp + 0x64]
mov dword [esp + 0x74], ebx
push ecx
push eax
push dword [esp + 0x74]
push ebx
push dword [0x74ca58]
push dword [0x74c9f4]
call esi
test eax, eax
jne 0x40ee73
push 1
push dword [edi]
call fcn.005ed680
pop ecx
pop ecx
jmp 0x40eb32
xor eax, eax
mov ecx, dword [esp + 0x8c]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.005b8900
add esp, 0x80
ret