Function at 0x4663a0
Capabilities:
Capture screenshot

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5b6cc0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
push ebx
push esi
mov esi, ecx
push edi
mov dword [ebp - 0x10], esp
mov dword [ebp - 4], 0
mov eax, dword [esi + 0x14c]
test eax, eax
je 0x466658
mov eax, dword [ebp + 0xc]
test eax, eax
je 0x4663e4
call fcn.00465cd0
mov ecx, dword [esi + 0x14c]
cmp dword [ecx + 0x44], 4
jne 0x466428
fld qword [ecx + 0x300]
fcomp qword [0x5d2380]
fnstsw ax
test ah, 0x41
jne 0x46644a
fld qword [ecx + 0x300]
fmul qword [0x5d4ec8]
call fcn.00582008
mov dword [esi + 0x130], eax
mov dword [esi + 0x134], edx
jmp 0x46644a
mov eax, dword [ecx + 0x408]
mov ecx, dword [ecx + 0x40c]
test ecx, ecx
jl 0x46644a
jg 0x46643e
test eax, eax
jbe 0x46644a
mov dword [esi + 0x130], eax
mov dword [esi + 0x134], ecx
mov eax, dword [esi + 8]
push eax
call dword [sym.imp.USER32.dll_GetWindowDC]
mov edi, eax
push edi
mov dword [ebp - 0x18], edi
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov ebx, eax
mov eax, dword [esi + 0x148]
test eax, eax
mov dword [ebp + 0xc], ebx
je 0x466476
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
mov edx, dword [esi + 0x28]
mov ecx, dword [esi + 0x2c]
add edx, 2
push ecx
push edx
push edi
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
push eax
push ebx
mov ebx, dword [sym.imp.GDI32.dll_SelectObject]
mov dword [esi + 0x148], eax
call ebx
push edi
mov dword [ebp - 0x20], eax
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov edi, eax
mov eax, dword [esi + 0x144]
push eax
push edi
call ebx
mov ecx, dword [esi + 0x2c]
mov edx, dword [ebp + 0xc]
push 0xcc0020
push 0
push 0
push edi
push ecx
push 1
push 0
push 0
push edx
mov dword [ebp - 0x14], eax
call dword [sym.imp.GDI32.dll_BitBlt]
mov eax, dword [esi + 0x2c]
mov ecx, dword [esi + 0x28]
mov edx, dword [ebp + 0xc]
push 0xcc0020
push 0
push 0
push edi
push eax
push 1
inc ecx
push 0
push ecx
push edx
call dword [sym.imp.GDI32.dll_BitBlt]
mov eax, dword [ebp - 0x14]
push eax
push edi
call ebx
mov ecx, dword [esi + 0x138]
push ecx
push edi
call ebx
mov edx, dword [esi + 0x28]
mov dword [ebp - 0x14], eax
mov eax, dword [esi + 0x2c]
push 0xcc0020
push eax
push 1
push 0
push 0
push edi
push eax
mov eax, dword [ebp + 0xc]
push edx
push 0
push 1
push eax
call dword [sym.imp.GDI32.dll_StretchBlt]
mov ecx, dword [ebp - 0x14]
push ecx
push edi
call ebx
mov edx, dword [esi + 0x130]
mov eax, dword [esi + 0x134]
or edx, eax
je 0x46661f
mov eax, dword [esi + 0x140]
push eax
push edi
call ebx
mov ebx, dword [esi + 0x150]
mov dword [ebp - 0x14], eax
test ebx, ebx
je 0x46660e
mov ecx, dword [esi + 0x130]
mov edx, dword [esi + 0x134]
mov eax, dword [esi + 0x28]
mov dword [ebp - 0x28], ecx
mov ecx, dword [ebx + 4]
mov dword [ebp - 0x24], edx
push ecx
mov ecx, dword [ebx]
cdq
push ecx
push edx
push eax
call fcn.005843a0
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], edx
fild qword [ebp - 0x30]
fild qword [ebp - 0x28]
fdivp st(1)
call fcn.00582008
mov edx, dword [ebx + 0xc]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x24]
cmp edx, eax
jl 0x4665b6
jg 0x4665ad
mov ecx, dword [ebx + 8]
mov edx, dword [ebp - 0x28]
cmp ecx, edx
jbe 0x4665b6
mov edx, dword [ebp - 0x28]
mov dword [ebx + 8], edx
mov dword [ebx + 0xc], eax
mov eax, dword [esi + 0x2c]
mov ecx, dword [ebx + 0xc]
push 0xcc0020
push eax
push 1
push 0
push 0
push edi
push eax
mov eax, dword [esi + 0x28]
push ecx
mov ecx, dword [ebx + 8]
cdq
push ecx
push edx
push eax
call fcn.005843a0
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x34], edx
fild qword [ebp - 0x38]
fild qword [esi + 0x130]
fdivp st(1)
call fcn.00582008
mov edx, eax
mov eax, dword [ebp - 0x1c]
sub edx, eax
inc eax
push edx
push 0
push eax
mov eax, dword [ebp + 0xc]
push eax
call dword [sym.imp.GDI32.dll_StretchBlt]
mov ebx, dword [ebx + 0x10]
jmp 0x466555
mov ecx, dword [ebp - 0x14]
push ecx
push edi
call dword [sym.imp.GDI32.dll_SelectObject]
mov ebx, dword [sym.imp.GDI32.dll_SelectObject]
push edi
mov edi, dword [sym.imp.GDI32.dll_DeleteDC]
call edi
mov edx, dword [ebp - 0x20]
mov eax, dword [ebp + 0xc]
push edx
push eax
call ebx
mov ecx, dword [ebp + 0xc]
push ecx
call edi
mov eax, dword [ebp + 8]
test eax, eax
je 0x46664a
mov edx, dword [ebp - 0x18]
mov ecx, esi
push edx
call fcn.00465540
mov eax, dword [ebp - 0x18]
mov ecx, dword [esi + 8]
push eax
push ecx
call dword [sym.imp.USER32.dll_ReleaseDC]
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 8