Function at 0x40bca0
Capabilities:
Capture screenshot

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5061bd
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x74
push 0
lea eax, [ebp - 0x50]
mov dword [ebp - 0x28], ecx
push eax
lea eax, [ebp - 0x30]
mov dword [ebp - 0x24], 0x64
push eax
mov dword [ebp - 0x50], 1
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 0
call dword [sym.imp.gdiplus.dll_GdiplusStartup]
test eax, eax
jne 0x40bee3
push ebx
push esi
mov esi, dword [sym.imp.USER32.dll_GetSystemMetrics]
push edi
push 1
call esi
push 0
mov edi, eax
call esi
push 0
mov esi, eax
call dword [sym.imp.USER32.dll_GetDC]
mov ebx, eax
test ebx, ebx
je 0x40bed7
push ebx
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov dword [ebp - 0x1c], eax
test eax, eax
je 0x40bece
push edi
push esi
push ebx
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
mov dword [ebp - 0x18], eax
test eax, eax
je 0x40bec5
push eax
push dword [ebp - 0x1c]
call dword [sym.imp.GDI32.dll_SelectObject]
push 0xcc0020
push 0
push 0
push ebx
push edi
push esi
push 0
push 0
push dword [ebp - 0x1c]
call dword [sym.imp.GDI32.dll_BitBlt]
mov dword [ebp - 0x40], vtable.Gdiplus::Image.0
mov dword [ebp - 4], 0
lea eax, [ebp - 0x14]
mov esi, dword [ebp - 0x18]
push eax
push 0
push esi
mov dword [ebp - 0x40], 0x528528
mov dword [ebp - 0x14], 0
call dword [sym.imp.gdiplus.dll_GdipCreateBitmapFromHBITMAP]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x3c], eax
mov dword [ebp - 4], 1
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x10]
mov dword [ebp - 0x10], 0
push eax
mov dword [ebp - 0x14], 0
call dword [sym.imp.gdiplus.dll_GdipGetImageEncodersSize]
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x40be52
push eax
call fcn.004ee4ec
mov edi, eax
add esp, 4
mov dword [ebp - 0x20], edi
test edi, edi
je 0x40be52
push edi
push dword [ebp - 0x14]
push dword [ebp - 0x10]
call dword [sym.imp.gdiplus.dll_GdipGetImageEncoders]
xor esi, esi
cmp dword [ebp - 0x10], esi
jbe 0x40be46
add edi, 0x30
jmp 0x40be00
mov eax, dword [edi]
mov ecx, str.image_png
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x40be2d
test dx, dx
je 0x40be29
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x40be2d
add eax, 4
add ecx, 4
test dx, dx
jne 0x40be07
xor eax, eax
jmp 0x40be32
sbb eax, eax
or eax, 1
test eax, eax
je 0x40bef3
inc esi
add edi, 0x4c
cmp esi, dword [ebp - 0x10]
jb 0x40be00
mov edi, dword [ebp - 0x20]
push edi
call fcn.004edd96
mov esi, dword [ebp - 0x18]
add esp, 4
mov eax, dword [0x518b38]
mov edi, dword [ebp - 0x2c]
mov dword [ebp - 0x7c], eax
mov eax, dword [0x518b3c]
mov dword [ebp - 0x78], eax
mov eax, dword [0x518b40]
mov dword [ebp - 0x74], eax
mov eax, dword [0x518b44]
mov dword [ebp - 0x70], eax
lea eax, [ebp - 0x24]
mov dword [ebp - 0x64], eax
lea eax, [ebp - 0x80]
push eax
lea eax, [ebp - 0x60]
mov dword [ebp - 0x80], 1
push eax
push dword [ebp - 0x28]
mov dword [ebp - 0x68], 4
push edi
mov dword [ebp - 0x6c], 1
call dword [sym.imp.gdiplus.dll_GdipSaveImageToFile]
test eax, eax
je 0x40bea9
mov dword [ebp - 0x38], eax
push esi
call dword [sym.imp.GDI32.dll_DeleteObject]
mov dword [ebp - 4], 0xffffffff
push edi
mov dword [ebp - 0x40], vtable.Gdiplus::Image.0
call dword [sym.imp.gdiplus.dll_GdipDisposeImage]
push dword [ebp - 0x1c]
call dword [sym.imp.GDI32.dll_DeleteObject]
push ebx
push 0
call dword [sym.imp.USER32.dll_ReleaseDC]
push dword [ebp - 0x30]
call dword [sym.imp.gdiplus.dll_GdiplusShutdown]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0xc]
xor al, al
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
mov edx, dword [ebp - 0x20]
imul ecx, esi, 0x4c
add ecx, edx
push edx
mov eax, dword [ecx]
mov dword [ebp - 0x60], eax
mov eax, dword [ecx + 4]
mov dword [ebp - 0x5c], eax
mov eax, dword [ecx + 8]
mov dword [ebp - 0x58], eax
mov eax, dword [ecx + 0xc]
mov dword [ebp - 0x54], eax
jmp 0x40be47