Function at 0x10009fab
Capabilities:
Capture screenshot

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c
push ebx
push esi
xor esi, esi
push edi
push esi
call dword [sym.imp.USER32.dll_GetWindowDC]
mov edi, dword [sym.imp.GDI32.dll_GetDeviceCaps]
mov ebx, eax
push 8
push ebx
call edi
push 0xa
push ebx
mov dword [ebp - 8], eax
call edi
push eax
mov dword [ebp - 0x18], eax
push dword [ebp - 8]
push ebx
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
push ebx
mov dword [ebp - 0x14], eax
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
push dword [ebp - 0x14]
mov edi, dword [sym.imp.GDI32.dll_SelectObject]
mov dword [ebp - 0xc], eax
push eax
call edi
push 0xcc0020
push esi
push esi
push ebx
push dword [ebp - 0x18]
mov ebx, dword [ebp - 0xc]
mov dword [ebp - 4], eax
push dword [ebp - 8]
push esi
push esi
push ebx
call dword [sym.imp.GDI32.dll_BitBlt]
cmp dword [ebp + 0x18], esi
je 0x1000a05b
lea eax, [ebp - 0x10]
push eax
call dword [sym.imp.USER32.dll_GetCursorPos]
push 0x7f00
push esi
call dword [sym.imp.USER32.dll_LoadCursorA]
cmp eax, esi
mov dword [ebp + 0x18], eax
je 0x1000a05b
lea ecx, [ebp - 0x2c]
push ecx
push eax
call dword [sym.imp.USER32.dll_GetIconInfo]
mov eax, dword [ebp - 0xc]
push dword [ebp + 0x18]
sub eax, dword [ebp - 0x24]
push eax
mov eax, dword [ebp - 0x10]
sub eax, dword [ebp - 0x28]
push eax
push ebx
call dword [sym.imp.USER32.dll_DrawIcon]
push dword [ebp - 4]
push ebx
call edi
lea eax, [ebp - 4]
mov dword [ebp - 4], esi
push eax
push esi
push 0x26200a
push esi
push dword [ebp + 0x10]
push dword [ebp + 0xc]
call sub.gdiplus.dll_GdipCreateBitmapFromScan0
lea eax, [ebp - 0xc]
mov dword [ebp - 0xc], esi
push eax
push esi
push dword [ebp - 0x14]
call sub.gdiplus.dll_GdipCreateBitmapFromHBITMAP
lea eax, [ebp - 0x28]
mov dword [ebp + 0x18], esi
test eax, eax
je 0x1000a0a0
lea eax, [ebp + 0x18]
push eax
push dword [ebp - 4]
call sub.gdiplus.dll_GdipGetImageGraphicsContext
fild dword [ebp + 0x10]
push esi
push ecx
fidiv dword [ebp - 0x18]
fstp dword [esp]
fild dword [ebp + 0xc]
push ecx
fidiv dword [ebp - 8]
fstp dword [esp]
push dword [ebp + 0x18]
call sub.gdiplus.dll_GdipScaleWorldTransform
mov dword [ebp + 0x10], eax
lea eax, [ebp - 0x28]
neg eax
sbb eax, eax
push esi
and eax, dword [ebp - 0xc]
push esi
push eax
push dword [ebp + 0x18]
call sub.gdiplus.dll_GdipDrawImageI
push 1
mov dword [ebp + 0x10], eax
pop eax
mov esi, 0x10199a58
lea edi, [ebp - 0x48]
mov dword [ebp - 0x4c], eax
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov dword [ebp - 0x38], eax
lea eax, [ebp + 0x14]
mov dword [ebp - 0x30], eax
lea eax, [ebp - 0x28]
push eax
push str.image_jpeg
mov dword [ebp - 0x34], 4
call fcn.10004ffc
push 0xffffffffffffffff
push dword [ebp + 8]
call fcn.10004f25
add esp, 0x10
mov esi, eax
lea eax, [ebp - 0x4c]
push eax
lea eax, [ebp - 0x28]
push eax
push esi
push dword [ebp - 4]
call sub.gdiplus.dll_GdipSaveImageToFile
push esi
mov dword [ebp + 0x10], eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
push dword [ebp + 0x18]
call sub.gdiplus.dll_GdipDeleteGraphics
push dword [ebp - 0xc]
call sub.gdiplus.dll_GdipDisposeImage
push dword [ebp - 4]
call sub.gdiplus.dll_GdipDisposeImage
push dword [ebp - 0x14]
mov esi, dword [sym.imp.GDI32.dll_DeleteObject]
call esi
push ebx
call esi
pop edi
pop esi
pop ebx
leave
ret