Function at 0x10004f5f
Capabilities:
Capture screenshot

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x9c
mov eax, dword [0x10058684]
xor eax, esp
mov dword [esp + 0x98], eax
mov eax, dword [ebp + 8]
push ebx
push esi
mov esi, dword [sym.imp.USER32.dll_GetSystemMetrics]
push edi
xor ebx, ebx
push ebx
mov dword [esp + 0x2c], eax
call esi
push 1
mov dword [esp + 0x18], eax
call esi
push ebx
mov dword [esp + 0x14], eax
call dword [sym.imp.USER32.dll_GetDC]
mov edi, eax
push edi
mov dword [esp + 0x30], edi
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
push dword [esp + 0x10]
mov dword [esp + 0x1c], eax
push dword [esp + 0x18]
push edi
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
mov esi, dword [sym.imp.GDI32.dll_SelectObject]
push eax
push dword [esp + 0x1c]
mov dword [esp + 0x28], eax
call esi
push 0xcc0020
push ebx
push ebx
push edi
push dword [esp + 0x20]
mov dword [esp + 0x30], eax
push dword [esp + 0x28]
push ebx
push ebx
push dword [esp + 0x38]
call dword [sym.imp.GDI32.dll_BitBlt]
push dword [esp + 0x1c]
push dword [esp + 0x1c]
call esi
lea eax, [esp + 0x4c]
push eax
push 0x18
push dword [esp + 0x28]
call dword [sym.imp.GDI32.dll_GetObjectW]
test eax, eax
jne 0x10005019
or eax, 0xffffffff
jmp 0x10005142
push dword [esp + 0x54]
lea esi, [esp + 0x40]
push dword [esp + 0x54]
call fcn.100076a0
lea eax, [esp + 0x24]
push eax
push ebx
push dword [esp + 0x28]
mov dword [esp + 0x30], ebx
call dword [sym.imp.gdiplus.dll_GdipCreateBitmapFromHBITMAP]
mov esi, dword [esp + 0x24]
lea eax, [esp + 0x1c]
push eax
push dword [esp + 0x44]
mov dword [esp + 0x70], esi
mov dword [esp + 0x24], ebx
call dword [sym.imp.gdiplus.dll_GdipGetImageGraphicsContext]
fild dword [esp + 0x50]
mov eax, dword [esp + 0x1c]
push ebx
fidiv dword [esp + 0x18]
push ecx
push ecx
mov dword [esp + 0x40], eax
fstp dword [esp + 0x20]
fild dword [esp + 0x60]
fidiv dword [esp + 0x1c]
fstp dword [esp + 0x1c]
fld dword [esp + 0x1c]
fstp dword [esp + 4]
fld dword [esp + 0x20]
fstp dword [esp]
push eax
call dword [sym.imp.gdiplus.dll_GdipScaleWorldTransform]
push ebx
push ebx
push esi
push dword [esp + 0x40]
call dword [sym.imp.gdiplus.dll_GdipDrawImageI]
mov dword [esp + 0x74], 1
mov esi, 0x100436c0
lea edi, [esp + 0x78]
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, [esp + 0x30]
mov dword [esp + 0x90], eax
lea eax, [esp + 0x94]
push eax
mov dword [esp + 0x34], 0x1e
mov dword [esp + 0x90], 4
mov dword [esp + 0x8c], 1
call fcn.10004e9d
lea eax, [esp + 0x74]
push eax
lea eax, [esp + 0x98]
push eax
push dword [esp + 0x30]
push dword [esp + 0x4c]
call dword [sym.imp.gdiplus.dll_GdipSaveImageToFile]
push dword [esp + 0x20]
call dword [sym.imp.GDI32.dll_DeleteObject]
push dword [esp + 0x18]
call dword [sym.imp.GDI32.dll_DeleteDC]
push dword [esp + 0x2c]
push ebx
call dword [sym.imp.USER32.dll_ReleaseDC]
push dword [esp + 0x34]
call dword [sym.imp.gdiplus.dll_GdipDeleteGraphics]
push dword [esp + 0x68]
mov esi, dword [sym.imp.gdiplus.dll_GdipDisposeImage]
call esi
push dword [esp + 0x40]
call esi
xor eax, eax
mov ecx, dword [esp + 0xa4]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.1001d73b
mov esp, ebp
pop ebp
ret 4