Function at 0x45d119
Capabilities:
Capture screenshot

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x124
mov eax, dword [0x4b26f0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x1c]
push ebx
push esi
xor esi, esi
mov dword [ebp - 0xe0], eax
mov eax, dword [ebp + 0x18]
push edi
push esi
mov dword [ebp - 0xf0], eax
mov dword [ebp - 0xc4], esi
mov dword [ebp - 0xc8], esi
call dword [sym.imp.USER32.dll_GetDC]
mov ebx, eax
mov dword [ebp - 0xc0], esi
push 0x44
lea eax, [ebp - 0xbc]
mov dword [ebp - 0xd8], ebx
push esi
push eax
call fcn.004653c0
mov dword [ebp - 0xd0], esi
lea edi, [ebp - 0x10c]
mov esi, 0x493998
lea eax, [ebp - 0xf0]
push 0x3c
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
xor esi, esi
mov dword [ebp - 0xf8], 4
inc esi
mov dword [ebp - 0xf4], eax
mov dword [ebp - 0xfc], esi
call fcn.004645fc
add esp, 0x10
mov dword [ebp - 0xd4], eax
mov dword [eax], esi
lea edi, [eax + 4]
push 7
pop ecx
lea esi, [ebp - 0x10c]
rep movsd dword es:[edi], dword [esi]
push ebx
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov edi, eax
mov dword [ebp - 0xdc], edi
test edi, edi
je 0x45d43e
lea eax, [ebp - 0x78]
push eax
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.USER32.dll_GetClientRect]
test eax, eax
jne 0x45d1fa
xor eax, eax
jmp 0x45d4a6
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push ebx
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
mov ebx, eax
mov dword [ebp - 0xe8], ebx
test ebx, ebx
je 0x45d1f3
push ebx
push edi
call dword [sym.imp.GDI32.dll_SelectObject]
push 4
push edi
call dword [sym.imp.GDI32.dll_SetStretchBltMode]
push 0xcc0020
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 0xd8]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push 0
push 0
push edi
call dword [sym.imp.GDI32.dll_StretchBlt]
test eax, eax
je 0x45d436
lea eax, [ebp - 0x124]
push eax
push 0x18
pop esi
push esi
push ebx
call dword [sym.imp.GDI32.dll_GetObjectW]
mov eax, dword [ebp - 0x120]
xor edx, edx
mov ecx, dword [ebp - 0x11c]
inc edx
mov dword [ebp - 0x28], eax
imul eax, eax, 0x18
mov word [ebp - 0x20], dx
xor edx, edx
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x14], edx
mov dword [ebp - 0x10], edx
add eax, 0x1f
mov dword [ebp - 0xc], edx
mov dword [ebp - 8], edx
cdq
and edx, 0x1f
mov word [ebp - 0x1e], si
mov dword [ebp - 0x2c], 0x28
mov dword [ebp - 0x24], ecx
lea esi, [edx + eax]
sar esi, 5
imul esi, ecx
shl esi, 2
push esi
push 0x42
mov dword [ebp - 0xec], esi
call dword [sym.imp.KERNEL32.DLL_GlobalAlloc]
mov dword [ebp - 0xd0], eax
test eax, eax
je 0x45d1f3
push eax
call dword [sym.imp.KERNEL32.DLL_GlobalLock]
mov dword [ebp - 0xe4], eax
test eax, eax
je 0x45d436
push 0
lea ecx, [ebp - 0x2c]
push ecx
push eax
push dword [ebp - 0x11c]
push 0
push ebx
push edi
call dword [sym.imp.GDI32.dll_GetDIBits]
lea ebx, [esi + 0x36]
mov dword [ebp - 0xf6], 0x36
mov eax, 0x4d42
mov dword [ebp - 0xfe], ebx
push ebx
mov word [ebp - 0x100], ax
call fcn.00461d70
mov edi, eax
mov dword [ebp - 0xc4], eax
lea esi, [ebp - 0x100]
push 0xa
pop ecx
push dword [ebp - 0xec]
movsd dword es:[edi], dword [esi]
push dword [ebp - 0xe4]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
lea edi, [eax + 0xe]
add eax, 0x36
lea esi, [ebp - 0x2c]
rep movsd dword es:[edi], dword [esi]
push eax
call fcn.00463680
mov eax, dword [ebp - 0xe0]
add esp, 0x10
xor esi, esi
push esi
push esi
mov dword [eax], ebx
call dword [sym.imp.SHLWAPI.dll_SHCreateMemStream]
push 0x2c
mov ebx, eax
lea eax, [ebp - 0x68]
push esi
push eax
call fcn.004653c0
add esp, 0xc
lea esi, [ebp - 0x2c]
lea edi, [ebp - 0x68]
push 0xa
pop ecx
rep movsd dword es:[edi], dword [esi]
push 0x10
call sub.gdiplus.dll_GdipAlloc
test eax, eax
je 0x45d3a6
push dword [ebp - 0xe4]
lea ecx, [ebp - 0x68]
push ecx
mov ecx, eax
call fcn.0045cd63
mov edi, eax
jmp 0x45d3a8
xor edi, edi
lea eax, [ebp - 0x3c]
push eax
push str.image_jpeg
call fcn.004065d3
pop ecx
pop ecx
push dword [ebp - 0xd4]
lea eax, [ebp - 0x3c]
push eax
push ebx
push dword [edi + 4]
call sub.gdiplus.dll_GdipSaveImageToStream
test eax, eax
je 0x45d3d2
mov dword [edi + 8], eax
push dword [ebp - 0xc4]
call fcn.0040e9f1
mov eax, dword [ebx]
pop ecx
push 0
lea ecx, [ebp - 0xc0]
push ecx
push ebx
call dword [eax + 0x30]
mov esi, dword [ebp - 0xb8]
push esi
call fcn.00461d70
pop ecx
mov ecx, dword [ebx]
mov dword [ebp - 0xc8], eax
xor eax, eax
push eax
push eax
push eax
push eax
push ebx
call dword [ecx + 0x14]
mov ecx, dword [ebx]
lea eax, [ebp - 0xcc]
push eax
push esi
push dword [ebp - 0xc8]
push ebx
call dword [ecx + 0xc]
mov ecx, dword [ebp - 0xe0]
mov eax, dword [ebp - 0xcc]
mov esi, dword [ebp - 0xe8]
mov dword [ecx], eax
jmp 0x45d450
mov esi, dword [ebp - 0xe8]
jmp 0x45d444
mov esi, dword [ebp - 0xdc]
mov edi, dword [ebp - 0xc4]
mov ebx, dword [ebp - 0xcc]
push dword [ebp - 0xd4]
call fcn.004645c4
pop ecx
push esi
mov esi, dword [sym.imp.GDI32.dll_DeleteObject]
call esi
push dword [ebp - 0xdc]
call esi
push dword [ebp - 0xd8]
push 0
call dword [sym.imp.USER32.dll_ReleaseDC]
mov eax, dword [ebp - 0xd0]
test eax, eax
je 0x45d48c
push eax
call dword [sym.imp.KERNEL32.DLL_GlobalFree]
test edi, edi
je 0x45d49a
mov eax, dword [edi]
xor ecx, ecx
inc ecx
push ecx
mov ecx, edi
call dword [eax]
mov eax, dword [ebx]
push ebx
call dword [eax + 8]
mov eax, dword [ebp - 0xc8]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00462f14
mov esp, ebp
pop ebp
ret