Function at 0x499ff0
Capabilities:
Capture screenshot

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x646070
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
push ebx
push esi
push edi
mov eax, dword [0x74f8a0]
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 0x49a043
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 0x49a050
mov ecx, esi
call fcn.00499630
mov ecx, dword [esi + 0x24c]
mov eax, dword [ecx + 0x44]
cmp eax, 4
je 0x49a090
cmp eax, 5
je 0x49a090
cmp dword [ecx + 0x340], 0
jne 0x49a090
mov edx, dword [ecx + 0x4f0]
mov eax, dword [ecx + 0x4f4]
test eax, eax
jl 0x49a0be
jg 0x49a082
test edx, edx
jbe 0x49a0be
mov dword [esi + 0x230], edx
mov dword [esi + 0x234], eax
jmp 0x49a0e0
fldz
fcomp qword [ecx + 0x3c8]
fnstsw ax
test ah, 5
jp 0x49a0be
fld qword [ecx + 0x3c8]
fmul qword [0x67e780]
call fcn.0061a316
mov dword [esi + 0x230], eax
mov dword [esi + 0x234], edx
jmp 0x49a0e0
mov eax, dword [ecx + 0x110]
mov ecx, dword [ecx + 0x114]
test ecx, ecx
jl 0x49a0e0
jg 0x49a0d4
test eax, eax
jbe 0x49a0e0
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 0x49a10c
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 0x49a2b6
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 0x49a2a5
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.0061cd30
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], edx
fild qword [ebp - 0x30]
fild qword [ebp - 0x28]
fdivp st(1)
call fcn.0061a2e0
mov dword [ebp - 0x1c], eax
mov edx, dword [edi + 0xc]
mov eax, dword [ebp - 0x24]
cmp edx, eax
jl 0x49a24f
jg 0x49a246
mov ecx, dword [edi + 8]
cmp ecx, dword [ebp - 0x28]
jbe 0x49a24f
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.0061cd30
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x34], edx
fild qword [ebp - 0x38]
fild qword [esi + 0x230]
fdivp st(1)
call fcn.0061a2e0
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 0x49a1f0
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 0x49a2e0
mov ecx, dword [ebp - 0x18]
push ecx
mov ecx, esi
call fcn.00498e30
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