Function at 0x630885f8
Capabilities:
Capture screenshot

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
lea eax, [ebp - 0xa0]
sub esp, 0xfc
mov dword [ebp - 0xa0], 1
mov dword [ebp - 0x9c], 0
mov dword [esp + 4], eax
lea eax, [ebp - 0xac]
mov dword [esp + 8], 0
mov dword [ebp - 0x98], 0
mov dword [ebp - 0x94], 0
mov dword [esp], eax
call sub.gdiplus.dll_GdiplusStartup
sub esp, 0xc
mov dword [esp], 0
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
push esi
mov edi, eax
mov ebx, dword [sym.imp.USER32.dll_GetSystemMetrics]
mov dword [esp], 0
call ebx
push edx
mov esi, eax
mov dword [esp], 1
call ebx
mov edx, dword [sym.imp.USER32.dll_GetDC]
push ecx
mov ebx, eax
mov dword [esp], 0
mov dword [ebp - 0xc0], edx
call edx
push edx
mov dword [esp + 8], ebx
mov dword [esp + 4], esi
mov dword [esp], eax
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
sub esp, 0xc
mov dword [ebp - 0xcc], eax
mov dword [esp + 4], eax
mov dword [esp], edi
call dword [sym.imp.GDI32.dll_SelectObject]
mov edx, dword [ebp - 0xc0]
push ecx
push ecx
mov dword [esp], 0
call edx
push edx
mov dword [esp + 0x20], 0xcc0020
mov dword [esp + 0x1c], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], eax
mov dword [esp + 0x10], ebx
mov dword [esp + 0xc], esi
mov dword [esp + 8], 0
mov dword [esp + 4], 0
mov dword [esp], edi
call dword [sym.imp.GDI32.dll_BitBlt]
mov eax, dword [ebp - 0xcc]
sub esp, 0x24
mov dword [esp + 4], 0
mov dword [esp], eax
call fcn.630b7994
mov dword [ebp - 0xc0], eax
lea eax, [ebp - 0x90]
mov dword [esp], str.image_jpeg
mov dword [esp + 4], eax
call fcn.63088547
inc eax
jne 0x63088758
mov eax, dword [ebp - 0xcc]
mov dword [esp], eax
call dword [sym.imp.GDI32.dll_DeleteObject]
xor eax, eax
push ebx
jmp 0x63088a28
mov dword [ebp - 0xd0], ebx
cmp esi, ebx
mov dword [ebp - 0xa4], 0x33
fild dword [ebp - 0xd0]
mov dword [ebp - 0xd0], esi
fidivr dword [ebp - 0xd0]
jle 0x630887bc
fdivr dword [0x630c6df8]
fnstcw word [ebp - 0xba]
mov ax, word [ebp - 0xba]
mov esi, 0x280
or ah, 0xc
mov word [ebp - 0xbc], ax
fldcw word [ebp - 0xbc]
fistp qword [ebp - 0xc8]
fldcw word [ebp - 0xba]
mov eax, dword [ebp - 0xc8]
mov edi, eax
jmp 0x630887f8
fmul dword [0x630c6dfc]
fnstcw word [ebp - 0xba]
mov ax, word [ebp - 0xba]
mov edi, 0x1e0
or ah, 0xc
mov word [ebp - 0xbc], ax
fldcw word [ebp - 0xbc]
fistp qword [ebp - 0xc8]
fldcw word [ebp - 0xba]
mov eax, dword [ebp - 0xc8]
mov esi, eax
mov ecx, dword [ebp - 0xc0]
call fcn.630b78f0
mov dword [esp], 0xc
mov dword [ebp - 0xd0], eax
call sub.gdiplus.dll_GdipAlloc
mov edx, dword [ebp - 0xd0]
push ecx
mov ecx, eax
mov ebx, eax
mov dword [esp + 4], edi
mov dword [esp], esi
mov dword [esp + 8], edx
call fcn.630b7a18
sub esp, 0xc
xor eax, eax
test ebx, ebx
mov dword [ebp - 0x60], 0
mov dword [ebp - 0x5c], 0
je 0x6308884a
mov eax, dword [ebx + 4]
lea edx, [ebp - 0x60]
mov dword [esp], eax
mov dword [esp + 4], edx
call sub.gdiplus.dll_GdipGetImageGraphicsContext
mov dword [ebp - 0x5c], eax
xor eax, eax
cmp dword [ebp - 0xc0], 0
push edx
push edx
je 0x63088872
mov eax, dword [ebp - 0xc0]
mov eax, dword [eax + 4]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x60]
mov dword [esp + 0x14], edi
mov dword [esp + 0x10], esi
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp], eax
call sub.gdiplus.dll_GdipDrawImageRectI
sub esp, 0x18
test eax, eax
je 0x630888a3
mov dword [ebp - 0x5c], eax
lea eax, [ebp - 0xa4]
lea edi, [ebp - 0x7c]
mov esi, 0x630cde30
mov ecx, 4
mov dword [ebp - 0x80], 1
mov dword [ebp - 0x6c], 1
rep movsd dword es:[edi], dword [esi]
mov dword [ebp - 0x64], eax
mov eax, dword [ebp - 0x60]
mov dword [ebp - 0x68], 4
mov dword [esp], eax
call sub.gdiplus.dll_GdipDeleteGraphics
push eax
lea eax, [ebp - 0xa8]
mov dword [esp + 4], 1
mov dword [esp + 8], eax
mov dword [esp], 0
call dword [sym.imp.ole32.dll_CreateStreamOnHGlobal]
lea eax, [ebp - 0x80]
sub esp, 0xc
mov dword [esp + 0xc], eax
lea eax, [ebp - 0x90]
mov dword [esp + 8], eax
mov eax, dword [ebp - 0xa8]
mov dword [esp + 4], eax
mov eax, dword [ebx + 4]
mov dword [esp], eax
call sub.gdiplus.dll_GdipSaveImageToStream
sub esp, 0x10
test eax, eax
je 0x6308892e
mov dword [ebx + 8], eax
mov eax, dword [ebp - 0xa8]
lea ecx, [ebp - 0x60]
mov edx, dword [eax]
mov dword [esp + 4], ecx
mov dword [esp + 8], 0
mov dword [esp], eax
call dword [edx + 0x30]
mov eax, dword [ebp - 0xa8]
sub esp, 0xc
mov esi, dword [ebp - 0x58]
cmp esi, dword [ebp + 0xc]
cmova esi, dword [ebp + 0xc]
mov edx, dword [eax]
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0
mov dword [esp + 4], 0
mov dword [esp + 8], 0
mov dword [esp], eax
call dword [edx + 0x14]
mov eax, dword [ebp - 0xa8]
lea ecx, [ebp - 0xa4]
sub esp, 0x14
mov edx, dword [eax]
mov dword [esp + 0xc], ecx
mov ecx, dword [ebp + 8]
mov dword [esp + 8], esi
mov dword [esp], eax
mov dword [esp + 4], ecx
call dword [edx + 0xc]
mov eax, dword [ebp - 0xa8]
sub esp, 0x10
mov edx, dword [eax]
mov dword [esp], eax
call dword [edx + 8]
push edi
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 4]
cmp dword [ebp - 0xc0], 0
je 0x630889df
mov eax, dword [ebp - 0xc0]
mov ecx, dword [ebp - 0xc0]
mov eax, dword [eax]
call dword [eax + 4]
mov eax, dword [ebp - 0xcc]
mov dword [esp], eax
call dword [sym.imp.GDI32.dll_DeleteObject]
mov eax, dword [ebp - 0xac]
push ecx
mov dword [esp], eax
call sub.gdiplus.dll_GdiplusShutdown
mov eax, esi
push ebx
jmp 0x63088a28
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret