Function at 0x401070
Capabilities:
Capture screenshot

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x78
mov dword [ebp - 0x4c], 0
push 0
call dword [sym.imp.USER32.dll_GetSystemMetrics]
mov dword [ebp - 0x1c], eax
push 1
call dword [sym.imp.USER32.dll_GetSystemMetrics]
mov dword [ebp - 4], eax
call dword [sym.imp.USER32.dll_GetDesktopWindow]
mov dword [0x4078cc], eax
mov eax, dword [0x4078cc]
push eax
call dword [sym.imp.USER32.dll_GetDC]
mov dword [0x4078c8], eax
mov ecx, dword [0x4078c8]
push ecx
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov dword [ebp - 0x4c], eax
mov edx, dword [ebp - 4]
push edx
mov eax, dword [ebp - 0x1c]
push eax
mov ecx, dword [0x4078c8]
push ecx
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
mov dword [ebp - 0x18], eax
mov edx, dword [ebp - 0x18]
push edx
mov eax, dword [ebp - 0x4c]
push eax
call dword [sym.imp.GDI32.dll_SelectObject]
push 0xcc0020
push 0
push 0
mov ecx, dword [0x4078c8]
push ecx
mov edx, dword [ebp - 4]
push edx
mov eax, dword [ebp - 0x1c]
push eax
push 0
push 0
mov ecx, dword [ebp - 0x4c]
push ecx
call dword [sym.imp.GDI32.dll_BitBlt]
lea edx, [ebp - 0x6c]
push edx
push 0x18
mov eax, dword [ebp - 0x18]
push eax
call dword [sym.imp.GDI32.dll_GetObjectA]
mov dword [ebp - 0x48], 0x28
mov ecx, dword [ebp - 0x68]
mov dword [ebp - 0x44], ecx
mov edx, dword [ebp - 0x64]
mov dword [ebp - 0x40], edx
mov word [ebp - 0x3c], 1
mov word [ebp - 0x3a], 0x20
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], 0
mov eax, dword [ebp - 0x3a]
and eax, 0xffff
mov ecx, dword [ebp - 0x68]
imul ecx, eax
add ecx, 0x1f
mov eax, ecx
cdq
and edx, 0x1f
add eax, edx
sar eax, 5
shl eax, 2
imul eax, dword [ebp - 0x64]
mov dword [ebp - 0x70], eax
mov edx, dword [ebp - 0x70]
push edx
push 0x42
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov dword [ebp - 0x78], eax
mov eax, dword [ebp - 0x78]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov dword [ebp - 0x20], eax
push 0
lea ecx, [ebp - 0x48]
push ecx
mov edx, dword [ebp - 0x20]
push edx
mov eax, dword [ebp - 0x64]
push eax
push 0
mov ecx, dword [ebp - 0x18]
push ecx
mov edx, dword [0x4078c8]
push edx
call dword [sym.imp.GDI32.dll_GetDIBits]
mov eax, dword [ebp - 0x70]
add eax, 0x36
mov dword [ebp - 0x74], eax
mov dword [ebp - 0xa], 0x36
mov ecx, dword [ebp - 0x74]
mov dword [ebp - 0x12], ecx
mov word [ebp - 0x14], 0x4d42
mov edx, dword [ebp - 0x74]
push edx
push 0x42
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov dword [ebp - 0x54], eax
mov eax, dword [ebp - 0x54]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov dword [ebp - 0x50], eax
push 0xe
lea ecx, [ebp - 0x14]
push ecx
mov edx, dword [ebp - 0x50]
push edx
call fcn.00401930
add esp, 0xc
push 0x28
lea eax, [ebp - 0x48]
push eax
mov ecx, dword [ebp - 0x50]
add ecx, 0xe
push ecx
call fcn.00401930
add esp, 0xc
mov edx, dword [ebp - 0x70]
push edx
mov eax, dword [ebp - 0x20]
push eax
mov ecx, dword [ebp - 0x50]
add ecx, 0x36
push ecx
call fcn.00401930
add esp, 0xc
mov edx, dword [ebp - 0x78]
push edx
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov eax, dword [ebp - 0x78]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov ecx, dword [0x4078c8]
push ecx
mov edx, dword [0x4078cc]
push edx
call dword [sym.imp.USER32.dll_ReleaseDC]
mov eax, dword [ebp - 0x4c]
push eax
call dword [sym.imp.GDI32.dll_DeleteDC]
mov ecx, dword [ebp - 0x18]
push ecx
call dword [sym.imp.GDI32.dll_DeleteObject]
mov edx, dword [ebp + 8]
mov eax, dword [ebp - 0x50]
mov dword [edx], eax
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp - 0x74]
mov dword [ecx], edx
mov esp, ebp
pop ebp
ret