Function at 0x10008a33
Capabilities:
Link many functions at runtime

Disassembly:
sub esp, 0x9c
push ebx
push ebp
mov eax, edx
push esi
xor ebx, ebx
push edi
mov dword [esp + 0x44], eax
mov dword [esp + 0x2c], ecx
mov dword [ecx], ebx
mov dword [eax], ebx
call dword [sym.imp.USER32.dll_GetDesktopWindow]
mov edi, eax
mov dword [esp + 0x38], edi
test edi, edi
je 0x10008ccd
push str.GDIPLUS.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov ebp, eax
mov dword [esp + 0x30], ebp
test ebp, ebp
je 0x10008ccd
push str.GdiplusStartup
push ebp
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov esi, eax
push str.GdiplusShutdown
push ebp
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [esp + 0x48], eax
push str.GdipCreateBitmapFromHBITMAP
push ebp
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [esp + 0x58], eax
push str.GdipSaveImageToStream
push ebp
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [esp + 0x54], eax
push str.GdipDisposeImage
push ebp
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [esp + 0x3c], eax
push str.GdipGetImageThumbnail
push ebp
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [esp + 0x34], eax
push ebx
lea eax, [esp + 0x7c]
push eax
lea eax, [esp + 0x48]
push eax
mov dword [esp + 0x84], 1
mov dword [esp + 0x88], ebx
mov dword [esp + 0x8c], ebx
mov dword [esp + 0x90], ebx
call esi
lea eax, [esp + 0x98]
push eax
mov ecx, ebp
call fcn.10008992
lea eax, [esp + 0x88]
push eax
push edi
call dword [sym.imp.USER32.dll_GetWindowRect]
mov eax, dword [esp + 0x90]
sub eax, dword [esp + 0x88]
push edi
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x98]
sub eax, dword [esp + 0x90]
mov dword [esp + 0x28], eax
call dword [sym.imp.USER32.dll_GetWindowDC]
mov dword [esp + 0x14], eax
push str.GDI32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov dword [esp + 0x10], eax
test eax, eax
je 0x10008cb3
mov ebp, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.CreateCompatibleDC
push eax
call ebp
mov ebx, dword [esp + 0x10]
push str.CreateCompatibleBitmap
push ebx
mov esi, eax
call ebp
mov edi, eax
push str.SelectObject
push ebx
call ebp
mov dword [esp + 0x28], eax
push str.BitBlt
push ebx
call ebp
mov ebx, eax
push str.DeleteObject
push dword [esp + 0x14]
call ebp
mov dword [esp + 0x50], eax
push str.DeleteDC
push dword [esp + 0x14]
call ebp
mov dword [esp + 0x4c], eax
push dword [esp + 0x14]
call esi
mov ebp, eax
push dword [esp + 0x24]
push dword [esp + 0x1c]
push dword [esp + 0x1c]
call edi
mov edi, eax
push edi
push ebp
call dword [esp + 0x30]
mov esi, eax
push 0xcc0020
xor eax, eax
push eax
push eax
push dword [esp + 0x20]
push dword [esp + 0x34]
push dword [esp + 0x2c]
push eax
push eax
push ebp
call ebx
xor ebx, ebx
lea eax, [esp + 0x20]
push eax
push ebx
push edi
mov dword [esp + 0x68], 0x1000d2b8
mov dword [esp + 0x6c], 1
mov dword [esp + 0x70], ebx
mov dword [esp + 0x74], ebx
mov dword [esp + 0x78], ebx
mov dword [esp + 0x7c], ebx
mov dword [esp + 0x80], ebx
mov dword [esp + 0x2c], ebx
call dword [esp + 0x64]
lea eax, [esp + 0x1c]
push ebx
push ebx
push eax
mov eax, dword [esp + 0x30]
cdq
sub eax, edx
sar eax, 1
push eax
mov eax, dword [esp + 0x28]
cdq
sub eax, edx
sar eax, 1
push eax
push dword [esp + 0x34]
mov dword [esp + 0x34], ebx
call dword [esp + 0x4c]
push ebx
lea eax, [esp + 0x9c]
push eax
lea eax, [esp + 0x64]
push eax
push dword [esp + 0x28]
call dword [esp + 0x64]
mov ebx, dword [esp + 0x3c]
push dword [esp + 0x1c]
call ebx
push dword [esp + 0x20]
call ebx
mov ecx, dword [esp + 0x2c]
mov eax, dword [esp + 0x64]
mov dword [ecx], eax
mov ecx, dword [esp + 0x44]
mov eax, dword [esp + 0x68]
push esi
xor ebx, ebx
push ebp
mov dword [ecx], eax
inc ebx
call dword [esp + 0x30]
push edi
call dword [esp + 0x54]
push ebp
call dword [esp + 0x50]
push dword [esp + 0x10]
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov ebp, dword [esp + 0x30]
mov edi, dword [esp + 0x38]
push dword [esp + 0x14]
push edi
call dword [sym.imp.USER32.dll_ReleaseDC]
push dword [esp + 0x40]
call dword [esp + 0x4c]
push ebp
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
pop edi
pop esi
pop ebp
mov eax, ebx
pop ebx
add esp, 0x9c
ret