Function at 0x468d80
Capabilities:
Capture screenshot

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5be930
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 0x46903f
mov eax, dword [ebp + 0xc]
test eax, eax
je 0x468dc4
call fcn.004686b0
mov ecx, dword [esi + 0x14c]
mov eax, dword [ecx + 0x44]
cmp eax, 4
je 0x468e01
cmp eax, 5
je 0x468e01
mov eax, dword [ecx + 0x428]
mov ecx, dword [ecx + 0x42c]
test ecx, ecx
jl 0x468e31
jg 0x468ded
test eax, eax
jbe 0x468e31
mov dword [esi + 0x130], eax
mov dword [esi + 0x134], ecx
jmp 0x468e31
fld qword [ecx + 0x320]
fcomp qword [0x5da768]
fnstsw ax
test ah, 0x41
jne 0x468e31
fld qword [ecx + 0x320]
fmul qword [0x5dda68]
call fcn.00589918
mov dword [esi + 0x130], eax
mov dword [esi + 0x134], edx
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 0x468e5d
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 0x469006
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 0x468ff5
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.0058bcb0
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], edx
fild qword [ebp - 0x30]
fild qword [ebp - 0x28]
fdivp st(1)
call fcn.00589918
mov edx, dword [ebx + 0xc]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x24]
cmp edx, eax
jl 0x468f9d
jg 0x468f94
mov ecx, dword [ebx + 8]
mov edx, dword [ebp - 0x28]
cmp ecx, edx
jbe 0x468f9d
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.0058bcb0
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x34], edx
fild qword [ebp - 0x38]
fild qword [esi + 0x130]
fdivp st(1)
call fcn.00589918
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 0x468f3c
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 0x469031
mov edx, dword [ebp - 0x18]
mov ecx, esi
push edx
call fcn.00467f10
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