Function at 0x563b60
Capabilities:
Capture screenshot

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x58cd1d
mov eax, dword fs:[0]
push eax
sub esp, 0x64
push ebx
push esi
push edi
mov eax, dword [0x5ebfc4]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
lea ecx, [ebp - 0x70]
call fcn.00402d50
mov dword [ebp - 4], 0
fld qword [edi + 0x300]
mov bl, byte [ebp + 8]
fstp qword [ebp - 0x24]
fld qword [0x5cd320]
test bl, bl
je 0x563bba
fstp qword [edi + 0x300]
jmp 0x563bbc
fstp st(0)
push ecx
mov esi, esp
mov dword [ebp + 8], esi
mov eax, dword [edi + 0x324]
sub eax, 0x10
push eax
call fcn.00401f10
add eax, 0x10
lea ecx, [ebp - 0x1c]
add esp, 4
mov dword [esi], eax
mov eax, dword [edi]
push ecx
mov ecx, edi
call dword [eax + 0x19c]
lea ecx, [ebp - 0x70]
push dword [eax]
call fcn.004032a0
mov edx, dword [ebp - 0x1c]
or ecx, 0xffffffff
mov dword [ebp + 8], eax
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], ecx
dec ecx
test ecx, ecx
jg 0x563c3b
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
mov esi, dword [eax + 4]
cmp eax, 0x5940e4
jne 0x563f1c
mov ecx, dword [ecx + 4]
mov eax, dword [ecx]
mov esi, dword [eax + 4]
cmp eax, vtable.ATL::CWin32Heap.0
jne 0x563f1c
push 0
push dword [ecx + 4]
call dword [sym.imp.KERNEL32.dll_HeapFree]
mov eax, dword [ebp + 8]
test bl, bl
je 0x563c48
fld qword [ebp - 0x24]
fstp qword [edi + 0x300]
test eax, eax
js 0x563edc
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x2c], vtable.CBitmap.0
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], 1
call fcn.0041170b
mov byte [ebp - 4], 2
push dword [edi + 0x20]
call dword [sym.imp.USER32.dll_GetDC]
push eax
call fcn.00412282
fld qword [edi + 0x300]
mov ebx, eax
fdiv qword [0x5cd320]
fild dword [ebp - 0x64]
fstp qword [ebp - 0x24]
fld qword [ebp - 0x24]
fmul st(1)
call fcn.0053cb40
fild dword [ebp - 0x60]
mov dword [ebp - 0x1c], eax
fstp qword [ebp - 0x24]
fmul qword [ebp - 0x24]
call fcn.0053cb40
push dword [ebp - 0x60]
mov edi, dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
push dword [ebp - 0x64]
mov dword [ebp - 0x18], eax
push dword [ebx + 4]
call edi
push eax
lea ecx, [ebp - 0x2c]
call fcn.00412035
push dword [ebx + 4]
mov esi, dword [sym.imp.GDI32.dll_CreateCompatibleDC]
call esi
push eax
lea ecx, [ebp - 0x3c]
call fcn.00411ff3
mov eax, dword [ebp - 0x10]
add eax, 0x328
mov ecx, eax
mov dword [ebp + 8], eax
call fcn.0041213c
mov eax, dword [ebp - 0x10]
add eax, 0x330
mov ecx, eax
mov dword [ebp - 0x20], eax
call fcn.00412126
push dword [ebp - 0x18]
push dword [ebp - 0x1c]
push dword [ebx + 4]
call edi
mov edi, dword [ebp + 8]
mov ecx, edi
push eax
call fcn.00412035
push dword [ebx + 4]
call esi
mov ecx, dword [ebp - 0x20]
push eax
call fcn.00411ff3
push dword [ebx + 4]
mov ebx, dword [ebp - 0x10]
push dword [ebx + 0x20]
call dword [sym.imp.USER32.dll_ReleaseDC]
push dword [ebp - 0x28]
push dword [ebp - 0x38]
call fcn.004126c0
test edi, edi
jne 0x563d47
xor eax, eax
jmp 0x563d4a
mov eax, dword [edi + 4]
push eax
push dword [ebx + 0x334]
call fcn.004126c0
mov esi, dword [ebp - 0x38]
mov eax, dword [ebp - 0x64]
mov edi, dword [ebp - 0x60]
mov dword [ebp + 8], eax
test esi, esi
je 0x563d91
lea ecx, [ebp - 0x70]
call fcn.004031c0
push 0xcc0020
push 0
push 0
push dword [ebp - 0x48]
push edi
push dword [ebp + 8]
push 0
push 0
push esi
call dword [sym.imp.GDI32.dll_BitBlt]
lea ecx, [ebp - 0x70]
call fcn.00403880
mov eax, dword [ebp - 0x6c]
test eax, eax
je 0x563ddd
push eax
mov dword [ebp - 0x6c], 0
mov dword [ebp - 0x68], 0
mov dword [ebp - 0x64], 0
mov dword [ebp - 0x60], 0
mov dword [ebp - 0x58], 0
mov dword [ebp - 0x5c], 0
mov dword [ebp - 0x50], 0xffffffff
mov dword [ebp - 0x4c], 0xffffffff
mov word [ebp - 0x54], 0
call dword [sym.imp.GDI32.dll_DeleteObject]
mov edi, dword [ebp - 0x28]
push 0x10
call dword [sym.imp.gdiplus.dll_GdipAlloc]
mov esi, eax
test esi, esi
je 0x563e13
lea eax, [ebp + 8]
mov dword [esi], vtable.Gdiplus::Bitmap.0
push eax
push 0
push edi
mov dword [ebp + 8], 0
call dword [sym.imp.gdiplus.dll_GdipCreateBitmapFromHBITMAP]
mov dword [esi + 8], eax
mov eax, dword [ebp + 8]
mov dword [esi + 4], eax
jmp 0x563e15
xor esi, esi
lea eax, [ebx + 0x330]
test eax, eax
je 0x563e22
mov eax, dword [eax + 4]
lea ecx, [ebp + 8]
mov dword [ebp + 8], 0
push ecx
push eax
call dword [sym.imp.gdiplus.dll_GdipCreateFromHDC]
mov edi, dword [ebp + 8]
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], edi
push 7
push edi
mov byte [ebp - 4], 3
call dword [sym.imp.gdiplus.dll_GdipSetInterpolationMode]
test eax, eax
je 0x563e51
mov dword [ebp - 0x10], eax
test esi, esi
je 0x563e5a
mov eax, dword [esi + 4]
jmp 0x563e5c
xor eax, eax
push dword [ebp - 0x18]
push dword [ebp - 0x1c]
push 0
push 0
push eax
push edi
call dword [sym.imp.gdiplus.dll_GdipDrawImageRectI]
test eax, eax
je 0x563e75
mov dword [ebp - 0x10], eax
test esi, esi
je 0x563e81
mov eax, dword [esi]
mov ecx, esi
push 1
call dword [eax]
lea ecx, [ebp - 0x2c]
call fcn.0041213c
lea ecx, [ebp - 0x3c]
call fcn.00412126
lea ecx, [ebx + 0x374]
call fcn.0041213c
lea eax, [ebx + 0x328]
test eax, eax
je 0x563ea9
mov eax, dword [eax + 4]
push eax
call dword [sym.imp.GDI32.dll_CreatePatternBrush]
push eax
lea ecx, [ebx + 0x374]
call fcn.00412035
push edi
call dword [sym.imp.gdiplus.dll_GdipDeleteGraphics]
lea ecx, [ebp - 0x3c]
call fcn.00411862
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x2c], vtable.CBitmap.0
call fcn.004049d0
jmp 0x563f00
lea ecx, [edi + 0x374]
call fcn.0041213c
push 0xf8f8f8
push 3
call dword [sym.imp.GDI32.dll_CreateHatchBrush]
push eax
lea ecx, [edi + 0x374]
call fcn.00412035
lea ecx, [ebp - 0x70]
call fcn.00402e00
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
call esi
jmp 0x563c38