Function at 0x40e373
Capabilities:
Capture screenshot

Disassembly:
sub esp, 0x7c
mov eax, dword [0x6ccd44]
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 [0x72a248]
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 0x40e3b3
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 [0x72a248], esi
test esi, esi
jne 0x40e3d0
xor eax, eax
inc eax
jmp 0x40e70b
mov eax, dword [0x72a2ac]
test eax, eax
je 0x40e3e6
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
mov esi, dword [0x72a248]
mov ecx, dword [0x72a230]
call fcn.0040dacb
mov ecx, dword [0x72a1ec]
push eax
call fcn.0040dacb
push eax
push esi
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
mov dword [0x72a2ac], eax
test eax, eax
je 0x40e3c8
push eax
push dword [0x72a270]
call dword [sym.imp.GDI32.dll_SelectObject]
test eax, eax
je 0x40e3c8
cmp dword [0x6d23dc], 0x400
jne 0x40e59b
mov ecx, dword [0x72a1f8]
push 0x40cc0020
push dword [0x72a204]
push dword [0x72a214]
push dword [0x72a248]
call fcn.0040dacb
mov ecx, dword [0x72a218]
push eax
call fcn.0040dacb
push eax
xor esi, esi
push esi
push esi
push dword [0x72a270]
call dword [sym.imp.GDI32.dll_BitBlt]
test eax, eax
je 0x40e3c8
cmp dword [edi], esi
je 0x40e610
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 0x40e610
push esi
call ebx
mov ebx, eax
test ebx, ebx
je 0x40e610
push ebx
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
cmp dword [esp + 0x58], 0
mov esi, eax
mov eax, dword [esp + 0x24]
jne 0x40e4ea
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 0x40e574
test edi, edi
je 0x40e57f
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 0x40e51c
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 0x40e544
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 [0x72a270]
call dword [sym.imp.GDI32.dll_BitBlt]
push dword [esp + 0x14]
push esi
call dword [sym.imp.GDI32.dll_SelectObject]
test edi, edi
je 0x40e57f
push edi
call dword [sym.imp.GDI32.dll_DeleteObject]
test esi, esi
je 0x40e58f
push esi
xor esi, esi
push esi
call dword [sym.imp.USER32.dll_ReleaseDC]
jmp 0x40e591
xor esi, esi
push ebx
push esi
call dword [sym.imp.USER32.dll_ReleaseDC]
jmp 0x40e610
push 4
push dword [0x72a270]
call dword [sym.imp.GDI32.dll_SetStretchBltMode]
test eax, eax
je 0x40e3c8
mov ecx, dword [0x72a1f8]
push 0x40cc0020
call fcn.0040dacb
mov ecx, dword [0x72a218]
push eax
call fcn.0040dacb
mov ecx, dword [0x72a230]
push eax
push dword [0x72a204]
push dword [0x72a214]
push dword [0x72a248]
call fcn.0040dacb
mov ecx, dword [0x72a1ec]
push eax
call fcn.0040dacb
push eax
xor esi, esi
push esi
push esi
push dword [0x72a270]
call dword [sym.imp.GDI32.dll_StretchBlt]
test eax, eax
je 0x40e3c8
push 0x2c
lea eax, [esp + 0x60]
push esi
push eax
call fcn.005b5fd0
add esp, 0xc
mov dword [esp + 0x5c], 0x28
lea eax, [esp + 0x5c]
push esi
push eax
push esi
push esi
push esi
push dword [0x72a2ac]
mov esi, dword [sym.imp.GDI32.dll_GetDIBits]
push dword [0x72a248]
call esi
test eax, eax
jne 0x40e66e
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0xfc
push 0x229
mov edx, 0x6b4a74
xor ecx, ecx
call fcn.00488a50
add esp, 0xc
jmp 0x40e3c8
mov eax, dword [esp + 0x70]
mov di, word [esp + 0x6a]
test eax, eax
jne 0x40e69f
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 [0x72a240], eax
call fcn.005e7f10
mov edi, dword [esp + 0x28]
add esp, 0x10
mov dword [edi], eax
test eax, eax
je 0x40e3c8
push ebx
lea ecx, [esp + 0x60]
mov dword [esp + 0x70], ebx
push ecx
push eax
push dword [esp + 0x70]
push ebx
push dword [0x72a2ac]
push dword [0x72a248]
call esi
test eax, eax
jne 0x40e709
push 1
push dword [edi]
call fcn.005e7dd0
pop ecx
pop ecx
jmp 0x40e3c8
xor eax, eax
mov ecx, dword [esp + 0x88]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.005b35b0
add esp, 0x7c
ret