Function at 0x49a770
Capabilities:
Capture screenshot

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x641da0
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 + 0x24c]
test eax, eax
je 0x49aa75
mov eax, dword [ebp + 0xc]
test eax, eax
je 0x49a7b4
call fcn.00499b80
mov ecx, dword [esi + 0x24c]
mov eax, dword [ecx + 0x44]
cmp eax, 4
je 0x49a813
cmp eax, 5
je 0x49a813
mov eax, dword [ecx + 0x31c]
test eax, eax
jne 0x49a813
mov eax, dword [ecx + 0x4ac]
mov edx, dword [ecx + 0x4a8]
test eax, eax
jl 0x49a7fb
jg 0x49a7e7
test edx, edx
jbe 0x49a7fb
mov dword [esi + 0x230], edx
mov dword [esi + 0x234], eax
jmp 0x49a867
mov eax, dword [ecx + 0x110]
mov ecx, dword [ecx + 0x114]
test ecx, ecx
jl 0x49a867
jg 0x49a85b
test eax, eax
jbe 0x49a867
jmp 0x49a85b
fld qword [ecx + 0x398]
fcomp qword [0x659b60]
fnstsw ax
test ah, 0x41
jne 0x49a845
fld qword [ecx + 0x398]
fmul qword [0x65b890]
call fcn.0060a154
mov dword [esi + 0x230], eax
mov dword [esi + 0x234], edx
jmp 0x49a867
mov eax, dword [ecx + 0x110]
mov ecx, dword [ecx + 0x114]
test ecx, ecx
jl 0x49a867
jg 0x49a85b
test eax, eax
jbe 0x49a867
mov dword [esi + 0x230], eax
mov dword [esi + 0x234], 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 + 0x248]
test eax, eax
mov dword [ebp + 0xc], ebx
je 0x49a893
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 + 0x248], eax
call ebx
push edi
mov dword [ebp - 0x20], eax
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov edi, eax
mov eax, dword [esi + 0x244]
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 + 0x238]
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 + 0x230]
mov eax, dword [esi + 0x234]
or edx, eax
je 0x49aa3c
mov eax, dword [esi + 0x240]
push eax
push edi
call ebx
mov ebx, dword [esi + 0x250]
mov dword [ebp - 0x14], eax
test ebx, ebx
je 0x49aa2b
mov ecx, dword [esi + 0x230]
mov edx, dword [esi + 0x234]
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.0060c730
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], edx
fild qword [ebp - 0x30]
fild qword [ebp - 0x28]
fdivp st(1)
call fcn.0060a154
mov edx, dword [ebx + 0xc]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x24]
cmp edx, eax
jl 0x49a9d3
jg 0x49a9ca
mov ecx, dword [ebx + 8]
mov edx, dword [ebp - 0x28]
cmp ecx, edx
jbe 0x49a9d3
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.0060c730
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x34], edx
fild qword [ebp - 0x38]
fild qword [esi + 0x230]
fdivp st(1)
call fcn.0060a154
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 0x49a972
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 0x49aa67
mov edx, dword [ebp - 0x18]
mov ecx, esi
push edx
call fcn.004992c0
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