Function at 0x49e880
Capabilities:
Capture screenshot

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x64b470
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
push ebx
push esi
push edi
mov eax, dword [0x755898]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov esi, ecx
mov dword [ebp - 4], 0
wait
cmp dword [esi + 0x24c], 0
jne 0x49e8d3
wait
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
cmp dword [ebp + 0xc], 0
je 0x49e8e0
mov ecx, esi
call fcn.0049dec0
mov ecx, dword [esi + 0x24c]
mov eax, dword [ecx + 0x44]
cmp eax, 4
je 0x49e920
cmp eax, 5
je 0x49e920
cmp dword [ecx + 0x340], 0
jne 0x49e920
mov edx, dword [ecx + 0x4f0]
mov eax, dword [ecx + 0x4f4]
test eax, eax
jl 0x49e94e
jg 0x49e912
test edx, edx
jbe 0x49e94e
mov dword [esi + 0x230], edx
mov dword [esi + 0x234], eax
jmp 0x49e970
fldz
fcomp qword [ecx + 0x3c8]
fnstsw ax
test ah, 5
jp 0x49e94e
fld qword [ecx + 0x3c8]
fmul qword [0x684830]
call fcn.0061f596
mov dword [esi + 0x230], eax
mov dword [esi + 0x234], edx
jmp 0x49e970
mov eax, dword [ecx + 0x110]
mov ecx, dword [ecx + 0x114]
test ecx, ecx
jl 0x49e970
jg 0x49e964
test eax, eax
jbe 0x49e970
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 ebx, eax
mov dword [ebp - 0x18], ebx
push ebx
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov edi, eax
mov dword [ebp + 0xc], edi
mov eax, dword [esi + 0x248]
test eax, eax
je 0x49e99c
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
mov ecx, dword [esi + 0x2c]
push ecx
mov edx, dword [esi + 0x28]
add edx, 2
push edx
push ebx
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
mov dword [esi + 0x248], eax
push eax
push edi
mov edi, dword [sym.imp.GDI32.dll_SelectObject]
call edi
mov dword [ebp - 0x20], eax
push ebx
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov ebx, eax
mov eax, dword [esi + 0x244]
push eax
push ebx
call edi
mov dword [ebp - 0x14], eax
push 0xcc0020
push 0
push 0
push ebx
mov ecx, dword [esi + 0x2c]
push ecx
push 1
push 0
push 0
mov edx, dword [ebp + 0xc]
push edx
call dword [sym.imp.GDI32.dll_BitBlt]
push 0xcc0020
push 0
push 0
push ebx
mov eax, dword [esi + 0x2c]
push eax
push 1
push 0
mov ecx, dword [esi + 0x28]
inc ecx
push ecx
mov edx, dword [ebp + 0xc]
push edx
call dword [sym.imp.GDI32.dll_BitBlt]
mov eax, dword [ebp - 0x14]
push eax
push ebx
call edi
mov ecx, dword [esi + 0x238]
push ecx
push ebx
call edi
mov dword [ebp - 0x14], eax
mov eax, dword [esi + 0x2c]
push 0xcc0020
push eax
push 1
push 0
push 0
push ebx
push eax
mov edx, dword [esi + 0x28]
push edx
push 0
push 1
mov eax, dword [ebp + 0xc]
push eax
call dword [sym.imp.GDI32.dll_StretchBlt]
mov ecx, dword [ebp - 0x14]
push ecx
push ebx
call edi
mov edx, dword [esi + 0x230]
or edx, dword [esi + 0x234]
je 0x49eb46
mov eax, dword [esi + 0x240]
push eax
push ebx
call edi
mov dword [ebp - 0x14], eax
mov edi, dword [esi + 0x250]
lea esp, [esp]
test edi, edi
je 0x49eb35
mov ecx, dword [esi + 0x230]
mov dword [ebp - 0x28], ecx
mov edx, dword [esi + 0x234]
mov dword [ebp - 0x24], edx
mov eax, dword [esi + 0x28]
cdq
mov ecx, dword [edi + 4]
push ecx
mov ecx, dword [edi]
push ecx
push edx
push eax
call fcn.00621c40
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], edx
fild qword [ebp - 0x30]
fild qword [ebp - 0x28]
fdivp st(1)
call fcn.0061f560
mov dword [ebp - 0x1c], eax
mov edx, dword [edi + 0xc]
mov eax, dword [ebp - 0x24]
cmp edx, eax
jl 0x49eadf
jg 0x49ead6
mov ecx, dword [edi + 8]
cmp ecx, dword [ebp - 0x28]
jbe 0x49eadf
mov edx, dword [ebp - 0x28]
mov dword [edi + 8], edx
mov dword [edi + 0xc], eax
mov eax, dword [esi + 0x28]
cdq
mov ecx, dword [edi + 0xc]
push ecx
mov ecx, dword [edi + 8]
push ecx
push edx
push eax
call fcn.00621c40
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x34], edx
fild qword [ebp - 0x38]
fild qword [esi + 0x230]
fdivp st(1)
call fcn.0061f560
mov edx, dword [ebp - 0x1c]
sub eax, edx
mov ecx, dword [esi + 0x2c]
push 0xcc0020
push ecx
push 1
push 0
push 0
push ebx
push ecx
push eax
push 0
inc edx
push edx
mov edx, dword [ebp + 0xc]
push edx
call dword [sym.imp.GDI32.dll_StretchBlt]
mov edi, dword [edi + 0x10]
jmp 0x49ea80
mov eax, dword [ebp - 0x14]
push eax
push ebx
call dword [sym.imp.GDI32.dll_SelectObject]
mov edi, dword [sym.imp.GDI32.dll_SelectObject]
push ebx
mov ebx, dword [sym.imp.GDI32.dll_DeleteDC]
call ebx
mov ecx, dword [ebp - 0x20]
push ecx
mov edx, dword [ebp + 0xc]
push edx
call edi
mov eax, dword [ebp + 0xc]
push eax
call ebx
cmp dword [ebp + 8], 0
je 0x49eb70
mov ecx, dword [ebp - 0x18]
push ecx
mov ecx, esi
call fcn.0049d6c0
mov edx, dword [ebp - 0x18]
push edx
mov eax, dword [esi + 8]
push eax
call dword [sym.imp.USER32.dll_ReleaseDC]
wait
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8