Function at 0x1000f570
Capabilities:
Capture screenshot

Disassembly:
push 0x98
mov eax, 0x10041a50
call fcn.10021f0e
mov eax, dword [ebp + 8]
xor ebx, ebx
mov dword [ebp - 0x5c], eax
mov dword [ebp - 0x6c], 0x3c
cmp eax, ebx
je 0x1000f75a
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x1000f599
sub eax, edx
sar eax, 1
cmp eax, ebx
je 0x1000f75a
mov esi, dword [sym.imp.USER32.dll_GetSystemMetrics]
push ebx
call esi
push 1
mov dword [ebp - 0x4c], eax
call esi
push ebx
mov dword [ebp - 0x44], eax
call dword [sym.imp.USER32.dll_GetDC]
mov edi, eax
push edi
mov dword [ebp - 0x68], edi
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
push dword [ebp - 0x44]
mov dword [ebp - 0x50], eax
push dword [ebp - 0x4c]
push edi
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
mov esi, dword [sym.imp.GDI32.dll_SelectObject]
push eax
push dword [ebp - 0x50]
mov dword [ebp - 0x54], eax
call esi
push 0xcc0020
push ebx
push ebx
push edi
push dword [ebp - 0x44]
mov dword [ebp - 0x48], eax
push dword [ebp - 0x4c]
push ebx
push ebx
push dword [ebp - 0x50]
call dword [sym.imp.GDI32.dll_BitBlt]
push dword [ebp - 0x48]
push dword [ebp - 0x50]
call esi
lea eax, [ebp - 0x94]
push eax
push 0x18
push dword [ebp - 0x54]
call dword [sym.imp.GDI32.dll_GetObjectW]
test eax, eax
je 0x1000f75a
push dword [ebp - 0x8c]
lea esi, [ebp - 0x7c]
push dword [ebp - 0x90]
call fcn.100076a0
lea eax, [ebp - 0x48]
push eax
push ebx
push dword [ebp - 0x54]
mov dword [ebp - 4], ebx
mov dword [ebp - 0xa4], vtable.Gdiplus::Bitmap.0
mov dword [ebp - 0x48], ebx
call dword [sym.imp.gdiplus.dll_GdipCreateBitmapFromHBITMAP]
mov edi, dword [ebp - 0x48]
mov dword [ebp - 0x9c], eax
mov dword [ebp - 0xa0], edi
lea eax, [ebp - 0x58]
push eax
push dword [ebp - 0x78]
mov dword [ebp - 0x58], ebx
call dword [sym.imp.gdiplus.dll_GdipGetImageGraphicsContext]
mov esi, dword [ebp - 0x58]
mov dword [ebp - 0x60], eax
mov dword [ebp - 0x64], esi
mov byte [ebp - 4], 2
fild dword [ebp - 0x90]
push ebx
push ecx
fidiv dword [ebp - 0x4c]
push ecx
fstp dword [ebp - 0x4c]
fild dword [ebp - 0x8c]
fidiv dword [ebp - 0x44]
fstp dword [ebp - 0x44]
fld dword [ebp - 0x44]
fstp dword [esp + 4]
fld dword [ebp - 0x4c]
fstp dword [esp]
push esi
call dword [sym.imp.gdiplus.dll_GdipScaleWorldTransform]
cmp eax, ebx
je 0x1000f6c7
mov dword [ebp - 0x60], eax
push ebx
push ebx
push edi
push esi
call dword [sym.imp.gdiplus.dll_GdipDrawImageI]
cmp eax, ebx
je 0x1000f6d8
mov dword [ebp - 0x60], eax
mov dword [ebp - 0x40], 1
mov esi, 0x100436c0
lea edi, [ebp - 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]
lea eax, [ebp - 0x6c]
mov dword [ebp - 0x28], 4
mov dword [ebp - 0x2c], 1
mov dword [ebp - 0x24], eax
call fcn.10004e4d
lea eax, [ebp - 0x20]
push eax
call fcn.10004e9d
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0x20]
push eax
push dword [ebp - 0x5c]
push dword [ebp - 0x78]
call dword [sym.imp.gdiplus.dll_GdipSaveImageToFile]
push dword [ebp - 0x54]
call dword [sym.imp.GDI32.dll_DeleteObject]
push dword [ebp - 0x50]
call dword [sym.imp.GDI32.dll_DeleteDC]
push dword [ebp - 0x68]
push ebx
call dword [sym.imp.USER32.dll_ReleaseDC]
push dword [ebp - 0x58]
call dword [sym.imp.gdiplus.dll_GdipDeleteGraphics]
push dword [ebp - 0x48]
mov esi, dword [sym.imp.gdiplus.dll_GdipDisposeImage]
call esi
push dword [ebp - 0x78]
call esi
xor eax, eax
jmp 0x1000f75d
or eax, 0xffffffff
call fcn.10021f58
ret