Function at 0x401e10
Capabilities:
Capture screenshot

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x41bf18
push eax
mov dword fs:[0], esp
sub esp, 0x84
push ebx
push ebp
push esi
push edi
call dword [sym.imp.USER32.dll_GetDesktopWindow]
mov esi, dword [esp + 0xa4]
test esi, esi
jne 0x401e49
mov dword [esp + 0xa4], eax
mov esi, eax
lea eax, [esp + 0x84]
push eax
push esi
call dword [sym.imp.USER32.dll_GetWindowRect]
mov edi, dword [esp + 0xb4]
mov eax, dword [esp + 0xac]
mov ebx, dword [esp + 0xb8]
mov ebp, dword [esp + 0xb0]
push esi
sub edi, eax
sub ebx, ebp
call dword [sym.imp.USER32.dll_GetWindowDC]
mov esi, eax
push esi
mov dword [esp + 0x14], esi
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
push ebx
push edi
push esi
mov ebp, eax
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
mov esi, eax
test esi, esi
mov dword [esp + 0x28], esi
je 0x40206a
push esi
push ebp
call dword [sym.imp.GDI32.dll_SelectObject]
mov ecx, dword [esp + 0xb0]
mov edx, dword [esp + 0xac]
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x10]
push 0xcc0020
push ecx
push edx
push eax
push ebx
xor ebx, ebx
push edi
push ebx
push ebx
push ebp
call dword [sym.imp.GDI32.dll_BitBlt]
xor ecx, ecx
lea edx, [esp + 0x34]
mov dword [esp + 0x38], ecx
push edx
mov dword [esp + 0x40], ecx
push 0x18
mov dword [esp + 0x48], ecx
push esi
mov dword [esp + 0x50], ecx
mov dword [esp + 0x40], ebx
mov dword [esp + 0x54], ecx
call dword [sym.imp.GDI32.dll_GetObjectA]
mov ecx, 9
xor eax, eax
lea edi, [esp + 0x60]
mov word [esp + 0x14], bx
rep stosd dword es:[edi], eax
mov dword [esp + 0x16], eax
mov ecx, dword [esp + 0x3c]
mov dword [esp + 0x1a], eax
mov dword [esp + 0x6c], ebx
mov dword [esp + 0x1e], eax
mov eax, dword [esp + 0x38]
mov dword [esp + 0x60], eax
mov dword [esp + 0x5c], 0x28
lea edx, [eax + eax*2]
mov dword [esp + 0x64], ecx
mov word [esp + 0x68], 1
mov word [esp + 0x6a], 0x18
lea eax, [edx*8 + 0x1f]
cdq
and edx, 0x1f
add eax, edx
mov ebx, eax
sar ebx, 5
imul ebx, ecx
shl ebx, 2
lea eax, [ebx + 0x28]
push eax
push 0x42
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
test eax, eax
mov dword [esp + 0x30], eax
je 0x40206a
push eax
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov ecx, 0xa
lea esi, [esp + 0x5c]
mov edi, eax
push 0
mov dword [esp + 0x30], eax
push eax
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [esp + 0x44]
mov edi, dword [esp + 0x30]
add eax, 0x28
push eax
push ecx
push 0
push edi
push ebp
call dword [sym.imp.GDI32.dll_GetDIBits]
lea ecx, [esp + 0x4c]
call fcn.00416296
mov edx, dword [esp + 0xa8]
push 0
push 0x1001
push edx
lea ecx, [esp + 0x58]
mov dword [esp + 0xa8], 0
call fcn.004163a8
lea eax, [esp + 0x14]
add ebx, 0x36
push 0xe
push eax
lea ecx, [esp + 0x54]
mov word [esp + 0x1c], 0x4d42
mov dword [esp + 0x1e], ebx
mov dword [esp + 0x26], 0x36
call fcn.004164ff
mov ecx, dword [esp + 0x2c]
push ebx
push ecx
lea ecx, [esp + 0x54]
call fcn.004164ff
lea ecx, [esp + 0x4c]
call fcn.004165c3
mov esi, dword [esp + 0x30]
push esi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push esi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov edx, dword [esp + 0x24]
push edx
push ebp
call dword [sym.imp.GDI32.dll_SelectObject]
push edi
call dword [sym.imp.GDI32.dll_DeleteObject]
push ebp
call dword [sym.imp.GDI32.dll_DeleteDC]
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0xa4]
push eax
push ecx
call dword [sym.imp.USER32.dll_ReleaseDC]
lea ecx, [esp + 0x4c]
mov dword [esp + 0x9c], 0xffffffff
call fcn.004162eb
mov ecx, dword [esp + 0x94]
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
mov dword fs:[0], ecx
add esp, 0x90
ret