Function at 0x407c90
Capabilities:
Capture screenshot

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x70
mov eax, dword [0x41d214]
xor eax, ebp
mov dword [ebp - 8], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
mov dword [ebp - 0x50], eax
mov dword [ebp - 0x68], ecx
mov dword [ebp - 0x48], edx
call dword [sym.imp.USER32.dll_GetDesktopWindow]
mov esi, dword [sym.imp.USER32.dll_GetDC]
push eax
call esi
push eax
mov dword [ebp - 0x44], eax
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
push 0
mov dword [ebp - 0x3c], eax
call esi
mov edi, dword [sym.imp.GDI32.dll_GetDeviceCaps]
mov esi, eax
push 8
push esi
call edi
push 0x76
push esi
mov dword [ebp - 0x40], eax
call edi
mov dword [ebp - 0x34], eax
fild dword [ebp - 0x34]
push esi
push 0
fidiv dword [ebp - 0x40]
fstp dword [ebp - 0x38]
call dword [sym.imp.USER32.dll_ReleaseDC]
mov esi, dword [sym.imp.USER32.dll_GetSystemMetrics]
push 0x4e
call esi
mov dword [ebp - 0x34], eax
fild dword [ebp - 0x34]
fmul dword [ebp - 0x38]
call fcn.00416090
mov ebx, eax
push 0x4f
mov dword [ebp - 0x6c], ebx
call esi
mov dword [ebp - 0x34], eax
fild dword [ebp - 0x34]
fmul dword [ebp - 0x38]
call fcn.00416090
mov edi, eax
push 0x4c
mov dword [ebp - 0x70], edi
call esi
mov dword [ebp - 0x34], eax
fild dword [ebp - 0x34]
fmul dword [ebp - 0x38]
call fcn.00416090
push 0x4d
mov dword [ebp - 0x4c], eax
call esi
mov dword [ebp - 0x34], eax
fild dword [ebp - 0x34]
fmul dword [ebp - 0x38]
call fcn.00416090
push edi
mov dword [ebp - 0x64], eax
mov eax, dword [ebp - 0x44]
push ebx
push eax
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
mov ecx, dword [ebp - 0x3c]
push eax
push ecx
mov dword [ebp - 0x40], eax
call dword [sym.imp.GDI32.dll_SelectObject]
mov edx, dword [ebp - 0x3c]
push 3
push edx
call dword [sym.imp.GDI32.dll_SetStretchBltMode]
push 0xcc0020
push 0x4f
call esi
mov dword [ebp - 0x34], eax
fild dword [ebp - 0x34]
fmul dword [ebp - 0x38]
call fcn.00416090
push eax
push 0x4e
call esi
mov dword [ebp - 0x34], eax
fild dword [ebp - 0x34]
fmul dword [ebp - 0x38]
call fcn.00416090
mov ecx, dword [ebp - 0x4c]
mov edx, dword [ebp - 0x44]
push eax
mov eax, dword [ebp - 0x64]
push eax
mov eax, dword [ebp - 0x3c]
push ecx
push edx
push edi
push ebx
xor esi, esi
push esi
push esi
push eax
call dword [sym.imp.GDI32.dll_StretchBlt]
mov eax, ebx
shl eax, 5
add eax, 0x1f
cdq
mov dword [ebp - 0x2c], ebx
and edx, 0x1f
lea ebx, [edx + eax]
sar ebx, 5
imul ebx, edi
add ebx, ebx
add ebx, ebx
mov dword [ebp - 0x10], esi
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x20], esi
mov dword [ebp - 0xc], esi
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x14], esi
lea esi, [ebx + 0x36]
mov eax, 0x4d42
xor ecx, ecx
push ebx
mov dword [ebp - 0x30], 0x28
mov dword [ebp - 0x28], edi
mov dword [ebp - 0x24], 0x200001
mov dword [ebp - 0x34], esi
mov dword [ebp - 0x5e], esi
mov word [ebp - 0x60], ax
mov dword [ebp - 0x56], 0x36
mov dword [ebp - 0x5a], ecx
call fcn.00409428
add esp, 4
push ebx
push 0
push eax
mov dword [ebp - 0x38], eax
call fcn.0040e900
mov ecx, dword [ebp - 0x38]
mov edx, dword [ebp - 0x40]
add esp, 0xc
push 0
lea eax, [ebp - 0x30]
push eax
mov eax, dword [ebp - 0x3c]
push ecx
push edi
push 0
push edx
push eax
call dword [sym.imp.GDI32.dll_GetDIBits]
push esi
call fcn.00409428
mov ecx, dword [ebp - 0x34]
mov esi, eax
add esp, 4
mov dword [ebp - 0x4c], esi
push ecx
push 0
push esi
call fcn.0040e900
mov edx, dword [ebp - 0x60]
mov eax, dword [ebp - 0x5c]
mov ecx, dword [ebp - 0x58]
mov dword [esi], edx
mov dx, word [ebp - 0x54]
mov dword [esi + 4], eax
mov dword [esi + 8], ecx
mov word [esi + 0xc], dx
add esp, 0xc
lea edi, [esi + 0xe]
mov ecx, 0xa
lea esi, [ebp - 0x30]
push ebx
mov ebx, dword [ebp - 0x38]
rep movsd dword es:[edi], dword [esi]
mov edi, dword [ebp - 0x4c]
lea eax, [edi + 0x36]
push ebx
push eax
call fcn.0040e980
add esp, 0xc
push 0x1c
call fcn.00409b37
xor esi, esi
add esp, 4
cmp eax, esi
je 0x407eca
mov dword [eax + 0x10], esi
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
mov esi, eax
mov edx, dword [ebp - 0x34]
push edi
mov ecx, esi
call fcn.00407a80
add esp, 4
test eax, eax
jne 0x407f54
mov ecx, dword [ebp - 0x40]
push ecx
call dword [sym.imp.GDI32.dll_DeleteObject]
mov edx, dword [ebp - 0x3c]
push edx
call dword [sym.imp.GDI32.dll_DeleteObject]
mov eax, dword [ebp - 0x44]
push eax
push 0
call dword [sym.imp.USER32.dll_ReleaseDC]
push edi
call fcn.00409edb
add esp, 4
test ebx, ebx
je 0x407f12
push ebx
call fcn.00409edb
add esp, 4
test esi, esi
je 0x407f41
cmp dword [esi + 0x14], 0x10
jb 0x407f27
mov ecx, dword [esi]
push ecx
call fcn.00409433
add esp, 4
mov dword [esi + 0x14], 0xf
mov dword [esi + 0x10], 0
push esi
mov byte [esi], 0
call fcn.00409433
add esp, 4
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.0040943e
mov esp, ebp
pop ebp
ret
mov edx, dword [esi + 0x10]
mov eax, dword [ebp - 0x50]
mov ecx, dword [ebp - 0x6c]
mov dword [eax], edx
mov edx, dword [ebp - 0x68]
mov dword [edx], ecx
mov ecx, dword [ebp - 0x70]
mov edx, dword [ebp - 0x48]
mov dword [edx], ecx
mov eax, dword [eax]
push eax
call fcn.00409428
add esp, 4
cmp dword [esi + 0x14], 0x10
mov dword [ebp - 0x48], eax
jb 0x407f84
mov ecx, dword [esi]
jmp 0x407f86
mov ecx, esi
mov edx, dword [ebp - 0x50]
mov edx, dword [edx]
push edx
push ecx
push eax
call fcn.0040e980
mov eax, dword [ebp - 0x40]
add esp, 0xc
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
mov ecx, dword [ebp - 0x3c]
push ecx
call dword [sym.imp.GDI32.dll_DeleteObject]
mov edx, dword [ebp - 0x44]
push edx
push 0
call dword [sym.imp.USER32.dll_ReleaseDC]
push edi
call fcn.00409edb
add esp, 4
test ebx, ebx
je 0x407fcc
push ebx
call fcn.00409edb
add esp, 4
cmp dword [esi + 0x14], 0x10
jb 0x407fdd
mov eax, dword [esi]
push eax
call fcn.00409433
add esp, 4
mov dword [esi + 0x14], 0xf
mov dword [esi + 0x10], 0
push esi
mov byte [esi], 0
call fcn.00409433
mov ecx, dword [ebp - 8]
mov eax, dword [ebp - 0x48]
add esp, 4
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0040943e
mov esp, ebp
pop ebp
ret