Function at 0x476a80
Capabilities:
Capture screenshot

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x610dbb
mov eax, dword fs:[0]
push eax
sub esp, 0xf0
mov eax, dword [0x6a0f4c]
xor eax, ebp
mov dword [ebp - 0x48], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0xf0], ecx
call dword [sym.imp.USER32.dll_GetDesktopWindow]
mov dword [ebp - 0x90], eax
push 0
call dword [sym.imp.USER32.dll_GetWindowDC]
mov dword [ebp - 0xa4], eax
push 8
mov eax, dword [ebp - 0xa4]
push eax
call dword [sym.imp.GDI32.dll_GetDeviceCaps]
mov dword [ebp - 0x14], eax
push 0xa
mov ecx, dword [ebp - 0xa4]
push ecx
call dword [sym.imp.GDI32.dll_GetDeviceCaps]
mov dword [ebp - 0x10], eax
mov edx, dword [ebp - 0x10]
push edx
mov eax, dword [ebp - 0x14]
push eax
mov ecx, dword [ebp - 0xa4]
push ecx
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
mov dword [ebp - 0x38], eax
mov edx, dword [ebp - 0xa4]
push edx
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x38]
push eax
mov ecx, dword [ebp - 0x30]
push ecx
call dword [sym.imp.GDI32.dll_SelectObject]
mov dword [ebp - 0x74], eax
push 0xcc0020
push 0
push 0
mov edx, dword [ebp - 0xa4]
push edx
mov eax, dword [ebp - 0x10]
push eax
mov ecx, dword [ebp - 0x14]
push ecx
push 0
push 0
mov edx, dword [ebp - 0x30]
push edx
call dword [sym.imp.GDI32.dll_BitBlt]
lea eax, [ebp - 0x70]
push eax
call dword [sym.imp.USER32.dll_GetCursorPos]
call dword [sym.imp.USER32.dll_GetCursor]
mov dword [ebp - 0x1c], eax
mov ecx, dword [ebp - 0x1c]
push ecx
mov edx, dword [ebp - 0x6c]
sub edx, 0xa
push edx
mov eax, dword [ebp - 0x70]
sub eax, 0xa
push eax
mov ecx, dword [ebp - 0x30]
push ecx
call dword [sym.imp.USER32.dll_DrawIcon]
call fcn.0045eb90
mov dword [ebp - 0x7c], eax
cmp dword [ebp - 0x7c], 0
je 0x476c26
push 0
lea edx, [ebp - 0xb4]
push edx
lea eax, [ebp - 0xa8]
push eax
lea ecx, [ebp - 0xac]
push ecx
mov ecx, dword [ebp - 0x7c]
call fcn.004628b0
push 0xff
call dword [sym.imp.GDI32.dll_CreateSolidBrush]
mov dword [ebp - 0xb8], eax
mov edx, dword [ebp - 0xb8]
push edx
mov eax, dword [ebp - 0x30]
push eax
call dword [sym.imp.GDI32.dll_SelectObject]
mov dword [ebp - 0xb0], eax
mov ecx, dword [ebp - 0xa8]
add ecx, 8
push ecx
mov edx, dword [ebp - 0xac]
add edx, 8
push edx
mov eax, dword [ebp - 0xa8]
sub eax, 8
push eax
mov ecx, dword [ebp - 0xac]
sub ecx, 8
push ecx
mov edx, dword [ebp - 0x30]
push edx
call dword [sym.imp.GDI32.dll_Ellipse]
mov eax, dword [ebp - 0xb0]
push eax
mov ecx, dword [ebp - 0x30]
push ecx
call dword [sym.imp.GDI32.dll_SelectObject]
mov edx, dword [ebp - 0xb8]
push edx
call dword [sym.imp.GDI32.dll_DeleteObject]
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x34], eax
mov ecx, dword [ebp - 0x10]
mov dword [ebp - 0x44], ecx
mov dword [ebp - 0x8c], vtable.Gdiplus::Image.0
mov dword [ebp - 0x8c], 0x61a604
mov dword [ebp - 0xc0], 0
lea edx, [ebp - 0xc0]
push edx
push 0
push 0x26200a
push 0
mov eax, dword [ebp - 0x44]
push eax
mov ecx, dword [ebp - 0x34]
push ecx
call sub.gdiplus.dll_GdipCreateBitmapFromScan0
mov dword [ebp - 0x84], eax
mov edx, dword [ebp - 0xc0]
mov dword [ebp - 0xc4], edx
mov eax, dword [ebp - 0xc4]
mov dword [ebp - 0x88], eax
mov dword [ebp - 4], 0
mov dword [ebp - 0x2c], vtable.Gdiplus::Image.0
mov dword [ebp - 0x2c], 0x61a604
mov dword [ebp - 0xc8], 0
lea ecx, [ebp - 0xc8]
push ecx
push 0
mov edx, dword [ebp - 0x38]
push edx
call sub.gdiplus.dll_GdipCreateBitmapFromHBITMAP
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0xc8]
mov dword [ebp - 0xcc], eax
mov ecx, dword [ebp - 0xcc]
mov dword [ebp - 0x28], ecx
mov byte [ebp - 4], 1
mov dword [ebp - 0xd0], 0
lea edx, [ebp - 0x8c]
test edx, edx
je 0x476d02
lea eax, [ebp - 0xd0]
push eax
mov ecx, dword [ebp - 0x88]
push ecx
call sub.gdiplus.dll_GdipGetImageGraphicsContext
mov dword [ebp - 0x3c], eax
mov edx, dword [ebp - 0xd0]
mov dword [ebp - 0x40], edx
mov byte [ebp - 4], 2
push 0
fild dword [ebp - 0x10]
fidivr dword [ebp - 0x44]
fstp dword [ebp - 0xf4]
fld dword [ebp - 0xf4]
push ecx
fstp dword [esp]
fild dword [ebp - 0x14]
fidivr dword [ebp - 0x34]
fstp dword [ebp - 0xf8]
fld dword [ebp - 0xf8]
push ecx
fstp dword [esp]
mov eax, dword [ebp - 0x40]
push eax
call sub.gdiplus.dll_GdipScaleWorldTransform
mov dword [ebp - 0xd4], eax
cmp dword [ebp - 0xd4], 0
je 0x476d6e
mov ecx, dword [ebp - 0xd4]
mov dword [ebp - 0x3c], ecx
mov edx, dword [ebp - 0xd4]
mov dword [ebp - 0xd8], edx
jmp 0x476d7a
mov eax, dword [ebp - 0xd4]
mov dword [ebp - 0xd8], eax
lea ecx, [ebp - 0x2c]
test ecx, ecx
je 0x476d8c
mov edx, dword [ebp - 0x28]
mov dword [ebp - 0xfc], edx
jmp 0x476d96
mov dword [ebp - 0xfc], 0
push 0
push 0
mov eax, dword [ebp - 0xfc]
push eax
mov ecx, dword [ebp - 0x40]
push ecx
call sub.gdiplus.dll_GdipDrawImageI
mov dword [ebp - 0xdc], eax
cmp dword [ebp - 0xdc], 0
je 0x476dd2
mov edx, dword [ebp - 0xdc]
mov dword [ebp - 0x3c], edx
mov eax, dword [ebp - 0xdc]
mov dword [ebp - 0xe0], eax
jmp 0x476dde
mov ecx, dword [ebp - 0xdc]
mov dword [ebp - 0xe0], ecx
mov dword [ebp - 0x68], 1
mov edx, dword [0x616168]
mov dword [ebp - 0x64], edx
mov eax, dword [0x61616c]
mov dword [ebp - 0x60], eax
mov ecx, dword [0x616170]
mov dword [ebp - 0x5c], ecx
mov edx, dword [0x616174]
mov dword [ebp - 0x58], edx
mov dword [ebp - 0x50], 4
mov dword [ebp - 0x54], 1
lea eax, [ebp + 0x10]
mov dword [ebp - 0x4c], eax
mov dword [ebp - 0x18], 0
lea ecx, [ebp - 0x18]
push ecx
push 1
push 0
call dword [sym.imp.ole32.dll_CreateStreamOnHGlobal]
test eax, eax
je 0x476e99
mov edx, dword [ebp - 0x38]
push edx
call dword [sym.imp.GDI32.dll_DeleteObject]
mov eax, dword [ebp - 0x30]
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
mov byte [ebp - 0xb9], 0
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x40]
push ecx
call sub.gdiplus.dll_GdipDeleteGraphics
mov byte [ebp - 4], 0
mov dword [ebp - 0x2c], vtable.Gdiplus::Image.0
mov edx, dword [ebp - 0x28]
push edx
call sub.gdiplus.dll_GdipDisposeImage
mov dword [ebp - 4], 0xffffffff
mov dword [ebp - 0x8c], vtable.Gdiplus::Image.0
mov eax, dword [ebp - 0x88]
push eax
call sub.gdiplus.dll_GdipDisposeImage
mov al, byte [ebp - 0xb9]
jmp 0x477089
lea ecx, [ebp - 0xa0]
push ecx
push str.image_jpeg
mov ecx, dword [ebp - 0xf0]
call fcn.004768c0
mov edx, dword [ebp - 0x18]
mov dword [ebp - 0xec], edx
lea eax, [ebp - 0x68]
push eax
lea ecx, [ebp - 0xa0]
push ecx
mov edx, dword [ebp - 0xec]
push edx
mov eax, dword [ebp - 0x88]
push eax
call sub.gdiplus.dll_GdipSaveImageToStream
mov dword [ebp - 0xe4], eax
cmp dword [ebp - 0xe4], 0
je 0x476f02
mov ecx, dword [ebp - 0xe4]
mov dword [ebp - 0x84], ecx
mov edx, dword [ebp - 0xe4]
mov dword [ebp - 0xe8], edx
jmp 0x476f0e
mov eax, dword [ebp - 0xe4]
mov dword [ebp - 0xe8], eax
mov ecx, dword [ebp - 0xe8]
mov dword [ebp - 0x78], ecx
cmp dword [ebp - 0x78], 0
je 0x476f8f
mov edx, dword [ebp - 0x18]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x18]
push ecx
mov edx, dword [eax + 8]
call edx
mov eax, dword [ebp - 0x38]
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
mov ecx, dword [ebp - 0x30]
push ecx
call dword [sym.imp.GDI32.dll_DeleteObject]
mov byte [ebp - 0xba], 0
mov byte [ebp - 4], 1
mov edx, dword [ebp - 0x40]
push edx
call sub.gdiplus.dll_GdipDeleteGraphics
mov byte [ebp - 4], 0
mov dword [ebp - 0x2c], vtable.Gdiplus::Image.0
mov eax, dword [ebp - 0x28]
push eax
call sub.gdiplus.dll_GdipDisposeImage
mov dword [ebp - 4], 0xffffffff
mov dword [ebp - 0x8c], vtable.Gdiplus::Image.0
mov ecx, dword [ebp - 0x88]
push ecx
call sub.gdiplus.dll_GdipDisposeImage
mov al, byte [ebp - 0xba]
jmp 0x477089
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0x18]
push ecx
mov ecx, dword [ebp - 0xf0]
call fcn.004769c0
movzx edx, al
test edx, edx
jne 0x47701c
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax]
mov edx, dword [ebp - 0x18]
push edx
mov eax, dword [ecx + 8]
call eax
mov ecx, dword [ebp - 0x38]
push ecx
call dword [sym.imp.GDI32.dll_DeleteObject]
mov edx, dword [ebp - 0x30]
push edx
call dword [sym.imp.GDI32.dll_DeleteObject]
mov byte [ebp - 0xbb], 0
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x40]
push eax
call sub.gdiplus.dll_GdipDeleteGraphics
mov byte [ebp - 4], 0
mov dword [ebp - 0x2c], vtable.Gdiplus::Image.0
mov ecx, dword [ebp - 0x28]
push ecx
call sub.gdiplus.dll_GdipDisposeImage
mov dword [ebp - 4], 0xffffffff
mov dword [ebp - 0x8c], vtable.Gdiplus::Image.0
mov edx, dword [ebp - 0x88]
push edx
call sub.gdiplus.dll_GdipDisposeImage
mov al, byte [ebp - 0xbb]
jmp 0x477089
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax]
mov edx, dword [ebp - 0x18]
push edx
mov eax, dword [ecx + 8]
call eax
mov ecx, dword [ebp - 0x38]
push ecx
call dword [sym.imp.GDI32.dll_DeleteObject]
mov edx, dword [ebp - 0x30]
push edx
call dword [sym.imp.GDI32.dll_DeleteObject]
mov byte [ebp - 0xbc], 1
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x40]
push eax
call sub.gdiplus.dll_GdipDeleteGraphics
mov byte [ebp - 4], 0
mov dword [ebp - 0x2c], vtable.Gdiplus::Image.0
mov ecx, dword [ebp - 0x28]
push ecx
call sub.gdiplus.dll_GdipDisposeImage
mov dword [ebp - 4], 0xffffffff
mov dword [ebp - 0x8c], vtable.Gdiplus::Image.0
mov edx, dword [ebp - 0x88]
push edx
call sub.gdiplus.dll_GdipDisposeImage
mov al, byte [ebp - 0xbc]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x48]
xor ecx, ebp
call fcn.005fff12
mov esp, ebp
pop ebp
ret 0xc